Overview
Max Total Supply
200,000,000 GAME
Holders
3,994 ( 0.025%)
Market
Price
$0.01 @ 0.000002 ETH (+5.19%)
Onchain Market Cap
$1,246,118.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
8.991 GAMEValue
$0.06 ( ~1.79794263223602E-05 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GameCredits
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-06-13 */ pragma solidity ^0.5.16; /** * Game Credits ERC20 Token Contract * https://www.gamecredits.org * (c) 2020 GAME Credits. All Rights Reserved. This code is not open source. */ /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface iERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: 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 * * Emits an {Approval} event. */ function approve(address spender, uint amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint value); } // @title iERC20Contract // @dev The interface for cross-contract calls to the ERC20 contract // @author GAME Credits Platform (https://www.gamecredits.org) // (c) 2020 GAME Credits. All Rights Reserved. This code is not open source. contract iERC20Contract { function isOfficialAccount(address account) external view returns(bool); } // @title ERC20Access // @dev ERC20Access contract for controlling access to ERC20 contract functions // @author GAME Credits Platform (https://www.gamecredits.org) // (c) 2020 GAME Credits. All Rights Reserved. This code is not open source. contract ERC20Access is iERC20, iERC20Contract { event OwnershipTransferred(address previousOwner, address newOwner); // The Owner can perform all admin tasks, including setting the recovery account. address public owner; // The Recovery account can change the Owner account. address public recoveryAddress; // @dev The original `owner` of the contract is the contract creator. // @dev Internal constructor to ensure this contract can't be deployed alone constructor() internal { owner = msg.sender; } // @dev Access control modifier to limit access to the Owner account modifier onlyOwner() { require(msg.sender == owner, "sender must be owner"); _; } // @dev Access control modifier to limit access to the Recovery account modifier onlyRecovery() { require(msg.sender == recoveryAddress, "sender must be recovery"); _; } // @dev Access control modifier to limit access to the Owner or Recovery account modifier ownerOrRecovery() { require(msg.sender == owner || msg.sender == recoveryAddress, "sender must be owner or recovery"); _; } // Used to check if an account is treated as official by this contract // @param _account - the account to check // @returns true if _account equals the owner or recoveryAccount, false otherwise function isOfficialAccount(address _account) external view returns(bool) { return _account == owner || _account == recoveryAddress; } // @dev Assigns a new address to act as the Owner. // @notice Can only be called by the recovery account // @param _newOwner The address of the new Owner function setOwner(address _newOwner) external onlyRecovery { require(_newOwner != address(0), "new owner must be a non-zero address"); require(_newOwner != recoveryAddress, "new owner can't be the recovery address"); owner = _newOwner; emit OwnershipTransferred(owner, _newOwner); } // @dev Assigns a new address to act as the Recovery address. // @notice Can only be called by the Owner account // @param _newRecovery The address of the new Recovery account function setRecovery(address _newRecovery) external onlyOwner { require(_newRecovery != address(0), "new owner must be a non-zero address"); require(_newRecovery != owner, "new recovery can't be the owner address"); recoveryAddress = _newRecovery; } // @dev allows recovery of ERC20 tokens accidentally sent to this address // @param tokenAddress - The address of the erc20 token // @param tokens - The number of tokens to transfer function transferAnyERC20Token(address tokenAddress, uint tokens) public ownerOrRecovery returns (bool success) { return iERC20(tokenAddress).transfer(owner, tokens); } } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint a, uint b) internal pure returns (uint) { uint c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint a, uint b) internal pure returns (uint) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint a, uint b, string memory errorMessage) internal pure returns (uint) { require(b <= a, errorMessage); uint c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint a, uint b) internal pure returns (uint) { // 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-contracts/pull/522 if (a == 0) { return 0; } uint c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint a, uint b) internal pure returns (uint) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint a, uint b, string memory errorMessage) internal pure returns (uint) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint a, uint b) internal pure returns (uint) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint a, uint b, string memory errorMessage) internal pure returns (uint) { require(b != 0, errorMessage); return a % b; } } /** * @dev Implementation of the {iERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20Mintable}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {iERC20-approve}. */ contract ERC20Base is ERC20Access { using SafeMath for uint; mapping (address => uint) private _balances; mapping (address => mapping (address => uint)) private _allowances; uint private _totalSupply; /** * @dev Internal constructor to ensure this contract can't be deployed alone */ constructor() internal{ } /** * @dev Returns the amount of tokens in existence. */ function totalSupply() public view returns (uint) { return _totalSupply; } /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) public view returns (uint) { return _balances[account]; } /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint amount) public returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) public view returns (uint) { return _allowances[owner][spender]; } /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: 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 * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint amount) public returns (bool) { _approve(msg.sender, spender, amount); return true; } /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {iERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint addedValue) public returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {iERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint amount) internal { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint amount) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } } // @title iSupportContract // @dev The interface for cross-contract calls to Support contracts // @author GAME Credits Platform (https://www.gamecredits.org) // (c) 2020 GAME Credits. All Rights Reserved. This code is not open source. contract iSupportContract { function isSupportContract() external pure returns(bool); function getGameAccountSupport(uint _game, address _account) external view returns(uint); function updateSupport(uint _game, address _account, uint _supportAmount) external; function fundRewardsPool(uint _amount, uint _startWeek, uint _numberOfWeeks) external; function receiveGameCredits(uint _game, address _account, uint _tokenId, uint _payment, bytes32 _data) external; function receiveLoyaltyPayment(uint _game, address _account, uint _tokenId, uint _payment, bytes32 _data) external; function contestEntry(uint _game, address _account, uint _tokenId, uint _contestId, uint _payment, bytes32 _data) external; event GameCreditsPayment(uint indexed _game, address indexed account, uint indexed _tokenId, uint _payment, bytes32 _data); event LoyaltyPayment(uint indexed _game, address indexed account, uint indexed _tokenId, uint _payment, bytes32 _data); event EnterContest(uint indexed _game, address indexed account, uint _tokenId, uint indexed _contestId, uint _payment, bytes32 _data); } // @title Game Credits ERC20 Token Contract // @dev Contract for managing the GAME ERC20 token // @author GAME Credits Platform (https://www.gamecredits.org) // (c) 2020 GAME Credits. All Rights Reserved. This code is not open source. contract GameCredits is ERC20Base { string public url = "https://www.gamecredits.org"; string public name = "GAME Credits"; string public symbol = "GAME"; uint8 public decimals = 18; // Listing of all the support contracts registered to this contract // @notice Support contracts can be added, but cannot be removed. If an erroneous one // is added, it is up to users to not call it mapping (address => iSupportContract) supportContracts; event SupportContractAdded(address indexed supportContract); // @notice The constructor mints 200 million GAME tokens to the contract creator // There is no other way to create GAME tokens, capping supply at 200 million constructor() public { _mint(msg.sender, 200 * 10 ** 24); } // @notice The fallback function reverts function () external payable { revert("this contract is not payable"); } // @dev Used to set the support contract reference for this contract // @param _supportContract - the address of the support contract // @notice This is a one-shot function. Once the address is set, it's locked function setSupportContract(address _supportContract) external ownerOrRecovery { iSupportContract supportContract = iSupportContract(_supportContract); require(supportContract.isSupportContract(), "Must implement isSupportContract"); supportContracts[_supportContract] = supportContract; emit SupportContractAdded(_supportContract); } // @dev Lets any user add funds to the supporting pool spread over a period of weeks // @param _rewardsContract - the contract that will be funded // @param _amount - the total amount of GAME tokens to add to the support pool // @param _startWeek - the first week in which tokens will be added to the support pool // @param _numberOfWeeks - the number of weeks over which the _amount will be spread // @notice - The _amount must be exactly divisible by the _numberOfWeeks function fundRewardsContract(address _rewardsContract, uint _amount, uint _startWeek, uint _numberOfWeeks) external { iSupportContract rewardsContract = _getSupportContract(_rewardsContract); _transfer(msg.sender, address(rewardsContract), _amount); rewardsContract.fundRewardsPool(_amount, _startWeek, _numberOfWeeks); } // @dev Sets the sender's support on a game to the specific value // @param _rewardsContract - the contract that will set support // @param _game - the game to be supported // @param _increase - the amount support to be added // @notice - this will throw if the user has insufficient tokens available // @notice - this does not throw on an _amount of 0 function setSupport(address _rewardsContract, uint _game, uint _amount) public { iSupportContract rewardsContract = _getSupportContract(_rewardsContract); _setSupport(rewardsContract, msg.sender, _game, _amount); } // @dev Increases the sender's support on a game // @param _rewardsContract - the contract that will increase support // @param _game - the game to be supported // @param _increase - the amount support to be added // @notice - this will throw if the user has insufficient tokens available // @notice - this will throw if an increase of 0 is requested function increaseSupport(address _rewardsContract, uint _game, uint _increase) public { iSupportContract rewardsContract = _getSupportContract(_rewardsContract); uint supportBalance = rewardsContract.getGameAccountSupport(_game, msg.sender); require(_increase > 0, "can't increase by 0"); _setSupport(rewardsContract, msg.sender, _game, supportBalance.add(_increase)); } // @dev Reduces the sender's support on a game // @param _rewardsContract - the contract that will decrease support // @param _game - the game to be supported // @param _decrease - the amount support to be reduced // @notice - this will throw if the user has fewer tokens support // @notice - this will throw if a decrease of 0 is requested function decreaseSupport(address _rewardsContract, uint _game, uint _decrease) public { iSupportContract rewardsContract = _getSupportContract(_rewardsContract); uint supportBalance = rewardsContract.getGameAccountSupport(_game, msg.sender); require(_decrease > 0, "can't decrease by 0"); _setSupport(rewardsContract, msg.sender, _game, supportBalance.sub(_decrease)); } // @dev Transfers tokens to a set of user accounts, and sets their support for them // @param _rewardsContract - the contract that will set the support // @param _recipients - the accounts to receive the tokens // @param _games - the games to be supported // @param _amounts - the amount of tokens to be transferred // @notice - this function is designed for air dropping by/to a game function airDropAndSupport( address _rewardsContract, address[] calldata _recipients, uint[] calldata _games, uint[] calldata _amounts ) external { iSupportContract rewardsContract = _getSupportContract(_rewardsContract); require(_recipients.length == _games.length, "must be equal number of recipients and games"); require(_recipients.length == _amounts.length, "must be equal number of recipients and amounts"); for (uint i = 0; i < _recipients.length; i++) { require(_recipients[i] != msg.sender, "can't airDrop to your own account"); uint supportBalance = rewardsContract.getGameAccountSupport(_games[i], _recipients[i]); uint supportAmount = _amounts[i].add(supportBalance); _transfer(msg.sender, _recipients[i], _amounts[i]); _setSupport(rewardsContract, _recipients[i], _games[i], supportAmount); } } // @dev Pays an amount of game credits to a given support contract. // The support contract will often route the payment to multiple destinations. // The exact functionality will depend on the support contract in question. // Not all support contracts will implement the receiveGameCredits function // @param _supportContract - the support contract to be called // @param _game - a field to enter a game Id if it is required by the support contract // @param _tokenId - a field to enter a token Id if it is required by the support contract // @param _payment - the amount of GAME Credits that will be paid // @param _data - a field to enter additional data if it is required by the support contract function payGameCredits( address _supportContract, uint _game, uint _tokenId, uint _payment, bytes32 _data ) external { iSupportContract supportContract = _getSupportContract(_supportContract); _transfer(msg.sender, _supportContract, _payment); supportContract.receiveGameCredits(_game, msg.sender, _tokenId, _payment, _data); } // @dev Requests a payment of an amount of Loyalty Points in the sidechain. // The payment is made on the sidechain by the oracle. // There is no error checking, other than ensuring the game exists. // The exact functionality will depend on the oracle, and the sidechain contract in question. // Not all support contracts will implement the payLoyaltyPoints function, and even // if they do, the oracle might not pick it up. // @param _supportContract - the support contract to be called // @param _game - a field to enter a game Id if it is required by the support contract // @param _tokenId - a field to enter a token Id if it is required by the support contract // @param _payment - the amount of Loyalty Points requested to be paid // @param _data - a field to enter additional data if it is required by the support contract function payLoyaltyPoints( address _supportContract, uint _game, uint _tokenId, uint _loyaltyPayment, bytes32 _data ) external { iSupportContract supportContract = _getSupportContract(_supportContract); supportContract.receiveLoyaltyPayment(_game, msg.sender, _tokenId, _loyaltyPayment, _data); } // @dev Pays an amount of game credits to a given support contract. // The support contract will often route the payment to multiple destinations. // The exact functionality will depend on the support contract in question. // Not all support contracts will implement the contestEntry function // @param _supportContract - the support contract to be called // @param _game - a field to enter a game Id if it is required by the support contract // @param _tokenId - a field to enter a token Id if it is required by the support contract // @param _contestId - a field to enter a contest Id if it is required by the support contract // @param _payment - the amount of GAME Credits that will be paid // @param _data - a field to enter additional data if it is required by the support contract function enterContest( address _supportContract, uint _game, uint _tokenId, uint _contestId, uint _payment, bytes32 _data ) external { iSupportContract supportContract = _getSupportContract(_supportContract); _transfer(msg.sender, _supportContract, _payment); supportContract.contestEntry(_game, msg.sender, _tokenId, _contestId, _payment, _data); } // @dev returns the iSupportContract for the input address. Throws if it doesn't exist. // @param _contractAddress - the address to test // @returns iSupportContract - the support contract address, typed as iSupportContract function _getSupportContract(address _contractAddress) internal view returns (iSupportContract) { iSupportContract supportContract = supportContracts[_contractAddress]; require(address(supportContract) != address(0), "support contract must be valid"); return supportContract; } // @dev Sends the new support level to the rewards contract; transfers tokens to the // contract (for increased support) or from the contract (for decreased support) // @param iSupportContract - the contract that will set the support // @param _supporter - the account doing the supporting // @param _game - the game to be supported // @param _amount - the amount of tokens to set the support to function _setSupport(iSupportContract rewardsContract, address _supporter, uint _game, uint _amount) internal { // get user's balance from rewards contract uint supportBalance = rewardsContract.getGameAccountSupport(_game, _supporter); if (_amount == supportBalance) { return; } else if (_amount > supportBalance) { // transfer diff to rewards contract _transfer(_supporter, address(rewardsContract), _amount.sub(supportBalance)); } else if (_amount < supportBalance) { // transfer diff to account _transfer(address(rewardsContract), _supporter, supportBalance.sub(_amount)); } rewardsContract.updateSupport(_game, _supporter, _amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"supportContract","type":"address"}],"name":"SupportContractAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardsContract","type":"address"},{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256[]","name":"_games","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"airDropAndSupport","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardsContract","type":"address"},{"internalType":"uint256","name":"_game","type":"uint256"},{"internalType":"uint256","name":"_decrease","type":"uint256"}],"name":"decreaseSupport","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_supportContract","type":"address"},{"internalType":"uint256","name":"_game","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_contestId","type":"uint256"},{"internalType":"uint256","name":"_payment","type":"uint256"},{"internalType":"bytes32","name":"_data","type":"bytes32"}],"name":"enterContest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardsContract","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_startWeek","type":"uint256"},{"internalType":"uint256","name":"_numberOfWeeks","type":"uint256"}],"name":"fundRewardsContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardsContract","type":"address"},{"internalType":"uint256","name":"_game","type":"uint256"},{"internalType":"uint256","name":"_increase","type":"uint256"}],"name":"increaseSupport","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isOfficialAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_supportContract","type":"address"},{"internalType":"uint256","name":"_game","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_payment","type":"uint256"},{"internalType":"bytes32","name":"_data","type":"bytes32"}],"name":"payGameCredits","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_supportContract","type":"address"},{"internalType":"uint256","name":"_game","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_loyaltyPayment","type":"uint256"},{"internalType":"bytes32","name":"_data","type":"bytes32"}],"name":"payLoyaltyPoints","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"recoveryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newRecovery","type":"address"}],"name":"setRecovery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardsContract","type":"address"},{"internalType":"uint256","name":"_game","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSupport","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_supportContract","type":"address"}],"name":"setSupportContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"url","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
60c0604052601b60808190527f68747470733a2f2f7777772e67616d65637265646974732e6f7267000000000060a090815262000040916005919062000262565b5060408051808201909152600c8082526b47414d45204372656469747360a01b6020909201918252620000769160069162000262565b506040805180820190915260048082526347414d4560e01b6020909201918252620000a49160079162000262565b506008805460ff19166012179055348015620000bf57600080fd5b50600080546001600160a01b03191633908117909155620000f5906aa56fa5b99019a5c80000006001600160e01b03620000fb16565b62000307565b6001600160a01b03821662000157576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b62000173816004546200020060201b62001ad01790919060201c565b6004556001600160a01b038216600090815260026020908152604090912054620001a891839062001ad062000200821b17901c565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828201838110156200025b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002a557805160ff1916838001178555620002d5565b82800160010185558215620002d5579182015b82811115620002d5578251825591602001919060010190620002b8565b50620002e3929150620002e7565b5090565b6200030491905b80821115620002e35760008155600101620002ee565b90565b611ec180620003176000396000f3fe60806040526004361061019c5760003560e01c80637c8c6cfb116100ec578063a457c2d71161008a578063dd62ed3e11610064578063dd62ed3e14610801578063e07c181b1461083c578063f0d85c8914610887578063fd4eacef146108ba5761019c565b8063a457c2d714610756578063a9059cbb1461078f578063dc39d06d146107c85761019c565b80638aedf2ea116100c65780638aedf2ea146105bc5780638da5cb5b146105fb578063902f44281461061057806395d89b41146107415761019c565b80637c8c6cfb146104ff5780637eb544251461053e57806381bb579a146105895761019c565b8063313ce567116101595780635600f04f116101335780635600f04f14610453578063613180521461046857806370a082311461049b578063710eb26c146104ce5761019c565b8063313ce567146103b057806339509351146103db5780633c8e0583146104145761019c565b806306fdde03146101e9578063095ea7b31461027357806309fd5291146102c057806313af40351461031357806318160ddd1461034657806323b872dd1461036d575b6040805162461bcd60e51b815260206004820152601c60248201527f7468697320636f6e7472616374206973206e6f742070617961626c6500000000604482015290519081900360640190fd5b3480156101f557600080fd5b506101fe6108ff565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610238578181015183820152602001610220565b50505050905090810190601f1680156102655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561027f57600080fd5b506102ac6004803603604081101561029657600080fd5b506001600160a01b03813516906020013561098d565b604080519115158252519081900360200190f35b3480156102cc57600080fd5b50610311600480360360c08110156102e357600080fd5b506001600160a01b038135169060208101359060408101359060608101359060808101359060a001356109a3565b005b34801561031f57600080fd5b506103116004803603602081101561033657600080fd5b50356001600160a01b0316610a46565b34801561035257600080fd5b5061035b610b98565b60408051918252519081900360200190f35b34801561037957600080fd5b506102ac6004803603606081101561039057600080fd5b506001600160a01b03813581169160208101359091169060400135610b9e565b3480156103bc57600080fd5b506103c5610c0d565b6040805160ff9092168252519081900360200190f35b3480156103e757600080fd5b506102ac600480360360408110156103fe57600080fd5b506001600160a01b038135169060200135610c16565b34801561042057600080fd5b506103116004803603606081101561043757600080fd5b506001600160a01b038135169060208101359060400135610c52565b34801561045f57600080fd5b506101fe610c71565b34801561047457600080fd5b506103116004803603602081101561048b57600080fd5b50356001600160a01b0316610ccc565b3480156104a757600080fd5b5061035b600480360360208110156104be57600080fd5b50356001600160a01b0316610e56565b3480156104da57600080fd5b506104e3610e71565b604080516001600160a01b039092168252519081900360200190f35b34801561050b57600080fd5b506103116004803603606081101561052257600080fd5b506001600160a01b038135169060208101359060400135610e80565b34801561054a57600080fd5b50610311600480360360a081101561056157600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135610f76565b34801561059557600080fd5b506102ac600480360360208110156105ac57600080fd5b50356001600160a01b0316611011565b3480156105c857600080fd5b50610311600480360360608110156105df57600080fd5b506001600160a01b038135169060208101359060400135611041565b34801561060757600080fd5b506104e361112b565b34801561061c57600080fd5b506103116004803603608081101561063357600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561065e57600080fd5b82018360208201111561067057600080fd5b8035906020019184602083028401116401000000008311171561069257600080fd5b9193909290916020810190356401000000008111156106b057600080fd5b8201836020820111156106c257600080fd5b803590602001918460208302840111640100000000831117156106e457600080fd5b91939092909160208101903564010000000081111561070257600080fd5b82018360208201111561071457600080fd5b8035906020019184602083028401116401000000008311171561073657600080fd5b50909250905061113a565b34801561074d57600080fd5b506101fe61139b565b34801561076257600080fd5b506102ac6004803603604081101561077957600080fd5b506001600160a01b0381351690602001356113f6565b34801561079b57600080fd5b506102ac600480360360408110156107b257600080fd5b506001600160a01b03813516906020013561144b565b3480156107d457600080fd5b506102ac600480360360408110156107eb57600080fd5b506001600160a01b038135169060200135611458565b34801561080d57600080fd5b5061035b6004803603604081101561082457600080fd5b506001600160a01b0381358116916020013516611557565b34801561084857600080fd5b50610311600480360360a081101561085f57600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135611582565b34801561089357600080fd5b50610311600480360360208110156108aa57600080fd5b50356001600160a01b03166115f4565b3480156108c657600080fd5b50610311600480360360808110156108dd57600080fd5b506001600160a01b0381351690602081013590604081013590606001356116fe565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109855780601f1061095a57610100808354040283529160200191610985565b820191906000526020600020905b81548152906001019060200180831161096857829003601f168201915b505050505081565b600061099a338484611780565b50600192915050565b60006109ae8761186c565b90506109bb3388856118db565b6040805163bc2caed560e01b81526004810188905233602482015260448101879052606481018690526084810185905260a4810184905290516001600160a01b0383169163bc2caed59160c480830192600092919082900301818387803b158015610a2557600080fd5b505af1158015610a39573d6000803e3d6000fd5b5050505050505050505050565b6001546001600160a01b03163314610aa5576040805162461bcd60e51b815260206004820152601760248201527f73656e646572206d757374206265207265636f76657279000000000000000000604482015290519081900360640190fd5b6001600160a01b038116610aea5760405162461bcd60e51b8152600401808060200182810382526024815260200180611d0a6024913960400191505060405180910390fd5b6001546001600160a01b0382811691161415610b375760405162461bcd60e51b8152600401808060200182810382526027815260200180611d556027913960400191505060405180910390fd5b600080546001600160a01b0319166001600160a01b038381169182179283905560408051939091168352602083019190915280517f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09281900390910190a150565b60045490565b6000610bab8484846118db565b610c038433610bfe85604051806060016040528060288152602001611d7c602891396001600160a01b038a166000908152600360209081526040808320338452909152902054919063ffffffff611a3916565b611780565b5060019392505050565b60085460ff1681565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161099a918590610bfe908663ffffffff611ad016565b6000610c5d8461186c565b9050610c6b81338585611b31565b50505050565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109855780601f1061095a57610100808354040283529160200191610985565b6000546001600160a01b0316331480610cef57506001546001600160a01b031633145b610d40576040805162461bcd60e51b815260206004820181905260248201527f73656e646572206d757374206265206f776e6572206f72207265636f76657279604482015290519081900360640190fd5b6000819050806001600160a01b031663e5a11a966040518163ffffffff1660e01b815260040160206040518083038186803b158015610d7e57600080fd5b505afa158015610d92573d6000803e3d6000fd5b505050506040513d6020811015610da857600080fd5b5051610dfb576040805162461bcd60e51b815260206004820181905260248201527f4d75737420696d706c656d656e74206973537570706f7274436f6e7472616374604482015290519081900360640190fd5b6001600160a01b0382811660008181526009602052604080822080546001600160a01b03191694861694909417909355915190917f57e77804e7f32aa8fa92251951fd3e7b16eb09d93fff728ac26cdafa92dee97291a25050565b6001600160a01b031660009081526002602052604090205490565b6001546001600160a01b031681565b6000610e8b8461186c565b604080516389d43c7760e01b81526004810186905233602482015290519192506000916001600160a01b038416916389d43c77916044808301926020929190829003018186803b158015610ede57600080fd5b505afa158015610ef2573d6000803e3d6000fd5b505050506040513d6020811015610f0857600080fd5b5051905082610f54576040805162461bcd60e51b8152602060048201526013602482015272063616e277420696e637265617365206279203606c1b604482015290519081900360640190fd5b610f6f823386610f6a858863ffffffff611ad016565b611b31565b5050505050565b6000610f818661186c565b9050610f8e3387856118db565b604080516321717fc760e21b81526004810187905233602482015260448101869052606481018590526084810184905290516001600160a01b038316916385c5ff1c9160a480830192600092919082900301818387803b158015610ff157600080fd5b505af1158015611005573d6000803e3d6000fd5b50505050505050505050565b600080546001600160a01b038381169116148061103b57506001546001600160a01b038381169116145b92915050565b600061104c8461186c565b604080516389d43c7760e01b81526004810186905233602482015290519192506000916001600160a01b038416916389d43c77916044808301926020929190829003018186803b15801561109f57600080fd5b505afa1580156110b3573d6000803e3d6000fd5b505050506040513d60208110156110c957600080fd5b5051905082611115576040805162461bcd60e51b8152602060048201526013602482015272063616e2774206465637265617365206279203606c1b604482015290519081900360640190fd5b610f6f823386610f6a858863ffffffff611c5c16565b6000546001600160a01b031681565b60006111458861186c565b90508584146111855760405162461bcd60e51b815260040180806020018281038252602c815260200180611e3c602c913960400191505060405180910390fd5b8582146111c35760405162461bcd60e51b815260040180806020018281038252602e815260200180611da4602e913960400191505060405180910390fd5b60005b8681101561139057338888838181106111db57fe5b905060200201356001600160a01b03166001600160a01b031614156112315760405162461bcd60e51b8152600401808060200182810382526021815260200180611df76021913960400191505060405180910390fd5b6000826001600160a01b03166389d43c7788888581811061124e57fe5b905060200201358b8b8681811061126157fe5b905060200201356001600160a01b03166040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b031681526020019250505060206040518083038186803b1580156112be57600080fd5b505afa1580156112d2573d6000803e3d6000fd5b505050506040513d60208110156112e857600080fd5b505190506000611313828787868181106112fe57fe5b90506020020135611ad090919063ffffffff16565b905061134d338b8b8681811061132557fe5b905060200201356001600160a01b031688888781811061134157fe5b905060200201356118db565b611386848b8b8681811061135d57fe5b905060200201356001600160a01b03168a8a8781811061137957fe5b9050602002013584611b31565b50506001016111c6565b505050505050505050565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109855780601f1061095a57610100808354040283529160200191610985565b600061099a3384610bfe85604051806060016040528060258152602001611e68602591393360009081526003602090815260408083206001600160a01b038d168452909152902054919063ffffffff611a3916565b600061099a3384846118db565b600080546001600160a01b031633148061147c57506001546001600160a01b031633145b6114cd576040805162461bcd60e51b815260206004820181905260248201527f73656e646572206d757374206265206f776e6572206f72207265636f76657279604482015290519081900360640190fd5b600080546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810186905290519186169263a9059cbb926044808401936020939083900390910190829087803b15801561152457600080fd5b505af1158015611538573d6000803e3d6000fd5b505050506040513d602081101561154e57600080fd5b50519392505050565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b600061158d8661186c565b6040805163311db13360e01b81526004810188905233602482015260448101879052606481018690526084810185905290519192506001600160a01b0383169163311db1339160a48082019260009290919082900301818387803b158015610ff157600080fd5b6000546001600160a01b0316331461164a576040805162461bcd60e51b815260206004820152601460248201527339b2b73232b91036bab9ba1031329037bbb732b960611b604482015290519081900360640190fd5b6001600160a01b03811661168f5760405162461bcd60e51b8152600401808060200182810382526024815260200180611d0a6024913960400191505060405180910390fd5b6000546001600160a01b03828116911614156116dc5760405162461bcd60e51b8152600401808060200182810382526027815260200180611d2e6027913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006117098561186c565b90506117163382866118db565b806001600160a01b0316636bb92fa08585856040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050600060405180830381600087803b15801561176c57600080fd5b505af1158015611390573d6000803e3d6000fd5b6001600160a01b0383166117c55760405162461bcd60e51b8152600401808060200182810382526024815260200180611e186024913960400191505060405180910390fd5b6001600160a01b03821661180a5760405162461bcd60e51b8152600401808060200182810382526022815260200180611cc26022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038082166000908152600960205260408120549091168061103b576040805162461bcd60e51b815260206004820152601e60248201527f737570706f727420636f6e7472616374206d7573742062652076616c69640000604482015290519081900360640190fd5b6001600160a01b0383166119205760405162461bcd60e51b8152600401808060200182810382526025815260200180611dd26025913960400191505060405180910390fd5b6001600160a01b0382166119655760405162461bcd60e51b8152600401808060200182810382526023815260200180611c9f6023913960400191505060405180910390fd5b6119a881604051806060016040528060268152602001611ce4602691396001600160a01b038616600090815260026020526040902054919063ffffffff611a3916565b6001600160a01b0380851660009081526002602052604080822093909355908416815220546119dd908263ffffffff611ad016565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611ac85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a8d578181015183820152602001611a75565b50505050905090810190601f168015611aba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611b2a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080516389d43c7760e01b8152600481018490526001600160a01b03858116602483015291516000928716916389d43c77916044808301926020929190829003018186803b158015611b8357600080fd5b505afa158015611b97573d6000803e3d6000fd5b505050506040513d6020811015611bad57600080fd5b5051905081811415611bbf5750610c6b565b80821115611be657611be18486611bdc858563ffffffff611c5c16565b6118db565b611c03565b80821015611c0357611c038585611bdc848663ffffffff611c5c16565b60408051630cd067a760e21b8152600481018590526001600160a01b038681166024830152604482018590529151918716916333419e9c9160648082019260009290919082900301818387803b15801561176c57600080fd5b6000611b2a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a3956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63656e6577206f776e6572206d7573742062652061206e6f6e2d7a65726f20616464726573736e6577207265636f766572792063616e277420626520746865206f776e657220616464726573736e6577206f776e65722063616e277420626520746865207265636f76657279206164647265737345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63656d75737420626520657175616c206e756d626572206f6620726563697069656e747320616e6420616d6f756e747345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737363616e27742061697244726f7020746f20796f7572206f776e206163636f756e7445524332303a20617070726f76652066726f6d20746865207a65726f20616464726573736d75737420626520657175616c206e756d626572206f6620726563697069656e747320616e642067616d657345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a7231582059b2f161fb565df3de098e17041856adb29475dc29d79c6974f781c1c63ba6fb64736f6c63430005100032
Deployed Bytecode
0x60806040526004361061019c5760003560e01c80637c8c6cfb116100ec578063a457c2d71161008a578063dd62ed3e11610064578063dd62ed3e14610801578063e07c181b1461083c578063f0d85c8914610887578063fd4eacef146108ba5761019c565b8063a457c2d714610756578063a9059cbb1461078f578063dc39d06d146107c85761019c565b80638aedf2ea116100c65780638aedf2ea146105bc5780638da5cb5b146105fb578063902f44281461061057806395d89b41146107415761019c565b80637c8c6cfb146104ff5780637eb544251461053e57806381bb579a146105895761019c565b8063313ce567116101595780635600f04f116101335780635600f04f14610453578063613180521461046857806370a082311461049b578063710eb26c146104ce5761019c565b8063313ce567146103b057806339509351146103db5780633c8e0583146104145761019c565b806306fdde03146101e9578063095ea7b31461027357806309fd5291146102c057806313af40351461031357806318160ddd1461034657806323b872dd1461036d575b6040805162461bcd60e51b815260206004820152601c60248201527f7468697320636f6e7472616374206973206e6f742070617961626c6500000000604482015290519081900360640190fd5b3480156101f557600080fd5b506101fe6108ff565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610238578181015183820152602001610220565b50505050905090810190601f1680156102655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561027f57600080fd5b506102ac6004803603604081101561029657600080fd5b506001600160a01b03813516906020013561098d565b604080519115158252519081900360200190f35b3480156102cc57600080fd5b50610311600480360360c08110156102e357600080fd5b506001600160a01b038135169060208101359060408101359060608101359060808101359060a001356109a3565b005b34801561031f57600080fd5b506103116004803603602081101561033657600080fd5b50356001600160a01b0316610a46565b34801561035257600080fd5b5061035b610b98565b60408051918252519081900360200190f35b34801561037957600080fd5b506102ac6004803603606081101561039057600080fd5b506001600160a01b03813581169160208101359091169060400135610b9e565b3480156103bc57600080fd5b506103c5610c0d565b6040805160ff9092168252519081900360200190f35b3480156103e757600080fd5b506102ac600480360360408110156103fe57600080fd5b506001600160a01b038135169060200135610c16565b34801561042057600080fd5b506103116004803603606081101561043757600080fd5b506001600160a01b038135169060208101359060400135610c52565b34801561045f57600080fd5b506101fe610c71565b34801561047457600080fd5b506103116004803603602081101561048b57600080fd5b50356001600160a01b0316610ccc565b3480156104a757600080fd5b5061035b600480360360208110156104be57600080fd5b50356001600160a01b0316610e56565b3480156104da57600080fd5b506104e3610e71565b604080516001600160a01b039092168252519081900360200190f35b34801561050b57600080fd5b506103116004803603606081101561052257600080fd5b506001600160a01b038135169060208101359060400135610e80565b34801561054a57600080fd5b50610311600480360360a081101561056157600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135610f76565b34801561059557600080fd5b506102ac600480360360208110156105ac57600080fd5b50356001600160a01b0316611011565b3480156105c857600080fd5b50610311600480360360608110156105df57600080fd5b506001600160a01b038135169060208101359060400135611041565b34801561060757600080fd5b506104e361112b565b34801561061c57600080fd5b506103116004803603608081101561063357600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561065e57600080fd5b82018360208201111561067057600080fd5b8035906020019184602083028401116401000000008311171561069257600080fd5b9193909290916020810190356401000000008111156106b057600080fd5b8201836020820111156106c257600080fd5b803590602001918460208302840111640100000000831117156106e457600080fd5b91939092909160208101903564010000000081111561070257600080fd5b82018360208201111561071457600080fd5b8035906020019184602083028401116401000000008311171561073657600080fd5b50909250905061113a565b34801561074d57600080fd5b506101fe61139b565b34801561076257600080fd5b506102ac6004803603604081101561077957600080fd5b506001600160a01b0381351690602001356113f6565b34801561079b57600080fd5b506102ac600480360360408110156107b257600080fd5b506001600160a01b03813516906020013561144b565b3480156107d457600080fd5b506102ac600480360360408110156107eb57600080fd5b506001600160a01b038135169060200135611458565b34801561080d57600080fd5b5061035b6004803603604081101561082457600080fd5b506001600160a01b0381358116916020013516611557565b34801561084857600080fd5b50610311600480360360a081101561085f57600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135611582565b34801561089357600080fd5b50610311600480360360208110156108aa57600080fd5b50356001600160a01b03166115f4565b3480156108c657600080fd5b50610311600480360360808110156108dd57600080fd5b506001600160a01b0381351690602081013590604081013590606001356116fe565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109855780601f1061095a57610100808354040283529160200191610985565b820191906000526020600020905b81548152906001019060200180831161096857829003601f168201915b505050505081565b600061099a338484611780565b50600192915050565b60006109ae8761186c565b90506109bb3388856118db565b6040805163bc2caed560e01b81526004810188905233602482015260448101879052606481018690526084810185905260a4810184905290516001600160a01b0383169163bc2caed59160c480830192600092919082900301818387803b158015610a2557600080fd5b505af1158015610a39573d6000803e3d6000fd5b5050505050505050505050565b6001546001600160a01b03163314610aa5576040805162461bcd60e51b815260206004820152601760248201527f73656e646572206d757374206265207265636f76657279000000000000000000604482015290519081900360640190fd5b6001600160a01b038116610aea5760405162461bcd60e51b8152600401808060200182810382526024815260200180611d0a6024913960400191505060405180910390fd5b6001546001600160a01b0382811691161415610b375760405162461bcd60e51b8152600401808060200182810382526027815260200180611d556027913960400191505060405180910390fd5b600080546001600160a01b0319166001600160a01b038381169182179283905560408051939091168352602083019190915280517f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09281900390910190a150565b60045490565b6000610bab8484846118db565b610c038433610bfe85604051806060016040528060288152602001611d7c602891396001600160a01b038a166000908152600360209081526040808320338452909152902054919063ffffffff611a3916565b611780565b5060019392505050565b60085460ff1681565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161099a918590610bfe908663ffffffff611ad016565b6000610c5d8461186c565b9050610c6b81338585611b31565b50505050565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109855780601f1061095a57610100808354040283529160200191610985565b6000546001600160a01b0316331480610cef57506001546001600160a01b031633145b610d40576040805162461bcd60e51b815260206004820181905260248201527f73656e646572206d757374206265206f776e6572206f72207265636f76657279604482015290519081900360640190fd5b6000819050806001600160a01b031663e5a11a966040518163ffffffff1660e01b815260040160206040518083038186803b158015610d7e57600080fd5b505afa158015610d92573d6000803e3d6000fd5b505050506040513d6020811015610da857600080fd5b5051610dfb576040805162461bcd60e51b815260206004820181905260248201527f4d75737420696d706c656d656e74206973537570706f7274436f6e7472616374604482015290519081900360640190fd5b6001600160a01b0382811660008181526009602052604080822080546001600160a01b03191694861694909417909355915190917f57e77804e7f32aa8fa92251951fd3e7b16eb09d93fff728ac26cdafa92dee97291a25050565b6001600160a01b031660009081526002602052604090205490565b6001546001600160a01b031681565b6000610e8b8461186c565b604080516389d43c7760e01b81526004810186905233602482015290519192506000916001600160a01b038416916389d43c77916044808301926020929190829003018186803b158015610ede57600080fd5b505afa158015610ef2573d6000803e3d6000fd5b505050506040513d6020811015610f0857600080fd5b5051905082610f54576040805162461bcd60e51b8152602060048201526013602482015272063616e277420696e637265617365206279203606c1b604482015290519081900360640190fd5b610f6f823386610f6a858863ffffffff611ad016565b611b31565b5050505050565b6000610f818661186c565b9050610f8e3387856118db565b604080516321717fc760e21b81526004810187905233602482015260448101869052606481018590526084810184905290516001600160a01b038316916385c5ff1c9160a480830192600092919082900301818387803b158015610ff157600080fd5b505af1158015611005573d6000803e3d6000fd5b50505050505050505050565b600080546001600160a01b038381169116148061103b57506001546001600160a01b038381169116145b92915050565b600061104c8461186c565b604080516389d43c7760e01b81526004810186905233602482015290519192506000916001600160a01b038416916389d43c77916044808301926020929190829003018186803b15801561109f57600080fd5b505afa1580156110b3573d6000803e3d6000fd5b505050506040513d60208110156110c957600080fd5b5051905082611115576040805162461bcd60e51b8152602060048201526013602482015272063616e2774206465637265617365206279203606c1b604482015290519081900360640190fd5b610f6f823386610f6a858863ffffffff611c5c16565b6000546001600160a01b031681565b60006111458861186c565b90508584146111855760405162461bcd60e51b815260040180806020018281038252602c815260200180611e3c602c913960400191505060405180910390fd5b8582146111c35760405162461bcd60e51b815260040180806020018281038252602e815260200180611da4602e913960400191505060405180910390fd5b60005b8681101561139057338888838181106111db57fe5b905060200201356001600160a01b03166001600160a01b031614156112315760405162461bcd60e51b8152600401808060200182810382526021815260200180611df76021913960400191505060405180910390fd5b6000826001600160a01b03166389d43c7788888581811061124e57fe5b905060200201358b8b8681811061126157fe5b905060200201356001600160a01b03166040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b031681526020019250505060206040518083038186803b1580156112be57600080fd5b505afa1580156112d2573d6000803e3d6000fd5b505050506040513d60208110156112e857600080fd5b505190506000611313828787868181106112fe57fe5b90506020020135611ad090919063ffffffff16565b905061134d338b8b8681811061132557fe5b905060200201356001600160a01b031688888781811061134157fe5b905060200201356118db565b611386848b8b8681811061135d57fe5b905060200201356001600160a01b03168a8a8781811061137957fe5b9050602002013584611b31565b50506001016111c6565b505050505050505050565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109855780601f1061095a57610100808354040283529160200191610985565b600061099a3384610bfe85604051806060016040528060258152602001611e68602591393360009081526003602090815260408083206001600160a01b038d168452909152902054919063ffffffff611a3916565b600061099a3384846118db565b600080546001600160a01b031633148061147c57506001546001600160a01b031633145b6114cd576040805162461bcd60e51b815260206004820181905260248201527f73656e646572206d757374206265206f776e6572206f72207265636f76657279604482015290519081900360640190fd5b600080546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810186905290519186169263a9059cbb926044808401936020939083900390910190829087803b15801561152457600080fd5b505af1158015611538573d6000803e3d6000fd5b505050506040513d602081101561154e57600080fd5b50519392505050565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b600061158d8661186c565b6040805163311db13360e01b81526004810188905233602482015260448101879052606481018690526084810185905290519192506001600160a01b0383169163311db1339160a48082019260009290919082900301818387803b158015610ff157600080fd5b6000546001600160a01b0316331461164a576040805162461bcd60e51b815260206004820152601460248201527339b2b73232b91036bab9ba1031329037bbb732b960611b604482015290519081900360640190fd5b6001600160a01b03811661168f5760405162461bcd60e51b8152600401808060200182810382526024815260200180611d0a6024913960400191505060405180910390fd5b6000546001600160a01b03828116911614156116dc5760405162461bcd60e51b8152600401808060200182810382526027815260200180611d2e6027913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006117098561186c565b90506117163382866118db565b806001600160a01b0316636bb92fa08585856040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050600060405180830381600087803b15801561176c57600080fd5b505af1158015611390573d6000803e3d6000fd5b6001600160a01b0383166117c55760405162461bcd60e51b8152600401808060200182810382526024815260200180611e186024913960400191505060405180910390fd5b6001600160a01b03821661180a5760405162461bcd60e51b8152600401808060200182810382526022815260200180611cc26022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038082166000908152600960205260408120549091168061103b576040805162461bcd60e51b815260206004820152601e60248201527f737570706f727420636f6e7472616374206d7573742062652076616c69640000604482015290519081900360640190fd5b6001600160a01b0383166119205760405162461bcd60e51b8152600401808060200182810382526025815260200180611dd26025913960400191505060405180910390fd5b6001600160a01b0382166119655760405162461bcd60e51b8152600401808060200182810382526023815260200180611c9f6023913960400191505060405180910390fd5b6119a881604051806060016040528060268152602001611ce4602691396001600160a01b038616600090815260026020526040902054919063ffffffff611a3916565b6001600160a01b0380851660009081526002602052604080822093909355908416815220546119dd908263ffffffff611ad016565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611ac85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a8d578181015183820152602001611a75565b50505050905090810190601f168015611aba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611b2a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080516389d43c7760e01b8152600481018490526001600160a01b03858116602483015291516000928716916389d43c77916044808301926020929190829003018186803b158015611b8357600080fd5b505afa158015611b97573d6000803e3d6000fd5b505050506040513d6020811015611bad57600080fd5b5051905081811415611bbf5750610c6b565b80821115611be657611be18486611bdc858563ffffffff611c5c16565b6118db565b611c03565b80821015611c0357611c038585611bdc848663ffffffff611c5c16565b60408051630cd067a760e21b8152600481018590526001600160a01b038681166024830152604482018590529151918716916333419e9c9160648082019260009290919082900301818387803b15801561176c57600080fd5b6000611b2a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a3956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63656e6577206f776e6572206d7573742062652061206e6f6e2d7a65726f20616464726573736e6577207265636f766572792063616e277420626520746865206f776e657220616464726573736e6577206f776e65722063616e277420626520746865207265636f76657279206164647265737345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63656d75737420626520657175616c206e756d626572206f6620726563697069656e747320616e6420616d6f756e747345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737363616e27742061697244726f7020746f20796f7572206f776e206163636f756e7445524332303a20617070726f76652066726f6d20746865207a65726f20616464726573736d75737420626520657175616c206e756d626572206f6620726563697069656e747320616e642067616d657345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a7231582059b2f161fb565df3de098e17041856adb29475dc29d79c6974f781c1c63ba6fb64736f6c63430005100032
Deployed Bytecode Sourcemap
21985:11086:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22866:38;;;-1:-1:-1;;;22866:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;22080:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22080:35:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;22080:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15011:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15011:148:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15011:148:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;30967:408;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30967:408:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;30967:408:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5176:320;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5176:320:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5176:320:0;-1:-1:-1;;;;;5176:320:0;;:::i;13082:98::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13082:98:0;;;:::i;:::-;;;;;;;;;;;;;;;;15845:294;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15845:294:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15845:294:0;;;;;;;;;;;;;;;;;:::i;22154:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22154:26:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16533:204;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16533:204:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16533:204:0;;;;;;;;:::i;24726:227::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24726:227:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24726:227:0;;;;;;;;;;;;;:::i;22026:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22026:49:0;;;:::i;23136:370::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23136:370:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23136:370:0;-1:-1:-1;;;;;23136:370:0;;:::i;13260:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13260:117:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13260:117:0;-1:-1:-1;;;;;13260:117:0;;:::i;3788:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3788:30:0;;;:::i;:::-;;;;-1:-1:-1;;;;;3788:30:0;;;;;;;;;;;;;;25328:393;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25328:393:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;25328:393:0;;;;;;;;;;;;;:::i;28527:384::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28527:384:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;28527:384:0;;;;;;;;;;;;;;;;;;;;;;;:::i;4850:157::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4850:157:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4850:157:0;-1:-1:-1;;;;;4850:157:0;;:::i;26086:393::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26086:393:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26086:393:0;;;;;;;;;;;;;:::i;3704:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3704:20:0;;;:::i;26888:901::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26888:901:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;26888:901:0;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26888:901:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26888:901:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;26888:901:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26888:901:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26888:901:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;26888:901:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26888:901:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26888:901:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;26888:901:0;;-1:-1:-1;26888:901:0;-1:-1:-1;26888:901:0;:::i;22120:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22120:29:0;;;:::i;17223:255::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17223:255:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17223:255:0;;;;;;;;:::i;13731:154::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13731:154:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13731:154:0;;;;;;;;:::i;6166:192::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6166:192:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6166:192:0;;;;;;;;:::i;14153:141::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14153:141:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14153:141:0;;;;;;;;;;:::i;29792:345::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29792:345:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;29792:345:0;;;;;;;;;;;;;;;;;;;;;;;:::i;5687:282::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5687:282:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5687:282:0;-1:-1:-1;;;;;5687:282:0;;:::i;24002:347::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24002:347:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;24002:347:0;;;;;;;;;;;;;;;;;;:::i;22080:35::-;;;;;;;;;;;;;;;-1:-1:-1;;22080:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;15011:148::-;15082:4;15098:37;15107:10;15119:7;15128:6;15098:8;:37::i;:::-;-1:-1:-1;15149:4:0;15011:148;;;;:::o;30967:408::-;31148:32;31183:37;31203:16;31183:19;:37::i;:::-;31148:72;;31227:49;31237:10;31249:16;31267:8;31227:9;:49::i;:::-;31283:86;;;-1:-1:-1;;;31283:86:0;;;;;;;;31319:10;31283:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31283:28:0;;;;;:86;;;;;-1:-1:-1;;31283:86:0;;;;;;;-1:-1:-1;31283:28:0;:86;;;5:2:-1;;;;30:1;27;20:12;5:2;31283:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31283:86:0;;;;30967:408;;;;;;;:::o;5176:320::-;4348:15;;-1:-1:-1;;;;;4348:15:0;4334:10;:29;4326:65;;;;;-1:-1:-1;;;4326:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5263:23:0;;5255:72;;;;-1:-1:-1;;;5255:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5355:15;;-1:-1:-1;;;;;5342:28:0;;;5355:15;;5342:28;;5334:80;;;;-1:-1:-1;;;5334:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5423:5;:17;;-1:-1:-1;;;;;;5423:17:0;-1:-1:-1;;;;;5423:17:0;;;;;;;;;;5452:38;;;5473:5;;;;5452:38;;;;;;;;;;;;;;;;;;;;;5176:320;:::o;13082:98::-;13162:12;;13082:98;:::o;15845:294::-;15939:4;15955:36;15965:6;15973:9;15984:6;15955:9;:36::i;:::-;15998:117;16007:6;16015:10;16027:87;16063:6;16027:87;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16027:19:0;;;;;;:11;:19;;;;;;;;16047:10;16027:31;;;;;;;;;:87;;:35;:87;:::i;:::-;15998:8;:117::i;:::-;-1:-1:-1;16129:4:0;15845:294;;;;;:::o;22154:26::-;;;;;;:::o;16533:204::-;16643:10;16618:4;16664:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;16664:32:0;;;;;;;;;;16618:4;;16634:79;;16655:7;;16664:48;;16701:10;16664:48;:36;:48;:::i;24726:227::-;24812:32;24847:37;24867:16;24847:19;:37::i;:::-;24812:72;;24891:56;24903:15;24920:10;24932:5;24939:7;24891:11;:56::i;:::-;24726:227;;;;:::o;22026:49::-;;;;;;;;;;;;;;;-1:-1:-1;;22026:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23136:370;4551:5;;-1:-1:-1;;;;;4551:5:0;4537:10;:19;;:52;;-1:-1:-1;4574:15:0;;-1:-1:-1;;;;;4574:15:0;4560:10;:29;4537:52;4529:97;;;;;-1:-1:-1;;;4529:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23235:32;23287:16;23235:69;;23319:15;-1:-1:-1;;;;;23319:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23319:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23319:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23319:35:0;23311:80;;;;;-1:-1:-1;;;23311:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23398:34:0;;;;;;;:16;:34;;;;;;:52;;-1:-1:-1;;;;;;23398:52:0;;;;;;;;;;;23462:38;;23398:34;;23462:38;;;4633:1;23136:370;:::o;13260:117::-;-1:-1:-1;;;;;13353:18:0;13330:4;13353:18;;;:9;:18;;;;;;;13260:117::o;3788:30::-;;;-1:-1:-1;;;;;3788:30:0;;:::o;25328:393::-;25421:32;25456:37;25476:16;25456:19;:37::i;:::-;25522:56;;;-1:-1:-1;;;25522:56:0;;;;;;;;25567:10;25522:56;;;;;;25421:72;;-1:-1:-1;25500:19:0;;-1:-1:-1;;;;;25522:37:0;;;;;:56;;;;;;;;;;;;;;:37;:56;;;5:2:-1;;;;30:1;27;20:12;5:2;25522:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25522:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25522:56:0;;-1:-1:-1;25593:13:0;25585:45;;;;;-1:-1:-1;;;25585:45:0;;;;;;;;;;;;-1:-1:-1;;;25585:45:0;;;;;;;;;;;;;;;25637:78;25649:15;25666:10;25678:5;25685:29;:14;25704:9;25685:29;:18;:29;:::i;:::-;25637:11;:78::i;:::-;25328:393;;;;;:::o;28527:384::-;28688:32;28723:37;28743:16;28723:19;:37::i;:::-;28688:72;;28769:49;28779:10;28791:16;28809:8;28769:9;:49::i;:::-;28825:80;;;-1:-1:-1;;;28825:80:0;;;;;;;;28867:10;28825:80;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28825:34:0;;;;;:80;;;;;-1:-1:-1;;28825:80:0;;;;;;;-1:-1:-1;28825:34:0;:80;;;5:2:-1;;;;30:1;27;20:12;5:2;28825:80:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28825:80:0;;;;28527:384;;;;;;:::o;4850:157::-;4930:4;4965:5;;-1:-1:-1;;;;;4953:17:0;;;4965:5;;4953:17;;:48;;-1:-1:-1;4986:15:0;;-1:-1:-1;;;;;4974:27:0;;;4986:15;;4974:27;4953:48;4946:55;4850:157;-1:-1:-1;;4850:157:0:o;26086:393::-;26179:32;26214:37;26234:16;26214:19;:37::i;:::-;26280:56;;;-1:-1:-1;;;26280:56:0;;;;;;;;26325:10;26280:56;;;;;;26179:72;;-1:-1:-1;26258:19:0;;-1:-1:-1;;;;;26280:37:0;;;;;:56;;;;;;;;;;;;;;:37;:56;;;5:2:-1;;;;30:1;27;20:12;5:2;26280:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26280:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26280:56:0;;-1:-1:-1;26351:13:0;26343:45;;;;;-1:-1:-1;;;26343:45:0;;;;;;;;;;;;-1:-1:-1;;;26343:45:0;;;;;;;;;;;;;;;26395:78;26407:15;26424:10;26436:5;26443:29;:14;26462:9;26443:29;:18;:29;:::i;3704:20::-;;;-1:-1:-1;;;;;3704:20:0;;:::o;26888:901::-;27072:32;27107:37;27127:16;27107:19;:37::i;:::-;27072:72;-1:-1:-1;27159:35:0;;;27151:92;;;;-1:-1:-1;;;27151:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27258:37;;;27250:96;;;;-1:-1:-1;;;27250:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27358:6;27353:431;27370:22;;;27353:431;;;27434:10;27416:11;;27428:1;27416:14;;;;;;;;;;;;;-1:-1:-1;;;;;27416:14:0;-1:-1:-1;;;;;27416:28:0;;;27408:74;;;;-1:-1:-1;;;27408:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27491:19;27513:15;-1:-1:-1;;;;;27513:37:0;;27551:6;;27558:1;27551:9;;;;;;;;;;;;;27562:11;;27574:1;27562:14;;;;;;;;;;;;;-1:-1:-1;;;;;27562:14:0;27513:64;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27513:64:0;-1:-1:-1;;;;;27513:64:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27513:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27513:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27513:64:0;;-1:-1:-1;27586:18:0;27607:31;27513:64;27607:8;;27616:1;27607:11;;;;;;;;;;;;;:15;;:31;;;;:::i;:::-;27586:52;;27647:50;27657:10;27669:11;;27681:1;27669:14;;;;;;;;;;;;;-1:-1:-1;;;;;27669:14:0;27685:8;;27694:1;27685:11;;;;;;;;;;;;;27647:9;:50::i;:::-;27706:70;27718:15;27735:11;;27747:1;27735:14;;;;;;;;;;;;;-1:-1:-1;;;;;27735:14:0;27751:6;;27758:1;27751:9;;;;;;;;;;;;;27762:13;27706:11;:70::i;:::-;-1:-1:-1;;27394:3:0;;27353:431;;;;26888:901;;;;;;;;:::o;22120:29::-;;;;;;;;;;;;;;;-1:-1:-1;;22120:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17223:255;17313:4;17329:125;17338:10;17350:7;17359:94;17396:15;17359:94;;;;;;;;;;;;;;;;;17371:10;17359:23;;;;:11;:23;;;;;;;;-1:-1:-1;;;;;17359:32:0;;;;;;;;;;;:94;;:36;:94;:::i;13731:154::-;13805:4;13821:40;13831:10;13843:9;13854:6;13821:9;:40::i;6166:192::-;6277:12;4551:5;;-1:-1:-1;;;;;4551:5:0;4537:10;:19;;:52;;-1:-1:-1;4574:15:0;;-1:-1:-1;;;;;4574:15:0;4560:10;:29;4537:52;4529:97;;;;;-1:-1:-1;;;4529:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6338:5;;;6308:44;;;-1:-1:-1;;;6308:44:0;;-1:-1:-1;;;;;6338:5:0;;;6308:44;;;;;;;;;;;;:29;;;;;;:44;;;;;;;;;;;;;;;;;:29;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;6308:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6308:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6308:44:0;;6166:192;-1:-1:-1;;;6166:192:0:o;14153:141::-;-1:-1:-1;;;;;14261:18:0;;;14238:4;14261:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14153:141::o;29792:345::-;29962:32;29997:37;30017:16;29997:19;:37::i;:::-;30041:90;;;-1:-1:-1;;;30041:90:0;;;;;;;;30086:10;30041:90;;;;;;;;;;;;;;;;;;;;;;;;29962:72;;-1:-1:-1;;;;;;30041:37:0;;;;;:90;;;;;-1:-1:-1;;30041:90:0;;;;;;;;-1:-1:-1;30041:37:0;:90;;;5:2:-1;;;;30:1;27;20:12;5687:282:0;4170:5;;-1:-1:-1;;;;;4170:5:0;4156:10;:19;4148:52;;;;;-1:-1:-1;;;4148:52:0;;;;;;;;;;;;-1:-1:-1;;;4148:52:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;5777:26:0;;5769:75;;;;-1:-1:-1;;;5769:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5875:5;;-1:-1:-1;;;;;5859:21:0;;;5875:5;;5859:21;;5851:73;;;;-1:-1:-1;;;5851:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5933:15;:30;;-1:-1:-1;;;;;;5933:30:0;-1:-1:-1;;;;;5933:30:0;;;;;;;;;;5687:282::o;24002:347::-;24133:32;24168:37;24188:16;24168:19;:37::i;:::-;24133:72;;24212:56;24222:10;24242:15;24260:7;24212:9;:56::i;:::-;24275:15;-1:-1:-1;;;;;24275:31:0;;24307:7;24316:10;24328:14;24275:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24275:68:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;20046:325:0;-1:-1:-1;;;;;20141:19:0;;20133:68;;;;-1:-1:-1;;;20133:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20216:21:0;;20208:68;;;;-1:-1:-1;;;20208:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20285:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20333:32;;;;;;;;;;;;;;;;;20046:325;;;:::o;31614:311::-;-1:-1:-1;;;;;31768:34:0;;;31705:16;31768:34;;;:16;:34;;;;;;31705:16;;31768:34;31817:38;31809:81;;;;;-1:-1:-1;;;31809:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;17951:454;-1:-1:-1;;;;;18050:20:0;;18042:70;;;;-1:-1:-1;;;18042:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18127:23:0;;18119:71;;;;-1:-1:-1;;;18119:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18219;18241:6;18219:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18219:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;18199:17:0;;;;;;;:9;:17;;;;;;:91;;;;18320:20;;;;;;;:32;;18345:6;18320:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;18297:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;18364:35;;;;;;;18297:20;;18364:35;;;;;;;;;;;;;17951:454;;;:::o;8053:166::-;8133:4;8162:12;8154:6;;;;8146:29;;;;-1:-1:-1;;;8146:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8146:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8191:5:0;;;8053:166::o;7191:155::-;7243:4;7265:5;;;7285:6;;;;7277:46;;;;;-1:-1:-1;;;7277:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7339:1;7191:155;-1:-1:-1;;;7191:155:0:o;32347:721::-;32543:56;;;-1:-1:-1;;;32543:56:0;;;;;;;;-1:-1:-1;;;;;32543:56:0;;;;;;;;;32521:19;;32543:37;;;;;:56;;;;;;;;;;;;;;:37;:56;;;5:2:-1;;;;30:1;27;20:12;5:2;32543:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32543:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32543:56:0;;-1:-1:-1;32612:25:0;;;32608:391;;;32648:7;;;32608:391;32682:14;32672:7;:24;32668:331;;;32751:76;32761:10;32781:15;32799:27;:7;32811:14;32799:27;:11;:27;:::i;:::-;32751:9;:76::i;:::-;32668:331;;;32855:14;32845:7;:24;32841:158;;;32915:76;32933:15;32951:10;32963:27;:14;32982:7;32963:27;:18;:27;:::i;32915:76::-;33005:57;;;-1:-1:-1;;;33005:57:0;;;;;;;;-1:-1:-1;;;;;33005:57:0;;;;;;;;;;;;;;;:29;;;;;;:57;;;;;-1:-1:-1;;33005:57:0;;;;;;;;-1:-1:-1;33005:29:0;:57;;;5:2:-1;;;;30:1;27;20:12;7609:121:0;7661:4;7681:43;7685:1;7688;7681:43;;;;;;;;;;;;;;;;;:3;:43::i
Swarm Source
bzzr://59b2f161fb565df3de098e17041856adb29475dc29d79c6974f781c1c63ba6fb
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.