More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60606040 | 98929 | 12 days ago | IN | 0 APE | 0.00675163 |
Loading...
Loading
Contract Name:
AirDrop
Compiler Version
v0.4.17+commit.bdeb9e52
Contract Source Code (Solidity)
/** *Submitted for verification at apescan.io on 2024-10-19 */ pragma solidity ^0.4.17; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract Ownable { address public owner; /** * The address whcih deploys this contrcat is automatically assgined ownership. * */ function Ownable() public { owner = msg.sender; } /** * Functions with this modifier can only be executed by the owner of the contract. * */ modifier onlyOwner { require(msg.sender == owner); _; } } contract TokenTransferInterface { function transfer(address _to, uint256 _value) public; } contract AirDrop is Ownable { using SafeMath for uint256; TokenTransferInterface public constant token = TokenTransferInterface(0xDE0dB5ab1f6bC82A45761F7E66826E1e2089B222); function airDrop(address[] _addrs, uint256 _value) public onlyOwner { require(_addrs.length > 0); for (uint i = 0; i < _addrs.length; i++) { if (_addrs[i] != 0x0) { token.transfer(_addrs[i], _value); } } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_addrs","type":"address[]"},{"name":"_value","type":"uint256"}],"name":"airDrop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061036f806100536000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610053578063fc0c546a146100a8578063fd1fc4a0146100fd57600080fd5b341561005e57600080fd5b610066610160565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100b357600080fd5b6100bb610185565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561010857600080fd5b61015e60048080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001909190505061019d565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73de0db5ab1f6bc82a45761f7e66826e1e2089b22281565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156101fa57600080fd5b6000835111151561020a57600080fd5b600090505b825181101561033e576000838281518110151561022857fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff161415156103315773de0db5ab1f6bc82a45761f7e66826e1e2089b22273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb848381518110151561028d57fe5b90602001906020020151846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b151561031c57600080fd5b6102c65a03f1151561032d57600080fd5b5050505b808060010191505061020f565b5050505600a165627a7a72305820828cf312d82577d8bc401a0b7a4b1371cbbd274e0654bde189bafe278fc8a4560029
Deployed Bytecode
0x60606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610053578063fc0c546a146100a8578063fd1fc4a0146100fd57600080fd5b341561005e57600080fd5b610066610160565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100b357600080fd5b6100bb610185565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561010857600080fd5b61015e60048080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001909190505061019d565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73de0db5ab1f6bc82a45761f7e66826e1e2089b22281565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156101fa57600080fd5b6000835111151561020a57600080fd5b600090505b825181101561033e576000838281518110151561022857fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff161415156103315773de0db5ab1f6bc82a45761f7e66826e1e2089b22273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb848381518110151561028d57fe5b90602001906020020151846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b151561031c57600080fd5b6102c65a03f1151561032d57600080fd5b5050505b808060010191505061020f565b5050505600a165627a7a72305820828cf312d82577d8bc401a0b7a4b1371cbbd274e0654bde189bafe278fc8a4560029
Deployed Bytecode Sourcemap
1166:481:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;671:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1242:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1364:280;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;671:20;;;;;;;;;;;;;:::o;1242:113::-;1312:42;1242:113;:::o;1364:280::-;1485:6;1037:5;;;;;;;;;;;1023:19;;:10;:19;;;1015:28;;;;;;;;1467:1;1451:6;:13;:17;1443:26;;;;;;;;1494:1;1485:10;;1480:157;1501:6;:13;1497:1;:17;1480:157;;;1553:3;1540:6;1547:1;1540:9;;;;;;;;;;;;;;;;;;:16;;;;1536:90;;;1312:42;1577:14;;;1592:6;1599:1;1592:9;;;;;;;;;;;;;;;;;;1603:6;1577:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1536:90;1516:3;;;;;;;1480:157;;;1364:280;;;:::o
Swarm Source
bzzr://828cf312d82577d8bc401a0b7a4b1371cbbd274e0654bde189bafe278fc8a456
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.