ERC-20
Overview
Max Total Supply
2,000,000,000 ZGYSM
Holders
4,578
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
10,000 ZGYSMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CustomToken
Compiler Version
v0.4.19+commit.c4cbbb05
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-04-09 */ 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 CustomToken is BaseToken { function CustomToken() public { totalSupply = 2000000000000000000000000000; name = 'ZhongGUoysm'; symbol = 'ZGYSM'; decimals = 18; balanceOf[0x5ebc4B61A0E0187d9a72Da21bfb8b45F519cb530] = totalSupply; Transfer(address(0), 0x5ebc4B61A0E0187d9a72Da21bfb8b45F519cb530, totalSupply); } }
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":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":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"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":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"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"}]
Contract Creation Code
6060604052341561000f57600080fd5b6b06765c793fa10079d000000060035560408051908101604052600b81527f5a686f6e6747556f79736d0000000000000000000000000000000000000000006020820152600090805161006692916020019061013c565b5060408051908101604052600581527f5a4759534d000000000000000000000000000000000000000000000000000000602082015260019080516100ae92916020019061013c565b506002805460ff19166012179055600354735ebc4b61a0e0187d9a72da21bfb8b45f519cb530600081815260046020527ff6f9d1b19b0d658faa17aa70578fd4ac6218d045d5fdc7b4dea108f0acb1f3e083905590917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060405190815260200160405180910390a36101d7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061017d57805160ff19168380011785556101aa565b828001600101855582156101aa579182015b828111156101aa57825182559160200191906001019061018f565b506101b69291506101ba565b5090565b6101d491905b808211156101b657600081556001016101c0565b90565b6105a9806101e66000396000f3006060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101d357806395d89b41146101f2578063a9059cbb14610205578063dd62ed3e14610227575b600080fd5b34156100a857600080fd5b6100b061024c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a03600435166024356102ea565b604051901515815260200160405180910390f35b341561016857600080fd5b610170610356565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a036004358116906024351660443561035c565b34156101b557600080fd5b6101bd6103d3565b60405160ff909116815260200160405180910390f35b34156101de57600080fd5b610170600160a060020a03600435166103dc565b34156101fd57600080fd5b6100b06103ee565b341561021057600080fd5b610149600160a060020a0360043516602435610459565b341561023257600080fd5b610170600160a060020a036004358116906024351661046f565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102e25780601f106102b7576101008083540402835291602001916102e2565b820191906000526020600020905b8154815290600101906020018083116102c557829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035481565b600160a060020a0380841660009081526005602090815260408083203390941683529290529081205482111561039157600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220805483900390556103c984848461048c565b5060019392505050565b60025460ff1681565b60046020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102e25780601f106102b7576101008083540402835291602001916102e2565b600061046633848461048c565b50600192915050565b600560209081526000928352604080842090915290825290205481565b6000600160a060020a03831615156104a357600080fd5b600160a060020a038416600090815260046020526040902054829010156104c957600080fd5b600160a060020a038316600090815260046020526040902054828101116104ef57600080fd5b50600160a060020a03828116600090815260046020526040808220805493871683529120805484810382558254850192839055905492019101811461053057fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3505050505600a165627a7a723058201609a1ac6156cd7927909d7fa292d0c5765ab584c50ad45eb8b36194ae4899780029
Deployed Bytecode
0x6060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101d357806395d89b41146101f2578063a9059cbb14610205578063dd62ed3e14610227575b600080fd5b34156100a857600080fd5b6100b061024c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a03600435166024356102ea565b604051901515815260200160405180910390f35b341561016857600080fd5b610170610356565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a036004358116906024351660443561035c565b34156101b557600080fd5b6101bd6103d3565b60405160ff909116815260200160405180910390f35b34156101de57600080fd5b610170600160a060020a03600435166103dc565b34156101fd57600080fd5b6100b06103ee565b341561021057600080fd5b610149600160a060020a0360043516602435610459565b341561023257600080fd5b610170600160a060020a036004358116906024351661046f565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102e25780601f106102b7576101008083540402835291602001916102e2565b820191906000526020600020905b8154815290600101906020018083116102c557829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035481565b600160a060020a0380841660009081526005602090815260408083203390941683529290529081205482111561039157600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220805483900390556103c984848461048c565b5060019392505050565b60025460ff1681565b60046020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102e25780601f106102b7576101008083540402835291602001916102e2565b600061046633848461048c565b50600192915050565b600560209081526000928352604080842090915290825290205481565b6000600160a060020a03831615156104a357600080fd5b600160a060020a038416600090815260046020526040902054829010156104c957600080fd5b600160a060020a038316600090815260046020526040902054828101116104ef57600080fd5b50600160a060020a03828116600090815260046020526040808220805493871683529120805484810382558254850192839055905492019101811461053057fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3505050505600a165627a7a723058201609a1ac6156cd7927909d7fa292d0c5765ab584c50ad45eb8b36194ae4899780029
Deployed Bytecode Sourcemap
1591:383:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1373:211:0;;;;;;;;;;-1:-1:-1;;;;;1373:211:0;;;;;;;;;;;;;;;;;;;;;;;;134:26;;;;;;;;;;;;;;;;;;;;;;;;;;;1092:273;;;;;;;;;;-1:-1:-1;;;;;1092:273:0;;;;;;;;;;;;106:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;169:45;;;;;;;;;;-1:-1:-1;;;;;169:45:0;;;;;79:20;;;;;;;;;;;;932:152;;;;;;;;;;-1:-1:-1;;;;;932:152:0;;;;;;;221:66;;;;;;;;;;-1:-1:-1;;;;;221:66:0;;;;;;;;;;54:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1373:211::-;-1:-1:-1;;;;;1475:10:0;1465:21;;1440:12;1465:21;;;:9;:21;;;;;;;;:31;;;;;;;;;;;;;:40;;;1440:12;;1465:31;:21;1516:38;;1499:6;;1516:38;;;;;;;;;;;;;-1:-1:-1;1572:4:0;1373:211;;;;:::o;134:26::-;;;;:::o;1092:273::-;-1:-1:-1;;;;;1217:16:0;;;1174:12;1217:16;;;:9;:16;;;;;;;;1234:10;1217:28;;;;;;;;;;;;1207:38;;;1199:47;;;;;;-1:-1:-1;;;;;1257:16:0;;;;;;;:9;:16;;;;;;;;1274:10;1257:28;;;;;;;;;:38;;;;;;;1306:29;1267:5;1323:3;1289:6;1306:9;:29::i;:::-;-1:-1:-1;1353:4:0;1092:273;;;;;:::o;106:21::-;;;;;;:::o;169:45::-;;;;;;;;;;;;;:::o;79:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;932:152;995:12;1020:34;1030:10;1042:3;1047:6;1020:9;:34::i;:::-;-1:-1:-1;1072:4:0;932:152;;;;:::o;221:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;460:464::-;676:21;-1:-1:-1;;;;;548:10:0;;;;540:19;;;;;;-1:-1:-1;;;;;578:16:0;;;;;;:9;:16;;;;;;:26;;;;570:35;;;;;;-1:-1:-1;;;;;650:14:0;;;;;;:9;:14;;;;;;624:23;;;:40;616:49;;;;;;-1:-1:-1;;;;;;719:14:0;;;;;;;:9;:14;;;;;;;;700:16;;;;;;;;;744:26;;;;;781:24;;;;;;;;823:16;;700:33;;;823;:53;;816:61;;;;904:3;-1:-1:-1;;;;;888:28:0;897:5;-1:-1:-1;;;;;888:28:0;;909:6;888:28;;;;;;;;;;;;;;460:464;;;;:::o
Swarm Source
bzzr://1609a1ac6156cd7927909d7fa292d0c5765ab584c50ad45eb8b36194ae489978
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.