Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Website Down
Overview
Max Total Supply
10,000,000,000 BBGC
Holders
15,715 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
170,244,328.96406569 BBGCValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
CustomToken
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-01-25 */ pragma solidity ^0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } contract BaseToken { using SafeMath for uint256; string constant public name = 'BigBang Game Coin Token'; string constant public symbol = 'BBGC'; uint8 constant public decimals = 8; uint256 public totalSupply = 1000000000000000000; uint256 constant public _totalLimit = 1e22; 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 != address(0)); balanceOf[from] = balanceOf[from].sub(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(from, to, value); } function _mint(address account, uint256 value) internal { require(account != address(0)); totalSupply = totalSupply.add(value); require(_totalLimit >= totalSupply); balanceOf[account] = balanceOf[account].add(value); emit Transfer(address(0), account, value); } function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } function transferFrom(address from, address to, uint256 value) public returns (bool) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value); _transfer(from, to, value); return true; } function approve(address spender, uint256 value) public returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = allowance[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, allowance[msg.sender][spender]); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = allowance[msg.sender][spender].sub(subtractedValue); emit Approval(msg.sender, spender, allowance[msg.sender][spender]); return true; } } contract CustomToken is BaseToken { constructor() public { balanceOf[0x348D6E3320F0Bd8D7281A6aa3545C51F852a2892] = totalSupply; emit Transfer(address(0), 0x348D6E3320F0Bd8D7281A6aa3545C51F852a2892, 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":"","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_totalLimit","outputs":[{"name":"","type":"uint256"}],"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":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","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
6080604052670de0b6b3a764000060005534801561001c57600080fd5b506000805473348d6e3320f0bd8d7281a6aa3545c51f852a2892808352600160209081527f6154afdecfd4fd0cf466bbcec41b31781f0ff584b9e6b85c48a8d6fa4ccf182b83905560408051938452519193927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36106b7806100a96000396000f3006080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806339509351146101fc57806339f85f5d1461022057806370a082311461023557806395d89b4114610256578063a457c2d71461026b578063a9059cbb1461028f578063dd62ed3e146102b3575b600080fd5b3480156100ca57600080fd5b506100d36102da565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a0360043516602435610311565b604080519115158252519081900360200190f35b34801561018c57600080fd5b5061019561038f565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610395565b3480156101dd57600080fd5b506101e6610402565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610407565b34801561022c57600080fd5b506101956104b7565b34801561024157600080fd5b50610195600160a060020a03600435166104c5565b34801561026257600080fd5b506100d36104d7565b34801561027757600080fd5b5061016c600160a060020a036004351660243561050e565b34801561029b57600080fd5b5061016c600160a060020a0360043516602435610559565b3480156102bf57600080fd5b50610195600160a060020a036004358116906024351661056f565b60408051808201909152601781527f42696742616e672047616d6520436f696e20546f6b656e000000000000000000602082015281565b6000600160a060020a038316151561032857600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a03831660009081526002602090815260408083203384529091528120546103c9908363ffffffff61058c16565b600160a060020a03851660009081526002602090815260408083203384529091529020556103f88484846105a3565b5060019392505050565b600881565b6000600160a060020a038316151561041e57600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61067216565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b69021e19e0c9bab240000081565b60016020526000908152604090205481565b60408051808201909152600481527f4242474300000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561052557600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61058c16565b60006105663384846105a3565b50600192915050565b600260209081526000928352604080842090915290825290205481565b6000808383111561059c57600080fd5b5050900390565b600160a060020a03821615156105b857600080fd5b600160a060020a0383166000908152600160205260409020546105e1908263ffffffff61058c16565b600160a060020a038085166000908152600160205260408082209390935590841681522054610616908263ffffffff61067216565b600160a060020a0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561068457600080fd5b93925050505600a165627a7a723058209886a8411d1ed9e002ad2d9b05dbb9cc84482b3d5663b03f481a00c1c53df03c0029
Deployed Bytecode
0x6080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806339509351146101fc57806339f85f5d1461022057806370a082311461023557806395d89b4114610256578063a457c2d71461026b578063a9059cbb1461028f578063dd62ed3e146102b3575b600080fd5b3480156100ca57600080fd5b506100d36102da565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a0360043516602435610311565b604080519115158252519081900360200190f35b34801561018c57600080fd5b5061019561038f565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610395565b3480156101dd57600080fd5b506101e6610402565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610407565b34801561022c57600080fd5b506101956104b7565b34801561024157600080fd5b50610195600160a060020a03600435166104c5565b34801561026257600080fd5b506100d36104d7565b34801561027757600080fd5b5061016c600160a060020a036004351660243561050e565b34801561029b57600080fd5b5061016c600160a060020a0360043516602435610559565b3480156102bf57600080fd5b50610195600160a060020a036004358116906024351661056f565b60408051808201909152601781527f42696742616e672047616d6520436f696e20546f6b656e000000000000000000602082015281565b6000600160a060020a038316151561032857600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a03831660009081526002602090815260408083203384529091528120546103c9908363ffffffff61058c16565b600160a060020a03851660009081526002602090815260408083203384529091529020556103f88484846105a3565b5060019392505050565b600881565b6000600160a060020a038316151561041e57600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61067216565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b69021e19e0c9bab240000081565b60016020526000908152604090205481565b60408051808201909152600481527f4242474300000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561052557600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61058c16565b60006105663384846105a3565b50600192915050565b600260209081526000928352604080842090915290825290205481565b6000808383111561059c57600080fd5b5050900390565b600160a060020a03821615156105b857600080fd5b600160a060020a0383166000908152600160205260409020546105e1908263ffffffff61058c16565b600160a060020a038085166000908152600160205260408082209390935590841681522054610616908263ffffffff61067216565b600160a060020a0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561068457600080fd5b93925050505600a165627a7a723058209886a8411d1ed9e002ad2d9b05dbb9cc84482b3d5663b03f481a00c1c53df03c0029
Swarm Source
bzzr://9886a8411d1ed9e002ad2d9b05dbb9cc84482b3d5663b03f481a00c1c53df03c
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.