ETH Price: $2,339.08 (-0.40%)

Contract

0x810F86eb43CcAacd401EF50DFab87945A514F9CF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim All For Ow...192489432024-02-17 17:04:35214 days ago1708189475IN
The Genesis Project: ATIME Token
0 ETH0.003853333.07249388
Approve188035812023-12-17 5:09:35276 days ago1702789775IN
The Genesis Project: ATIME Token
0 ETH0.0007412330.45085107
Approve180742292023-09-06 1:46:11378 days ago1693964771IN
The Genesis Project: ATIME Token
0 ETH0.0003686415.14455977
Transfer168849482023-03-22 18:35:47546 days ago1679510147IN
The Genesis Project: ATIME Token
0 ETH0.0011218324
Transfer167237852023-02-28 2:46:47568 days ago1677552407IN
The Genesis Project: ATIME Token
0 ETH0.0008149117.42063587
Claim By Id166784742023-02-21 17:50:59575 days ago1677001859IN
The Genesis Project: ATIME Token
0 ETH0.0019076842
Claim By Id166774912023-02-21 14:32:11575 days ago1676989931IN
The Genesis Project: ATIME Token
0 ETH0.0017450547.43920649
Approve164934712023-01-26 20:46:47601 days ago1674766007IN
The Genesis Project: ATIME Token
0 ETH0.0005690223.37619309
Approve163312652023-01-04 5:14:59623 days ago1672809299IN
The Genesis Project: ATIME Token
0 ETH0.0004345317.85107961
Claim All For Ow...161271772022-12-06 17:14:35652 days ago1670346875IN
The Genesis Project: ATIME Token
0 ETH0.0019806817
Claim All For Ow...160706652022-11-28 19:46:23660 days ago1669664783IN
The Genesis Project: ATIME Token
0 ETH0.0013247613.32617035
Claim All For Ow...159229042022-11-08 4:24:23680 days ago1667881463IN
The Genesis Project: ATIME Token
0 ETH0.0011827541.50027699
Claim By Id159229022022-11-08 4:23:59680 days ago1667881439IN
The Genesis Project: ATIME Token
0 ETH0.0011200139.29873773
Approve159228672022-11-08 4:16:59680 days ago1667881019IN
The Genesis Project: ATIME Token
0 ETH0.0026100556.25369719
Claim All For Ow...158625842022-10-30 18:10:47689 days ago1667153447IN
The Genesis Project: ATIME Token
0 ETH0.000672789.87622764
Claim By Id158625832022-10-30 18:10:35689 days ago1667153435IN
The Genesis Project: ATIME Token
0 ETH0.000816210.20461223
Claim All For Ow...158119022022-10-23 16:07:59696 days ago1666541279IN
The Genesis Project: ATIME Token
0 ETH0.0017481816.01208535
Claim All For Ow...156955912022-10-07 10:20:23712 days ago1665138023IN
The Genesis Project: ATIME Token
0 ETH0.000698936.54779731
Approve155166762022-09-11 19:54:17738 days ago1662926057IN
The Genesis Project: ATIME Token
0 ETH0.0008448818.2094258
Claim All For Ow...155165852022-09-11 19:34:22738 days ago1662924862IN
The Genesis Project: ATIME Token
0 ETH0.0032440929.71358745
Approve154855312022-09-06 17:53:49743 days ago1662486829IN
The Genesis Project: ATIME Token
0 ETH0.0012186426.26508806
Claim All For Ow...154254942022-08-28 3:21:26752 days ago1661656886IN
The Genesis Project: ATIME Token
0 ETH0.000574155.77555236
Claim All For Ow...154056862022-08-24 23:04:29755 days ago1661382269IN
The Genesis Project: ATIME Token
0 ETH0.0012157511.13544757
Claim All For Ow...154048132022-08-24 19:45:35756 days ago1661370335IN
The Genesis Project: ATIME Token
0 ETH0.0026635415.56899301
Approve153667492022-08-18 19:12:40762 days ago1660849960IN
The Genesis Project: ATIME Token
0 ETH0.0005570622.88492271
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AdventureTime

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 2500 runs

Other Settings:
default evmVersion
File 1 of 10 : AdventureTime.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.3;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";

