ERC-20
Overview
Max Total Supply
55,000 BOBO
Holders
768
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.266993390730966461 BOBOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BOBOcontract
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-03 */ pragma solidity >=0.4.22 <0.6.0; contract BOBOcontract { string public constant name = "BOBO"; string public constant symbol = "BOBO"; uint8 public constant decimals = 18; event Approval(address indexed tokenOwner, address indexed spender, uint tokens); event Transfer(address indexed from, address indexed to, uint tokens); mapping(address => uint256) balances; mapping(address => mapping (address => uint256)) allowed; uint256 totalSupply_; using SafeMath for uint256; constructor(uint256 total) public { totalSupply_ = total; balances[msg.sender] = totalSupply_; } function totalSupply() public view returns (uint256) { return totalSupply_; } function balanceOf(address tokenOwner) public view returns (uint) { return balances[tokenOwner]; } function transfer(address receiver, uint numTokens) public returns (bool) { require(numTokens <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(numTokens); balances[receiver] = balances[receiver].add(numTokens); emit Transfer(msg.sender, receiver, numTokens); return true; } function approve(address delegate, uint numTokens) public returns (bool) { allowed[msg.sender][delegate] = numTokens; emit Approval(msg.sender, delegate, numTokens); return true; } function allowance(address owner, address delegate) public view returns (uint) { return allowed[owner][delegate]; } function transferFrom(address owner, address buyer, uint numTokens) public returns (bool) { require(numTokens <= balances[owner]); require(numTokens <= allowed[owner][msg.sender]); balances[owner] = balances[owner].sub(numTokens); allowed[owner][msg.sender] = allowed[owner][msg.sender].sub(numTokens); balances[buyer] = balances[buyer].add(numTokens); emit Transfer(owner, buyer, numTokens); return true; } } library SafeMath { function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"total","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516105f53803806105f58339818101604052602081101561003357600080fd5b505160028190553360009081526020819052604090205561059c806100596000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b4114610098578063a9059cbb146101e9578063dd62ed3e1461021557610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a0610243565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610263565b604080519115158252519081900360200190f35b61015d6102c9565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102cf565b6101ad61042a565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661042f565b610141600480360360408110156101ff57600080fd5b506001600160a01b03813516906020013561044a565b61015d6004803603604081101561022b57600080fd5b506001600160a01b0381358116916020013516610514565b60405180604001604052806004815260200163424f424f60e01b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b0383166000908152602081905260408120548211156102f457600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561032457600080fd5b6001600160a01b03841660009081526020819052604090205461034d908363ffffffff61053f16565b6001600160a01b038516600090815260208181526040808320939093556001815282822033835290522054610388908363ffffffff61053f16565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103cb908363ffffffff61055116565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b3360009081526020819052604081205482111561046657600080fd5b33600090815260208190526040902054610486908363ffffffff61053f16565b33600090815260208190526040808220929092556001600160a01b038516815220546104b8908363ffffffff61055116565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561054b57fe5b50900390565b60008282018381101561056057fe5b939250505056fea265627a7a723158204e60962e87d0b7c738672363f60d81aa5adc63f55c86fe7e2076607fefeb898264736f6c63430005110032000000000000000000000000000000000000000000000ba58e545582d4600000000000000000000000000000000000000000000000000ba58e545582d4600000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b4114610098578063a9059cbb146101e9578063dd62ed3e1461021557610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a0610243565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610263565b604080519115158252519081900360200190f35b61015d6102c9565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102cf565b6101ad61042a565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661042f565b610141600480360360408110156101ff57600080fd5b506001600160a01b03813516906020013561044a565b61015d6004803603604081101561022b57600080fd5b506001600160a01b0381358116916020013516610514565b60405180604001604052806004815260200163424f424f60e01b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b0383166000908152602081905260408120548211156102f457600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561032457600080fd5b6001600160a01b03841660009081526020819052604090205461034d908363ffffffff61053f16565b6001600160a01b038516600090815260208181526040808320939093556001815282822033835290522054610388908363ffffffff61053f16565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103cb908363ffffffff61055116565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b3360009081526020819052604081205482111561046657600080fd5b33600090815260208190526040902054610486908363ffffffff61053f16565b33600090815260208190526040808220929092556001600160a01b038516815220546104b8908363ffffffff61055116565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561054b57fe5b50900390565b60008282018381101561056057fe5b939250505056fea265627a7a723158204e60962e87d0b7c738672363f60d81aa5adc63f55c86fe7e2076607fefeb898264736f6c63430005110032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000ba58e545582d4600000000000000000000000000000000000000000000000000ba58e545582d4600000
-----Decoded View---------------
Arg [0] : total (uint256): 55000000000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000ba58e545582d4600000
Arg [1] : 000000000000000000000000000000000000000000000ba58e545582d4600000
Deployed Bytecode Sourcemap
36:2047:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36:2047:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67:36;;;:::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;67:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1238:212;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1238:212:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;666:84;;;:::i;:::-;;;;;;;;;;;;;;;;1595:485;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1595:485:0;;;;;;;;;;;;;;;;;:::i;155:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;762:112;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;762:112:0;-1:-1:-1;;;;;762:112:0;;:::i;882:348::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;882:348:0;;;;;;;;:::i;1458:129::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1458:129:0;;;;;;;;;;:::i;67:36::-;;;;;;;;;;;;;;-1:-1:-1;;;67:36:0;;;;:::o;1238:212::-;1330:10;1305:4;1322:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1322:29:0;;;;;;;;;;;:41;;;1379;;;;;;;1305:4;;1322:29;;1330:10;;1379:41;;;;;;;;-1:-1:-1;1438:4:0;1238:212;;;;:::o;666:84::-;730:12;;666:84;:::o;1595:485::-;-1:-1:-1;;;;;1717:15:0;;1679:4;1717:15;;;;;;;;;;;1704:28;;;1696:37;;;;;;-1:-1:-1;;;;;1769:14:0;;;;;;:7;:14;;;;;;;;1784:10;1769:26;;;;;;;;1756:39;;;1748:48;;;;;;-1:-1:-1;;;;;1831:15:0;;:8;:15;;;;;;;;;;;:30;;1851:9;1831:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;1813:15:0;;:8;:15;;;;;;;;;;;:48;;;;1901:7;:14;;;;;1916:10;1901:26;;;;;;:41;;1932:9;1901:41;:30;:41;:::i;:::-;-1:-1:-1;;;;;1872:14:0;;;;;;;:7;:14;;;;;;;;1887:10;1872:26;;;;;;;:70;;;;1971:15;;;;;;;;;;;:30;;1991:9;1971:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;1953:15:0;;;:8;:15;;;;;;;;;;;;:48;;;;2017:33;;;;;;;1953:15;;2017:33;;;;;;;;;;;;;-1:-1:-1;2068:4:0;1595:485;;;;;:::o;155:35::-;188:2;155:35;:::o;762:112::-;-1:-1:-1;;;;;846:20:0;822:4;846:20;;;;;;;;;;;;762:112::o;882:348::-;997:10;950:4;988:20;;;;;;;;;;;975:33;;;967:42;;;;;;1052:10;1043:8;:20;;;;;;;;;;;:35;;1068:9;1043:35;:24;:35;:::i;:::-;1029:10;1020:8;:20;;;;;;;;;;;:58;;;;-1:-1:-1;;;;;1110:18:0;;;;;;:33;;1133:9;1110:33;:22;:33;:::i;:::-;-1:-1:-1;;;;;1089:18:0;;:8;:18;;;;;;;;;;;;:54;;;;1159:41;;;;;;;1089:18;;1168:10;;1159:41;;;;;;;;;;-1:-1:-1;1218:4:0;882:348;;;;:::o;1458:129::-;-1:-1:-1;;;;;1555:14:0;;;1531:4;1555:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;1458:129::o;2112:119::-;2170:7;2200:1;2195;:6;;2188:14;;;;-1:-1:-1;2218:5:0;;;2112:119::o;2243:141::-;2301:7;2331:5;;;2352:6;;;;2345:14;;;;2375:1;2243:141;-1:-1:-1;;;2243:141:0:o
Swarm Source
bzzr://4e60962e87d0b7c738672363f60d81aa5adc63f55c86fe7e2076607fefeb8982
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.