Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
10,000,000,000 BGC
Holders
8
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BGCoin
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-12-28 */ pragma solidity ^0.4.24; contract ERC223Interface { function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); function allowance(address _owner, address _spender) public view returns (uint256); function transferFrom(address _from, address _to, uint256 _value) public returns (bool); function approve(address _spender, uint256 _value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Transfer(address indexed from, address indexed to, uint value, bytes data); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Contract that will work with ERC223 tokens. */ contract ERC223ReceivingContract { /** * @dev Standard ERC223 function that will handle incoming token transfers. * * @param _from Token sender address. * @param _value Amount of tokens. * @param _data Transaction metadata. */ function tokenFallback(address _from, uint _value, bytes _data) public; } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() public onlyOwner whenNotPaused { paused = true; emit Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() public onlyOwner whenPaused { paused = false; emit Unpause(); } } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than asserting 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (_a == 0) { return 0; } c = _a * _b; assert(c / _a == _b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 _a, uint256 _b) internal pure returns (uint256) { // assert(_b > 0); // Solidity automatically throws when dividing by 0 // uint256 c = _a / _b; // assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold return _a / _b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { assert(_b <= _a); return _a - _b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) { c = _a + _b; assert(c >= _a); return c; } } contract BGCoin is ERC223Interface, Pausable { using SafeMath for uint256; string internal _name; string internal _symbol; uint8 internal _decimals; uint256 internal _totalSupply; mapping (address => uint256) internal balances; mapping (address => mapping (address => uint256)) internal allowed; mapping (address => bool) public frozenAccount; event FrozenFunds(address target, bool frozen); constructor(string name, string symbol, uint8 decimals, uint256 totalSupply) public { _name = name; _symbol = symbol; _decimals = decimals; _totalSupply = totalSupply; balances[msg.sender] = totalSupply; } function name() public view returns (string) { return _name; } function symbol() public view returns (string) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } function freezeAccount(address target, bool freeze) public onlyOwner { frozenAccount[target] = freeze; emit FrozenFunds(target, freeze); } function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) { require(_value <= balances[msg.sender]); require(!frozenAccount[_to]); require(!frozenAccount[msg.sender]); balances[msg.sender] = SafeMath.sub(balances[msg.sender], _value); balances[_to] = SafeMath.add(balances[_to], _value); emit Transfer(msg.sender, _to, _value); return true; } function transfer(address _to, uint _value, bytes _data) public whenNotPaused returns (bool) { require(_value > 0 ); require(!frozenAccount[_to]); require(!frozenAccount[msg.sender]); if(isContract(_to)) { ERC223ReceivingContract receiver = ERC223ReceivingContract(_to); receiver.tokenFallback(msg.sender, _value, _data); } balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value, _data); return true; } function isContract(address _addr) private view returns (bool is_contract) { uint length; assembly { //retrieve the size of the code on target address, this needs assembly length := extcodesize(_addr) } return (length>0); } function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) { require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); require(!frozenAccount[_to]); require(!frozenAccount[_from]); balances[_from] = SafeMath.sub(balances[_from], _value); balances[_to] = SafeMath.add(balances[_to], _value); allowed[_from][msg.sender] = SafeMath.sub(allowed[_from][msg.sender], _value); emit Transfer(_from, _to, _value); return true; } function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } function increaseApproval(address _spender, uint _addedValue) public whenNotPaused returns (bool) { allowed[msg.sender][_spender] = SafeMath.add(allowed[msg.sender][_spender], _addedValue); emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } function decreaseApproval(address _spender, uint _subtractedValue) public whenNotPaused returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = SafeMath.sub(oldValue, _subtractedValue); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } function distributeAirdrop(address[] addresses, uint256 amount) public returns (bool seccess) { require(amount > 0); require(addresses.length > 0); require(!frozenAccount[msg.sender]); uint256 totalAmount = amount.mul(addresses.length); require(balances[msg.sender] >= totalAmount); bytes memory empty; for (uint i = 0; i < addresses.length; i++) { require(addresses[i] != address(0)); require(!frozenAccount[addresses[i]]); balances[addresses[i]] = balances[addresses[i]].add(amount); emit Transfer(msg.sender, addresses[i], amount, empty); } balances[msg.sender] = balances[msg.sender].sub(totalAmount); return true; } function distributeAirdrop(address[] addresses, uint256[] amounts) public returns (bool) { require(addresses.length > 0); require(addresses.length == amounts.length); require(!frozenAccount[msg.sender]); uint256 totalAmount = 0; for(uint i = 0; i < addresses.length; i++){ require(amounts[i] > 0); require(addresses[i] != address(0)); require(!frozenAccount[addresses[i]]); totalAmount = totalAmount.add(amounts[i]); } require(balances[msg.sender] >= totalAmount); bytes memory empty; for (i = 0; i < addresses.length; i++) { balances[addresses[i]] = balances[addresses[i]].add(amounts[i]); emit Transfer(msg.sender, addresses[i], amounts[i], empty); } balances[msg.sender] = balances[msg.sender].sub(totalAmount); return true; } /** * @dev Function to collect tokens from the list of addresses */ function collectTokens(address[] addresses, uint256[] amounts) public onlyOwner returns (bool) { require(addresses.length > 0); require(addresses.length == amounts.length); uint256 totalAmount = 0; bytes memory empty; for (uint j = 0; j < addresses.length; j++) { require(amounts[j] > 0); require(addresses[j] != address(0)); require(!frozenAccount[addresses[j]]); require(balances[addresses[j]] >= amounts[j]); balances[addresses[j]] = balances[addresses[j]].sub(amounts[j]); totalAmount = totalAmount.add(amounts[j]); emit Transfer(addresses[j], msg.sender, amounts[j], empty); } balances[msg.sender] = balances[msg.sender].add(totalAmount); return true; } }
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":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addresses","type":"address[]"},{"name":"amount","type":"uint256"}],"name":"distributeAirdrop","outputs":[{"name":"seccess","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"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"},{"constant":false,"inputs":[{"name":"addresses","type":"address[]"},{"name":"amounts","type":"uint256[]"}],"name":"distributeAirdrop","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addresses","type":"address[]"},{"name":"amounts","type":"uint256[]"}],"name":"collectTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"},{"name":"totalSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"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":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"data","type":"bytes"}],"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
60806040526000805460a060020a60ff02191690553480156200002157600080fd5b5060405162001b6438038062001b64833981016040908152815160208084015192840151606085015160008054600160a060020a031916331790559285018051909594909401939092916200007c91600191870190620000c6565b50825162000092906002906020860190620000c6565b506003805460ff191660ff9390931692909217909155600481905533600090815260056020526040902055506200016b9050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200010957805160ff191683800117855562000139565b8280016001018555821562000139579182015b82811115620001395782518255916020019190600101906200011c565b50620001479291506200014b565b5090565b6200016891905b8082111562000147576000815560010162000152565b90565b6119e9806200017b6000396000f3006080604052600436106101325763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610137578063095ea7b3146101c157806318160ddd146101f957806323b872dd14610220578063313ce5671461024a5780633f4ba83a146102755780635c975abb1461028c57806366188463146102a157806370a08231146102c5578063715018a6146102e65780638456cb59146102fb5780638da5cb5b14610310578063945946251461034157806395d89b4114610398578063a9059cbb146103ad578063b414d4b6146103d1578063be45fd62146103f2578063d73dd6231461045b578063dd62ed3e1461047f578063dd924594146104a6578063e724529c14610534578063f0dc41711461055a578063f2fde38b146105e8575b600080fd5b34801561014357600080fd5b5061014c610609565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018657818101518382015260200161016e565b50505050905090810190601f1680156101b35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101cd57600080fd5b506101e5600160a060020a036004351660243561069e565b604080519115158252519081900360200190f35b34801561020557600080fd5b5061020e61071e565b60408051918252519081900360200190f35b34801561022c57600080fd5b506101e5600160a060020a0360043581169060243516604435610724565b34801561025657600080fd5b5061025f6108d8565b6040805160ff9092168252519081900360200190f35b34801561028157600080fd5b5061028a6108e1565b005b34801561029857600080fd5b506101e5610957565b3480156102ad57600080fd5b506101e5600160a060020a0360043516602435610967565b3480156102d157600080fd5b5061020e600160a060020a0360043516610a6c565b3480156102f257600080fd5b5061028a610a87565b34801561030757600080fd5b5061028a610af3565b34801561031c57600080fd5b50610325610b6e565b60408051600160a060020a039092168252519081900360200190f35b34801561034d57600080fd5b50604080516020600480358082013583810280860185019096528085526101e5953695939460249493850192918291850190849080828437509497505093359450610b7d9350505050565b3480156103a457600080fd5b5061014c610de2565b3480156103b957600080fd5b506101e5600160a060020a0360043516602435610e40565b3480156103dd57600080fd5b506101e5600160a060020a0360043516610f5b565b3480156103fe57600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101e5948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610f709650505050505050565b34801561046757600080fd5b506101e5600160a060020a0360043516602435611200565b34801561048b57600080fd5b5061020e600160a060020a03600435811690602435166112ab565b3480156104b257600080fd5b50604080516020600480358082013583810280860185019096528085526101e595369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506112d69650505050505050565b34801561054057600080fd5b5061028a600160a060020a0360043516602435151561155c565b34801561056657600080fd5b50604080516020600480358082013583810280860185019096528085526101e595369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506115d79650505050505050565b3480156105f457600080fd5b5061028a600160a060020a03600435166118ad565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156106945780601f1061066957610100808354040283529160200191610694565b820191906000526020600020905b81548152906001019060200180831161067757829003601f168201915b5050505050905090565b6000805460a060020a900460ff16156106b657600080fd5b336000818152600660209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60045490565b6000805460a060020a900460ff161561073c57600080fd5b600160a060020a03841660009081526005602052604090205482111561076157600080fd5b600160a060020a038416600090815260066020908152604080832033845290915290205482111561079157600080fd5b600160a060020a03831660009081526007602052604090205460ff16156107b757600080fd5b600160a060020a03841660009081526007602052604090205460ff16156107dd57600080fd5b600160a060020a03841660009081526005602052604090205461080090836118d0565b600160a060020a03808616600090815260056020526040808220939093559085168152205461082f90836118e2565b600160a060020a03808516600090815260056020908152604080832094909455918716815260068252828120338252909152205461086d90836118d0565b600160a060020a03808616600081815260066020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60035460ff1690565b600054600160a060020a031633146108f857600080fd5b60005460a060020a900460ff16151561091057600080fd5b6000805474ff0000000000000000000000000000000000000000191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b60005460a060020a900460ff1681565b60008054819060a060020a900460ff161561098157600080fd5b50336000908152600660209081526040808320600160a060020a0387168452909152902054808311156109d757336000908152600660209081526040808320600160a060020a0388168452909152812055610a06565b6109e181846118d0565b336000908152600660209081526040808320600160a060020a03891684529091529020555b336000818152600660209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526005602052604090205490565b600054600160a060020a03163314610a9e57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610b0a57600080fd5b60005460a060020a900460ff1615610b2157600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b600054600160a060020a031681565b600080606081808511610b8f57600080fd5b8551600010610b9d57600080fd5b3360009081526007602052604090205460ff1615610bba57600080fd5b8551610bcd90869063ffffffff6118ef16565b33600090815260056020526040902054909350831115610bec57600080fd5b5060005b8551811015610da6578551600090879083908110610c0a57fe5b60209081029091010151600160a060020a03161415610c2857600080fd5b600760008783815181101515610c3a57fe5b6020908102909101810151600160a060020a031682528101919091526040016000205460ff1615610c6a57600080fd5b610caf85600560008985815181101515610c8057fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff6118e216565b600560008884815181101515610cc157fe5b6020908102909101810151600160a060020a03168252810191909152604001600020558551869082908110610cf257fe5b90602001906020020151600160a060020a031633600160a060020a031660008051602061199e83398151915287856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610d63578181015183820152602001610d4b565b50505050905090810190601f168015610d905780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3600101610bf0565b33600090815260056020526040902054610dc6908463ffffffff6118d016565b3360009081526005602052604090205550600195945050505050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156106945780601f1061066957610100808354040283529160200191610694565b6000805460a060020a900460ff1615610e5857600080fd5b33600090815260056020526040902054821115610e7457600080fd5b600160a060020a03831660009081526007602052604090205460ff1615610e9a57600080fd5b3360009081526007602052604090205460ff1615610eb757600080fd5b33600090815260056020526040902054610ed190836118d0565b3360009081526005602052604080822092909255600160a060020a03851681522054610efd90836118e2565b600160a060020a0384166000818152600560209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60076020526000908152604090205460ff1681565b60008054819060a060020a900460ff1615610f8a57600080fd5b60008411610f9757600080fd5b600160a060020a03851660009081526007602052604090205460ff1615610fbd57600080fd5b3360009081526007602052604090205460ff1615610fda57600080fd5b610fe385611918565b156110d757506040517fc0ee0b8a0000000000000000000000000000000000000000000000000000000081523360048201818152602483018690526060604484019081528551606485015285518894600160a060020a0386169463c0ee0b8a9490938a938a9360840190602085019080838360005b83811015611070578181015183820152602001611058565b50505050905090810190601f16801561109d5780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b1580156110be57600080fd5b505af11580156110d2573d6000803e3d6000fd5b505050505b336000908152600560205260409020546110f7908563ffffffff6118d016565b3360009081526005602052604080822092909255600160a060020a03871681522054611129908563ffffffff6118e216565b6005600087600160a060020a0316600160a060020a031681526020019081526020016000208190555084600160a060020a031633600160a060020a031660008051602061199e83398151915286866040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156111ba5781810151838201526020016111a2565b50505050905090810190601f1680156111e75780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3506001949350505050565b6000805460a060020a900460ff161561121857600080fd5b336000908152600660209081526040808320600160a060020a038716845290915290205461124690836118e2565b336000818152600660209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b60008060006060600086511115156112ed57600080fd5b84518651146112fb57600080fd5b3360009081526007602052604090205460ff161561131857600080fd5b60009250600091505b85518210156113f4576000858381518110151561133a57fe5b602090810290910101511161134e57600080fd5b855160009087908490811061135f57fe5b60209081029091010151600160a060020a0316141561137d57600080fd5b60076000878481518110151561138f57fe5b6020908102909101810151600160a060020a031682528101919091526040016000205460ff16156113bf57600080fd5b6113e785838151811015156113d057fe5b60209081029091010151849063ffffffff6118e216565b9250600190910190611321565b3360009081526005602052604090205483111561141057600080fd5b600091505b8551821015610da65761144b858381518110151561142f57fe5b90602001906020020151600560008986815181101515610c8057fe5b60056000888581518110151561145d57fe5b6020908102909101810151600160a060020a0316825281019190915260400160002055855186908390811061148e57fe5b90602001906020020151600160a060020a031633600160a060020a031660008051602061199e83398151915287858151811015156114c857fe5b90602001906020020151846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156115165781810151838201526020016114fe565b50505050905090810190601f1680156115435780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3600190910190611415565b600054600160a060020a0316331461157357600080fd5b600160a060020a038216600081815260076020908152604091829020805460ff191685151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a15050565b6000805481906060908290600160a060020a031633146115f657600080fd5b855160001061160457600080fd5b845186511461161257600080fd5b5060009150815b855181101561188d576000858281518110151561163257fe5b602090810290910101511161164657600080fd5b855160009087908390811061165757fe5b60209081029091010151600160a060020a0316141561167557600080fd5b60076000878381518110151561168757fe5b6020908102909101810151600160a060020a031682528101919091526040016000205460ff16156116b757600080fd5b84818151811015156116c557fe5b906020019060200201516005600088848151811015156116e157fe5b6020908102909101810151600160a060020a0316825281019190915260400160002054101561170f57600080fd5b61176b858281518110151561172057fe5b9060200190602002015160056000898581518110151561173c57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff6118d016565b60056000888481518110151561177d57fe5b6020908102909101810151600160a060020a031682528101919091526040016000205584516117b2908690839081106113d057fe5b925033600160a060020a031686828151811015156117cc57fe5b90602001906020020151600160a060020a031660008051602061199e83398151915287848151811015156117fc57fe5b90602001906020020151856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561184a578181015183820152602001611832565b50505050905090810190601f1680156118775780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3600101611619565b33600090815260056020526040902054610dc6908463ffffffff6118e216565b600054600160a060020a031633146118c457600080fd5b6118cd81611920565b50565b6000828211156118dc57fe5b50900390565b8181018281101561071857fe5b600082151561190057506000610718565b5081810281838281151561191057fe5b041461071857fe5b6000903b1190565b600160a060020a038116151561193557600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600e19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16a165627a7a72305820254fbdbe3bf460b74f6290dbd6ddbf5bb14c0e61f80cc950e0b758d49b44cd620029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000064247436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034247430000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101325763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610137578063095ea7b3146101c157806318160ddd146101f957806323b872dd14610220578063313ce5671461024a5780633f4ba83a146102755780635c975abb1461028c57806366188463146102a157806370a08231146102c5578063715018a6146102e65780638456cb59146102fb5780638da5cb5b14610310578063945946251461034157806395d89b4114610398578063a9059cbb146103ad578063b414d4b6146103d1578063be45fd62146103f2578063d73dd6231461045b578063dd62ed3e1461047f578063dd924594146104a6578063e724529c14610534578063f0dc41711461055a578063f2fde38b146105e8575b600080fd5b34801561014357600080fd5b5061014c610609565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018657818101518382015260200161016e565b50505050905090810190601f1680156101b35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101cd57600080fd5b506101e5600160a060020a036004351660243561069e565b604080519115158252519081900360200190f35b34801561020557600080fd5b5061020e61071e565b60408051918252519081900360200190f35b34801561022c57600080fd5b506101e5600160a060020a0360043581169060243516604435610724565b34801561025657600080fd5b5061025f6108d8565b6040805160ff9092168252519081900360200190f35b34801561028157600080fd5b5061028a6108e1565b005b34801561029857600080fd5b506101e5610957565b3480156102ad57600080fd5b506101e5600160a060020a0360043516602435610967565b3480156102d157600080fd5b5061020e600160a060020a0360043516610a6c565b3480156102f257600080fd5b5061028a610a87565b34801561030757600080fd5b5061028a610af3565b34801561031c57600080fd5b50610325610b6e565b60408051600160a060020a039092168252519081900360200190f35b34801561034d57600080fd5b50604080516020600480358082013583810280860185019096528085526101e5953695939460249493850192918291850190849080828437509497505093359450610b7d9350505050565b3480156103a457600080fd5b5061014c610de2565b3480156103b957600080fd5b506101e5600160a060020a0360043516602435610e40565b3480156103dd57600080fd5b506101e5600160a060020a0360043516610f5b565b3480156103fe57600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101e5948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610f709650505050505050565b34801561046757600080fd5b506101e5600160a060020a0360043516602435611200565b34801561048b57600080fd5b5061020e600160a060020a03600435811690602435166112ab565b3480156104b257600080fd5b50604080516020600480358082013583810280860185019096528085526101e595369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506112d69650505050505050565b34801561054057600080fd5b5061028a600160a060020a0360043516602435151561155c565b34801561056657600080fd5b50604080516020600480358082013583810280860185019096528085526101e595369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506115d79650505050505050565b3480156105f457600080fd5b5061028a600160a060020a03600435166118ad565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156106945780601f1061066957610100808354040283529160200191610694565b820191906000526020600020905b81548152906001019060200180831161067757829003601f168201915b5050505050905090565b6000805460a060020a900460ff16156106b657600080fd5b336000818152600660209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60045490565b6000805460a060020a900460ff161561073c57600080fd5b600160a060020a03841660009081526005602052604090205482111561076157600080fd5b600160a060020a038416600090815260066020908152604080832033845290915290205482111561079157600080fd5b600160a060020a03831660009081526007602052604090205460ff16156107b757600080fd5b600160a060020a03841660009081526007602052604090205460ff16156107dd57600080fd5b600160a060020a03841660009081526005602052604090205461080090836118d0565b600160a060020a03808616600090815260056020526040808220939093559085168152205461082f90836118e2565b600160a060020a03808516600090815260056020908152604080832094909455918716815260068252828120338252909152205461086d90836118d0565b600160a060020a03808616600081815260066020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60035460ff1690565b600054600160a060020a031633146108f857600080fd5b60005460a060020a900460ff16151561091057600080fd5b6000805474ff0000000000000000000000000000000000000000191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b60005460a060020a900460ff1681565b60008054819060a060020a900460ff161561098157600080fd5b50336000908152600660209081526040808320600160a060020a0387168452909152902054808311156109d757336000908152600660209081526040808320600160a060020a0388168452909152812055610a06565b6109e181846118d0565b336000908152600660209081526040808320600160a060020a03891684529091529020555b336000818152600660209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526005602052604090205490565b600054600160a060020a03163314610a9e57600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a03163314610b0a57600080fd5b60005460a060020a900460ff1615610b2157600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b600054600160a060020a031681565b600080606081808511610b8f57600080fd5b8551600010610b9d57600080fd5b3360009081526007602052604090205460ff1615610bba57600080fd5b8551610bcd90869063ffffffff6118ef16565b33600090815260056020526040902054909350831115610bec57600080fd5b5060005b8551811015610da6578551600090879083908110610c0a57fe5b60209081029091010151600160a060020a03161415610c2857600080fd5b600760008783815181101515610c3a57fe5b6020908102909101810151600160a060020a031682528101919091526040016000205460ff1615610c6a57600080fd5b610caf85600560008985815181101515610c8057fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff6118e216565b600560008884815181101515610cc157fe5b6020908102909101810151600160a060020a03168252810191909152604001600020558551869082908110610cf257fe5b90602001906020020151600160a060020a031633600160a060020a031660008051602061199e83398151915287856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610d63578181015183820152602001610d4b565b50505050905090810190601f168015610d905780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3600101610bf0565b33600090815260056020526040902054610dc6908463ffffffff6118d016565b3360009081526005602052604090205550600195945050505050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156106945780601f1061066957610100808354040283529160200191610694565b6000805460a060020a900460ff1615610e5857600080fd5b33600090815260056020526040902054821115610e7457600080fd5b600160a060020a03831660009081526007602052604090205460ff1615610e9a57600080fd5b3360009081526007602052604090205460ff1615610eb757600080fd5b33600090815260056020526040902054610ed190836118d0565b3360009081526005602052604080822092909255600160a060020a03851681522054610efd90836118e2565b600160a060020a0384166000818152600560209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60076020526000908152604090205460ff1681565b60008054819060a060020a900460ff1615610f8a57600080fd5b60008411610f9757600080fd5b600160a060020a03851660009081526007602052604090205460ff1615610fbd57600080fd5b3360009081526007602052604090205460ff1615610fda57600080fd5b610fe385611918565b156110d757506040517fc0ee0b8a0000000000000000000000000000000000000000000000000000000081523360048201818152602483018690526060604484019081528551606485015285518894600160a060020a0386169463c0ee0b8a9490938a938a9360840190602085019080838360005b83811015611070578181015183820152602001611058565b50505050905090810190601f16801561109d5780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b1580156110be57600080fd5b505af11580156110d2573d6000803e3d6000fd5b505050505b336000908152600560205260409020546110f7908563ffffffff6118d016565b3360009081526005602052604080822092909255600160a060020a03871681522054611129908563ffffffff6118e216565b6005600087600160a060020a0316600160a060020a031681526020019081526020016000208190555084600160a060020a031633600160a060020a031660008051602061199e83398151915286866040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156111ba5781810151838201526020016111a2565b50505050905090810190601f1680156111e75780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3506001949350505050565b6000805460a060020a900460ff161561121857600080fd5b336000908152600660209081526040808320600160a060020a038716845290915290205461124690836118e2565b336000818152600660209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b60008060006060600086511115156112ed57600080fd5b84518651146112fb57600080fd5b3360009081526007602052604090205460ff161561131857600080fd5b60009250600091505b85518210156113f4576000858381518110151561133a57fe5b602090810290910101511161134e57600080fd5b855160009087908490811061135f57fe5b60209081029091010151600160a060020a0316141561137d57600080fd5b60076000878481518110151561138f57fe5b6020908102909101810151600160a060020a031682528101919091526040016000205460ff16156113bf57600080fd5b6113e785838151811015156113d057fe5b60209081029091010151849063ffffffff6118e216565b9250600190910190611321565b3360009081526005602052604090205483111561141057600080fd5b600091505b8551821015610da65761144b858381518110151561142f57fe5b90602001906020020151600560008986815181101515610c8057fe5b60056000888581518110151561145d57fe5b6020908102909101810151600160a060020a0316825281019190915260400160002055855186908390811061148e57fe5b90602001906020020151600160a060020a031633600160a060020a031660008051602061199e83398151915287858151811015156114c857fe5b90602001906020020151846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156115165781810151838201526020016114fe565b50505050905090810190601f1680156115435780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3600190910190611415565b600054600160a060020a0316331461157357600080fd5b600160a060020a038216600081815260076020908152604091829020805460ff191685151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a15050565b6000805481906060908290600160a060020a031633146115f657600080fd5b855160001061160457600080fd5b845186511461161257600080fd5b5060009150815b855181101561188d576000858281518110151561163257fe5b602090810290910101511161164657600080fd5b855160009087908390811061165757fe5b60209081029091010151600160a060020a0316141561167557600080fd5b60076000878381518110151561168757fe5b6020908102909101810151600160a060020a031682528101919091526040016000205460ff16156116b757600080fd5b84818151811015156116c557fe5b906020019060200201516005600088848151811015156116e157fe5b6020908102909101810151600160a060020a0316825281019190915260400160002054101561170f57600080fd5b61176b858281518110151561172057fe5b9060200190602002015160056000898581518110151561173c57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff6118d016565b60056000888481518110151561177d57fe5b6020908102909101810151600160a060020a031682528101919091526040016000205584516117b2908690839081106113d057fe5b925033600160a060020a031686828151811015156117cc57fe5b90602001906020020151600160a060020a031660008051602061199e83398151915287848151811015156117fc57fe5b90602001906020020151856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561184a578181015183820152602001611832565b50505050905090810190601f1680156118775780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3600101611619565b33600090815260056020526040902054610dc6908463ffffffff6118e216565b600054600160a060020a031633146118c457600080fd5b6118cd81611920565b50565b6000828211156118dc57fe5b50900390565b8181018281101561071857fe5b600082151561190057506000610718565b5081810281838281151561191057fe5b041461071857fe5b6000903b1190565b600160a060020a038116151561193557600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600e19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16a165627a7a72305820254fbdbe3bf460b74f6290dbd6ddbf5bb14c0e61f80cc950e0b758d49b44cd620029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000064247436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034247430000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): BGCoin
Arg [1] : symbol (string): BGC
Arg [2] : decimals (uint8): 8
Arg [3] : totalSupply (uint256): 1000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4247436f696e0000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4247430000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://254fbdbe3bf460b74f6290dbd6ddbf5bb14c0e61f80cc950e0b758d49b44cd62
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.