APE Price: $1.00 (+0.30%)

Contract

0xEb82DaF7Ab1697b7F9fD947A74aF1F426724e48b

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60606040989292024-10-19 23:32:1012 days ago1729380730IN
 Create: AirDrop
0 APE0.0067516325.42069

Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AirDrop

Compiler Version
v0.4.17+commit.bdeb9e52

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *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

Contract ABI

[{"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"}]

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.