More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,861 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 6561162 | 2287 days ago | IN | 0 ETH | 0.00126 | ||||
Withdraw Tokens | 5830884 | 2410 days ago | IN | 0 ETH | 0.002186 | ||||
Withdraw Tokens | 5819613 | 2412 days ago | IN | 0 ETH | 0.0013116 | ||||
Withdraw Tokens | 5811730 | 2413 days ago | IN | 0 ETH | 0.00146583 | ||||
Withdraw Tokens | 5811688 | 2413 days ago | IN | 0 ETH | 0.00146583 | ||||
Transfer | 5811653 | 2413 days ago | IN | 0 ETH | 0.00144652 | ||||
Transfer | 5811599 | 2413 days ago | IN | 0 ETH | 0.00087694 | ||||
Transfer | 4982928 | 2555 days ago | IN | 0 ETH | 0.00168 | ||||
Transfer | 4982926 | 2555 days ago | IN | 0 ETH | 0.00168 | ||||
Transfer | 4969155 | 2557 days ago | IN | 0 ETH | 0.00106945 | ||||
Transfer | 4958753 | 2559 days ago | IN | 0 ETH | 0.00021 | ||||
Transfer | 4929789 | 2564 days ago | IN | 0 ETH | 0.000861 | ||||
Transfer | 4913539 | 2567 days ago | IN | 0 ETH | 0.000861 | ||||
Transfer | 4913238 | 2567 days ago | IN | 0 ETH | 0.00109083 | ||||
Withdraw Tokens | 4890860 | 2571 days ago | IN | 0 ETH | 0.0017488 | ||||
Transfer | 4890699 | 2571 days ago | IN | 0 ETH | 0.00171112 | ||||
Transfer | 4890379 | 2571 days ago | IN | 0 ETH | 0.00171112 | ||||
Withdraw Tokens | 4881367 | 2573 days ago | IN | 0 ETH | 0.0013116 | ||||
Transfer | 4881338 | 2573 days ago | IN | 0 ETH | 0.000651 | ||||
Transfer | 4873510 | 2574 days ago | IN | 0 ETH | 0.00044916 | ||||
Transfer | 4870367 | 2575 days ago | IN | 0 ETH | 0.00066305 | ||||
Transfer | 4870355 | 2575 days ago | IN | 0 ETH | 0.000651 | ||||
Withdraw Tokens | 4866852 | 2576 days ago | IN | 0 ETH | 0.0013116 | ||||
Withdraw Tokens | 4866821 | 2576 days ago | IN | 0 ETH | 0.0013116 | ||||
Withdraw Tokens | 4866794 | 2576 days ago | IN | 0 ETH | 0.00093998 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
5811730 | 2413 days ago | 0 ETH | |||||
5811688 | 2413 days ago | 0 ETH | |||||
5811653 | 2413 days ago | 0 ETH | |||||
4842925 | 2580 days ago | 0 ETH | |||||
4817512 | 2584 days ago | 0 ETH | |||||
4800944 | 2587 days ago | 0 ETH | |||||
4782573 | 2590 days ago | 0 ETH | |||||
4771798 | 2592 days ago | 0 ETH | |||||
4753289 | 2595 days ago | 0 ETH | |||||
4749170 | 2596 days ago | 0 ETH | |||||
4748401 | 2596 days ago | 0 ETH | |||||
4747040 | 2596 days ago | 0 ETH | |||||
4740810 | 2598 days ago | 0 ETH | |||||
4737627 | 2598 days ago | 0 ETH | |||||
4737591 | 2598 days ago | 0 ETH | |||||
4737312 | 2598 days ago | 0 ETH | |||||
4730846 | 2599 days ago | 0 ETH | |||||
4730572 | 2599 days ago | 0 ETH | |||||
4730204 | 2599 days ago | 0 ETH | |||||
4730029 | 2599 days ago | 0 ETH | |||||
4729586 | 2599 days ago | 0 ETH | |||||
4729444 | 2599 days ago | 0 ETH | |||||
4729401 | 2599 days ago | 0 ETH | |||||
4729397 | 2600 days ago | 0 ETH | |||||
4729396 | 2600 days ago | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Distribute
Compiler Version
v0.4.19-nightly.2017.10.23+commit.dc6b1f02
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-12-02 */ pragma solidity ^0.4.15; contract Owned { /// @dev `owner` is the only address that can call a function with this /// modifier modifier onlyOwner() { require(msg.sender == owner); _; } address public owner; /// @notice The Constructor assigns the message sender to be `owner` function Owned() { owner = msg.sender; } address public newOwner; /// @notice `owner` can step down and assign some other address to this role /// @param _newOwner The address of the new owner. 0x0 can be used to create /// an unowned neutral vault, however that cannot be undone function changeOwner(address _newOwner) onlyOwner { newOwner = _newOwner; } function acceptOwnership() { if (msg.sender == newOwner) { owner = newOwner; } } } contract ERC20Basic { function transfer(address to, uint256 value) public returns (bool); function balanceOf(address who) public constant returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); } contract Distribute is Owned { mapping (address => uint) public tokensOwed; ERC20Basic token; event AmountSet(address contributor, uint amount); event AmountSent(address contributor, uint amount); function Distribute(address _token) public { token = ERC20Basic(_token); } function setAmount(address[] contributors, uint[] amounts) public onlyOwner { for (uint256 i = 0; i < contributors.length; i++) { tokensOwed[contributors[i]] = amounts[i]; } } function withdrawAllTokens() public onlyOwner { token.transfer(owner, token.balanceOf(address(this))); } function() public payable { collect(); } function collect() public { uint amount = tokensOwed[msg.sender]; require(amount > 0); tokensOwed[msg.sender] = 0; token.transfer(msg.sender, amount); AmountSent(msg.sender, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[],"name":"withdrawAllTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokensOwed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"contributors","type":"address[]"},{"name":"amounts","type":"uint256[]"}],"name":"setAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"collect","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"contributor","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"AmountSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"contributor","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"AmountSent","type":"event"}]
Contract Creation Code
6060604052341561000f57600080fd5b604051602080610a6a83398101604052808051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506109ae806100bc6000396000f30060606040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063280da6fa146100985780633d5dff53146100ad57806379ba5097146100fa57806382766b1b1461010f5780638da5cb5b146101a9578063a6f9dae1146101fe578063d4ee1d9014610237578063e52253811461028c575b6100966102a1565b005b34156100a357600080fd5b6100ab610490565b005b34156100b857600080fd5b6100e4600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106d6565b6040518082815260200191505060405180910390f35b341561010557600080fd5b61010d6106ee565b005b341561011a57600080fd5b6101a7600480803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919050506107a9565b005b34156101b457600080fd5b6101bc610898565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561020957600080fd5b610235600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108bd565b005b341561024257600080fd5b61024a61095c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561029757600080fd5b61029f6102a1565b005b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115156102f457600080fd5b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561040657600080fd5b6102c65a03f1151561041757600080fd5b50505060405180519050507f0dcd772c3ac944a96aa868054360fad56f136beb3f903c6c714a548135ee1b433382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104eb57600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561061057600080fd5b6102c65a03f1151561062157600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156106b857600080fd5b6102c65a03f115156106c957600080fd5b5050506040518051905050565b60026020528060005260406000206000915090505481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156107a757600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561080657600080fd5b600090505b825181101561089357818181518110151561082257fe5b9060200190602002015160026000858481518110151561083e57fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808060010191505061080b565b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561091857600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820c11b73b120016a700e4c5f3b97a6dcc81c772535a7e0398c74d98b49db0d2530002900000000000000000000000080bc5512561c7f85a3a9508c7df7901b370fa1df
Deployed Bytecode
0x60606040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063280da6fa146100985780633d5dff53146100ad57806379ba5097146100fa57806382766b1b1461010f5780638da5cb5b146101a9578063a6f9dae1146101fe578063d4ee1d9014610237578063e52253811461028c575b6100966102a1565b005b34156100a357600080fd5b6100ab610490565b005b34156100b857600080fd5b6100e4600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106d6565b6040518082815260200191505060405180910390f35b341561010557600080fd5b61010d6106ee565b005b341561011a57600080fd5b6101a7600480803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919050506107a9565b005b34156101b457600080fd5b6101bc610898565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561020957600080fd5b610235600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108bd565b005b341561024257600080fd5b61024a61095c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561029757600080fd5b61029f6102a1565b005b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115156102f457600080fd5b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561040657600080fd5b6102c65a03f1151561041757600080fd5b50505060405180519050507f0dcd772c3ac944a96aa868054360fad56f136beb3f903c6c714a548135ee1b433382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104eb57600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561061057600080fd5b6102c65a03f1151561062157600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156106b857600080fd5b6102c65a03f115156106c957600080fd5b5050506040518051905050565b60026020528060005260406000206000915090505481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156107a757600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561080657600080fd5b600090505b825181101561089357818181518110151561082257fe5b9060200190602002015160026000858481518110151561083e57fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808060010191505061080b565b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561091857600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820c11b73b120016a700e4c5f3b97a6dcc81c772535a7e0398c74d98b49db0d25300029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000080bc5512561c7f85a3a9508c7df7901b370fa1df
-----Decoded View---------------
Arg [0] : _token (address): 0x80BC5512561c7f85A3A9508c7df7901b370Fa1DF
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000080bc5512561c7f85a3a9508c7df7901b370fa1df
Swarm Source
bzzr://c11b73b120016a700e4c5f3b97a6dcc81c772535a7e0398c74d98b49db0d2530
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,347.05 | 0.2857 | $956.11 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.