ERC-20
Overview
Max Total Supply
1,000,000,000 sla
Holders
8,930
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
21,187,314.34567688 slaValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TC_contract
Compiler Version
v0.5.3+commit.10d17f24
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-12-12 */ pragma solidity ^0.5.2; contract ERC20Interface { string public name; string public symbol; uint8 public decimals; uint public totalSupply; function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function approve(address _spender, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract TC_contract is ERC20Interface { mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256) ) internal allowed; constructor() public { name = "sla"; symbol = "sla"; decimals = 8; // 发币200wan,再加小数位4个0。 totalSupply = 1000000000*10**uint256(8); balanceOf[msg.sender] = totalSupply; } function transfer(address _to, uint256 _value) public returns (bool success){ require(_to != address(0)); require(balanceOf[msg.sender] >= _value); require(balanceOf[_to] + _value >= balanceOf[_to]); balanceOf[msg.sender] -= _value; balanceOf[_to] += _value; emit Transfer(msg.sender, _to, _value); success = true; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool success){ require(_to != address(0)); require(balanceOf[_from] >= _value); require(allowed[_from][msg.sender] >= _value); require(balanceOf[_to] + _value >= balanceOf[_to]); balanceOf[_from] -= _value; balanceOf[_to] += _value; allowed[_from][msg.sender] -= _value; emit Transfer(_from, _to, _value); success = true; } function approve(address _spender, uint256 _value) public returns (bool success){ require((_value == 0)||(allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); success = true; } function allowance(address _owner, address _spender) public view returns (uint256 remaining){ return allowed[_owner][_spender]; } }
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":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","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
608060405234801561001057600080fd5b506040805180820190915260038082527f736c6100000000000000000000000000000000000000000000000000000000006020909201918252610055916000916100cb565b506040805180820190915260038082527f736c610000000000000000000000000000000000000000000000000000000000602090920191825261009a916001916100cb565b506002805460ff1916600817905567016345785d8a0000600381905533600090815260046020526040902055610166565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010c57805160ff1916838001178555610139565b82800160010185558215610139579182015b8281111561013957825182559160200191906001019061011e565b50610145929150610149565b5090565b61016391905b80821115610145576000815560010161014f565b90565b61064f806101756000396000f3fe608060405234801561001057600080fd5b50600436106100b0576000357c010000000000000000000000000000000000000000000000000000000090048063313ce56711610083578063313ce567146101c257806370a08231146101e057806395d89b4114610206578063a9059cbb1461020e578063dd62ed3e1461023a576100b0565b806306fdde03146100b5578063095ea7b31461013257806318160ddd1461017257806323b872dd1461018c575b600080fd5b6100bd610268565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61015e6004803603604081101561014857600080fd5b50600160a060020a0381351690602001356102f6565b604080519115158252519081900360200190f35b61017a610398565b60408051918252519081900360200190f35b61015e600480360360608110156101a257600080fd5b50600160a060020a0381358116916020810135909116906040013561039e565b6101ca6104bb565b6040805160ff9092168252519081900360200190f35b61017a600480360360208110156101f657600080fd5b5035600160a060020a03166104c4565b6100bd6104d6565b61015e6004803603604081101561022457600080fd5b50600160a060020a038135169060200135610530565b61017a6004803603604081101561025057600080fd5b50600160a060020a03813581169160200135166105f8565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ee5780601f106102c3576101008083540402835291602001916102ee565b820191906000526020600020905b8154815290600101906020018083116102d157829003601f168201915b505050505081565b60008115806103265750336000908152600560209081526040808320600160a060020a0387168452909152902054155b151561033157600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60035481565b6000600160a060020a03831615156103b557600080fd5b600160a060020a0384166000908152600460205260409020548211156103da57600080fd5b600160a060020a038416600090815260056020908152604080832033845290915290205482111561040a57600080fd5b600160a060020a038316600090815260046020526040902054828101101561043157600080fd5b600160a060020a0380851660008181526004602090815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60025460ff1681565b60046020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ee5780601f106102c3576101008083540402835291602001916102ee565b6000600160a060020a038316151561054757600080fd5b3360009081526004602052604090205482111561056357600080fd5b600160a060020a038316600090815260046020526040902054828101101561058a57600080fd5b33600081815260046020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b600160a060020a0391821660009081526005602090815260408083209390941682529190915220549056fea165627a7a723058200eea0669b3144754b5c7172bad3cbccc34361a1dc596d9d6482cc168ab558c390029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b0576000357c010000000000000000000000000000000000000000000000000000000090048063313ce56711610083578063313ce567146101c257806370a08231146101e057806395d89b4114610206578063a9059cbb1461020e578063dd62ed3e1461023a576100b0565b806306fdde03146100b5578063095ea7b31461013257806318160ddd1461017257806323b872dd1461018c575b600080fd5b6100bd610268565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61015e6004803603604081101561014857600080fd5b50600160a060020a0381351690602001356102f6565b604080519115158252519081900360200190f35b61017a610398565b60408051918252519081900360200190f35b61015e600480360360608110156101a257600080fd5b50600160a060020a0381358116916020810135909116906040013561039e565b6101ca6104bb565b6040805160ff9092168252519081900360200190f35b61017a600480360360208110156101f657600080fd5b5035600160a060020a03166104c4565b6100bd6104d6565b61015e6004803603604081101561022457600080fd5b50600160a060020a038135169060200135610530565b61017a6004803603604081101561025057600080fd5b50600160a060020a03813581169160200135166105f8565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ee5780601f106102c3576101008083540402835291602001916102ee565b820191906000526020600020905b8154815290600101906020018083116102d157829003601f168201915b505050505081565b60008115806103265750336000908152600560209081526040808320600160a060020a0387168452909152902054155b151561033157600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60035481565b6000600160a060020a03831615156103b557600080fd5b600160a060020a0384166000908152600460205260409020548211156103da57600080fd5b600160a060020a038416600090815260056020908152604080832033845290915290205482111561040a57600080fd5b600160a060020a038316600090815260046020526040902054828101101561043157600080fd5b600160a060020a0380851660008181526004602090815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60025460ff1681565b60046020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ee5780601f106102c3576101008083540402835291602001916102ee565b6000600160a060020a038316151561054757600080fd5b3360009081526004602052604090205482111561056357600080fd5b600160a060020a038316600090815260046020526040902054828101101561058a57600080fd5b33600081815260046020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b600160a060020a0391821660009081526005602090815260408083209390941682529190915220549056fea165627a7a723058200eea0669b3144754b5c7172bad3cbccc34361a1dc596d9d6482cc168ab558c390029
Deployed Bytecode Sourcemap
690:1642:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;690:1642:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;54:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1909:277;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1909:277:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;128:23;;;:::i;:::-;;;;;;;;;;;;;;;;1447:456;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1447:456:0;;;;;;;;;;;;;;;;;:::i;102:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;734:45;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;734:45:0;-1:-1:-1;;;;;734:45:0;;:::i;77:20::-;;;:::i;1085:356::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1085:356:0;;;;;;;;:::i;2192:137::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2192:137:0;;;;;;;;;;:::i;54:18::-;;;;;;;;;;;;;;;-1:-1:-1;;54:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1909:277::-;1976:12;2007:11;;;2006:51;;-1:-1:-1;2030:10:0;2022:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2022:29:0;;;;;;;;;;:34;2006:51;1998:60;;;;;;;;2075:10;2067:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2067:29:0;;;;;;;;;;;;:38;;;2119;;;;;;;2067:29;;2075:10;2119:38;;;;;;;;;;;-1:-1:-1;2176:4:0;;1909:277;-1:-1:-1;;1909:277:0:o;128:23::-;;;;:::o;1447:456::-;1529:12;-1:-1:-1;;;;;1557:17:0;;;;1549:26;;;;;;-1:-1:-1;;;;;1590:16:0;;;;;;:9;:16;;;;;;:26;-1:-1:-1;1590:26:0;1582:35;;;;;;-1:-1:-1;;;;;1632:14:0;;;;;;:7;:14;;;;;;;;1647:10;1632:26;;;;;;;;:37;-1:-1:-1;1632:37:0;1624:46;;;;;;-1:-1:-1;;;;;1712:14:0;;;;;;:9;:14;;;;;;1685:23;;;:41;;1677:50;;;;;;-1:-1:-1;;;;;1736:16:0;;;;;;;:9;:16;;;;;;;;:26;;;;;;;1769:14;;;;;;;;;:24;;;;;;1800:14;;;:7;:14;;;;;1815:10;1800:26;;;;;;;;:36;;;;;;;1848:28;;;;;;;1769:14;;1848:28;;;;;;;;;;;-1:-1:-1;1893:4:0;;1447:456;-1:-1:-1;;;1447:456:0:o;102:21::-;;;;;;:::o;734:45::-;;;;;;;;;;;;;:::o;77:20::-;;;;;;;;;;;;;;;-1:-1:-1;;77:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1085:356;1148:12;-1:-1:-1;;;;;1176:17:0;;;;1168:26;;;;;;1219:10;1209:21;;;;:9;:21;;;;;;:31;-1:-1:-1;1209:31:0;1201:40;;;;;;-1:-1:-1;;;;;1283:14:0;;;;;;:9;:14;;;;;;1256:23;;;:41;;1248:50;;;;;;1317:10;1307:21;;;;:9;:21;;;;;;;;:31;;;;;;;-1:-1:-1;;;;;1345:14:0;;;;;;;;;:24;;;;;;1381:33;;;;;;;1345:14;;1317:10;1381:33;;;;;;;;;;;-1:-1:-1;1431:4:0;;1085:356;-1:-1:-1;;1085:356:0:o;2192:137::-;-1:-1:-1;;;;;2298:15:0;;;2266:17;2298:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2192:137::o
Swarm Source
bzzr://0eea0669b3144754b5c7172bad3cbccc34361a1dc596d9d6482cc168ab558c39
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.