/// @title Adventure Time for Genesis Adventurer holders!
/// @notice This contract mints Adventure Time for Loot holders and provides
/// administrative functions to the Loot DAO. It allows:
/// * Genesis Adventurer holders to claim Adventure Time
/// * A DAO to set seasons for new opportunities to claim Adventure Time
/// * A DAO to mint Adventure Time for use within the Loot ecosystem
/// @custom:unaudited This contract has not been audited. Use at your own risk.
contract AdventureTime is Context, Ownable, ERC20, ERC20Burnable {
    // Genesis Adventurer contract is available at https://etherscan.io/token/0x8db687aceb92c66f013e1d614137238cc698fedb
    address public SeasonContractAddress;
    IERC721Enumerable private SeasonContract;

    // Give out 100,000 Adventure Time for every Genesis Adventurer that a user holds
    uint256 public adventureTimePerTokenId = 100 * (10**decimals());

    uint256 public tokenIdStart = 1;

    uint256 public tokenIdEnd = 8000;

    // Seasons are used to allow users to claim tokens regularly.
    // Seasons are decided by the DAO.
    uint256 public season = 0;

    // Track claimed tokens within a season
    // IMPORTANT: The format of the mapping is:
    // claimedForSeason[season][tokenId][claimed]
    mapping(uint256 => mapping(uint256 => bool)) public seasonClaimedByTokenId;

    constructor(
        address _CurrentSeasonContractAddress,
        address _genesisDaoAddress
    ) Ownable() ERC20("Adventure Time", "ATIME") {
        // Transfer ownership to the Genesis Project DAO
        // Ownable by OpenZeppelin automatically sets owner to msg.sender, but
        // we're going to be using a separate wallet for deployment
        transferOwnership(_genesisDaoAddress);
        SeasonContractAddress = _CurrentSeasonContractAddress;
        SeasonContract = IERC721Enumerable(SeasonContractAddress);
    }

    function claimById(uint256 _tokenId) external {
        // Follow the Checks-Effects-Interactions pattern
        // to prevent reentrancy attacks
        _markClaimedForSeason(_tokenId);
        _mint(_msgSender(), adventureTimePerTokenId);
    }

    function claimAllForOwner() external {
        uint256 tokenBalanceOwner = SeasonContract.balanceOf(_msgSender());
        uint256[] memory tokensUnclaimed = new uint256[](tokenBalanceOwner);

        // Checks
        require(tokenBalanceOwner > 0, "NO_TOKENS_OWNED");

        for (uint256 i = 0; i < tokenBalanceOwner; i++) {
            if (
                seasonClaimedByTokenId[season][
                    SeasonContract.tokenOfOwnerByIndex(_msgSender(), i)
                ] == false
            ) {
                tokensUnclaimed[i] = SeasonContract.tokenOfOwnerByIndex(
                    _msgSender(),
                    i
                );
            } else {
                delete tokensUnclaimed[i];
            }
        }

        // i < tokenBalanceOwner because tokenBalanceOwner is 1-indexed
        for (uint256 i = 0; i < tokensUnclaimed.length; i++) {
            if (tokensUnclaimed[i] != 0) {
                _markClaimedForSeason(tokensUnclaimed[i]);
            } else {
                tokenBalanceOwner--;
            }
        }
        require(tokenBalanceOwner > 0, "ALL_TOKENS_CLAIMED");

        _mint(_msgSender(), adventureTimePerTokenId * tokenBalanceOwner);
    }

    function multiClaimByID(uint256[] memory _tokenId) external {
        for (uint256 i = 0; i < _tokenId.length; i++) {
            _markClaimedForSeason(_tokenId[i]);
        }
        _mint(_msgSender(), adventureTimePerTokenId * _tokenId.length);
    }

    /// @notice Checks for requirements then marks token complete for season
    /// @param _tokenId The tokenId of the NFT
    function _markClaimedForSeason(uint256 _tokenId)
        internal
        checkOwnerOfToken(_tokenId)
        checkTokenInRange(_tokenId)
        checkAlreadySeasonClaimed(_tokenId)
    {
        // Mark that Adventure Time has been claimed for this season for the token
        seasonClaimedByTokenId[season][_tokenId] = true;
    }

    modifier checkOwnerOfToken(uint256 _tokenId) {
        require(
            _msgSender() == SeasonContract.ownerOf(_tokenId),
            "MUST_OWN_TOKEN_ID"
        );
        _;
    }

    modifier checkTokenInRange(uint256 _tokenId) {
        require(
            _tokenId >= tokenIdStart && _tokenId <= tokenIdEnd,
            "TOKEN_ID_OUT_OF_RANGE"
        );
        _;
    }

    modifier checkAlreadySeasonClaimed(uint256 _tokenId) {
        require(
            !seasonClaimedByTokenId[season][_tokenId],
            "TIME_CLAIMED_FOR_TOKEN_ID"
        );
        _;
    }

    /// @notice Allows the DAO to mint new tokens for use within the Loot
    /// Ecosystem
    /// @param amountDisplayValue The amount of Loot to mint. This should be
    /// input as the display value, not in raw decimals. If you want to mint
    /// 100 Loot, you should enter "100" rather than the value of 100 * 10^18.
    function daoMint(uint256 amountDisplayValue) external onlyOwner {
        _mint(owner(), amountDisplayValue * (10**decimals()));
    }

    /// @notice Allows the DAO to set a new contract address for Loot. This is
    /// relevant in the event that Loot migrates to a new contract.
    /// @param _SeasonContractAddress The new contract address for Loot
    function daoSetSeasonContractAddress(address _SeasonContractAddress)
        external
        onlyOwner
    {
        SeasonContractAddress = _SeasonContractAddress;
        SeasonContract = IERC721Enumerable(SeasonContractAddress);
    }

    /// @notice Allows the DAO to set the token IDs that are eligible to claim
    /// Loot
    /// @param _tokenIdStart The start of the eligible token range
    /// @param _tokenIdEnd The end of the eligible token range
    /// @dev This is relevant in case a future NFT contract has a different
    /// total supply of tokens
    function daoSetTokenIdRange(uint256 _tokenIdStart, uint256 _tokenIdEnd)
        external
        onlyOwner
    {
        tokenIdStart = _tokenIdStart;
        tokenIdEnd = _tokenIdEnd;
    }

    /// @notice Allows the DAO to set a season for new Adventure Time claims
    /// @param _season The season to use for claiming Loot
    function daoSetSeason(uint256 _season) public onlyOwner {
        season = _season;
    }

    /// @notice Allows the DAO to set the amount of Adventure Time that is
    /// claimed per token ID
    /// @param _adventureTimeDisplayValue The amount of Loot a user can claim.
    /// This should be input as the display value, not in raw decimals. If you
    /// want to mint 100 Loot, you should enter "100" rather than the value of
    /// 100 * 10^18.
    function daoSetAdventureTimePerTokenId(uint256 _adventureTimeDisplayValue)
        public
        onlyOwner
    {
        adventureTimePerTokenId = _adventureTimeDisplayValue * (10**decimals());
    }

    /// @notice Allows the DAO to set the season and Adventure Time per token ID
    /// in one transaction. This ensures that there is not a gap where a user
    /// can claim more Adventure Time than others
    /// @param _season The season to use for claiming loot
    /// @param _adventureTimeDisplayValue The amount of Loot a user can claim.
    /// This should be input as the display value, not in raw decimals. If you
    /// want to mint 100 Loot, you should enter "100" rather than the value of
    /// 100 * 10^18.
    /// @dev We would save a tiny amount of gas by modifying the season and
    /// adventureTime variables directly. It is better practice for security,
    /// however, to avoid repeating code. This function is so rarely used that
    /// it's not worth moving these values into their own internal function to
    /// skip the gas used on the modifier check.
    function daoSetSeasonAndAdventureTimePerTokenId(
        uint256 _season,
        uint256 _adventureTimeDisplayValue
    ) external onlyOwner {
        daoSetSeason(_season);
        daoSetAdventureTimePerTokenId(_adventureTimeDisplayValue);
    }
}

