ETH Price: $3,137.67 (-0.80%)

Token

Emoticon (EMO)
 

Overview

Max Total Supply

2,800,000,000 EMO

Holders

1,965

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 EMO

Value
$0.00
0xa7e515ab1c409309a9820b172be7493515d24975
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CustomToken

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-05-26
*/

pragma solidity ^0.4.19;

contract BaseToken {
    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;

    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value > balanceOf[_to]);
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
        Transfer(_from, _to, _value);
    }

    function transfer(address _to, uint256 _value) public returns (bool success) {
        _transfer(msg.sender, _to, _value);
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }
}

contract AirdropToken is BaseToken {
    uint256 public airAmount;
    uint256 public airBegintime;
    uint256 public airEndtime;
    address public airSender;
    uint32 public airLimitCount;

    mapping (address => uint32) public airCountOf;

    event Airdrop(address indexed from, uint32 indexed count, uint256 tokenValue);

    function airdrop() public payable {
        require(now >= airBegintime && now <= airEndtime);
        require(msg.value == 0);
        if (airLimitCount > 0 && airCountOf[msg.sender] >= airLimitCount) {
            revert();
        }
        _transfer(airSender, msg.sender, airAmount);
        airCountOf[msg.sender] += 1;
        Airdrop(msg.sender, airCountOf[msg.sender], airAmount);
    }
}

