Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
5,069,400 BET
Holders
33
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BonusToken
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 2019-01-26 */ pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring '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; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two numbers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two numbers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two numbers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } pragma solidity ^0.4.24; /** * @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 private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner()); _; } /** * @return true if `msg.sender` is the owner of the contract. */ function isOwner() public view returns (bool) { return 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 OwnershipTransferred(_owner, address(0)); _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; } } pragma solidity ^0.4.24; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } pragma solidity ^0.4.24; /** * @title ERC20Detailed token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor (string name, string symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @return the name of the token. */ function name() public view returns (string) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } } contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowed[owner][spender]; } /** * @dev Transfer token for a specified address * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Note that while this function emits an Approval event, this is not required as per the specification, * and other compliant implementations may not emit the event. * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom(address from, address to, uint256 value) public returns (bool) { _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value); _transfer(from, to, value); emit Approval(from, msg.sender, _allowed[from][msg.sender]); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = _allowed[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = _allowed[msg.sender][spender].sub(subtractedValue); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } } contract BonusToken is ERC20, ERC20Detailed, Ownable { address public gameAddress; address public investTokenAddress; uint public maxLotteryParticipants; mapping (address => uint256) public ethLotteryBalances; address[] public ethLotteryParticipants; uint256 public ethLotteryBank; bool public isEthLottery; mapping (address => uint256) public tokensLotteryBalances; address[] public tokensLotteryParticipants; uint256 public tokensLotteryBank; bool public isTokensLottery; modifier onlyGame() { require(msg.sender == gameAddress); _; } modifier tokenIsAvailable { require(investTokenAddress != address(0)); _; } constructor (address startGameAddress) public ERC20Detailed("Bet Token", "BET", 18) { setGameAddress(startGameAddress); } function setGameAddress(address newGameAddress) public onlyOwner { require(newGameAddress != address(0)); gameAddress = newGameAddress; } function buyTokens(address buyer, uint256 tokensAmount) public onlyGame { _mint(buyer, tokensAmount * 10**18); } function startEthLottery() public onlyGame { isEthLottery = true; } function startTokensLottery() public onlyGame tokenIsAvailable { isTokensLottery = true; } function restartEthLottery() public onlyGame { for (uint i = 0; i < ethLotteryParticipants.length; i++) { ethLotteryBalances[ethLotteryParticipants[i]] = 0; } ethLotteryParticipants = new address[](0); ethLotteryBank = 0; isEthLottery = false; } function restartTokensLottery() public onlyGame tokenIsAvailable { for (uint i = 0; i < tokensLotteryParticipants.length; i++) { tokensLotteryBalances[tokensLotteryParticipants[i]] = 0; } tokensLotteryParticipants = new address[](0); tokensLotteryBank = 0; isTokensLottery = false; } function updateEthLotteryBank(uint256 value) public onlyGame { ethLotteryBank = ethLotteryBank.sub(value); } function updateTokensLotteryBank(uint256 value) public onlyGame { tokensLotteryBank = tokensLotteryBank.sub(value); } function swapTokens(address account, uint256 tokensToBurnAmount) public { require(msg.sender == investTokenAddress); _burn(account, tokensToBurnAmount); } function sendToEthLottery(uint256 value) public { require(!isEthLottery); require(ethLotteryParticipants.length < maxLotteryParticipants); address account = msg.sender; _burn(account, value); if (ethLotteryBalances[account] == 0) { ethLotteryParticipants.push(account); } ethLotteryBalances[account] = ethLotteryBalances[account].add(value); ethLotteryBank = ethLotteryBank.add(value); } function sendToTokensLottery(uint256 value) public tokenIsAvailable { require(!isTokensLottery); require(tokensLotteryParticipants.length < maxLotteryParticipants); address account = msg.sender; _burn(account, value); if (tokensLotteryBalances[account] == 0) { tokensLotteryParticipants.push(account); } tokensLotteryBalances[account] = tokensLotteryBalances[account].add(value); tokensLotteryBank = tokensLotteryBank.add(value); } function ethLotteryParticipants() public view returns(address[]) { return ethLotteryParticipants; } function tokensLotteryParticipants() public view returns(address[]) { return tokensLotteryParticipants; } function setInvestTokenAddress(address newInvestTokenAddress) external onlyOwner { require(newInvestTokenAddress != address(0)); investTokenAddress = newInvestTokenAddress; } function setMaxLotteryParticipants(uint256 participants) external onlyOwner { maxLotteryParticipants = participants; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokensLotteryParticipants","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensLotteryParticipants","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"buyer","type":"address"},{"name":"tokensAmount","type":"uint256"}],"name":"buyTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","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":false,"inputs":[{"name":"value","type":"uint256"}],"name":"updateEthLotteryBank","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"ethLotteryParticipants","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxLotteryParticipants","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isTokensLottery","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"participants","type":"uint256"}],"name":"setMaxLotteryParticipants","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"","type":"address"}],"name":"tokensLotteryBalances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"restartTokensLottery","outputs":[],"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":"investTokenAddress","outputs":[{"name":"","type":"address"}],"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":"","type":"address"}],"name":"ethLotteryBalances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"restartEthLottery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"startEthLottery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"sendToTokensLottery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newGameAddress","type":"address"}],"name":"setGameAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"updateTokensLotteryBank","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ethLotteryParticipants","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"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":"account","type":"address"},{"name":"tokensToBurnAmount","type":"uint256"}],"name":"swapTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"gameAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethLotteryBank","outputs":[{"name":"","type":"uint256"}],"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":"tokensLotteryBank","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newInvestTokenAddress","type":"address"}],"name":"setInvestTokenAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isEthLottery","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":"value","type":"uint256"}],"name":"sendToEthLottery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"startTokensLottery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"startGameAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516020806200184d83398101604081815291518282018352600982527f42657420546f6b656e00000000000000000000000000000000000000000000006020808401918252845180860190955260038086527f4245540000000000000000000000000000000000000000000000000000000000918601919091528351929492601292620000a29291620001a8565b508151620000b8906004906020850190620001a8565b506005805460ff191660ff929092169190911761010060a860020a0319166101003381029190911791829055604051600160a060020a0391909204169250600091507f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a362000133816401000000006200013a810204565b506200024a565b6200014d64010000000062000191810204565b15156200015957600080fd5b600160a060020a03811615156200016f57600080fd5b60068054600160a060020a031916600160a060020a0392909216919091179055565b6005546101009004600160a060020a031633145b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001eb57805160ff19168380011785556200021b565b828001600101855582156200021b579182015b828111156200021b578251825591602001919060010190620001fe565b50620002299291506200022d565b5090565b620001a591905b8082111562000229576000815560010162000234565b6115f3806200025a6000396000f3006080604052600436106101f85763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663051a710381146101fd57806306dd57301461023157806306fdde03146102965780630752881a14610320578063095ea7b3146103465780630a0f6d441461037e5780630acee814146103965780630c39ab70146103ae578063150b27d2146103d557806318160ddd146103ea57806322f2dd3e146103ff57806323b872dd1461041757806329877ce0146104415780632c58745314610462578063313ce5671461047757806338c5de72146104a257806339509351146104b757806343b3f2bf146104db57806346c36360146104fc5780634b98089c1461051157806366f295061461052657806370a082311461053e578063711953ef1461055f578063715018a61461058057806383e36166146105955780638526edbe146105ad5780638da5cb5b146105c25780638f32d59b146105d757806395d89b41146105ec578063a114398d14610601578063a168d87314610625578063a31c76d21461063a578063a457c2d71461064f578063a9059cbb14610673578063b8dbdb1d14610697578063bac8559d146106ac578063d8701ecc146106cd578063dd62ed3e146106e2578063e71b237914610709578063f2fde38b14610721578063fe79862414610742575b600080fd5b34801561020957600080fd5b50610215600435610757565b60408051600160a060020a039092168252519081900360200190f35b34801561023d57600080fd5b5061024661077f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561028257818101518382015260200161026a565b505050509050019250505060405180910390f35b3480156102a257600080fd5b506102ab6107e2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e55781810151838201526020016102cd565b50505050905090810190601f1680156103125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032c57600080fd5b50610344600160a060020a036004351660243561086f565b005b34801561035257600080fd5b5061036a600160a060020a036004351660243561089e565b604080519115158252519081900360200190f35b34801561038a57600080fd5b5061034460043561091c565b3480156103a257600080fd5b5061021560043561094c565b3480156103ba57600080fd5b506103c361095a565b60408051918252519081900360200190f35b3480156103e157600080fd5b5061036a610960565b3480156103f657600080fd5b506103c3610969565b34801561040b57600080fd5b5061034460043561096f565b34801561042357600080fd5b5061036a600160a060020a0360043581169060243516604435610987565b34801561044d57600080fd5b506103c3600160a060020a0360043516610a50565b34801561046e57600080fd5b50610344610a62565b34801561048357600080fd5b5061048c610b13565b6040805160ff9092168252519081900360200190f35b3480156104ae57600080fd5b50610215610b1c565b3480156104c357600080fd5b5061036a600160a060020a0360043516602435610b2b565b3480156104e757600080fd5b506103c3600160a060020a0360043516610bdb565b34801561050857600080fd5b50610344610bed565b34801561051d57600080fd5b50610344610c87565b34801561053257600080fd5b50610344600435610cad565b34801561054a57600080fd5b506103c3600160a060020a0360043516610dc7565b34801561056b57600080fd5b50610344600160a060020a0360043516610de2565b34801561058c57600080fd5b50610344610e39565b3480156105a157600080fd5b50610344600435610ea9565b3480156105b957600080fd5b50610246610ed9565b3480156105ce57600080fd5b50610215610f39565b3480156105e357600080fd5b5061036a610f4d565b3480156105f857600080fd5b506102ab610f63565b34801561060d57600080fd5b50610344600160a060020a0360043516602435610fc4565b34801561063157600080fd5b50610215610fe5565b34801561064657600080fd5b506103c3610ff4565b34801561065b57600080fd5b5061036a600160a060020a0360043516602435610ffa565b34801561067f57600080fd5b5061036a600160a060020a0360043516602435611045565b3480156106a357600080fd5b506103c361105b565b3480156106b857600080fd5b50610344600160a060020a0360043516611061565b3480156106d957600080fd5b5061036a6110b8565b3480156106ee57600080fd5b506103c3600160a060020a03600435811690602435166110c1565b34801561071557600080fd5b506103446004356110ec565b34801561072d57600080fd5b50610344600160a060020a03600435166111ef565b34801561074e57600080fd5b5061034461120e565b600e80548290811061076557fe5b600091825260209091200154600160a060020a0316905081565b6060600e8054806020026020016040519081016040528092919081815260200182805480156107d757602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116107b9575b505050505090505b90565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d75780601f10610843576101008083540402835291602001916107d7565b820191906000526020600020905b81548152906001019060200180831161085157509395945050505050565b600654600160a060020a0316331461088657600080fd5b61089a8282670de0b6b3a76400000261124b565b5050565b6000600160a060020a03831615156108b557600080fd5b336000818152600160209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600654600160a060020a0316331461093357600080fd5b600b54610946908263ffffffff6112f516565b600b5550565b600a80548290811061076557fe5b60085481565b60105460ff1681565b60025490565b610977610f4d565b151561098257600080fd5b600855565b600160a060020a03831660009081526001602090815260408083203384529091528120546109bb908363ffffffff6112f516565b600160a060020a03851660009081526001602090815260408083203384529091529020556109ea84848461130c565b600160a060020a0384166000818152600160209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600d6020526000908152604090205481565b600654600090600160a060020a03163314610a7c57600080fd5b600754600160a060020a03161515610a9357600080fd5b5060005b600e54811015610ae3576000600d6000600e84815481101515610ab657fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902055600101610a97565b6040805160008152602081019182905251610b0091600e91611524565b50506000600f556010805460ff19169055565b60055460ff1690565b600754600160a060020a031681565b6000600160a060020a0383161515610b4257600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610b76908363ffffffff6113d916565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60096020526000908152604090205481565b600654600090600160a060020a03163314610c0757600080fd5b5060005b600a54811015610c5757600060096000600a84815481101515610c2a57fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902055600101610c0b565b6040805160008152602081019182905251610c7491600a91611524565b50506000600b55600c805460ff19169055565b600654600160a060020a03163314610c9e57600080fd5b600c805460ff19166001179055565b600754600090600160a060020a03161515610cc757600080fd5b60105460ff1615610cd757600080fd5b600854600e5410610ce757600080fd5b5033610cf381836113f2565b600160a060020a0381166000908152600d60205260409020541515610d6b57600e80546001810182556000919091527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd01805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b600160a060020a0381166000908152600d6020526040902054610d94908363ffffffff6113d916565b600160a060020a0382166000908152600d6020526040902055600f54610dc0908363ffffffff6113d916565b600f555050565b600160a060020a031660009081526020819052604090205490565b610dea610f4d565b1515610df557600080fd5b600160a060020a0381161515610e0a57600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b610e41610f4d565b1515610e4c57600080fd5b6005546040516000916101009004600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805474ffffffffffffffffffffffffffffffffffffffff0019169055565b600654600160a060020a03163314610ec057600080fd5b600f54610ed3908263ffffffff6112f516565b600f5550565b6060600a8054806020026020016040519081016040528092919081815260200182805480156107d757602002820191906000526020600020908154600160a060020a031681526001909101906020018083116107b9575050505050905090565b6005546101009004600160a060020a031690565b6005546101009004600160a060020a0316331490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d75780601f10610843576101008083540402835291602001916107d7565b600754600160a060020a03163314610fdb57600080fd5b61089a82826113f2565b600654600160a060020a031681565b600b5481565b6000600160a060020a038316151561101157600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610b76908363ffffffff6112f516565b600061105233848461130c565b50600192915050565b600f5481565b611069610f4d565b151561107457600080fd5b600160a060020a038116151561108957600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600c5460ff1681565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600c5460009060ff16156110ff57600080fd5b600854600a541061110f57600080fd5b503361111b81836113f2565b600160a060020a038116600090815260096020526040902054151561119357600a80546001810182556000919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a801805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b600160a060020a0381166000908152600960205260409020546111bc908363ffffffff6113d916565b600160a060020a038216600090815260096020526040902055600b546111e8908363ffffffff6113d916565b600b555050565b6111f7610f4d565b151561120257600080fd5b61120b8161149b565b50565b600654600160a060020a0316331461122557600080fd5b600754600160a060020a0316151561123c57600080fd5b6010805460ff19166001179055565b600160a060020a038216151561126057600080fd5b600254611273908263ffffffff6113d916565b600255600160a060020a03821660009081526020819052604090205461129f908263ffffffff6113d916565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000808383111561130557600080fd5b5050900390565b600160a060020a038216151561132157600080fd5b600160a060020a03831660009081526020819052604090205461134a908263ffffffff6112f516565b600160a060020a03808516600090815260208190526040808220939093559084168152205461137f908263ffffffff6113d916565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828201838110156113eb57600080fd5b9392505050565b600160a060020a038216151561140757600080fd5b60025461141a908263ffffffff6112f516565b600255600160a060020a038216600090815260208190526040902054611446908263ffffffff6112f516565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a03811615156114b057600080fd5b600554604051600160a060020a0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360058054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b828054828255906000526020600020908101928215611586579160200282015b82811115611586578251825473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909116178255602090920191600190910190611544565b50611592929150611596565b5090565b6107df91905b8082111561159257805473ffffffffffffffffffffffffffffffffffffffff1916815560010161159c5600a165627a7a72305820123d22e9d5ef8422aa76c960e9c32e43f339ebb3cb2d94f764118f515a04729f00290000000000000000000000007409a88f44ac96cfae981f444d377b025002906a
Deployed Bytecode
0x6080604052600436106101f85763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663051a710381146101fd57806306dd57301461023157806306fdde03146102965780630752881a14610320578063095ea7b3146103465780630a0f6d441461037e5780630acee814146103965780630c39ab70146103ae578063150b27d2146103d557806318160ddd146103ea57806322f2dd3e146103ff57806323b872dd1461041757806329877ce0146104415780632c58745314610462578063313ce5671461047757806338c5de72146104a257806339509351146104b757806343b3f2bf146104db57806346c36360146104fc5780634b98089c1461051157806366f295061461052657806370a082311461053e578063711953ef1461055f578063715018a61461058057806383e36166146105955780638526edbe146105ad5780638da5cb5b146105c25780638f32d59b146105d757806395d89b41146105ec578063a114398d14610601578063a168d87314610625578063a31c76d21461063a578063a457c2d71461064f578063a9059cbb14610673578063b8dbdb1d14610697578063bac8559d146106ac578063d8701ecc146106cd578063dd62ed3e146106e2578063e71b237914610709578063f2fde38b14610721578063fe79862414610742575b600080fd5b34801561020957600080fd5b50610215600435610757565b60408051600160a060020a039092168252519081900360200190f35b34801561023d57600080fd5b5061024661077f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561028257818101518382015260200161026a565b505050509050019250505060405180910390f35b3480156102a257600080fd5b506102ab6107e2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e55781810151838201526020016102cd565b50505050905090810190601f1680156103125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032c57600080fd5b50610344600160a060020a036004351660243561086f565b005b34801561035257600080fd5b5061036a600160a060020a036004351660243561089e565b604080519115158252519081900360200190f35b34801561038a57600080fd5b5061034460043561091c565b3480156103a257600080fd5b5061021560043561094c565b3480156103ba57600080fd5b506103c361095a565b60408051918252519081900360200190f35b3480156103e157600080fd5b5061036a610960565b3480156103f657600080fd5b506103c3610969565b34801561040b57600080fd5b5061034460043561096f565b34801561042357600080fd5b5061036a600160a060020a0360043581169060243516604435610987565b34801561044d57600080fd5b506103c3600160a060020a0360043516610a50565b34801561046e57600080fd5b50610344610a62565b34801561048357600080fd5b5061048c610b13565b6040805160ff9092168252519081900360200190f35b3480156104ae57600080fd5b50610215610b1c565b3480156104c357600080fd5b5061036a600160a060020a0360043516602435610b2b565b3480156104e757600080fd5b506103c3600160a060020a0360043516610bdb565b34801561050857600080fd5b50610344610bed565b34801561051d57600080fd5b50610344610c87565b34801561053257600080fd5b50610344600435610cad565b34801561054a57600080fd5b506103c3600160a060020a0360043516610dc7565b34801561056b57600080fd5b50610344600160a060020a0360043516610de2565b34801561058c57600080fd5b50610344610e39565b3480156105a157600080fd5b50610344600435610ea9565b3480156105b957600080fd5b50610246610ed9565b3480156105ce57600080fd5b50610215610f39565b3480156105e357600080fd5b5061036a610f4d565b3480156105f857600080fd5b506102ab610f63565b34801561060d57600080fd5b50610344600160a060020a0360043516602435610fc4565b34801561063157600080fd5b50610215610fe5565b34801561064657600080fd5b506103c3610ff4565b34801561065b57600080fd5b5061036a600160a060020a0360043516602435610ffa565b34801561067f57600080fd5b5061036a600160a060020a0360043516602435611045565b3480156106a357600080fd5b506103c361105b565b3480156106b857600080fd5b50610344600160a060020a0360043516611061565b3480156106d957600080fd5b5061036a6110b8565b3480156106ee57600080fd5b506103c3600160a060020a03600435811690602435166110c1565b34801561071557600080fd5b506103446004356110ec565b34801561072d57600080fd5b50610344600160a060020a03600435166111ef565b34801561074e57600080fd5b5061034461120e565b600e80548290811061076557fe5b600091825260209091200154600160a060020a0316905081565b6060600e8054806020026020016040519081016040528092919081815260200182805480156107d757602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116107b9575b505050505090505b90565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d75780601f10610843576101008083540402835291602001916107d7565b820191906000526020600020905b81548152906001019060200180831161085157509395945050505050565b600654600160a060020a0316331461088657600080fd5b61089a8282670de0b6b3a76400000261124b565b5050565b6000600160a060020a03831615156108b557600080fd5b336000818152600160209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600654600160a060020a0316331461093357600080fd5b600b54610946908263ffffffff6112f516565b600b5550565b600a80548290811061076557fe5b60085481565b60105460ff1681565b60025490565b610977610f4d565b151561098257600080fd5b600855565b600160a060020a03831660009081526001602090815260408083203384529091528120546109bb908363ffffffff6112f516565b600160a060020a03851660009081526001602090815260408083203384529091529020556109ea84848461130c565b600160a060020a0384166000818152600160209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600d6020526000908152604090205481565b600654600090600160a060020a03163314610a7c57600080fd5b600754600160a060020a03161515610a9357600080fd5b5060005b600e54811015610ae3576000600d6000600e84815481101515610ab657fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902055600101610a97565b6040805160008152602081019182905251610b0091600e91611524565b50506000600f556010805460ff19169055565b60055460ff1690565b600754600160a060020a031681565b6000600160a060020a0383161515610b4257600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610b76908363ffffffff6113d916565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60096020526000908152604090205481565b600654600090600160a060020a03163314610c0757600080fd5b5060005b600a54811015610c5757600060096000600a84815481101515610c2a57fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902055600101610c0b565b6040805160008152602081019182905251610c7491600a91611524565b50506000600b55600c805460ff19169055565b600654600160a060020a03163314610c9e57600080fd5b600c805460ff19166001179055565b600754600090600160a060020a03161515610cc757600080fd5b60105460ff1615610cd757600080fd5b600854600e5410610ce757600080fd5b5033610cf381836113f2565b600160a060020a0381166000908152600d60205260409020541515610d6b57600e80546001810182556000919091527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd01805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b600160a060020a0381166000908152600d6020526040902054610d94908363ffffffff6113d916565b600160a060020a0382166000908152600d6020526040902055600f54610dc0908363ffffffff6113d916565b600f555050565b600160a060020a031660009081526020819052604090205490565b610dea610f4d565b1515610df557600080fd5b600160a060020a0381161515610e0a57600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b610e41610f4d565b1515610e4c57600080fd5b6005546040516000916101009004600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805474ffffffffffffffffffffffffffffffffffffffff0019169055565b600654600160a060020a03163314610ec057600080fd5b600f54610ed3908263ffffffff6112f516565b600f5550565b6060600a8054806020026020016040519081016040528092919081815260200182805480156107d757602002820191906000526020600020908154600160a060020a031681526001909101906020018083116107b9575050505050905090565b6005546101009004600160a060020a031690565b6005546101009004600160a060020a0316331490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d75780601f10610843576101008083540402835291602001916107d7565b600754600160a060020a03163314610fdb57600080fd5b61089a82826113f2565b600654600160a060020a031681565b600b5481565b6000600160a060020a038316151561101157600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610b76908363ffffffff6112f516565b600061105233848461130c565b50600192915050565b600f5481565b611069610f4d565b151561107457600080fd5b600160a060020a038116151561108957600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600c5460ff1681565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600c5460009060ff16156110ff57600080fd5b600854600a541061110f57600080fd5b503361111b81836113f2565b600160a060020a038116600090815260096020526040902054151561119357600a80546001810182556000919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a801805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b600160a060020a0381166000908152600960205260409020546111bc908363ffffffff6113d916565b600160a060020a038216600090815260096020526040902055600b546111e8908363ffffffff6113d916565b600b555050565b6111f7610f4d565b151561120257600080fd5b61120b8161149b565b50565b600654600160a060020a0316331461122557600080fd5b600754600160a060020a0316151561123c57600080fd5b6010805460ff19166001179055565b600160a060020a038216151561126057600080fd5b600254611273908263ffffffff6113d916565b600255600160a060020a03821660009081526020819052604090205461129f908263ffffffff6113d916565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000808383111561130557600080fd5b5050900390565b600160a060020a038216151561132157600080fd5b600160a060020a03831660009081526020819052604090205461134a908263ffffffff6112f516565b600160a060020a03808516600090815260208190526040808220939093559084168152205461137f908263ffffffff6113d916565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828201838110156113eb57600080fd5b9392505050565b600160a060020a038216151561140757600080fd5b60025461141a908263ffffffff6112f516565b600255600160a060020a038216600090815260208190526040902054611446908263ffffffff6112f516565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a03811615156114b057600080fd5b600554604051600160a060020a0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360058054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b828054828255906000526020600020908101928215611586579160200282015b82811115611586578251825473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909116178255602090920191600190910190611544565b50611592929150611596565b5090565b6107df91905b8082111561159257805473ffffffffffffffffffffffffffffffffffffffff1916815560010161159c5600a165627a7a72305820123d22e9d5ef8422aa76c960e9c32e43f339ebb3cb2d94f764118f515a04729f0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007409a88f44ac96cfae981f444d377b025002906a
-----Decoded View---------------
Arg [0] : startGameAddress (address): 0x7409A88F44AC96cfaE981f444d377B025002906a
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007409a88f44ac96cfae981f444d377b025002906a
Swarm Source
bzzr://123d22e9d5ef8422aa76c960e9c32e43f339ebb3cb2d94f764118f515a04729f
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.