ERC-20
Cloud
Overview
Max Total Supply
20,000,000,000 TOP
Holders
1,208 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH (+3.60%)
Onchain Market Cap
$3,501,224.35
Circulating Supply Market Cap
$2,520,983.59
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,000 TOPValue
$0.18 ( ~5.42958827101714E-05 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xf3bb7595...7Af9241Cf The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TOPToken
Compiler Version
v0.5.6+commit.b259423e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-03-20 */ pragma solidity ^0.5.6; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply = 2e28; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract TOPToken is ERC20Basic { bytes32 public name = "TOP Network"; bytes32 public symbol = "TOP"; uint256 public decimals = 18; address private owner = address(0); bool private active = false; mapping(address => uint256) private balances; event OwnershipTransferred(address indexed orgOwner, address indexed newOwner); constructor() public { owner = msg.sender; balances[owner] = totalSupply; active = true; } modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(active); require(_to != address(0)); require(_to != msg.sender); require(_value <= balances[msg.sender]); uint256 bal = balances[_to] + _value; require(bal >= balances[_to]); balances[msg.sender] = balances[msg.sender] - _value; balances[_to] = bal; emit Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256 bal) { require(active); return balances[_owner]; } // Only owner can deactivate function deactivate() public onlyOwner { active = false; } // Only owner can activate function activate() public onlyOwner { active = true; } function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } // Only owner can kill function kill() public onlyOwner { require(!active); selfdestruct(msg.sender); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"activate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","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":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"deactivate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"bal","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"orgOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"}]
Contract Creation Code
60806040526b409f9cbc7c4a04c2200000006000557f544f50204e6574776f726b0000000000000000000000000000000000000000006001557f544f5000000000000000000000000000000000000000000000000000000000006002556012600355600480546001600160a81b031916905534801561007d57600080fd5b50600480546001600160a01b0319163317808255600080546001600160a01b03929092168152600560205260409020558054600160a01b60ff021916740100000000000000000000000000000000000000001790556103f6806100e16000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806351b42b001161006657806351b42b00146100df57806370a08231146100e757806395d89b411461010d578063a9059cbb14610115578063f2fde38b146101555761009e565b806306fdde03146100a35780630f15f4c0146100bd57806318160ddd146100c7578063313ce567146100cf57806341c0e1b5146100d7575b600080fd5b6100ab61017b565b60408051918252519081900360200190f35b6100c5610181565b005b6100ab6101b0565b6100ab6101b6565b6100c56101bc565b6100c56101ed565b6100ab600480360360208110156100fd57600080fd5b50356001600160a01b0316610216565b6100ab61024b565b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610251565b604080519115158252519081900360200190f35b6100c56004803603602081101561016b57600080fd5b50356001600160a01b0316610344565b60015481565b6004546001600160a01b0316331461019857600080fd5b60048054600160a01b60ff021916600160a01b179055565b60005481565b60035481565b6004546001600160a01b031633146101d357600080fd5b600454600160a01b900460ff16156101ea57600080fd5b33ff5b6004546001600160a01b0316331461020457600080fd5b60048054600160a01b60ff0219169055565b600454600090600160a01b900460ff1661022f57600080fd5b506001600160a01b031660009081526005602052604090205490565b60025481565b600454600090600160a01b900460ff1661026a57600080fd5b6001600160a01b03831661027d57600080fd5b6001600160a01b03831633141561029357600080fd5b336000908152600560205260409020548211156102af57600080fd5b6001600160a01b038316600090815260056020526040902054808301908110156102d857600080fd5b336000818152600560209081526040808320805488900390556001600160a01b03881680845292819020859055805187815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b6004546001600160a01b0316331461035b57600080fd5b6001600160a01b03811661036e57600080fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546001600160a01b0319166001600160a01b039290921691909117905556fea165627a7a7230582072f11bf2397891e0fd3ce70c1a473187504c3f307c969b1b227eb0cd647dca610029
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c806351b42b001161006657806351b42b00146100df57806370a08231146100e757806395d89b411461010d578063a9059cbb14610115578063f2fde38b146101555761009e565b806306fdde03146100a35780630f15f4c0146100bd57806318160ddd146100c7578063313ce567146100cf57806341c0e1b5146100d7575b600080fd5b6100ab61017b565b60408051918252519081900360200190f35b6100c5610181565b005b6100ab6101b0565b6100ab6101b6565b6100c56101bc565b6100c56101ed565b6100ab600480360360208110156100fd57600080fd5b50356001600160a01b0316610216565b6100ab61024b565b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610251565b604080519115158252519081900360200190f35b6100c56004803603602081101561016b57600080fd5b50356001600160a01b0316610344565b60015481565b6004546001600160a01b0316331461019857600080fd5b60048054600160a01b60ff021916600160a01b179055565b60005481565b60035481565b6004546001600160a01b031633146101d357600080fd5b600454600160a01b900460ff16156101ea57600080fd5b33ff5b6004546001600160a01b0316331461020457600080fd5b60048054600160a01b60ff0219169055565b600454600090600160a01b900460ff1661022f57600080fd5b506001600160a01b031660009081526005602052604090205490565b60025481565b600454600090600160a01b900460ff1661026a57600080fd5b6001600160a01b03831661027d57600080fd5b6001600160a01b03831633141561029357600080fd5b336000908152600560205260409020548211156102af57600080fd5b6001600160a01b038316600090815260056020526040902054808301908110156102d857600080fd5b336000818152600560209081526040808320805488900390556001600160a01b03881680845292819020859055805187815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b6004546001600160a01b0316331461035b57600080fd5b6001600160a01b03811661036e57600080fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546001600160a01b0319166001600160a01b039290921691909117905556fea165627a7a7230582072f11bf2397891e0fd3ce70c1a473187504c3f307c969b1b227eb0cd647dca610029
Swarm Source
bzzr://72f11bf2397891e0fd3ce70c1a473187504c3f307c969b1b227eb0cd647dca61
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.