Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
2,000,000,000 TOP
Holders
3,480
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TopToken
Compiler Version
v0.4.20+commit.3155dd80
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-03-07 */ pragma solidity 0.4.20; contract TopTokenBase { uint256 _supply; mapping (address => uint256) _balances; event Transfer( address indexed from, address indexed to, uint256 value); function TopTokenBase() public { } function totalSupply() public view returns (uint256) { return _supply; } function balanceOf(address src) public view returns (uint256) { return _balances[src]; } function transfer(address dst, uint256 wad) public returns (bool) { require(_balances[msg.sender] >= wad); _balances[msg.sender] = sub(_balances[msg.sender], wad); _balances[dst] = add(_balances[dst], wad); Transfer(msg.sender, dst, wad); return true; } function add(uint256 x, uint256 y) internal pure returns (uint256) { uint256 z = x + y; require(z >= x && z>=y); return z; } function sub(uint256 x, uint256 y) internal pure returns (uint256) { uint256 z = x - y; require(x >= y && z <= x); return z; } } contract TopToken is TopTokenBase { string public symbol = "TOP"; string public name = "Top.One Coin"; uint256 public decimals = 18; uint256 public freezedValue = 640000000*(10**18); uint256 public eachUnfreezeValue = 160000000*(10**18); uint256 public releaseTime = 1525017600; uint256 public latestReleaseTime = 1525017600; // Apr/30/2018 address public owner; struct FreezeStruct { uint256 unfreezeTime; bool freezed; } FreezeStruct[] public unfreezeTimeMap; function TopToken() public { _supply = 20*(10**8)*(10**18); _balances[0x01] = freezedValue; _balances[msg.sender] = sub(_supply,freezedValue); owner = msg.sender; unfreezeTimeMap.push(FreezeStruct({unfreezeTime:1554048000, freezed: true})); // Apr/01/2019 unfreezeTimeMap.push(FreezeStruct({unfreezeTime:1585670400, freezed: true})); // Apr/01/2020 unfreezeTimeMap.push(FreezeStruct({unfreezeTime:1617206400, freezed: true})); // Apr/01/2021 unfreezeTimeMap.push(FreezeStruct({unfreezeTime:1648742400, freezed: true})); // Apr/01/2022 } function transfer(address dst, uint256 wad) public returns (bool) { require (now >= releaseTime || now >= latestReleaseTime); return super.transfer(dst, wad); } function distribute(address dst, uint256 wad) public returns (bool) { require(msg.sender == owner); return super.transfer(dst, wad); } function setRelease(uint256 _release) public { require(msg.sender == owner); require(_release <= latestReleaseTime); releaseTime = _release; } function unfreeze(uint256 i) public { require(msg.sender == owner); require(i>=0 && i<unfreezeTimeMap.length); require(now >= unfreezeTimeMap[i].unfreezeTime && unfreezeTimeMap[i].freezed); require(_balances[0x01] >= eachUnfreezeValue); _balances[0x01] = sub(_balances[0x01], eachUnfreezeValue); _balances[owner] = add(_balances[owner], eachUnfreezeValue); freezedValue = sub(freezedValue, eachUnfreezeValue); unfreezeTimeMap[i].freezed = false; Transfer(0x01, owner, eachUnfreezeValue); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"latestReleaseTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"unfreezeTimeMap","outputs":[{"name":"unfreezeTime","type":"uint256"},{"name":"freezed","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"freezedValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"i","type":"uint256"}],"name":"unfreeze","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","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":"eachUnfreezeValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"releaseTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_release","type":"uint256"}],"name":"setRelease","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"distribute","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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"}]
Contract Creation Code
60606040526040805190810160405280600381526020017f544f5000000000000000000000000000000000000000000000000000000000008152506002908051906020019062000051929190620003d1565b506040805190810160405280600c81526020017f546f702e4f6e6520436f696e0000000000000000000000000000000000000000815250600390805190602001906200009f929190620003d1565b5060126004556b0211654585005212800000006005556a84595161401484a0000000600655635ae5ec00600755635ae5ec006008553415620000e057600080fd5b6b06765c793fa10079d000000060008190555060055460016000600173ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555062000148600054600554620003a26401000000000262000b11176401000000009004565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555033600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a8054806001018281620001e2919062000458565b916000526020600020906002020160006040805190810160405280635ca0e40081526020016001151581525090919091506000820151816000015560208201518160010160006101000a81548160ff021916908315150217905550505050600a805480600101828162000256919062000458565b916000526020600020906002020160006040805190810160405280635e83690081526020016001151581525090919091506000820151816000015560208201518160010160006101000a81548160ff021916908315150217905550505050600a8054806001018281620002ca919062000458565b9160005260206000209060020201600060408051908101604052806360649c8081526020016001151581525090919091506000820151816000015560208201518160010160006101000a81548160ff021916908315150217905550505050600a80548060010182816200033e919062000458565b916000526020600020906002020160006040805190810160405280636245d00081526020016001151581525090919091506000820151816000015560208201518160010160006101000a81548160ff021916908315150217905550505050620004f3565b6000808284039050828410158015620003bb5750838111155b1515620003c757600080fd5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200041457805160ff191683800117855562000445565b8280016001018555821562000445579182015b828111156200044457825182559160200191906001019062000427565b5b5090506200045491906200048d565b5090565b8154818355818115116200048857600202816002028360005260206000209182019101620004879190620004b5565b5b505050565b620004b291905b80821115620004ae57600081600090555060010162000494565b5090565b90565b620004f091905b80821115620004ec576000808201600090556001820160006101000a81549060ff021916905550600201620004bc565b5090565b90565b610d6e80620005036000396000f3006060604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146100e057806318160ddd1461016e578063299ffcbc14610197578063313ce567146101c05780634e6a6ffc146101e95780635f5868db1461022b5780636623fc461461025457806370a08231146102775780638da5cb5b146102c457806395d89b41146103195780639c043783146103a7578063a9059cbb146103d0578063b91d40011461042a578063cfa4f3e814610453578063fb93210814610476575b600080fd5b34156100eb57600080fd5b6100f36104d0565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610133578082015181840152602081019050610118565b50505050905090810190601f1680156101605780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017957600080fd5b61018161056e565b6040518082815260200191505060405180910390f35b34156101a257600080fd5b6101aa610577565b6040518082815260200191505060405180910390f35b34156101cb57600080fd5b6101d361057d565b6040518082815260200191505060405180910390f35b34156101f457600080fd5b61020a6004808035906020019091905050610583565b60405180838152602001821515151581526020019250505060405180910390f35b341561023657600080fd5b61023e6105c3565b6040518082815260200191505060405180910390f35b341561025f57600080fd5b61027560048080359060200190919050506105c9565b005b341561028257600080fd5b6102ae600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108df565b6040518082815260200191505060405180910390f35b34156102cf57600080fd5b6102d7610928565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561032457600080fd5b61032c61094e565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561036c578082015181840152602081019050610351565b50505050905090810190601f1680156103995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103b257600080fd5b6103ba6109ec565b6040518082815260200191505060405180910390f35b34156103db57600080fd5b610410600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506109f2565b604051808215151515815260200191505060405180910390f35b341561043557600080fd5b61043d610a24565b6040518082815260200191505060405180910390f35b341561045e57600080fd5b6104746004808035906020019091905050610a2a565b005b341561048157600080fd5b6104b6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610aa1565b604051808215151515815260200191505060405180910390f35b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105665780601f1061053b57610100808354040283529160200191610566565b820191906000526020600020905b81548152906001019060200180831161054957829003601f168201915b505050505081565b60008054905090565b60085481565b60045481565b600a8181548110151561059257fe5b90600052602060002090600202016000915090508060000154908060010160009054906101000a900460ff16905082565b60055481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561062557600080fd5b6000811015801561063a5750600a8054905081105b151561064557600080fd5b600a8181548110151561065457fe5b906000526020600020906002020160000154421015801561069f5750600a8181548110151561067f57fe5b906000526020600020906002020160010160009054906101000a900460ff165b15156106aa57600080fd5b60065460016000600173ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156106e557600080fd5b61071b60016000600173ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600654610b11565b60016000600173ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506107b660016000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600654610b3e565b60016000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610829600554600654610b11565b6005819055506000600a8281548110151561084057fe5b906000526020600020906002020160010160006101000a81548160ff021916908315150217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660017fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6006546040518082815260200191505060405180910390a350565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b60065481565b600060075442101580610a0757506008544210155b1515610a1257600080fd5b610a1c8383610b6b565b905092915050565b60075481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a8657600080fd5b6008548111151515610a9757600080fd5b8060078190555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610aff57600080fd5b610b098383610b6b565b905092915050565b6000808284039050828410158015610b295750838111155b1515610b3457600080fd5b8091505092915050565b6000808284019050838110158015610b565750828110155b1515610b6157600080fd5b8091505092915050565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515610bbb57600080fd5b610c04600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483610b11565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c90600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483610b3e565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a360019050929150505600a165627a7a723058201b7d99939c3d75c8fbd35eb819c4ffd77d312ce39c95c1e328024b79b52458b70029
Deployed Bytecode
0x6060604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146100e057806318160ddd1461016e578063299ffcbc14610197578063313ce567146101c05780634e6a6ffc146101e95780635f5868db1461022b5780636623fc461461025457806370a08231146102775780638da5cb5b146102c457806395d89b41146103195780639c043783146103a7578063a9059cbb146103d0578063b91d40011461042a578063cfa4f3e814610453578063fb93210814610476575b600080fd5b34156100eb57600080fd5b6100f36104d0565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610133578082015181840152602081019050610118565b50505050905090810190601f1680156101605780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017957600080fd5b61018161056e565b6040518082815260200191505060405180910390f35b34156101a257600080fd5b6101aa610577565b6040518082815260200191505060405180910390f35b34156101cb57600080fd5b6101d361057d565b6040518082815260200191505060405180910390f35b34156101f457600080fd5b61020a6004808035906020019091905050610583565b60405180838152602001821515151581526020019250505060405180910390f35b341561023657600080fd5b61023e6105c3565b6040518082815260200191505060405180910390f35b341561025f57600080fd5b61027560048080359060200190919050506105c9565b005b341561028257600080fd5b6102ae600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108df565b6040518082815260200191505060405180910390f35b34156102cf57600080fd5b6102d7610928565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561032457600080fd5b61032c61094e565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561036c578082015181840152602081019050610351565b50505050905090810190601f1680156103995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103b257600080fd5b6103ba6109ec565b6040518082815260200191505060405180910390f35b34156103db57600080fd5b610410600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506109f2565b604051808215151515815260200191505060405180910390f35b341561043557600080fd5b61043d610a24565b6040518082815260200191505060405180910390f35b341561045e57600080fd5b6104746004808035906020019091905050610a2a565b005b341561048157600080fd5b6104b6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610aa1565b604051808215151515815260200191505060405180910390f35b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105665780601f1061053b57610100808354040283529160200191610566565b820191906000526020600020905b81548152906001019060200180831161054957829003601f168201915b505050505081565b60008054905090565b60085481565b60045481565b600a8181548110151561059257fe5b90600052602060002090600202016000915090508060000154908060010160009054906101000a900460ff16905082565b60055481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561062557600080fd5b6000811015801561063a5750600a8054905081105b151561064557600080fd5b600a8181548110151561065457fe5b906000526020600020906002020160000154421015801561069f5750600a8181548110151561067f57fe5b906000526020600020906002020160010160009054906101000a900460ff165b15156106aa57600080fd5b60065460016000600173ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156106e557600080fd5b61071b60016000600173ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600654610b11565b60016000600173ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506107b660016000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600654610b3e565b60016000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610829600554600654610b11565b6005819055506000600a8281548110151561084057fe5b906000526020600020906002020160010160006101000a81548160ff021916908315150217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660017fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6006546040518082815260200191505060405180910390a350565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b60065481565b600060075442101580610a0757506008544210155b1515610a1257600080fd5b610a1c8383610b6b565b905092915050565b60075481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a8657600080fd5b6008548111151515610a9757600080fd5b8060078190555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610aff57600080fd5b610b098383610b6b565b905092915050565b6000808284039050828410158015610b295750838111155b1515610b3457600080fd5b8091505092915050565b6000808284019050838110158015610b565750828110155b1515610b6157600080fd5b8091505092915050565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515610bbb57600080fd5b610c04600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483610b11565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c90600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483610b3e565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a360019050929150505600a165627a7a723058201b7d99939c3d75c8fbd35eb819c4ffd77d312ce39c95c1e328024b79b52458b70029
Swarm Source
bzzr://1b7d99939c3d75c8fbd35eb819c4ffd77d312ce39c95c1e328024b79b52458b7
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.