ERC-20
Overview
Max Total Supply
8,000,000 Bear1
Holders
1
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
8,000,000 Bear1Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BullToken
Compiler Version
v0.5.1+commit.c8a2cb62
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-12-05 */ pragma solidity ^0.5.0; // File: contracts\interface\TokenRecipient.sol // File: contracts\SECToken.sol // Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/issues/20 contract Token { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced with: uint256 public totalSupply; This automatically creates a getter function for the totalSupply. This is moved to the base contract since public getter functions are not currently recognised as an implementation of the matching abstract function by the compiler. */ /// total amount of tokens uint256 public totalSupply; /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) public view returns (uint256 balance); /// @notice send `_value` token to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transfer(address _to, uint256 _value) public returns (bool success); /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); /// @notice `msg.sender` approves `_addr` to spend `_value` tokens /// @param _spender The address of the account able to transfer the tokens /// @param _value The amount of wei to be approved for transfer /// @return Whether the approval was successful or not function approve(address _spender, uint256 _value) public returns (bool success); /// @param _owner The address of the account owning tokens /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens allowed to spent 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); } /* You should inherit from StandardToken or, for a token like you would want to deploy in something like Mist, see HumanStandardToken.sol. (This implements ONLY the standard functions and NOTHING else. If you deploy this, you won't have anything useful.) Implements ERC 20 Token standard: https://github.com/ethereum/EIPs/issues/20 .*/ contract StandardToken is Token { function transfer(address _to, uint256 _value) public returns (bool success) { //Default assumes totalSupply can't be over max (2^256 - 1). //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap. //Replace the if with this one instead. //if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) { if (balances[msg.sender] >= _value && _value > 0) { balances[msg.sender] -= _value; balances[_to] += _value; emit Transfer(msg.sender, _to, _value); return true; } else { return false; } } function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { //same as above. Replace this line with the following if you want to protect against wrapping uints. //if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) { if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) { balances[_to] += _value; balances[_from] -= _value; allowed[_from][msg.sender] -= _value; emit Transfer(_from, _to, _value); return true; } else { return false; } } function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } function approve(address _spender, uint256 _value) public returns (bool success) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public view returns (uint256 remaining) { return allowed[_owner][_spender]; } mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; } /* This Token Contract implements the standard token functionality (https://github.com/ethereum/EIPs/issues/20) as well as the following OPTIONAL extras intended for use by humans. In other words. This is intended for deployment in something like a Token Factory or Mist wallet, and then used by humans. Imagine coins, currencies, shares, voting weight, etc. Machine-based, rapid creation of many tokens would not necessarily need these extra features or will be minted in other manners. 1) Initial Finite Supply (upon creation one specifies how much is minted). 2) In the absence of a token registry: Optional Decimal, Symbol & Name. 3) Optional approveAndCall() functionality to notify a contract if an approval() has occurred. .*/ contract BullToken is StandardToken { function () external { //if ether is sent to this address, send it back. revert("fallback not allow used"); } /* Public variables of the token */ /* NOTE: The following variables are OPTIONAL vanities. One does not have to include them. They allow one to customise the token contract & in no way influences the core functionality. Some wallets/interfaces might not even bother to look at this information. */ string public name; //fancy name: eg Simon Bucks uint8 public decimals; //How many decimals to show. ie. There could 1000 base units with 3 decimals. Meaning 0.980 SBX = 980 base units. It's like comparing 1 wei to 1 ether. string public symbol; //An identifier: eg SBX string public version = "H0.1"; //human 0.1 standard. Just anijukm ijlk mo9uinm =-09876][polkuijyt;l.kmjbgvarbitrary versioning scheme. constructor () public { // 发币总量 10亿 uint _total = 8000000 * (10 ** 18); balances[msg.sender] = _total; // Give the creator all initial tokens totalSupply = _total; // Update total supply name = "Bear1"; // Set the name for display purposes decimals = 18; // Amount of decimals for display purposes symbol = "Bear1"; // Set the symbol for display purposes } }
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":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","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"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"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
60c0604052600460808190527f48302e310000000000000000000000000000000000000000000000000000000060a090815261003e916006919061010b565b5034801561004b57600080fd5b503360009081526001602090815260408083206a069e10de76676d080000009081905592839055805180820190915260058082527f4265617231000000000000000000000000000000000000000000000000000000919092019081526100b4916003919061010b565b506004805460ff191660121790556040805180820190915260058082527f42656172310000000000000000000000000000000000000000000000000000006020909201918252610104918161010b565b50506101a6565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014c57805160ff1916838001178555610179565b82800160010185558215610179579182015b8281111561017957825182559160200191906001019061015e565b50610185929150610189565b5090565b6101a391905b80821115610185576000815560010161018f565b90565b610700806101b56000396000f3fe60806040526004361061009d577c0100000000000000000000000000000000000000000000000000000000600035046306fdde038114610111578063095ea7b31461019b57806318160ddd146101e857806323b872dd1461020f578063313ce5671461025257806354fd4d501461027d57806370a082311461029257806395d89b41146102c5578063a9059cbb146102da578063dd62ed3e14610313575b3480156100a957600080fd5b50604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f66616c6c6261636b206e6f7420616c6c6f772075736564000000000000000000604482015290519081900360640190fd5b34801561011d57600080fd5b5061012661034e565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610160578181015183820152602001610148565b50505050905090810190601f16801561018d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a757600080fd5b506101d4600480360360408110156101be57600080fd5b50600160a060020a0381351690602001356103dc565b604080519115158252519081900360200190f35b3480156101f457600080fd5b506101fd610443565b60408051918252519081900360200190f35b34801561021b57600080fd5b506101d46004803603606081101561023257600080fd5b50600160a060020a03813581169160208101359091169060400135610449565b34801561025e57600080fd5b50610267610536565b6040805160ff9092168252519081900360200190f35b34801561028957600080fd5b5061012661053f565b34801561029e57600080fd5b506101fd600480360360208110156102b557600080fd5b5035600160a060020a031661059a565b3480156102d157600080fd5b506101266105b5565b3480156102e657600080fd5b506101d4600480360360408110156102fd57600080fd5b50600160a060020a038135169060200135610610565b34801561031f57600080fd5b506101fd6004803603604081101561033657600080fd5b50600160a060020a03813581169160200135166106a9565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b820191906000526020600020905b8154815290600101906020018083116103b757829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60005481565b600160a060020a03831660009081526001602052604081205482118015906104945750600160a060020a03841660009081526002602090815260408083203384529091529020548211155b80156104a05750600082115b1561052b57600160a060020a03808416600081815260016020908152604080832080548801905593881680835284832080548890039055600282528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600161052f565b5060005b9392505050565b60045460ff1681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b600160a060020a031660009081526001602052604090205490565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b33600090815260016020526040812054821180159061062f5750600082115b156106a15733600081815260016020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600161043d565b50600061043d565b600160a060020a0391821660009081526002602090815260408083209390941682529190915220549056fea165627a7a72305820151e81a096c1c575a92ddb2baf01b5f8072f5f4220a9cbe3e3e30bf070a096840029
Deployed Bytecode
0x60806040526004361061009d577c0100000000000000000000000000000000000000000000000000000000600035046306fdde038114610111578063095ea7b31461019b57806318160ddd146101e857806323b872dd1461020f578063313ce5671461025257806354fd4d501461027d57806370a082311461029257806395d89b41146102c5578063a9059cbb146102da578063dd62ed3e14610313575b3480156100a957600080fd5b50604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f66616c6c6261636b206e6f7420616c6c6f772075736564000000000000000000604482015290519081900360640190fd5b34801561011d57600080fd5b5061012661034e565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610160578181015183820152602001610148565b50505050905090810190601f16801561018d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a757600080fd5b506101d4600480360360408110156101be57600080fd5b50600160a060020a0381351690602001356103dc565b604080519115158252519081900360200190f35b3480156101f457600080fd5b506101fd610443565b60408051918252519081900360200190f35b34801561021b57600080fd5b506101d46004803603606081101561023257600080fd5b50600160a060020a03813581169160208101359091169060400135610449565b34801561025e57600080fd5b50610267610536565b6040805160ff9092168252519081900360200190f35b34801561028957600080fd5b5061012661053f565b34801561029e57600080fd5b506101fd600480360360208110156102b557600080fd5b5035600160a060020a031661059a565b3480156102d157600080fd5b506101266105b5565b3480156102e657600080fd5b506101d4600480360360408110156102fd57600080fd5b50600160a060020a038135169060200135610610565b34801561031f57600080fd5b506101fd6004803603604081101561033657600080fd5b50600160a060020a03813581169160200135166106a9565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b820191906000526020600020905b8154815290600101906020018083116103b757829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60005481565b600160a060020a03831660009081526001602052604081205482118015906104945750600160a060020a03841660009081526002602090815260408083203384529091529020548211155b80156104a05750600082115b1561052b57600160a060020a03808416600081815260016020908152604080832080548801905593881680835284832080548890039055600282528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600161052f565b5060005b9392505050565b60045460ff1681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b600160a060020a031660009081526001602052604090205490565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d45780601f106103a9576101008083540402835291602001916103d4565b33600090815260016020526040812054821180159061062f5750600082115b156106a15733600081815260016020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600161043d565b50600061043d565b600160a060020a0391821660009081526002602090815260408083209390941682529190915220549056fea165627a7a72305820151e81a096c1c575a92ddb2baf01b5f8072f5f4220a9cbe3e3e30bf070a096840029
Deployed Bytecode Sourcemap
5684:1574:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5820:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6205:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6205:18:0;;;:::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;6205:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4450:214;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4450:214:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4450:214:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;714:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;714:26:0;;;:::i;:::-;;;;;;;;;;;;;;;;3623:696;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3623:696:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3623:696:0;;;;;;;;;;;;;;;;;:::i;6277:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6277:21:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6539:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6539:30:0;;;:::i;4327:115::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4327:115:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4327:115:0;-1:-1:-1;;;;;4327:115:0;;:::i;6472:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6472:20:0;;;:::i;2911:704::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2911:704:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2911:704:0;;;;;;;;:::i;4672:144::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4672:144:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4672:144:0;;;;;;;;;;:::i;6205:18::-;;;;;;;;;;;;;;;-1:-1:-1;;6205:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4450:214::-;4550:10;4517:12;4542:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;4542:29:0;;;;;;;;;;;:38;;;4596;;;;;;;4517:12;;4542:29;;4550:10;;4596:38;;;;;;;;-1:-1:-1;4652:4:0;4450:214;;;;;:::o;714:26::-;;;;:::o;3623:696::-;-1:-1:-1;;;;;3970:15:0;;3705:12;3970:15;;;:8;:15;;;;;;:25;-1:-1:-1;3970:25:0;;;:65;;-1:-1:-1;;;;;;3999:14:0;;;;;;:7;:14;;;;;;;;4014:10;3999:26;;;;;;;;:36;-1:-1:-1;3999:36:0;3970:65;:79;;;;;4048:1;4039:6;:10;3970:79;3966:346;;;-1:-1:-1;;;;;4066:13:0;;;;;;;:8;:13;;;;;;;;:23;;;;;;4104:15;;;;;;;;;:25;;;;;;;4144:7;:14;;;;;4159:10;4144:26;;;;;;;;:36;;;;;;;4200:28;;;;;;;4066:13;;4104:15;;4200:28;;;;;;;;;;-1:-1:-1;4250:4:0;4243:11;;3966:346;-1:-1:-1;4294:5:0;3966:346;3623:696;;;;;:::o;6277:21::-;;;;;;:::o;6539:30::-;;;;;;;;;;;;;;;-1:-1:-1;;6539:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4327:115;-1:-1:-1;;;;;4418:16:0;4383:15;4418:16;;;:8;:16;;;;;;;4327:115::o;6472:20::-;;;;;;;;;;;;;;;-1:-1:-1;;6472:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2911:704;3351:10;2974:12;3342:20;;;:8;:20;;;;;;:30;-1:-1:-1;3342:30:0;;;:44;;;3385:1;3376:6;:10;3342:44;3338:270;;;3412:10;3403:20;;;;:8;:20;;;;;;;;:30;;;;;;;-1:-1:-1;;;;;3448:13:0;;;;;;;;;:23;;;;;;3491:33;;;;;;;3448:13;;3412:10;3491:33;;;;;;;;;;;-1:-1:-1;3546:4:0;3539:11;;3338:270;-1:-1:-1;3590:5:0;3583:12;;4672:144;-1:-1:-1;;;;;4783:15:0;;;4746:17;4783:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;4672:144::o
Swarm Source
bzzr://151e81a096c1c575a92ddb2baf01b5f8072f5f4220a9cbe3e3e30bf070a09684
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.