More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 3,602 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 6396114 | 2232 days ago | IN | 0 ETH | 0.000861 | ||||
Request Dividend... | 6355467 | 2239 days ago | IN | 0 ETH | 0.00013021 | ||||
Transfer | 6088274 | 2284 days ago | IN | 0 ETH | 0.0000426 | ||||
Transfer | 6059567 | 2289 days ago | IN | 0 ETH | 0.000084 | ||||
Transfer | 6013247 | 2297 days ago | IN | 0 ETH | 0.0000639 | ||||
Transfer | 6012211 | 2297 days ago | IN | 0 ETH | 0.000084 | ||||
Transfer | 6010463 | 2297 days ago | IN | 0 ETH | 0.000084 | ||||
Transfer | 5998682 | 2299 days ago | IN | 0 ETH | 0.0001278 | ||||
Transfer | 5998394 | 2299 days ago | IN | 0 ETH | 0.000147 | ||||
Transfer | 5998391 | 2299 days ago | IN | 0 ETH | 0.000147 | ||||
Transfer | 5998353 | 2299 days ago | IN | 0 ETH | 0.000147 | ||||
Transfer | 5995505 | 2300 days ago | IN | 0 ETH | 0.000084 | ||||
Transfer | 5995136 | 2300 days ago | IN | 0 ETH | 0.0002982 | ||||
Transfer | 5994841 | 2300 days ago | IN | 0 ETH | 0.0000213 | ||||
Transfer | 5993924 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993924 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993899 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993888 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993888 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993828 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993827 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993793 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993744 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993722 | 2300 days ago | IN | 0 ETH | 0.00002151 | ||||
Transfer | 5993627 | 2300 days ago | IN | 0 ETH | 0.00002151 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
AirDrop
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-07-16 */ pragma solidity ^0.4.24; interface Token { function transfer(address _to, uint256 _value) external returns (bool); function balanceOf(address who) external view returns (uint256 _user); } contract onlyOwner { address public owner; bool private stopped = false; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = 0x073db5ac9aa943253a513cd692d16160f1c10e74; } modifier isRunning { require(!stopped); _; } function stop() isOwner public { stopped = true; } function start() isOwner public { stopped = false; } /** * @dev Throws if called by any account other than the owner. */ modifier isOwner { require(msg.sender == owner); _; } } contract AirDrop is onlyOwner{ Token token; address _creator = 0x073db5ac9aa943253a513cd692d16160f1c10e74; event TransferredToken(address indexed to, uint256 value); constructor() public{ address _tokenAddr = 0x99092a458b405fb8c06c5a3aa01cffd826019568; //here pass address of your token token = Token(_tokenAddr); } function() external payable{ withdraw(); } function sendResidualAmount(uint256 value) isOwner public returns(bool){ token.transfer(_creator, value*10**18); emit TransferredToken(msg.sender, value); } function sendAmount(address _user, uint256 value) isOwner public returns(bool){ _user.transfer(value); } function sendInternally(uint256 tokensToSend, uint256 valueToPresent) internal { require(msg.sender != address(0)); uint balance = userXRTBalance(msg.sender); require(balance == 0); token.transfer(msg.sender, tokensToSend); emit TransferredToken(msg.sender, valueToPresent); } function userXRTBalance(address _user) private view returns(uint){ return token.balanceOf(_user); } function withdraw() isRunning private returns(bool) { sendInternally(400*10**18,400); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[],"name":"stop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"},{"name":"value","type":"uint256"}],"name":"sendAmount","outputs":[{"name":"","type":"bool"}],"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":"value","type":"uint256"}],"name":"sendResidualAmount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"TransferredToken","type":"event"}]
Contract Creation Code
60806040526000805460a060020a60ff021916905560028054600160a060020a03191673073db5ac9aa943253a513cd692d16160f1c10e7417905534801561004657600080fd5b5060008054600160a060020a031990811673073db5ac9aa943253a513cd692d16160f1c10e7417909155600180549091167399092a458b405fb8c06c5a3aa01cffd82601956817905561050c8061009e6000396000f30060806040526004361061006c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166307da68f581146100775780635d461de51461008e5780638da5cb5b146100c6578063a1fafe0c146100f7578063be9a65551461010f575b610074610124565b50005b34801561008357600080fd5b5061008c610168565b005b34801561009a57600080fd5b506100b2600160a060020a03600435166024356101b6565b604080519115158252519081900360200190f35b3480156100d257600080fd5b506100db61020b565b60408051600160a060020a039092168252519081900360200190f35b34801561010357600080fd5b506100b260043561021a565b34801561011b57600080fd5b5061008c610314565b6000805474010000000000000000000000000000000000000000900460ff161561014d57600080fd5b6101626815af1d78b58c40000061019061034b565b50600190565b600054600160a060020a0316331461017f57600080fd5b6000805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60008054600160a060020a031633146101ce57600080fd5b604051600160a060020a0384169083156108fc029084906000818181858888f19350505050158015610204573d6000803e3d6000fd5b5092915050565b600054600160a060020a031681565b60008054600160a060020a0316331461023257600080fd5b600154600254604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152670de0b6b3a7640000860260248201529051919092169163a9059cbb9160448083019260209291908290030181600087803b1580156102ad57600080fd5b505af11580156102c1573d6000803e3d6000fd5b505050506040513d60208110156102d757600080fd5b505060408051838152905133917f69baa4ba19fc045bffcd13735ba5201d924fe4c49c78c2e214b8f2559044d8b1919081900360200190a2919050565b600054600160a060020a0316331461032b57600080fd5b6000805474ff000000000000000000000000000000000000000019169055565b600033151561035957600080fd5b61036233610443565b9050801561036f57600080fd5b600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018690529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b1580156103dc57600080fd5b505af11580156103f0573d6000803e3d6000fd5b505050506040513d602081101561040657600080fd5b505060408051838152905133917f69baa4ba19fc045bffcd13735ba5201d924fe4c49c78c2e214b8f2559044d8b1919081900360200190a2505050565b600154604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009392909216916370a082319160248082019260209290919082900301818787803b1580156104ae57600080fd5b505af11580156104c2573d6000803e3d6000fd5b505050506040513d60208110156104d857600080fd5b5051929150505600a165627a7a72305820aaafd3bd4c17fe19806338ccb62e2190a8c5a7b12a7d915aa5eb6293418909320029
Deployed Bytecode
0x60806040526004361061006c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166307da68f581146100775780635d461de51461008e5780638da5cb5b146100c6578063a1fafe0c146100f7578063be9a65551461010f575b610074610124565b50005b34801561008357600080fd5b5061008c610168565b005b34801561009a57600080fd5b506100b2600160a060020a03600435166024356101b6565b604080519115158252519081900360200190f35b3480156100d257600080fd5b506100db61020b565b60408051600160a060020a039092168252519081900360200190f35b34801561010357600080fd5b506100b260043561021a565b34801561011b57600080fd5b5061008c610314565b6000805474010000000000000000000000000000000000000000900460ff161561014d57600080fd5b6101626815af1d78b58c40000061019061034b565b50600190565b600054600160a060020a0316331461017f57600080fd5b6000805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60008054600160a060020a031633146101ce57600080fd5b604051600160a060020a0384169083156108fc029084906000818181858888f19350505050158015610204573d6000803e3d6000fd5b5092915050565b600054600160a060020a031681565b60008054600160a060020a0316331461023257600080fd5b600154600254604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152670de0b6b3a7640000860260248201529051919092169163a9059cbb9160448083019260209291908290030181600087803b1580156102ad57600080fd5b505af11580156102c1573d6000803e3d6000fd5b505050506040513d60208110156102d757600080fd5b505060408051838152905133917f69baa4ba19fc045bffcd13735ba5201d924fe4c49c78c2e214b8f2559044d8b1919081900360200190a2919050565b600054600160a060020a0316331461032b57600080fd5b6000805474ff000000000000000000000000000000000000000019169055565b600033151561035957600080fd5b61036233610443565b9050801561036f57600080fd5b600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018690529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b1580156103dc57600080fd5b505af11580156103f0573d6000803e3d6000fd5b505050506040513d602081101561040657600080fd5b505060408051838152905133917f69baa4ba19fc045bffcd13735ba5201d924fe4c49c78c2e214b8f2559044d8b1919081900360200190a2505050565b600154604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009392909216916370a082319160248082019260209290919082900301818787803b1580156104ae57600080fd5b505af11580156104c2573d6000803e3d6000fd5b505050506040513d60208110156104d857600080fd5b5051929150505600a165627a7a72305820aaafd3bd4c17fe19806338ccb62e2190a8c5a7b12a7d915aa5eb6293418909320029
Swarm Source
bzzr://aaafd3bd4c17fe19806338ccb62e2190a8c5a7b12a7d915aa5eb629341890932
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.