File 2 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @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 {ERC20PresetMinterPauser}.
 *
 * 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 Contracts guidelines: functions revert
 * instead 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 ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * 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,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        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, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + 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, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This 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,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This 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,
        uint256 amount
    ) internal virtual {
        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);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 3 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 4 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 10 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 6 of 10 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

File 7 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @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, uint256 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 (uint256);

    /**
     * @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, uint256 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,
        uint256 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, uint256 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, uint256 value);
}

File 8 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 9 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 10 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 2500
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_CurrentSeasonContractAddress","type":"address"},{"internalType":"address","name":"_genesisDaoAddress","type":"address"}],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"inputs":[],"name":"SeasonContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adventureTimePerTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAllForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"claimById","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountDisplayValue","type":"uint256"}],"name":"daoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_adventureTimeDisplayValue","type":"uint256"}],"name":"daoSetAdventureTimePerTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_season","type":"uint256"}],"name":"daoSetSeason","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_season","type":"uint256"},{"internalType":"uint256","name":"_adventureTimeDisplayValue","type":"uint256"}],"name":"daoSetSeasonAndAdventureTimePerTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_SeasonContractAddress","type":"address"}],"name":"daoSetSeasonContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIdStart","type":"uint256"},{"internalType":"uint256","name":"_tokenIdEnd","type":"uint256"}],"name":"daoSetTokenIdRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenId","type":"uint256[]"}],"name":"multiClaimByID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"season","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"seasonClaimedByTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052620000126012600a6200039d565b6200001f9060646200046b565b6008556001600955611f40600a556000600b553480156200003f57600080fd5b50604051620021f3380380620021f383398101604081905262000062916200031d565b6040518060400160405280600e81526020016d416476656e747572652054696d6560901b815250604051806040016040528060058152602001644154494d4560d81b815250620000c1620000bb6200013160201b60201c565b62000135565b8151620000d69060049060208501906200025a565b508051620000ec9060059060208401906200025a565b50505062000100816200018560201b60201c565b50600680546001600160a01b039092166001600160a01b0319928316811790915560078054909216179055620004e0565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001e55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b0381166200024c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620001dc565b620002578162000135565b50565b82805462000268906200048d565b90600052602060002090601f0160209004810192826200028c5760008555620002d7565b82601f10620002a757805160ff1916838001178555620002d7565b82800160010185558215620002d7579182015b82811115620002d7578251825591602001919060010190620002ba565b50620002e5929150620002e9565b5090565b5b80821115620002e55760008155600101620002ea565b80516001600160a01b03811681146200031857600080fd5b919050565b6000806040838503121562000330578182fd5b6200033b8362000300565b91506200034b6020840162000300565b90509250929050565b600181815b8085111562000395578160001904821115620003795762000379620004ca565b808516156200038757918102915b93841c939080029062000359565b509250929050565b6000620003ae60ff841683620003b5565b9392505050565b600082620003c65750600162000465565b81620003d55750600062000465565b8160018114620003ee5760028114620003f95762000419565b600191505062000465565b60ff8411156200040d576200040d620004ca565b50506001821b62000465565b5060208310610133831016604e8410600b84101617156200043e575081810a62000465565b6200044a838362000354565b8060001904821115620004615762000461620004ca565b0290505b92915050565b6000816000190483118215151615620004885762000488620004ca565b500290565b600181811c90821680620004a257607f821691505b60208210811415620004c457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b611d0380620004f06000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80634da7808a1161010f578063a9059cbb116100a2578063cbf0b27611610071578063cbf0b276146103f5578063dd62ed3e146103fd578063e5e808cb14610436578063f2fde38b1461046457600080fd5b8063a9059cbb146103b3578063abc63475146103c6578063becf7741146103d9578063c50b0fb0146103ec57600080fd5b806379cc6790116100de57806379cc6790146103745780638da5cb5b1461038757806395d89b4114610398578063a457c2d7146103a057600080fd5b80634da7808a1461031d57806362759f6c1461033057806370a0823114610343578063715018a61461036c57600080fd5b80632a3890621161018757806340ab433c1161015657806340ab433c146102db57806342966c68146102ee57806342e473151461030157806343f428021461031457600080fd5b80632a3890621461029d5780632c34d65c146102a6578063313ce567146102b957806339509351146102c857600080fd5b80630b2e1fcc116101c35780630b2e1fcc1461024257806318160ddd1461025757806322036f6c1461025f57806323b872dd1461028a57600080fd5b806306fdde03146101ea578063089e601814610208578063095ea7b31461021f575b600080fd5b6101f2610477565b6040516101ff9190611a90565b60405180910390f35b61021160085481565b6040519081526020016101ff565b61023261022d366004611954565b610509565b60405190151581526020016101ff565b610255610250366004611a6f565b610520565b005b600354610211565b600654610272906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b610232610298366004611914565b610595565b61021160095481565b6102556102b436600461197f565b610654565b604051601281526020016101ff565b6102326102d6366004611954565b6106be565b6102556102e936600461189d565b6106fa565b6102556102fc366004611a3f565b610798565b61025561030f366004611a3f565b6107a2565b610211600a5481565b61025561032b366004611a6f565b610801565b61025561033e366004611a3f565b610866565b61021161035136600461189d565b6001600160a01b031660009081526001602052604090205490565b6102556108eb565b610255610382366004611954565b610951565b6000546001600160a01b0316610272565b6101f26109f0565b6102326103ae366004611954565b6109ff565b6102326103c1366004611954565b610ab0565b6102556103d4366004611a3f565b610abd565b6102556103e7366004611a3f565b610b33565b610211600b5481565b610255610b48565b61021161040b3660046118dc565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610232610444366004611a6f565b600c60209081526000928352604080842090915290825290205460ff1681565b61025561047236600461189d565b610f71565b60606004805461048690611c36565b80601f01602080910402602001604051908101604052809291908181526020018280546104b290611c36565b80156104ff5780601f106104d4576101008083540402835291602001916104ff565b820191906000526020600020905b8154815290600101906020018083116104e257829003601f168201915b5050505050905090565b6000610516338484611050565b5060015b92915050565b6000546001600160a01b0316331461057f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610588826107a2565b61059181610abd565b5050565b60006105a28484846111a8565b6001600160a01b03841660009081526002602090815260408083203384529091529020548281101561063c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610576565b6106498533858403611050565b506001949350505050565b60005b81518110156106a25761069082828151811061068357634e487b7160e01b600052603260045260246000fd5b60200260200101516113c0565b8061069a81611c71565b915050610657565b506106bb3382516008546106b69190611be9565b6115d1565b50565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105169185906106f5908690611ae3565b611050565b6000546001600160a01b031633146107545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b600680546001600160a01b039092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316811790915560078054909216179055565b6106bb33826116b0565b6000546001600160a01b031633146107fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b600b55565b6000546001600160a01b0316331461085b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b600991909155600a55565b6000546001600160a01b031633146108c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b6106bb6108d56000546001600160a01b031690565b6108e16012600a611b3e565b6106b69084611be9565b6000546001600160a01b031633146109455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b61094f6000611835565b565b600061095d833361040b565b9050818110156109d45760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610576565b6109e18333848403611050565b6109eb83836116b0565b505050565b60606005805461048690611c36565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610a995760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610576565b610aa63385858403611050565b5060019392505050565b60006105163384846111a8565b6000546001600160a01b03163314610b175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b610b236012600a611b3e565b610b2d9082611be9565b60085550565b610b3c816113c0565b6106bb336008546115d1565b6007546000906001600160a01b03166370a08231336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610bb457600080fd5b505afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec9190611a57565b905060008167ffffffffffffffff811115610c1757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c40578160200160208202803683370190505b50905060008211610c935760405162461bcd60e51b815260206004820152600f60248201527f4e4f5f544f4b454e535f4f574e454400000000000000000000000000000000006044820152606401610576565b60005b82811015610e8a57600b546000908152600c602052604081206007549091906001600160a01b0316632f745c59336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b0390911660048201526024810186905260440160206040518083038186803b158015610d2257600080fd5b505afa158015610d36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5a9190611a57565b815260208101919091526040016000205460ff16610e4b576007546001600160a01b0316632f745c59336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b0390911660048201526024810184905260440160206040518083038186803b158015610de257600080fd5b505afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a9190611a57565b828281518110610e3a57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610e78565b818181518110610e6b57634e487b7160e01b600052603260045260246000fd5b6020026020010160008152505b80610e8281611c71565b915050610c96565b5060005b8151811015610f0e57818181518110610eb757634e487b7160e01b600052603260045260246000fd5b6020026020010151600014610eee57610ee982828151811061068357634e487b7160e01b600052603260045260246000fd5b610efc565b82610ef881611c1f565b9350505b80610f0681611c71565b915050610e8e565b5060008211610f5f5760405162461bcd60e51b815260206004820152601260248201527f414c4c5f544f4b454e535f434c41494d454400000000000000000000000000006044820152606401610576565b61059133836008546106b69190611be9565b6000546001600160a01b03163314610fcb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b6001600160a01b0381166110475760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610576565b6106bb81611835565b6001600160a01b0383166110cb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b0382166111475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112245760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b0382166112a05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b0383166000908152600160205260409020548181101561132f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611366908490611ae3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113b291815260200190565b60405180910390a350505050565b6007546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810183905282916001600160a01b031690636352211e9060240160206040518083038186803b15801561141d57600080fd5b505afa158015611431573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145591906118c0565b6001600160a01b0316336001600160a01b0316146114b55760405162461bcd60e51b815260206004820152601160248201527f4d5553545f4f574e5f544f4b454e5f49440000000000000000000000000000006044820152606401610576565b8160095481101580156114ca5750600a548111155b6115165760405162461bcd60e51b815260206004820152601560248201527f544f4b454e5f49445f4f55545f4f465f52414e474500000000000000000000006044820152606401610576565b600b546000908152600c60209081526040808320868452909152902054839060ff16156115855760405162461bcd60e51b815260206004820152601960248201527f54494d455f434c41494d45445f464f525f544f4b454e5f4944000000000000006044820152606401610576565b5050600b546000908152600c602090815260408083209483529390529190912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b6001600160a01b0382166116275760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610576565b80600360008282546116399190611ae3565b90915550506001600160a01b03821660009081526001602052604081208054839290611666908490611ae3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03821661172c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b038216600090815260016020526040902054818110156117bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b03831660009081526001602052604081208383039055600380548492906117ea908490611c08565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156118ae578081fd5b81356118b981611cb8565b9392505050565b6000602082840312156118d1578081fd5b81516118b981611cb8565b600080604083850312156118ee578081fd5b82356118f981611cb8565b9150602083013561190981611cb8565b809150509250929050565b600080600060608486031215611928578081fd5b833561193381611cb8565b9250602084013561194381611cb8565b929592945050506040919091013590565b60008060408385031215611966578182fd5b823561197181611cb8565b946020939093013593505050565b60006020808385031215611991578182fd5b823567ffffffffffffffff808211156119a8578384fd5b818501915085601f8301126119bb578384fd5b8135818111156119cd576119cd611ca2565b8060051b604051601f19603f830116810181811085821117156119f2576119f2611ca2565b604052828152858101935084860182860187018a1015611a10578788fd5b8795505b83861015611a32578035855260019590950194938601938601611a14565b5098975050505050505050565b600060208284031215611a50578081fd5b5035919050565b600060208284031215611a68578081fd5b5051919050565b60008060408385031215611a81578182fd5b50508035926020909101359150565b6000602080835283518082850152825b81811015611abc57858101830151858201604001528201611aa0565b81811115611acd5783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115611af657611af6611c8c565b500190565b600181815b80851115611b36578160001904821115611b1c57611b1c611c8c565b80851615611b2957918102915b93841c9390800290611b00565b509250929050565b60006118b960ff841683600082611b575750600161051a565b81611b645750600061051a565b8160018114611b7a5760028114611b8457611ba0565b600191505061051a565b60ff841115611b9557611b95611c8c565b50506001821b61051a565b5060208310610133831016604e8410600b8410161715611bc3575081810a61051a565b611bcd8383611afb565b8060001904821115611be157611be1611c8c565b029392505050565b6000816000190483118215151615611c0357611c03611c8c565b500290565b600082821015611c1a57611c1a611c8c565b500390565b600081611c2e57611c2e611c8c565b506000190190565b600181811c90821680611c4a57607f821691505b60208210811415611c6b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611c8557611c85611c8c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106bb57600080fdfea26469706673582212207d824cbffd3cbeb5a8d22f49583d47a49d7cb7669b997e8e6f1873caaf33788064736f6c634300080400330000000000000000000000007afe30cb3e53dba6801aa0ea647a0ecea7cbe18d00000000000000000000000096f47d56f25d2ba629db1f55db0517dee67640e1

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80634da7808a1161010f578063a9059cbb116100a2578063cbf0b27611610071578063cbf0b276146103f5578063dd62ed3e146103fd578063e5e808cb14610436578063f2fde38b1461046457600080fd5b8063a9059cbb146103b3578063abc63475146103c6578063becf7741146103d9578063c50b0fb0146103ec57600080fd5b806379cc6790116100de57806379cc6790146103745780638da5cb5b1461038757806395d89b4114610398578063a457c2d7146103a057600080fd5b80634da7808a1461031d57806362759f6c1461033057806370a0823114610343578063715018a61461036c57600080fd5b80632a3890621161018757806340ab433c1161015657806340ab433c146102db57806342966c68146102ee57806342e473151461030157806343f428021461031457600080fd5b80632a3890621461029d5780632c34d65c146102a6578063313ce567146102b957806339509351146102c857600080fd5b80630b2e1fcc116101c35780630b2e1fcc1461024257806318160ddd1461025757806322036f6c1461025f57806323b872dd1461028a57600080fd5b806306fdde03146101ea578063089e601814610208578063095ea7b31461021f575b600080fd5b6101f2610477565b6040516101ff9190611a90565b60405180910390f35b61021160085481565b6040519081526020016101ff565b61023261022d366004611954565b610509565b60405190151581526020016101ff565b610255610250366004611a6f565b610520565b005b600354610211565b600654610272906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b610232610298366004611914565b610595565b61021160095481565b6102556102b436600461197f565b610654565b604051601281526020016101ff565b6102326102d6366004611954565b6106be565b6102556102e936600461189d565b6106fa565b6102556102fc366004611a3f565b610798565b61025561030f366004611a3f565b6107a2565b610211600a5481565b61025561032b366004611a6f565b610801565b61025561033e366004611a3f565b610866565b61021161035136600461189d565b6001600160a01b031660009081526001602052604090205490565b6102556108eb565b610255610382366004611954565b610951565b6000546001600160a01b0316610272565b6101f26109f0565b6102326103ae366004611954565b6109ff565b6102326103c1366004611954565b610ab0565b6102556103d4366004611a3f565b610abd565b6102556103e7366004611a3f565b610b33565b610211600b5481565b610255610b48565b61021161040b3660046118dc565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610232610444366004611a6f565b600c60209081526000928352604080842090915290825290205460ff1681565b61025561047236600461189d565b610f71565b60606004805461048690611c36565b80601f01602080910402602001604051908101604052809291908181526020018280546104b290611c36565b80156104ff5780601f106104d4576101008083540402835291602001916104ff565b820191906000526020600020905b8154815290600101906020018083116104e257829003601f168201915b5050505050905090565b6000610516338484611050565b5060015b92915050565b6000546001600160a01b0316331461057f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610588826107a2565b61059181610abd565b5050565b60006105a28484846111a8565b6001600160a01b03841660009081526002602090815260408083203384529091529020548281101561063c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610576565b6106498533858403611050565b506001949350505050565b60005b81518110156106a25761069082828151811061068357634e487b7160e01b600052603260045260246000fd5b60200260200101516113c0565b8061069a81611c71565b915050610657565b506106bb3382516008546106b69190611be9565b6115d1565b50565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105169185906106f5908690611ae3565b611050565b6000546001600160a01b031633146107545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b600680546001600160a01b039092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316811790915560078054909216179055565b6106bb33826116b0565b6000546001600160a01b031633146107fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b600b55565b6000546001600160a01b0316331461085b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b600991909155600a55565b6000546001600160a01b031633146108c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b6106bb6108d56000546001600160a01b031690565b6108e16012600a611b3e565b6106b69084611be9565b6000546001600160a01b031633146109455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b61094f6000611835565b565b600061095d833361040b565b9050818110156109d45760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610576565b6109e18333848403611050565b6109eb83836116b0565b505050565b60606005805461048690611c36565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610a995760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610576565b610aa63385858403611050565b5060019392505050565b60006105163384846111a8565b6000546001600160a01b03163314610b175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b610b236012600a611b3e565b610b2d9082611be9565b60085550565b610b3c816113c0565b6106bb336008546115d1565b6007546000906001600160a01b03166370a08231336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610bb457600080fd5b505afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec9190611a57565b905060008167ffffffffffffffff811115610c1757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c40578160200160208202803683370190505b50905060008211610c935760405162461bcd60e51b815260206004820152600f60248201527f4e4f5f544f4b454e535f4f574e454400000000000000000000000000000000006044820152606401610576565b60005b82811015610e8a57600b546000908152600c602052604081206007549091906001600160a01b0316632f745c59336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b0390911660048201526024810186905260440160206040518083038186803b158015610d2257600080fd5b505afa158015610d36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5a9190611a57565b815260208101919091526040016000205460ff16610e4b576007546001600160a01b0316632f745c59336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b0390911660048201526024810184905260440160206040518083038186803b158015610de257600080fd5b505afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a9190611a57565b828281518110610e3a57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610e78565b818181518110610e6b57634e487b7160e01b600052603260045260246000fd5b6020026020010160008152505b80610e8281611c71565b915050610c96565b5060005b8151811015610f0e57818181518110610eb757634e487b7160e01b600052603260045260246000fd5b6020026020010151600014610eee57610ee982828151811061068357634e487b7160e01b600052603260045260246000fd5b610efc565b82610ef881611c1f565b9350505b80610f0681611c71565b915050610e8e565b5060008211610f5f5760405162461bcd60e51b815260206004820152601260248201527f414c4c5f544f4b454e535f434c41494d454400000000000000000000000000006044820152606401610576565b61059133836008546106b69190611be9565b6000546001600160a01b03163314610fcb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610576565b6001600160a01b0381166110475760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610576565b6106bb81611835565b6001600160a01b0383166110cb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b0382166111475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112245760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b0382166112a05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b0383166000908152600160205260409020548181101561132f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611366908490611ae3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113b291815260200190565b60405180910390a350505050565b6007546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810183905282916001600160a01b031690636352211e9060240160206040518083038186803b15801561141d57600080fd5b505afa158015611431573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145591906118c0565b6001600160a01b0316336001600160a01b0316146114b55760405162461bcd60e51b815260206004820152601160248201527f4d5553545f4f574e5f544f4b454e5f49440000000000000000000000000000006044820152606401610576565b8160095481101580156114ca5750600a548111155b6115165760405162461bcd60e51b815260206004820152601560248201527f544f4b454e5f49445f4f55545f4f465f52414e474500000000000000000000006044820152606401610576565b600b546000908152600c60209081526040808320868452909152902054839060ff16156115855760405162461bcd60e51b815260206004820152601960248201527f54494d455f434c41494d45445f464f525f544f4b454e5f4944000000000000006044820152606401610576565b5050600b546000908152600c602090815260408083209483529390529190912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b6001600160a01b0382166116275760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610576565b80600360008282546116399190611ae3565b90915550506001600160a01b03821660009081526001602052604081208054839290611666908490611ae3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03821661172c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b038216600090815260016020526040902054818110156117bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610576565b6001600160a01b03831660009081526001602052604081208383039055600380548492906117ea908490611c08565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156118ae578081fd5b81356118b981611cb8565b9392505050565b6000602082840312156118d1578081fd5b81516118b981611cb8565b600080604083850312156118ee578081fd5b82356118f981611cb8565b9150602083013561190981611cb8565b809150509250929050565b600080600060608486031215611928578081fd5b833561193381611cb8565b9250602084013561194381611cb8565b929592945050506040919091013590565b60008060408385031215611966578182fd5b823561197181611cb8565b946020939093013593505050565b60006020808385031215611991578182fd5b823567ffffffffffffffff808211156119a8578384fd5b818501915085601f8301126119bb578384fd5b8135818111156119cd576119cd611ca2565b8060051b604051601f19603f830116810181811085821117156119f2576119f2611ca2565b604052828152858101935084860182860187018a1015611a10578788fd5b8795505b83861015611a32578035855260019590950194938601938601611a14565b5098975050505050505050565b600060208284031215611a50578081fd5b5035919050565b600060208284031215611a68578081fd5b5051919050565b60008060408385031215611a81578182fd5b50508035926020909101359150565b6000602080835283518082850152825b81811015611abc57858101830151858201604001528201611aa0565b81811115611acd5783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115611af657611af6611c8c565b500190565b600181815b80851115611b36578160001904821115611b1c57611b1c611c8c565b80851615611b2957918102915b93841c9390800290611b00565b509250929050565b60006118b960ff841683600082611b575750600161051a565b81611b645750600061051a565b8160018114611b7a5760028114611b8457611ba0565b600191505061051a565b60ff841115611b9557611b95611c8c565b50506001821b61051a565b5060208310610133831016604e8410600b8410161715611bc3575081810a61051a565b611bcd8383611afb565b8060001904821115611be157611be1611c8c565b029392505050565b6000816000190483118215151615611c0357611c03611c8c565b500290565b600082821015611c1a57611c1a611c8c565b500390565b600081611c2e57611c2e611c8c565b506000190190565b600181811c90821680611c4a57607f821691505b60208210811415611c6b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611c8557611c85611c8c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106bb57600080fdfea26469706673582212207d824cbffd3cbeb5a8d22f49583d47a49d7cb7669b997e8e6f1873caaf33788064736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000007afe30cb3e53dba6801aa0ea647a0ecea7cbe18d00000000000000000000000096f47d56f25d2ba629db1f55db0517dee67640e1

-----Decoded View---------------
Arg [0] : _CurrentSeasonContractAddress (address): 0x7AFe30cB3E53dba6801aa0EA647A0EcEA7cBe18d
Arg [1] : _genesisDaoAddress (address): 0x96f47d56F25D2bA629db1F55db0517deE67640e1

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007afe30cb3e53dba6801aa0ea647a0ecea7cbe18d
Arg [1] : 00000000000000000000000096f47d56f25d2ba629db1f55db0517dee67640e1


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Adventure Time ($ATIME) is a resource (ERC-20 utility token) to be used in the games ahead. In harmony with other Loot-inspired utility tokens like $AGLD that may be used as the currency of the Lootverse, $ATIME will be used to 'manipulate time' in the quests ahead, and across the wider ecosystem.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.