ETH Price: $3,297.81 (-0.34%)

Token

Ethereum Cloud (ETY)
 

Overview

Max Total Supply

100,000,000,000 ETY

Holders

27,051

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
100 ETY

Value
$0.00
0x078BdBc32c4CE14950bA3ce5d2ABcCc8b8ae9343
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.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.25;

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 = 100000000000000000000000000000;
        name = 'Ethereum Cloud';
        symbol = 'ETY';
        decimals = 18;
        balanceOf[0x0db223a0ce09794b153d63ff32f7f3b21b5ab771] = totalSupply;
        Transfer(address(0), 0x0db223a0ce09794b153d63ff32f7f3b21b5ab771, totalSupply);

        airAmount = 100000000000000000000000;
        airBegintime = 1543395600;
        airEndtime = 1764320400;
        airSender = 0x9bb5fcab28dbfa2911ba276abb331b9794790169;
        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"}]

608060405234801561001057600080fd5b506c01431e0fae6d7217caa000000060035560408051808201909152600e8082527f457468657265756d20436c6f75640000000000000000000000000000000000006020909201918252610066916000916101a6565b506040805180820190915260038082527f455459000000000000000000000000000000000000000000000000000000000060209092019182526100ab916001916101a6565b506002805460ff19166012179055600354730db223a0ce09794b153d63ff32f7f3b21b5ab7716000818152600460209081527faf3627419c221f63208e060a61d3fbc5cb1e6586f2b131c61fd4249a6b97563c8490556040805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a369152d02c7e14af6800000600655635bfe591060075563692964906008556009805460a060020a63ffffffff0219600160a060020a0319909116739bb5fcab28dbfa2911ba276abb331b9794790169171674010000000000000000000000000000000000000000179055610241565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101e757805160ff1916838001178555610214565b82800160010185558215610214579182015b828111156102145782518255916020019190600101906101f9565b50610220929150610224565b5090565b61023e91905b80821115610220576000815560010161022a565b90565b610816806102506000396000f3006080604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ef57806307cc605114610179578063095ea7b3146101a057806318160ddd146101d857806323b872dd146101ed578063313ce567146102175780633884d635146100e557806370a08231146102425780637d7202961461026357806395d89b4114610294578063a3fe1ade146102a9578063a9059cbb146102e3578063b0f85a1014610307578063dd62ed3e1461031c578063e67ad25414610343578063e779a8cf14610358575b6100ed61036d565b005b3480156100fb57600080fd5b50610104610488565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013e578181015183820152602001610126565b50505050905090810190601f16801561016b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018557600080fd5b5061018e610516565b60408051918252519081900360200190f35b3480156101ac57600080fd5b506101c4600160a060020a036004351660243561051c565b604080519115158252519081900360200190f35b3480156101e457600080fd5b5061018e610582565b3480156101f957600080fd5b506101c4600160a060020a0360043581169060243516604435610588565b34801561022357600080fd5b5061022c6105f7565b6040805160ff9092168252519081900360200190f35b34801561024e57600080fd5b5061018e600160a060020a0360043516610600565b34801561026f57600080fd5b50610278610612565b60408051600160a060020a039092168252519081900360200190f35b3480156102a057600080fd5b50610104610621565b3480156102b557600080fd5b506102ca600160a060020a036004351661067b565b6040805163ffffffff9092168252519081900360200190f35b3480156102ef57600080fd5b506101c4600160a060020a0360043516602435610693565b34801561031357600080fd5b5061018e6106a9565b34801561032857600080fd5b5061018e600160a060020a03600435811690602435166106af565b34801561034f57600080fd5b5061018e6106cc565b34801561036457600080fd5b506102ca6106d2565b600754421015801561038157506008544211155b151561038c57600080fd5b341561039757600080fd5b60095460007401000000000000000000000000000000000000000090910463ffffffff161180156103fb5750600954336000908152600a602052604090205463ffffffff740100000000000000000000000000000000000000009092048216911610155b1561040557600080fd5b60095460065461042091600160a060020a03169033906106f6565b336000818152600a6020908152604091829020805463ffffffff198116600163ffffffff928316018216179182905560065484519081529351911693927fcce6ff7d594e7067a58df51c8588740b7c8b42537da7262add9823085de82e4892908290030190a3565b6000805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561050e5780601f106104e35761010080835404028352916020019161050e565b820191906000526020600020905b8154815290600101906020018083116104f157829003601f168201915b505050505081565b60065481565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b600160a060020a03831660009081526005602090815260408083203384529091528120548211156105b857600080fd5b600160a060020a03841660009081526005602090815260408083203384529091529020805483900390556105ed8484846106f6565b5060019392505050565b60025460ff1681565b60046020526000908152604090205481565b600954600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561050e5780601f106104e35761010080835404028352916020019161050e565b600a6020526000908152604090205463ffffffff1681565b60006106a03384846106f6565b50600192915050565b60085481565b600560209081526000928352604080842090915290825290205481565b60075481565b60095474010000000000000000000000000000000000000000900463ffffffff1681565b6000600160a060020a038316151561070d57600080fd5b600160a060020a03841660009081526004602052604090205482111561073257600080fd5b600160a060020a0383166000908152600460205260409020548281011161075857600080fd5b50600160a060020a03828116600090815260046020526040808220805493871683529120805484810382558254850192839055905492019101811461079957fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3505050505600a165627a7a72305820f7eb550fe7d1f8c62cb249ddba40384fb7f5bf0b09931b5741c12f479d3d29970029