contract CustomToken is BaseToken, AirdropToken {
    function CustomToken() public {
        totalSupply = 2800000000000000000000000000;
        name = 'Emoticon';
        symbol = 'EMO';
        decimals = 18;
        balanceOf[0x9e1a4708222b97e9ce5f4349c6fb65e8607cdda9] = totalSupply;
        Transfer(address(0), 0x9e1a4708222b97e9ce5f4349c6fb65e8607cdda9, totalSupply);

        airAmount = 5200000000000000000000;
        airBegintime = 1527498000;
        airEndtime = 1545926400;
        airSender = 0x9e1a4708222b97e9ce5f4349c6fb65e8607cdda9;
        airLimitCount = 1;
    }

    function() public payable {
        airdrop();
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"airAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"airdrop","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"airSender","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"airCountOf","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"airEndtime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"airBegintime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"airLimitCount","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"count","type":"uint32"},{"indexed":false,"name":"tokenValue","type":"uint256"}],"name":"Airdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

6060604052341561000f57600080fd5b6b090c1b1025e16710f000000060035560408051908101604052600881527f456d6f7469636f6e000000000000000000000000000000000000000000000000602082015260009080516100669291602001906101a6565b5060408051908101604052600381527f454d4f0000000000000000000000000000000000000000000000000000000000602082015260019080516100ae9291602001906101a6565b506002805460ff19166012179055600354739e1a4708222b97e9ce5f4349c6fb65e8607cdda9600081815260046020527fa333927419182237cd972b74f3706337b96666a00e01f005acb0c3f9ad72d0bf83905590917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060405190815260200160405180910390a3690119e47f21381f400000600655635b0bc510600755635c24f7006008556009805460a060020a63ffffffff0219600160a060020a0319909116739e1a4708222b97e9ce5f4349c6fb65e8607cdda9171674010000000000000000000000000000000000000000179055610241565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101e757805160ff1916838001178555610214565b82800160010185558215610214579182015b828111156102145782518255916020019190600101906101f9565b50610220929150610224565b5090565b61023e91905b80821115610220576000815560010161022a565b90565b610838806102506000396000f3006060604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ef57806307cc605114610179578063095ea7b31461019e57806318160ddd146101d457806323b872dd146101e7578063313ce5671461020f5780633884d635146100e557806370a08231146102385780637d7202961461025757806395d89b4114610286578063a3fe1ade14610299578063a9059cbb146102d1578063b0f85a10146102f3578063dd62ed3e14610306578063e67ad2541461032b578063e779a8cf1461033e575b6100ed610351565b005b34156100fa57600080fd5b61010261047e565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561013e578082015183820152602001610126565b50505050905090810190601f16801561016b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018457600080fd5b61018c61051c565b60405190815260200160405180910390f35b34156101a957600080fd5b6101c0600160a060020a0360043516602435610522565b604051901515815260200160405180910390f35b34156101df57600080fd5b61018c61058e565b34156101f257600080fd5b6101c0600160a060020a0360043581169060243516604435610594565b341561021a57600080fd5b61022261060b565b60405160ff909116815260200160405180910390f35b341561024357600080fd5b61018c600160a060020a0360043516610614565b341561026257600080fd5b61026a610626565b604051600160a060020a03909116815260200160405180910390f35b341561029157600080fd5b610102610635565b34156102a457600080fd5b6102b8600160a060020a03600435166106a0565b60405163ffffffff909116815260200160405180910390f35b34156102dc57600080fd5b6101c0600160a060020a03600435166024356106b8565b34156102fe57600080fd5b61018c6106ce565b341561031157600080fd5b61018c600160a060020a03600435811690602435166106d4565b341561033657600080fd5b61018c6106f1565b341561034957600080fd5b6102b86106f7565b600754421015801561036557506008544211155b151561037057600080fd5b341561037b57600080fd5b60095460007401000000000000000000000000000000000000000090910463ffffffff161180156103e85750600954600160a060020a0333166000908152600a602052604090205463ffffffff740100000000000000000000000000000000000000009092048216911610155b156103f257600080fd5b60095460065461040d91600160a060020a031690339061071b565b33600160a060020a03166000818152600a602052604090819020805463ffffffff198116600163ffffffff9283160182161791829055600654911692917fcce6ff7d594e7067a58df51c8588740b7c8b42537da7262add9823085de82e4891905190815260200160405180910390a3565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105145780601f106104e957610100808354040283529160200191610514565b820191906000526020600020905b8154815290600101906020018083116104f757829003601f168201915b505050505081565b60065481565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035481565b600160a060020a038084166000908152600560209081526040808320339094168352929052908120548211156105c957600080fd5b600160a060020a038085166000908152600560209081526040808320339094168352929052208054839003905561060184848461071b565b5060019392505050565b60025460ff1681565b60046020526000908152604090205481565b600954600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105145780601f106104e957610100808354040283529160200191610514565b600a6020526000908152604090205463ffffffff1681565b60006106c533848461071b565b50600192915050565b60085481565b600560209081526000928352604080842090915290825290205481565b60075481565b60095474010000000000000000000000000000000000000000900463ffffffff1681565b6000600160a060020a038316151561073257600080fd5b600160a060020a0384166000908152600460205260409020548290101561075857600080fd5b600160a060020a0383166000908152600460205260409020548281011161077e57600080fd5b50600160a060020a0382811660009081526004602052604080822080549387168352912080548481038255825485019283905590549201910181146107bf57fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3505050505600a165627a7a7230582019acc898eb7f1ef48e6388592b0c14eb2ef39de6d644ba10e5cbed8bede71fb20029

Deployed Bytecode

0x6060604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ef57806307cc605114610179578063095ea7b31461019e57806318160ddd146101d457806323b872dd146101e7578063313ce5671461020f5780633884d635146100e557806370a08231146102385780637d7202961461025757806395d89b4114610286578063a3fe1ade14610299578063a9059cbb146102d1578063b0f85a10146102f3578063dd62ed3e14610306578063e67ad2541461032b578063e779a8cf1461033e575b6100ed610351565b005b34156100fa57600080fd5b61010261047e565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561013e578082015183820152602001610126565b50505050905090810190601f16801561016b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018457600080fd5b61018c61051c565b60405190815260200160405180910390f35b34156101a957600080fd5b6101c0600160a060020a0360043516602435610522565b604051901515815260200160405180910390f35b34156101df57600080fd5b61018c61058e565b34156101f257600080fd5b6101c0600160a060020a0360043581169060243516604435610594565b341561021a57600080fd5b61022261060b565b60405160ff909116815260200160405180910390f35b341561024357600080fd5b61018c600160a060020a0360043516610614565b341561026257600080fd5b61026a610626565b604051600160a060020a03909116815260200160405180910390f35b341561029157600080fd5b610102610635565b34156102a457600080fd5b6102b8600160a060020a03600435166106a0565b60405163ffffffff909116815260200160405180910390f35b34156102dc57600080fd5b6101c0600160a060020a03600435166024356106b8565b34156102fe57600080fd5b61018c6106ce565b341561031157600080fd5b61018c600160a060020a03600435811690602435166106d4565b341561033657600080fd5b61018c6106f1565b341561034957600080fd5b6102b86106f7565b600754421015801561036557506008544211155b151561037057600080fd5b341561037b57600080fd5b60095460007401000000000000000000000000000000000000000090910463ffffffff161180156103e85750600954600160a060020a0333166000908152600a602052604090205463ffffffff740100000000000000000000000000000000000000009092048216911610155b156103f257600080fd5b60095460065461040d91600160a060020a031690339061071b565b33600160a060020a03166000818152600a602052604090819020805463ffffffff198116600163ffffffff9283160182161791829055600654911692917fcce6ff7d594e7067a58df51c8588740b7c8b42537da7262add9823085de82e4891905190815260200160405180910390a3565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105145780601f106104e957610100808354040283529160200191610514565b820191906000526020600020905b8154815290600101906020018083116104f757829003601f168201915b505050505081565b60065481565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035481565b600160a060020a038084166000908152600560209081526040808320339094168352929052908120548211156105c957600080fd5b600160a060020a038085166000908152600560209081526040808320339094168352929052208054839003905561060184848461071b565b5060019392505050565b60025460ff1681565b60046020526000908152604090205481565b600954600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105145780601f106104e957610100808354040283529160200191610514565b600a6020526000908152604090205463ffffffff1681565b60006106c533848461071b565b50600192915050565b60085481565b600560209081526000928352604080842090915290825290205481565b60075481565b60095474010000000000000000000000000000000000000000900463ffffffff1681565b6000600160a060020a038316151561073257600080fd5b600160a060020a0384166000908152600460205260409020548290101561075857600080fd5b600160a060020a0383166000908152600460205260409020548281011161077e57600080fd5b50600160a060020a0382811660009081526004602052604080822080549387168352912080548481038255825485019283905590549201910181146107bf57fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3505050505600a165627a7a7230582019acc898eb7f1ef48e6388592b0c14eb2ef39de6d644ba10e5cbed8bede71fb20029

Swarm Source

bzzr://19acc898eb7f1ef48e6388592b0c14eb2ef39de6d644ba10e5cbed8bede71fb2
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.