ERC-20
Overview
Max Total Supply
100,000,000 BSF
Holders
9
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,400,017 BSFValue
$0.00Loading...
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 0xaAB1b6A4...0C6042f91 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ERC20Standard
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-07-03 */ pragma solidity ^0.4.11; // 以太坊企业服务,请访问 https://www.94eth.com/tool contract ERC20Standard { uint256 public totalSupply; string public name; uint256 public decimals; string public symbol; address public owner; mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; constructor(uint256 _totalSupply, string _symbol, string _name, uint256 _decimals) public { symbol = _symbol; name = _name; decimals = _decimals; owner = msg.sender; totalSupply = _totalSupply * (10 ** decimals); balances[owner] = totalSupply; } //Fix for short address attack against ERC20 modifier onlyPayloadSize(uint size) { assert(msg.data.length == size + 4); _; } function balanceOf(address _owner) constant public returns (uint256) { return balances[_owner]; } function transfer(address _recipient, uint256 _value) onlyPayloadSize(2*32) public { require(balances[msg.sender] >= _value && _value >= 0); require(balances[_recipient] + _value >= balances[_recipient]); balances[msg.sender] -= _value; balances[_recipient] += _value; emit Transfer(msg.sender, _recipient, _value); } function transferFrom(address _from, address _to, uint256 _value) public { require(balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value >= 0); require(balances[_to] + _value >= balances[_to]); balances[_to] += _value; balances[_from] -= _value; allowed[_from][msg.sender] -= _value; emit Transfer(_from, _to, _value); } function approve(address _spender, uint256 _value) public { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); } function allowance(address _owner, address _spender) constant public returns (uint256) { return allowed[_owner][_spender]; } //Event which is triggered to log all transfers to this contract's event log event Transfer( address indexed _from, address indexed _to, uint256 _value ); //Event which is triggered whenever an owner approves a new allowance for a spender. event Approval( address indexed _owner, address indexed _spender, uint256 _value ); }
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":[],"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","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":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_totalSupply","type":"uint256"},{"name":"_symbol","type":"string"},{"name":"_name","type":"string"},{"name":"_decimals","type":"uint256"}],"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
608060405234801561001057600080fd5b5060405161077b38038061077b83398101604090815281516020808401519284015160608501519385018051939590949101929091610054916003918601906100b5565b5081516100689060019060208501906100b5565b50600281905560048054600160a060020a031916331790819055600a9190910a939093026000818155600160a060020a039490941684526005602052604090932092909255506101509050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f657805160ff1916838001178555610123565b82800160010185558215610123579182015b82811115610123578251825591602001919060010190610108565b5061012f929150610133565b5090565b61014d91905b8082111561012f5760008155600101610139565b90565b61061c8061015f6000396000f3006080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461015857806323b872dd1461017f578063313ce567146101a957806370a08231146101be5780638da5cb5b146101df57806395d89b4114610210578063a9059cbb14610225578063dd62ed3e14610249575b600080fd5b3480156100b457600080fd5b506100bd610270565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013e57600080fd5b50610156600160a060020a03600435166024356102fd565b005b34801561016457600080fd5b5061016d61035f565b60408051918252519081900360200190f35b34801561018b57600080fd5b50610156600160a060020a0360043581169060243516604435610365565b3480156101b557600080fd5b5061016d610472565b3480156101ca57600080fd5b5061016d600160a060020a0360043516610478565b3480156101eb57600080fd5b506101f4610493565b60408051600160a060020a039092168252519081900360200190f35b34801561021c57600080fd5b506100bd6104a2565b34801561023157600080fd5b50610156600160a060020a03600435166024356104fd565b34801561025557600080fd5b5061016d600160a060020a03600435811690602435166105c5565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102f55780601f106102ca576101008083540402835291602001916102f5565b820191906000526020600020905b8154815290600101906020018083116102d857829003601f168201915b505050505081565b336000818152600660209081526040808320600160a060020a03871680855290835292819020859055805185815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35050565b60005481565b600160a060020a03831660009081526005602052604090205481118015906103b05750600160a060020a03831660009081526006602090815260408083203384529091529020548111155b80156103bd575060008110155b15156103c857600080fd5b600160a060020a03821660009081526005602052604090205481810110156103ef57600080fd5b600160a060020a03808316600081815260056020908152604080832080548701905593871680835284832080548790039055600682528483203384528252918490208054869003905583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050565b60025481565b600160a060020a031660009081526005602052604090205490565b600454600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102f55780601f106102ca576101008083540402835291602001916102f5565b60403660441461050957fe5b336000908152600560205260409020548211801590610529575060008210155b151561053457600080fd5b600160a060020a038316600090815260056020526040902054828101101561055b57600080fd5b33600081815260056020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b600160a060020a039182166000908152600660209081526040808320939094168252919091522054905600a165627a7a7230582076282fd9412d4ad5259ebe1b2ec80f239be138e156606006879efe89f9a0a45e00290000000000000000000000000000000000000000000000000000000000989680000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000034646540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d46697265466f7820546f6b656e00000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461015857806323b872dd1461017f578063313ce567146101a957806370a08231146101be5780638da5cb5b146101df57806395d89b4114610210578063a9059cbb14610225578063dd62ed3e14610249575b600080fd5b3480156100b457600080fd5b506100bd610270565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013e57600080fd5b50610156600160a060020a03600435166024356102fd565b005b34801561016457600080fd5b5061016d61035f565b60408051918252519081900360200190f35b34801561018b57600080fd5b50610156600160a060020a0360043581169060243516604435610365565b3480156101b557600080fd5b5061016d610472565b3480156101ca57600080fd5b5061016d600160a060020a0360043516610478565b3480156101eb57600080fd5b506101f4610493565b60408051600160a060020a039092168252519081900360200190f35b34801561021c57600080fd5b506100bd6104a2565b34801561023157600080fd5b50610156600160a060020a03600435166024356104fd565b34801561025557600080fd5b5061016d600160a060020a03600435811690602435166105c5565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102f55780601f106102ca576101008083540402835291602001916102f5565b820191906000526020600020905b8154815290600101906020018083116102d857829003601f168201915b505050505081565b336000818152600660209081526040808320600160a060020a03871680855290835292819020859055805185815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35050565b60005481565b600160a060020a03831660009081526005602052604090205481118015906103b05750600160a060020a03831660009081526006602090815260408083203384529091529020548111155b80156103bd575060008110155b15156103c857600080fd5b600160a060020a03821660009081526005602052604090205481810110156103ef57600080fd5b600160a060020a03808316600081815260056020908152604080832080548701905593871680835284832080548790039055600682528483203384528252918490208054869003905583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050565b60025481565b600160a060020a031660009081526005602052604090205490565b600454600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102f55780601f106102ca576101008083540402835291602001916102f5565b60403660441461050957fe5b336000908152600560205260409020548211801590610529575060008210155b151561053457600080fd5b600160a060020a038316600090815260056020526040902054828101101561055b57600080fd5b33600081815260056020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b600160a060020a039182166000908152600660209081526040808320939094168252919091522054905600a165627a7a7230582076282fd9412d4ad5259ebe1b2ec80f239be138e156606006879efe89f9a0a45e0029
Deployed Bytecode Sourcemap
95:2207:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;152:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;152:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;152:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1647:154;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1647:154:0;-1:-1:-1;;;;;1647:154:0;;;;;;;;;122:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;122:26:0;;;;;;;;;;;;;;;;;;;;1253:389;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1253:389:0;-1:-1:-1;;;;;1253:389:0;;;;;;;;;;;;174:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;174:23:0;;;;784:102;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;784:102:0;-1:-1:-1;;;;;784:102:0;;;;;225:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;225:20:0;;;;;;;;-1:-1:-1;;;;;225:20:0;;;;;;;;;;;;;;201;;8:9:-1;5:2;;;30:1;27;20:12;5:2;201:20:0;;;;891:357;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;891:357:0;-1:-1:-1;;;;;891:357:0;;;;;;;1806:129;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1806:129:0;-1:-1:-1;;;;;1806:129:0;;;;;;;;;;152:18;;;;;;;;;;;;;;;-1:-1:-1;;152:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1647:154::-;1718:10;1710:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1710:29:0;;;;;;;;;;;;:38;;;1758;;;;;;;1710:29;;1718:10;1758:38;;;;;;;;;;;1647:154;;:::o;122:26::-;;;;:::o;1253:389::-;-1:-1:-1;;;;;1339:15:0;;;;;;:8;:15;;;;;;:25;-1:-1:-1;1339:25:0;;;:65;;-1:-1:-1;;;;;;1368:14:0;;;;;;:7;:14;;;;;;;;1383:10;1368:26;;;;;;;;:36;-1:-1:-1;1368:36:0;1339:65;:80;;;;;1418:1;1408:6;:11;;1339:80;1331:89;;;;;;;;-1:-1:-1;;;;;1459:13:0;;;;;;:8;:13;;;;;;1433:22;;;:39;;1425:48;;;;;;-1:-1:-1;;;;;1484:13:0;;;;;;;:8;:13;;;;;;;;:23;;;;;;1518:15;;;;;;;;;:25;;;;;;;1554:7;:14;;;;;1569:10;1554:26;;;;;;;;:36;;;;;;;1606:28;;;;;;;1484:13;;1518:15;;1606:28;;;;;;;;;;1253:389;;;:::o;174:23::-;;;;:::o;784:102::-;-1:-1:-1;;;;;865:16:0;844:7;865:16;;;:8;:16;;;;;;;784:102::o;225:20::-;;;-1:-1:-1;;;;;225:20:0;;:::o;201:::-;;;;;;;;;;;;;;;-1:-1:-1;;201:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;891:357;961:4;739:8;758;739:27;732:35;;;;996:10;987:20;;;;:8;:20;;;;;;:30;-1:-1:-1;987:30:0;;;:45;;;1031:1;1021:6;:11;;987:45;979:54;;;;;;;;-1:-1:-1;;;;;1082:20:0;;;;;;:8;:20;;;;;;1049:29;;;:53;;1041:62;;;;;;1120:10;1111:20;;;;:8;:20;;;;;;;;:30;;;;;;;-1:-1:-1;;;;;1149:20:0;;;;;;;;;:30;;;;;;1192:40;;;;;;;1149:20;;1120:10;1192:40;;;;;;;;;;;891:357;;;:::o;1806:129::-;-1:-1:-1;;;;;1905:15:0;;;1884:7;1905:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;1806:129::o
Swarm Source
bzzr://76282fd9412d4ad5259ebe1b2ec80f239be138e156606006879efe89f9a0a45e
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.