Deployed Bytecode

0x6080604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ef57806307cc605114610179578063095ea7b3146101a057806318160ddd146101d857806323b872dd146101ed578063313ce567146102175780633884d635146100e557806370a08231146102425780637d7202961461026357806395d89b4114610294578063a3fe1ade146102a9578063a9059cbb146102e3578063b0f85a1014610307578063dd62ed3e1461031c578063e67ad25414610343578063e779a8cf14610358575b6100ed61036d565b005b3480156100fb57600080fd5b50610104610488565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013e578181015183820152602001610126565b50505050905090810190601f16801561016b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018557600080fd5b5061018e610516565b60408051918252519081900360200190f35b3480156101ac57600080fd5b506101c4600160a060020a036004351660243561051c565b604080519115158252519081900360200190f35b3480156101e457600080fd5b5061018e610582565b3480156101f957600080fd5b506101c4600160a060020a0360043581169060243516604435610588565b34801561022357600080fd5b5061022c6105f7565b6040805160ff9092168252519081900360200190f35b34801561024e57600080fd5b5061018e600160a060020a0360043516610600565b34801561026f57600080fd5b50610278610612565b60408051600160a060020a039092168252519081900360200190f35b3480156102a057600080fd5b50610104610621565b3480156102b557600080fd5b506102ca600160a060020a036004351661067b565b6040805163ffffffff9092168252519081900360200190f35b3480156102ef57600080fd5b506101c4600160a060020a0360043516602435610693565b34801561031357600080fd5b5061018e6106a9565b34801561032857600080fd5b5061018e600160a060020a03600435811690602435166106af565b34801561034f57600080fd5b5061018e6106cc565b34801561036457600080fd5b506102ca6106d2565b600754421015801561038157506008544211155b151561038c57600080fd5b341561039757600080fd5b60095460007401000000000000000000000000000000000000000090910463ffffffff161180156103fb5750600954336000908152600a602052604090205463ffffffff740100000000000000000000000000000000000000009092048216911610155b1561040557600080fd5b60095460065461042091600160a060020a03169033906106f6565b336000818152600a6020908152604091829020805463ffffffff198116600163ffffffff928316018216179182905560065484519081529351911693927fcce6ff7d594e7067a58df51c8588740b7c8b42537da7262add9823085de82e4892908290030190a3565b6000805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561050e5780601f106104e35761010080835404028352916020019161050e565b820191906000526020600020905b8154815290600101906020018083116104f157829003601f168201915b505050505081565b60065481565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b600160a060020a03831660009081526005602090815260408083203384529091528120548211156105b857600080fd5b600160a060020a03841660009081526005602090815260408083203384529091529020805483900390556105ed8484846106f6565b5060019392505050565b60025460ff1681565b60046020526000908152604090205481565b600954600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561050e5780601f106104e35761010080835404028352916020019161050e565b600a6020526000908152604090205463ffffffff1681565b60006106a03384846106f6565b50600192915050565b60085481565b600560209081526000928352604080842090915290825290205481565b60075481565b60095474010000000000000000000000000000000000000000900463ffffffff1681565b6000600160a060020a038316151561070d57600080fd5b600160a060020a03841660009081526004602052604090205482111561073257600080fd5b600160a060020a0383166000908152600460205260409020548281011161075857600080fd5b50600160a060020a03828116600090815260046020526040808220805493871683529120805484810382558254850192839055905492019101811461079957fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3505050505600a165627a7a72305820f7eb550fe7d1f8c62cb249ddba40384fb7f5bf0b09931b5741c12f479d3d29970029

Swarm Source

bzzr://f7eb550fe7d1f8c62cb249ddba40384fb7f5bf0b09931b5741c12f479d3d2997
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.