Goerli Testnet

Token

ERC-1155

Overview

Max Total Supply

0

Holders

2,896

Market

Fully Diluted Market Cap

$0.00

Circulating Supply Market Cap

-
0xc46acd984536f2ca378fd6c64008473bb0f83553
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AMfersSeasonBanners

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 13 : amfers-seasons-banner.sol
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "./season.sol";

contract AMfersSeasonBanners is ERC1155Supply, Ownable {
    uint256[] public maxSupply;
    uint256[] public minted;
    uint public numVariants;

    address public seasonControllerAddr = 0x864E5dEECbb8f57279281AD26741BC799dA77504;

    constructor() public ERC1155("https://placeholder.com/{id}.json") {
        // initialize maxSupply for 6 banner variants
        numVariants = 6;

        // 0 - 4,800 Fire Tribe
        // 1 - 200   Fire Tribe Spirit
        // 2 - 3,500 Water Tribe
        // 3 - 150   Water Tribe Spirit
        // 4 - 1300  Monk Tribe
        // 5 - 50    Monk Tribe Spirit
        maxSupply = [4800, 200, 3500, 150, 1300, 50];

        // keep tracking number of tokens minted
        minted = new uint256[](numVariants);
    }

    /**
     * @dev metadata URI, ERC-1155 format: https://token-cdn-domain/{id}.json
     * metadata includes a set of URI for 4 seasons that will be switched based on block.timestamp (IRL time).
     * season is retrieved via DateTime contract that returns 4 possible values: 0 - Spring, 1 - Summer, 2 - Autumn, 3 - Winter
     */
    mapping(uint => string) public seasonURIMap;

    function setSeasonURI(uint season, string memory newURI) public onlyOwner {
        seasonURIMap[season] = newURI;
    }

    function setSeasonControllerAddr(address newAddr) public onlyOwner {
        seasonControllerAddr = newAddr;
    }

    function uri(uint256) public view virtual override returns (string memory) {
        uint season = Season(seasonControllerAddr).getCurrentSeason();
        return seasonURIMap[season];
    }
    
    /**
     * @dev Configure airdrop allocations.
     * `allocations` are randomly generated off-chain before upload to on-chain.
     */
    uint256 public processedReceiptmentCount = 0;
    address[] public receiptments;
    mapping(address => uint256[]) public allocationMap;

    function setAirdropAllocations(address[] memory addresses, uint256[][] memory allocations) public onlyOwner {
        require(
            addresses.length == allocations.length,
            "addresses does not match numSlots length"
        );
        
        for (uint256 i = 0; i < addresses.length; i++) {
            address receiptment = addresses[i];
            uint256[] memory allocation = allocations[i];

            require(
                allocation.length == numVariants,
                "allocation length does not match numVariants"
            );

            if (allocationMap[receiptment].length == 0) {
                receiptments.push(receiptment);
            }

            // Override if exist
            allocationMap[receiptment] = allocation;
        }
    }

    function allocationSlots(uint256 id) public view returns (uint256) {
        uint256 slots = 0;
        for (uint256 i = 0; i < receiptments.length; i++) {
            address receiptment = receiptments[i];
            uint256[] memory allocation = allocationMap[receiptment];

            slots += allocation[id];
        }

        return slots;
    }

    function batchAirdrop(uint256 batchSize) public onlyOwner {
        uint256 actualSize = Math.min(batchSize, receiptments.length - processedReceiptmentCount);
        require(
            actualSize > 0,
            "no more receiptments to airdrop"
        );

        for (uint256 i = 0; i < actualSize; i++) {
            address receiptment = receiptments[processedReceiptmentCount + i];
            doAirdrop(receiptment);
        }

        processedReceiptmentCount += actualSize;
    }

    function doAirdrop(address addr) public onlyOwner {
        uint256[] memory allocation = allocationMap[addr];

        for (uint8 i = 0; i < allocation.length; i++) {
            uint256 amount = allocation[i];
            if (amount == 0) {
                continue;
            }

            require(
                minted[i] + amount <= maxSupply[i], 
                "Exceeded max token supply"
            );

            _mint(addr, i, amount, "");

            minted[i] += amount;
        }
    }

    /**
     * @dev Expose burn method for future use-case
     */
    function burn(address from, uint256 id, uint256 amount) public {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        _burn(from, id, amount);
    }

    function burnBatch(address from, uint256[] memory ids, uint256[] memory amounts) public {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        _burnBatch(from, ids, amounts);
    }
}

File 2 of 13 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC1155).interfaceId ||
            interfaceId == type(IERC1155MetadataURI).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 3 of 13 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

File 4 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 13 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

File 6 of 13 : season.sol
pragma solidity ^0.8.4;

contract Season {
        function getCurrentSeason() public view returns(uint) {
            uint8 month = getMonth(block.timestamp);

            if (_isWithinRange(1, 3, month)) {
                return 0;
            } else if (_isWithinRange(4, 6, month)) {
                return 1;
            } else if (_isWithinRange(7, 9, month)) {
                return 2;
            } else if (_isWithinRange(10, 12, month)) {
                return 3;
            }

            return 0;
        }

        function _isWithinRange(uint256 low, uint256 high, uint256 candidate) private pure returns (bool) {
            return (candidate >= low) && (candidate <= high);
        }

        /*
         *  Date and Time utilities for ethereum contracts
         *
         */
        struct _DateTime {
                uint16 year;
                uint8 month;
                uint8 day;
                uint8 hour;
                uint8 minute;
                uint8 second;
                uint8 weekday;
        }

        uint constant DAY_IN_SECONDS = 86400;
        uint constant YEAR_IN_SECONDS = 31536000;
        uint constant LEAP_YEAR_IN_SECONDS = 31622400;

        uint constant HOUR_IN_SECONDS = 3600;
        uint constant MINUTE_IN_SECONDS = 60;

        uint16 constant ORIGIN_YEAR = 1970;

        function isLeapYear(uint16 year) public pure returns (bool) {
                if (year % 4 != 0) {
                        return false;
                }
                if (year % 100 != 0) {
                        return true;
                }
                if (year % 400 != 0) {
                        return false;
                }
                return true;
        }

        function leapYearsBefore(uint year) public pure returns (uint) {
                year -= 1;
                return year / 4 - year / 100 + year / 400;
        }

        function getDaysInMonth(uint8 month, uint16 year) public pure returns (uint8) {
                if (month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12) {
                        return 31;
                }
                else if (month == 4 || month == 6 || month == 9 || month == 11) {
                        return 30;
                }
                else if (isLeapYear(year)) {
                        return 29;
                }
                else {
                        return 28;
                }
        }

        function parseTimestamp(uint timestamp) internal pure returns (_DateTime memory dt) {
                uint secondsAccountedFor = 0;
                uint buf;
                uint8 i;

                // Year
                dt.year = getYear(timestamp);
                buf = leapYearsBefore(dt.year) - leapYearsBefore(ORIGIN_YEAR);

                secondsAccountedFor += LEAP_YEAR_IN_SECONDS * buf;
                secondsAccountedFor += YEAR_IN_SECONDS * (dt.year - ORIGIN_YEAR - buf);

                // Month
                uint secondsInMonth;
                for (i = 1; i <= 12; i++) {
                        secondsInMonth = DAY_IN_SECONDS * getDaysInMonth(i, dt.year);
                        if (secondsInMonth + secondsAccountedFor > timestamp) {
                                dt.month = i;
                                break;
                        }
                        secondsAccountedFor += secondsInMonth;
                }

                // Day
                for (i = 1; i <= getDaysInMonth(dt.month, dt.year); i++) {
                        if (DAY_IN_SECONDS + secondsAccountedFor > timestamp) {
                                dt.day = i;
                                break;
                        }
                        secondsAccountedFor += DAY_IN_SECONDS;
                }

                // Hour
                dt.hour = getHour(timestamp);

                // Minute
                dt.minute = getMinute(timestamp);

                // Second
                dt.second = getSecond(timestamp);

                // Day of week.
                dt.weekday = getWeekday(timestamp);
        }

        function getYear(uint timestamp) public pure returns (uint16) {
                uint secondsAccountedFor = 0;
                uint16 year;
                uint numLeapYears;

                // Year
                year = uint16(ORIGIN_YEAR + timestamp / YEAR_IN_SECONDS);
                numLeapYears = leapYearsBefore(year) - leapYearsBefore(ORIGIN_YEAR);

                secondsAccountedFor += LEAP_YEAR_IN_SECONDS * numLeapYears;
                secondsAccountedFor += YEAR_IN_SECONDS * (year - ORIGIN_YEAR - numLeapYears);

                while (secondsAccountedFor > timestamp) {
                        if (isLeapYear(uint16(year - 1))) {
                                secondsAccountedFor -= LEAP_YEAR_IN_SECONDS;
                        }
                        else {
                                secondsAccountedFor -= YEAR_IN_SECONDS;
                        }
                        year -= 1;
                }
                return year;
        }

        function getMonth(uint timestamp) public pure returns (uint8) {
                return parseTimestamp(timestamp).month;
        }

        function getDay(uint timestamp) public pure returns (uint8) {
                return parseTimestamp(timestamp).day;
        }

        function getHour(uint timestamp) public pure returns (uint8) {
                return uint8((timestamp / 60 / 60) % 24);
        }

        function getMinute(uint timestamp) public pure returns (uint8) {
                return uint8((timestamp / 60) % 60);
        }

        function getSecond(uint timestamp) public pure returns (uint8) {
                return uint8(timestamp % 60);
        }

        function getWeekday(uint timestamp) public pure returns (uint8) {
                return uint8((timestamp / DAY_IN_SECONDS + 4) % 7);
        }

        function toTimestamp(uint16 year, uint8 month, uint8 day) public pure returns (uint timestamp) {
                return toTimestamp(year, month, day, 0, 0, 0);
        }

        function toTimestamp(uint16 year, uint8 month, uint8 day, uint8 hour) public pure returns (uint timestamp) {
                return toTimestamp(year, month, day, hour, 0, 0);
        }

        function toTimestamp(uint16 year, uint8 month, uint8 day, uint8 hour, uint8 minute) public pure returns (uint timestamp) {
                return toTimestamp(year, month, day, hour, minute, 0);
        }

        function toTimestamp(uint16 year, uint8 month, uint8 day, uint8 hour, uint8 minute, uint8 second) public pure returns (uint timestamp) {
                uint16 i;

                // Year
                for (i = ORIGIN_YEAR; i < year; i++) {
                        if (isLeapYear(i)) {
                                timestamp += LEAP_YEAR_IN_SECONDS;
                        }
                        else {
                                timestamp += YEAR_IN_SECONDS;
                        }
                }

                // Month
                uint8[12] memory monthDayCounts;
                monthDayCounts[0] = 31;
                if (isLeapYear(year)) {
                        monthDayCounts[1] = 29;
                }
                else {
                        monthDayCounts[1] = 28;
                }
                monthDayCounts[2] = 31;
                monthDayCounts[3] = 30;
                monthDayCounts[4] = 31;
                monthDayCounts[5] = 30;
                monthDayCounts[6] = 31;
                monthDayCounts[7] = 31;
                monthDayCounts[8] = 30;
                monthDayCounts[9] = 31;
                monthDayCounts[10] = 30;
                monthDayCounts[11] = 31;

                for (i = 1; i < month; i++) {
                        timestamp += DAY_IN_SECONDS * monthDayCounts[i - 1];
                }

                // Day
                timestamp += DAY_IN_SECONDS * (day - 1);

                // Hour
                timestamp += HOUR_IN_SECONDS * (hour);

                // Minute
                timestamp += MINUTE_IN_SECONDS * (minute);

                // Second
                timestamp += second;

                return timestamp;
        }
}

File 7 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 8 of 13 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 13 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"allocationMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"allocationSlots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"batchSize","type":"uint256"}],"name":"batchAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"doAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numVariants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"processedReceiptmentCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"receiptments","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seasonControllerAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"seasonURIMap","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[][]","name":"allocations","type":"uint256[][]"}],"name":"setAirdropAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddr","type":"address"}],"name":"setSeasonControllerAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"season","type":"uint256"},{"internalType":"string","name":"newURI","type":"string"}],"name":"setSeasonURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

Contract Creation Code

608060405273864e5deecbb8f57279281ad26741bc799da77504600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600a553480156200006b57600080fd5b506040518060600160405280602181526020016200517c602191396200009781620001b260201b60201c565b50620000b8620000ac620001ce60201b60201c565b620001d660201b60201c565b60066007819055506040518060c001604052806112c061ffff16815260200160c861ffff168152602001610dac61ffff168152602001609661ffff16815260200161051461ffff168152602001603261ffff168152506005906006620001209291906200029c565b5060075467ffffffffffffffff81111562000164577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015620001935781602001602082028036833780820191505090505b5060069080519060200190620001ab929190620002f4565b506200045b565b8060029080519060200190620001ca92919062000346565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054828255906000526020600020908101928215620002e1579160200282015b82811115620002e0578251829061ffff16905591602001919060010190620002bd565b5b509050620002f09190620003d7565b5090565b82805482825590600052602060002090810192821562000333579160200282015b828111156200033257825182559160200191906001019062000315565b5b509050620003429190620003d7565b5090565b8280546200035490620003f6565b90600052602060002090601f016020900481019282620003785760008555620003c4565b82601f106200039357805160ff1916838001178555620003c4565b82800160010185558215620003c4579182015b82811115620003c3578251825591602001919060010190620003a6565b5b509050620003d39190620003d7565b5090565b5b80821115620003f2576000816000905550600101620003d8565b5090565b600060028204905060018216806200040f57607f821691505b602082108114156200042657620004256200042c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614d11806200046b6000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c80636b79d05911610104578063a22cb465116100a2578063f242432a11610071578063f242432a14610587578063f2fde38b146105a3578063f5298aca146105bf578063f83a06f2146105db576101ce565b8063a22cb465146104ef578063bd85b0391461050b578063e8f0397d1461053b578063e985e9c514610557576101ce565b80637dc0bf3f116100de5780637dc0bf3f14610441578063869f75941461047157806388af83b7146104a15780638da5cb5b146104d1576101ce565b80636b79d059146103ff578063715018a61461041b5780637325162814610425576101ce565b80633e170d9b116101715780634f558e791161014b5780634f558e791461036757806354e726ed1461039757806362912789146103b35780636b20c454146103e3576101ce565b80633e170d9b146102fb5780633f74f50c146103195780634e1273f414610337576101ce565b80631352abad116101ad5780631352abad1461026357806322e15df41461029357806325fc0da9146102af5780632eb2c2d6146102df576101ce565b8062fdd58e146101d357806301ffc9a7146102035780630e89341c14610233575b600080fd5b6101ed60048036038101906101e891906137e3565b6105f9565b6040516101fa91906141ce565b60405180910390f35b61021d60048036038101906102189190613946565b6106c2565b60405161022a9190613f31565b60405180910390f35b61024d60048036038101906102489190613998565b6107a4565b60405161025a9190613f4c565b60405180910390f35b61027d60048036038101906102789190613998565b6108ee565b60405161028a9190613f4c565b60405180910390f35b6102ad60048036038101906102a89190613998565b61098e565b005b6102c960048036038101906102c49190613998565b610b29565b6040516102d691906141ce565b60405180910390f35b6102f960048036038101906102f491906135da565b610ca8565b005b610303610d49565b6040516103109190613dfb565b60405180910390f35b610321610d6f565b60405161032e91906141ce565b60405180910390f35b610351600480360381019061034c91906138da565b610d75565b60405161035e9190613ed8565b60405180910390f35b610381600480360381019061037c9190613998565b610f26565b60405161038e9190613f31565b60405180910390f35b6103b160048036038101906103ac9190613575565b610f3a565b005b6103cd60048036038101906103c891906137e3565b610ffa565b6040516103da91906141ce565b60405180910390f35b6103fd60048036038101906103f89190613728565b61102b565b005b6104196004803603810190610414919061386e565b6110c8565b005b610423611380565b005b61043f600480360381019061043a9190613575565b611408565b005b61045b60048036038101906104569190613998565b6116ee565b60405161046891906141ce565b60405180910390f35b61048b60048036038101906104869190613998565b611712565b60405161049891906141ce565b60405180910390f35b6104bb60048036038101906104b69190613998565b611736565b6040516104c89190613dfb565b60405180910390f35b6104d9611775565b6040516104e69190613dfb565b60405180910390f35b610509600480360381019061050491906137a7565b61179f565b005b61052560048036038101906105209190613998565b6117b5565b60405161053291906141ce565b60405180910390f35b610555600480360381019061055091906139ea565b6117d2565b005b610571600480360381019061056c919061359e565b61187a565b60405161057e9190613f31565b60405180910390f35b6105a1600480360381019061059c9190613699565b61190e565b005b6105bd60048036038101906105b89190613575565b6119af565b005b6105d960048036038101906105d4919061381f565b611aa7565b005b6105e3611b44565b6040516105f091906141ce565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561066a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066190613fae565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078d57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061079d575061079c82611b4a565b5b9050919050565b60606000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d3b30b756040518163ffffffff1660e01b815260040160206040518083038186803b15801561081057600080fd5b505afa158015610824573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084891906139c1565b9050600960008281526020019081526020016000208054610868906144db565b80601f0160208091040260200160405190810160405280929190818152602001828054610894906144db565b80156108e15780601f106108b6576101008083540402835291602001916108e1565b820191906000526020600020905b8154815290600101906020018083116108c457829003601f168201915b5050505050915050919050565b6009602052806000526040600020600091509050805461090d906144db565b80601f0160208091040260200160405190810160405280929190818152602001828054610939906144db565b80156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b505050505081565b610996611bb4565b73ffffffffffffffffffffffffffffffffffffffff166109b4611775565b73ffffffffffffffffffffffffffffffffffffffff1614610a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a01906140ee565b60405180910390fd5b6000610a2882600a54600b80549050610a2391906143e4565b611bbc565b905060008111610a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a649061402e565b60405180910390fd5b60005b81811015610b0b576000600b82600a54610a8a919061438e565b81548110610ac1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050610af781611408565b508080610b039061453e565b915050610a70565b5080600a6000828254610b1e919061438e565b925050819055505050565b6000806000905060005b600b80549050811015610c9e576000600b8281548110610b7c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610c3457602002820191906000526020600020905b815481526020019060010190808311610c20575b50505050509050808681518110610c74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015184610c87919061438e565b935050508080610c969061453e565b915050610b33565b5080915050919050565b610cb0611bb4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610cf65750610cf585610cf0611bb4565b61187a565b5b610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c9061406e565b60405180910390fd5b610d428585858585611bd5565b5050505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b60608151835114610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db29061414e565b60405180910390fd5b6000835167ffffffffffffffff811115610dfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e2c5781602001602082028036833780820191505090505b50905060005b8451811015610f1b57610ec5858281518110610e77577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610eb8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516105f9565b828281518110610efe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610f149061453e565b9050610e32565b508091505092915050565b600080610f32836117b5565b119050919050565b610f42611bb4565b73ffffffffffffffffffffffffffffffffffffffff16610f60611775565b73ffffffffffffffffffffffffffffffffffffffff1614610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad906140ee565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c602052816000526040600020818154811061101657600080fd5b90600052602060002001600091509150505481565b611033611bb4565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611079575061107883611073611bb4565b61187a565b5b6110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af9061406e565b60405180910390fd5b6110c3838383611f35565b505050565b6110d0611bb4565b73ffffffffffffffffffffffffffffffffffffffff166110ee611775565b73ffffffffffffffffffffffffffffffffffffffff1614611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b906140ee565b60405180910390fd5b8051825114611188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117f906141ae565b60405180910390fd5b60005b825181101561137b5760008382815181106111cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000838381518110611214577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600754815114611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a9061408e565b60405180910390fd5b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050141561131257600b829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020908051906020019061136592919061315b565b50505080806113739061453e565b91505061118b565b505050565b611388611bb4565b73ffffffffffffffffffffffffffffffffffffffff166113a6611775565b73ffffffffffffffffffffffffffffffffffffffff16146113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f3906140ee565b60405180910390fd5b6114066000612232565b565b611410611bb4565b73ffffffffffffffffffffffffffffffffffffffff1661142e611775565b73ffffffffffffffffffffffffffffffffffffffff1614611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147b906140ee565b60405180910390fd5b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561150f57602002820191906000526020600020905b8154815260200190600101908083116114fb575b5050505050905060005b81518160ff1610156116e9576000828260ff1681518110611563577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600081141561157c57506116d6565b60058260ff16815481106115b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001548160068460ff1681548110611602577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154611617919061438e565b1115611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f9061410e565b60405180910390fd5b611676848360ff1683604051806020016040528060008152506122f8565b8060068360ff16815481106116b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160008282546116cd919061438e565b92505081905550505b80806116e190614587565b915050611519565b505050565b600681815481106116fe57600080fd5b906000526020600020016000915090505481565b6005818154811061172257600080fd5b906000526020600020016000915090505481565b600b818154811061174657600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117b16117aa611bb4565b838361248e565b5050565b600060036000838152602001908152602001600020549050919050565b6117da611bb4565b73ffffffffffffffffffffffffffffffffffffffff166117f8611775565b73ffffffffffffffffffffffffffffffffffffffff161461184e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611845906140ee565b60405180910390fd5b806009600084815260200190815260200160002090805190602001906118759291906131a8565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611916611bb4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061195c575061195b85611956611bb4565b61187a565b5b61199b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119929061400e565b60405180910390fd5b6119a885858585856125fb565b5050505050565b6119b7611bb4565b73ffffffffffffffffffffffffffffffffffffffff166119d5611775565b73ffffffffffffffffffffffffffffffffffffffff1614611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a22906140ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9290613fce565b60405180910390fd5b611aa481612232565b50565b611aaf611bb4565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611af55750611af483611aef611bb4565b61187a565b5b611b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2b9061406e565b60405180910390fd5b611b3f83838361287d565b505050565b60075481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000818310611bcb5781611bcd565b825b905092915050565b8151835114611c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c109061416e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c809061404e565b60405180910390fd5b6000611c93611bb4565b9050611ca3818787878787612a9a565b60005b8451811015611ea0576000858281518110611cea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611d2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906140ce565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e85919061438e565b9250508190555050505080611e999061453e565b9050611ca6565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611f17929190613efa565b60405180910390a4611f2d818787878787612cac565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9c906140ae565b60405180910390fd5b8051825114611fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe09061416e565b60405180910390fd5b6000611ff3611bb4565b905061201381856000868660405180602001604052806000815250612a9a565b60005b83518110156121ac57600084828151811061205a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600084838151811061209f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213790613fee565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806121a49061453e565b915050612016565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612224929190613efa565b60405180910390a450505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235f9061418e565b60405180910390fd5b6000612372611bb4565b90506123938160008761238488612e93565b61238d88612e93565b87612a9a565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123f2919061438e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516124709291906141e9565b60405180910390a461248781600087878787612f59565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f49061412e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125ee9190613f31565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561266b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126629061404e565b60405180910390fd5b6000612675611bb4565b905061269581878761268688612e93565b61268f88612e93565b87612a9a565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561272c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612723906140ce565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e1919061438e565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161285e9291906141e9565b60405180910390a4612874828888888888612f59565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e4906140ae565b60405180910390fd5b60006128f7611bb4565b90506129278185600061290987612e93565b61291287612e93565b60405180602001604052806000815250612a9a565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156129be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b590613fee565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612a8b9291906141e9565b60405180910390a45050505050565b612aa8868686868686613140565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ba65760005b8351811015612ba457828181518110612b22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110612b67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612b8c919061438e565b9250508190555080612b9d9061453e565b9050612ae0565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ca45760005b8351811015612ca257828181518110612c20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110612c65577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612c8a91906143e4565b9250508190555080612c9b9061453e565b9050612bde565b505b505050505050565b612ccb8473ffffffffffffffffffffffffffffffffffffffff16613148565b15612e8b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d11959493929190613e16565b602060405180830381600087803b158015612d2b57600080fd5b505af1925050508015612d5c57506040513d601f19601f82011682018060405250810190612d59919061396f565b60015b612e0257612d6861463e565b806308c379a01415612dc55750612d7d614be9565b80612d885750612dc7565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dbc9190613f4c565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df990613f6e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8090613f8e565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612ed8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612f065781602001602082028036833780820191505090505b5090508281600081518110612f44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612f788473ffffffffffffffffffffffffffffffffffffffff16613148565b15613138578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fbe959493929190613e7e565b602060405180830381600087803b158015612fd857600080fd5b505af192505050801561300957506040513d601f19601f82011682018060405250810190613006919061396f565b60015b6130af5761301561463e565b806308c379a01415613072575061302a614be9565b806130355750613074565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130699190613f4c565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a690613f6e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312d90613f8e565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b828054828255906000526020600020908101928215613197579160200282015b8281111561319657825182559160200191906001019061317b565b5b5090506131a4919061322e565b5090565b8280546131b4906144db565b90600052602060002090601f0160209004810192826131d6576000855561321d565b82601f106131ef57805160ff191683800117855561321d565b8280016001018555821561321d579182015b8281111561321c578251825591602001919060010190613201565b5b50905061322a919061322e565b5090565b5b8082111561324757600081600090555060010161322f565b5090565b600061325e61325984614237565b614212565b9050808382526020820190508285602086028201111561327d57600080fd5b60005b858110156132ad57816132938882613425565b845260208401935060208301925050600181019050613280565b5050509392505050565b60006132ca6132c584614263565b614212565b905080838252602082019050828560208602820111156132e957600080fd5b60005b8581101561333357813567ffffffffffffffff81111561330b57600080fd5b808601613318898261348e565b855260208501945060208401935050506001810190506132ec565b5050509392505050565b600061335061334b8461428f565b614212565b9050808382526020820190508285602086028201111561336f57600080fd5b60005b8581101561339f5781613385888261354b565b845260208401935060208301925050600181019050613372565b5050509392505050565b60006133bc6133b7846142bb565b614212565b9050828152602081018484840111156133d457600080fd5b6133df848285614499565b509392505050565b60006133fa6133f5846142ec565b614212565b90508281526020810184848401111561341257600080fd5b61341d848285614499565b509392505050565b60008135905061343481614c7f565b92915050565b600082601f83011261344b57600080fd5b813561345b84826020860161324b565b91505092915050565b600082601f83011261347557600080fd5b81356134858482602086016132b7565b91505092915050565b600082601f83011261349f57600080fd5b81356134af84826020860161333d565b91505092915050565b6000813590506134c781614c96565b92915050565b6000813590506134dc81614cad565b92915050565b6000815190506134f181614cad565b92915050565b600082601f83011261350857600080fd5b81356135188482602086016133a9565b91505092915050565b600082601f83011261353257600080fd5b81356135428482602086016133e7565b91505092915050565b60008135905061355a81614cc4565b92915050565b60008151905061356f81614cc4565b92915050565b60006020828403121561358757600080fd5b600061359584828501613425565b91505092915050565b600080604083850312156135b157600080fd5b60006135bf85828601613425565b92505060206135d085828601613425565b9150509250929050565b600080600080600060a086880312156135f257600080fd5b600061360088828901613425565b955050602061361188828901613425565b945050604086013567ffffffffffffffff81111561362e57600080fd5b61363a8882890161348e565b935050606086013567ffffffffffffffff81111561365757600080fd5b6136638882890161348e565b925050608086013567ffffffffffffffff81111561368057600080fd5b61368c888289016134f7565b9150509295509295909350565b600080600080600060a086880312156136b157600080fd5b60006136bf88828901613425565b95505060206136d088828901613425565b94505060406136e18882890161354b565b93505060606136f28882890161354b565b925050608086013567ffffffffffffffff81111561370f57600080fd5b61371b888289016134f7565b9150509295509295909350565b60008060006060848603121561373d57600080fd5b600061374b86828701613425565b935050602084013567ffffffffffffffff81111561376857600080fd5b6137748682870161348e565b925050604084013567ffffffffffffffff81111561379157600080fd5b61379d8682870161348e565b9150509250925092565b600080604083850312156137ba57600080fd5b60006137c885828601613425565b92505060206137d9858286016134b8565b9150509250929050565b600080604083850312156137f657600080fd5b600061380485828601613425565b92505060206138158582860161354b565b9150509250929050565b60008060006060848603121561383457600080fd5b600061384286828701613425565b93505060206138538682870161354b565b92505060406138648682870161354b565b9150509250925092565b6000806040838503121561388157600080fd5b600083013567ffffffffffffffff81111561389b57600080fd5b6138a78582860161343a565b925050602083013567ffffffffffffffff8111156138c457600080fd5b6138d085828601613464565b9150509250929050565b600080604083850312156138ed57600080fd5b600083013567ffffffffffffffff81111561390757600080fd5b6139138582860161343a565b925050602083013567ffffffffffffffff81111561393057600080fd5b61393c8582860161348e565b9150509250929050565b60006020828403121561395857600080fd5b6000613966848285016134cd565b91505092915050565b60006020828403121561398157600080fd5b600061398f848285016134e2565b91505092915050565b6000602082840312156139aa57600080fd5b60006139b88482850161354b565b91505092915050565b6000602082840312156139d357600080fd5b60006139e184828501613560565b91505092915050565b600080604083850312156139fd57600080fd5b6000613a0b8582860161354b565b925050602083013567ffffffffffffffff811115613a2857600080fd5b613a3485828601613521565b9150509250929050565b6000613a4a8383613ddd565b60208301905092915050565b613a5f81614418565b82525050565b6000613a708261432d565b613a7a818561435b565b9350613a858361431d565b8060005b83811015613ab6578151613a9d8882613a3e565b9750613aa88361434e565b925050600181019050613a89565b5085935050505092915050565b613acc8161442a565b82525050565b6000613add82614338565b613ae7818561436c565b9350613af78185602086016144a8565b613b0081614660565b840191505092915050565b6000613b1682614343565b613b20818561437d565b9350613b308185602086016144a8565b613b3981614660565b840191505092915050565b6000613b5160348361437d565b9150613b5c8261467e565b604082019050919050565b6000613b7460288361437d565b9150613b7f826146cd565b604082019050919050565b6000613b97602b8361437d565b9150613ba28261471c565b604082019050919050565b6000613bba60268361437d565b9150613bc58261476b565b604082019050919050565b6000613bdd60248361437d565b9150613be8826147ba565b604082019050919050565b6000613c0060298361437d565b9150613c0b82614809565b604082019050919050565b6000613c23601f8361437d565b9150613c2e82614858565b602082019050919050565b6000613c4660258361437d565b9150613c5182614881565b604082019050919050565b6000613c6960328361437d565b9150613c74826148d0565b604082019050919050565b6000613c8c602c8361437d565b9150613c978261491f565b604082019050919050565b6000613caf60238361437d565b9150613cba8261496e565b604082019050919050565b6000613cd2602a8361437d565b9150613cdd826149bd565b604082019050919050565b6000613cf560208361437d565b9150613d0082614a0c565b602082019050919050565b6000613d1860198361437d565b9150613d2382614a35565b602082019050919050565b6000613d3b60298361437d565b9150613d4682614a5e565b604082019050919050565b6000613d5e60298361437d565b9150613d6982614aad565b604082019050919050565b6000613d8160288361437d565b9150613d8c82614afc565b604082019050919050565b6000613da460218361437d565b9150613daf82614b4b565b604082019050919050565b6000613dc760288361437d565b9150613dd282614b9a565b604082019050919050565b613de681614482565b82525050565b613df581614482565b82525050565b6000602082019050613e106000830184613a56565b92915050565b600060a082019050613e2b6000830188613a56565b613e386020830187613a56565b8181036040830152613e4a8186613a65565b90508181036060830152613e5e8185613a65565b90508181036080830152613e728184613ad2565b90509695505050505050565b600060a082019050613e936000830188613a56565b613ea06020830187613a56565b613ead6040830186613dec565b613eba6060830185613dec565b8181036080830152613ecc8184613ad2565b90509695505050505050565b60006020820190508181036000830152613ef28184613a65565b905092915050565b60006040820190508181036000830152613f148185613a65565b90508181036020830152613f288184613a65565b90509392505050565b6000602082019050613f466000830184613ac3565b92915050565b60006020820190508181036000830152613f668184613b0b565b905092915050565b60006020820190508181036000830152613f8781613b44565b9050919050565b60006020820190508181036000830152613fa781613b67565b9050919050565b60006020820190508181036000830152613fc781613b8a565b9050919050565b60006020820190508181036000830152613fe781613bad565b9050919050565b6000602082019050818103600083015261400781613bd0565b9050919050565b6000602082019050818103600083015261402781613bf3565b9050919050565b6000602082019050818103600083015261404781613c16565b9050919050565b6000602082019050818103600083015261406781613c39565b9050919050565b6000602082019050818103600083015261408781613c5c565b9050919050565b600060208201905081810360008301526140a781613c7f565b9050919050565b600060208201905081810360008301526140c781613ca2565b9050919050565b600060208201905081810360008301526140e781613cc5565b9050919050565b6000602082019050818103600083015261410781613ce8565b9050919050565b6000602082019050818103600083015261412781613d0b565b9050919050565b6000602082019050818103600083015261414781613d2e565b9050919050565b6000602082019050818103600083015261416781613d51565b9050919050565b6000602082019050818103600083015261418781613d74565b9050919050565b600060208201905081810360008301526141a781613d97565b9050919050565b600060208201905081810360008301526141c781613dba565b9050919050565b60006020820190506141e36000830184613dec565b92915050565b60006040820190506141fe6000830185613dec565b61420b6020830184613dec565b9392505050565b600061421c61422d565b9050614228828261450d565b919050565b6000604051905090565b600067ffffffffffffffff8211156142525761425161460f565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561427e5761427d61460f565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142aa576142a961460f565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142d6576142d561460f565b5b6142df82614660565b9050602081019050919050565b600067ffffffffffffffff8211156143075761430661460f565b5b61431082614660565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061439982614482565b91506143a483614482565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143d9576143d86145b1565b5b828201905092915050565b60006143ef82614482565b91506143fa83614482565b92508282101561440d5761440c6145b1565b5b828203905092915050565b600061442382614462565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156144c65780820151818401526020810190506144ab565b838111156144d5576000848401525b50505050565b600060028204905060018216806144f357607f821691505b60208210811415614507576145066145e0565b5b50919050565b61451682614660565b810181811067ffffffffffffffff821117156145355761453461460f565b5b80604052505050565b600061454982614482565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561457c5761457b6145b1565b5b600182019050919050565b60006145928261448c565b915060ff8214156145a6576145a56145b1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561465d5760046000803e61465a600051614671565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f6e6f206d6f726520726563656970746d656e747320746f2061697264726f7000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f616c6c6f636174696f6e206c656e67746820646f6573206e6f74206d6174636860008201527f206e756d56617269616e74730000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4578636565646564206d617820746f6b656e20737570706c7900000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f61646472657373657320646f6573206e6f74206d61746368206e756d536c6f7460008201527f73206c656e677468000000000000000000000000000000000000000000000000602082015250565b600060443d1015614bf957614c7c565b614c0161422d565b60043d036004823e80513d602482011167ffffffffffffffff82111715614c29575050614c7c565b808201805167ffffffffffffffff811115614c475750505050614c7c565b80602083010160043d038501811115614c64575050505050614c7c565b614c738260200185018661450d565b82955050505050505b90565b614c8881614418565b8114614c9357600080fd5b50565b614c9f8161442a565b8114614caa57600080fd5b50565b614cb681614436565b8114614cc157600080fd5b50565b614ccd81614482565b8114614cd857600080fd5b5056fea26469706673582212208f52c38e12f55bc954371502696d050edf30bfe0398ca767f410b7c220a3900564736f6c6343000804003368747470733a2f2f706c616365686f6c6465722e636f6d2f7b69647d2e6a736f6e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c80636b79d05911610104578063a22cb465116100a2578063f242432a11610071578063f242432a14610587578063f2fde38b146105a3578063f5298aca146105bf578063f83a06f2146105db576101ce565b8063a22cb465146104ef578063bd85b0391461050b578063e8f0397d1461053b578063e985e9c514610557576101ce565b80637dc0bf3f116100de5780637dc0bf3f14610441578063869f75941461047157806388af83b7146104a15780638da5cb5b146104d1576101ce565b80636b79d059146103ff578063715018a61461041b5780637325162814610425576101ce565b80633e170d9b116101715780634f558e791161014b5780634f558e791461036757806354e726ed1461039757806362912789146103b35780636b20c454146103e3576101ce565b80633e170d9b146102fb5780633f74f50c146103195780634e1273f414610337576101ce565b80631352abad116101ad5780631352abad1461026357806322e15df41461029357806325fc0da9146102af5780632eb2c2d6146102df576101ce565b8062fdd58e146101d357806301ffc9a7146102035780630e89341c14610233575b600080fd5b6101ed60048036038101906101e891906137e3565b6105f9565b6040516101fa91906141ce565b60405180910390f35b61021d60048036038101906102189190613946565b6106c2565b60405161022a9190613f31565b60405180910390f35b61024d60048036038101906102489190613998565b6107a4565b60405161025a9190613f4c565b60405180910390f35b61027d60048036038101906102789190613998565b6108ee565b60405161028a9190613f4c565b60405180910390f35b6102ad60048036038101906102a89190613998565b61098e565b005b6102c960048036038101906102c49190613998565b610b29565b6040516102d691906141ce565b60405180910390f35b6102f960048036038101906102f491906135da565b610ca8565b005b610303610d49565b6040516103109190613dfb565b60405180910390f35b610321610d6f565b60405161032e91906141ce565b60405180910390f35b610351600480360381019061034c91906138da565b610d75565b60405161035e9190613ed8565b60405180910390f35b610381600480360381019061037c9190613998565b610f26565b60405161038e9190613f31565b60405180910390f35b6103b160048036038101906103ac9190613575565b610f3a565b005b6103cd60048036038101906103c891906137e3565b610ffa565b6040516103da91906141ce565b60405180910390f35b6103fd60048036038101906103f89190613728565b61102b565b005b6104196004803603810190610414919061386e565b6110c8565b005b610423611380565b005b61043f600480360381019061043a9190613575565b611408565b005b61045b60048036038101906104569190613998565b6116ee565b60405161046891906141ce565b60405180910390f35b61048b60048036038101906104869190613998565b611712565b60405161049891906141ce565b60405180910390f35b6104bb60048036038101906104b69190613998565b611736565b6040516104c89190613dfb565b60405180910390f35b6104d9611775565b6040516104e69190613dfb565b60405180910390f35b610509600480360381019061050491906137a7565b61179f565b005b61052560048036038101906105209190613998565b6117b5565b60405161053291906141ce565b60405180910390f35b610555600480360381019061055091906139ea565b6117d2565b005b610571600480360381019061056c919061359e565b61187a565b60405161057e9190613f31565b60405180910390f35b6105a1600480360381019061059c9190613699565b61190e565b005b6105bd60048036038101906105b89190613575565b6119af565b005b6105d960048036038101906105d4919061381f565b611aa7565b005b6105e3611b44565b6040516105f091906141ce565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561066a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066190613fae565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078d57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061079d575061079c82611b4a565b5b9050919050565b60606000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d3b30b756040518163ffffffff1660e01b815260040160206040518083038186803b15801561081057600080fd5b505afa158015610824573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084891906139c1565b9050600960008281526020019081526020016000208054610868906144db565b80601f0160208091040260200160405190810160405280929190818152602001828054610894906144db565b80156108e15780601f106108b6576101008083540402835291602001916108e1565b820191906000526020600020905b8154815290600101906020018083116108c457829003601f168201915b5050505050915050919050565b6009602052806000526040600020600091509050805461090d906144db565b80601f0160208091040260200160405190810160405280929190818152602001828054610939906144db565b80156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b505050505081565b610996611bb4565b73ffffffffffffffffffffffffffffffffffffffff166109b4611775565b73ffffffffffffffffffffffffffffffffffffffff1614610a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a01906140ee565b60405180910390fd5b6000610a2882600a54600b80549050610a2391906143e4565b611bbc565b905060008111610a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a649061402e565b60405180910390fd5b60005b81811015610b0b576000600b82600a54610a8a919061438e565b81548110610ac1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050610af781611408565b508080610b039061453e565b915050610a70565b5080600a6000828254610b1e919061438e565b925050819055505050565b6000806000905060005b600b80549050811015610c9e576000600b8281548110610b7c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610c3457602002820191906000526020600020905b815481526020019060010190808311610c20575b50505050509050808681518110610c74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015184610c87919061438e565b935050508080610c969061453e565b915050610b33565b5080915050919050565b610cb0611bb4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610cf65750610cf585610cf0611bb4565b61187a565b5b610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c9061406e565b60405180910390fd5b610d428585858585611bd5565b5050505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b60608151835114610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db29061414e565b60405180910390fd5b6000835167ffffffffffffffff811115610dfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e2c5781602001602082028036833780820191505090505b50905060005b8451811015610f1b57610ec5858281518110610e77577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610eb8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516105f9565b828281518110610efe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610f149061453e565b9050610e32565b508091505092915050565b600080610f32836117b5565b119050919050565b610f42611bb4565b73ffffffffffffffffffffffffffffffffffffffff16610f60611775565b73ffffffffffffffffffffffffffffffffffffffff1614610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad906140ee565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c602052816000526040600020818154811061101657600080fd5b90600052602060002001600091509150505481565b611033611bb4565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611079575061107883611073611bb4565b61187a565b5b6110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af9061406e565b60405180910390fd5b6110c3838383611f35565b505050565b6110d0611bb4565b73ffffffffffffffffffffffffffffffffffffffff166110ee611775565b73ffffffffffffffffffffffffffffffffffffffff1614611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b906140ee565b60405180910390fd5b8051825114611188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117f906141ae565b60405180910390fd5b60005b825181101561137b5760008382815181106111cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000838381518110611214577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600754815114611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a9061408e565b60405180910390fd5b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050141561131257600b829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020908051906020019061136592919061315b565b50505080806113739061453e565b91505061118b565b505050565b611388611bb4565b73ffffffffffffffffffffffffffffffffffffffff166113a6611775565b73ffffffffffffffffffffffffffffffffffffffff16146113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f3906140ee565b60405180910390fd5b6114066000612232565b565b611410611bb4565b73ffffffffffffffffffffffffffffffffffffffff1661142e611775565b73ffffffffffffffffffffffffffffffffffffffff1614611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147b906140ee565b60405180910390fd5b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561150f57602002820191906000526020600020905b8154815260200190600101908083116114fb575b5050505050905060005b81518160ff1610156116e9576000828260ff1681518110611563577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600081141561157c57506116d6565b60058260ff16815481106115b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001548160068460ff1681548110611602577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154611617919061438e565b1115611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f9061410e565b60405180910390fd5b611676848360ff1683604051806020016040528060008152506122f8565b8060068360ff16815481106116b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160008282546116cd919061438e565b92505081905550505b80806116e190614587565b915050611519565b505050565b600681815481106116fe57600080fd5b906000526020600020016000915090505481565b6005818154811061172257600080fd5b906000526020600020016000915090505481565b600b818154811061174657600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117b16117aa611bb4565b838361248e565b5050565b600060036000838152602001908152602001600020549050919050565b6117da611bb4565b73ffffffffffffffffffffffffffffffffffffffff166117f8611775565b73ffffffffffffffffffffffffffffffffffffffff161461184e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611845906140ee565b60405180910390fd5b806009600084815260200190815260200160002090805190602001906118759291906131a8565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611916611bb4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061195c575061195b85611956611bb4565b61187a565b5b61199b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119929061400e565b60405180910390fd5b6119a885858585856125fb565b5050505050565b6119b7611bb4565b73ffffffffffffffffffffffffffffffffffffffff166119d5611775565b73ffffffffffffffffffffffffffffffffffffffff1614611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a22906140ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9290613fce565b60405180910390fd5b611aa481612232565b50565b611aaf611bb4565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611af55750611af483611aef611bb4565b61187a565b5b611b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2b9061406e565b60405180910390fd5b611b3f83838361287d565b505050565b60075481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000818310611bcb5781611bcd565b825b905092915050565b8151835114611c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c109061416e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c809061404e565b60405180910390fd5b6000611c93611bb4565b9050611ca3818787878787612a9a565b60005b8451811015611ea0576000858281518110611cea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611d2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906140ce565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e85919061438e565b9250508190555050505080611e999061453e565b9050611ca6565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611f17929190613efa565b60405180910390a4611f2d818787878787612cac565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9c906140ae565b60405180910390fd5b8051825114611fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe09061416e565b60405180910390fd5b6000611ff3611bb4565b905061201381856000868660405180602001604052806000815250612a9a565b60005b83518110156121ac57600084828151811061205a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600084838151811061209f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213790613fee565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806121a49061453e565b915050612016565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612224929190613efa565b60405180910390a450505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235f9061418e565b60405180910390fd5b6000612372611bb4565b90506123938160008761238488612e93565b61238d88612e93565b87612a9a565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123f2919061438e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516124709291906141e9565b60405180910390a461248781600087878787612f59565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f49061412e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125ee9190613f31565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561266b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126629061404e565b60405180910390fd5b6000612675611bb4565b905061269581878761268688612e93565b61268f88612e93565b87612a9a565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561272c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612723906140ce565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e1919061438e565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161285e9291906141e9565b60405180910390a4612874828888888888612f59565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e4906140ae565b60405180910390fd5b60006128f7611bb4565b90506129278185600061290987612e93565b61291287612e93565b60405180602001604052806000815250612a9a565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156129be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b590613fee565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612a8b9291906141e9565b60405180910390a45050505050565b612aa8868686868686613140565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ba65760005b8351811015612ba457828181518110612b22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110612b67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612b8c919061438e565b9250508190555080612b9d9061453e565b9050612ae0565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ca45760005b8351811015612ca257828181518110612c20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110612c65577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612c8a91906143e4565b9250508190555080612c9b9061453e565b9050612bde565b505b505050505050565b612ccb8473ffffffffffffffffffffffffffffffffffffffff16613148565b15612e8b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d11959493929190613e16565b602060405180830381600087803b158015612d2b57600080fd5b505af1925050508015612d5c57506040513d601f19601f82011682018060405250810190612d59919061396f565b60015b612e0257612d6861463e565b806308c379a01415612dc55750612d7d614be9565b80612d885750612dc7565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dbc9190613f4c565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df990613f6e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8090613f8e565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612ed8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612f065781602001602082028036833780820191505090505b5090508281600081518110612f44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612f788473ffffffffffffffffffffffffffffffffffffffff16613148565b15613138578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fbe959493929190613e7e565b602060405180830381600087803b158015612fd857600080fd5b505af192505050801561300957506040513d601f19601f82011682018060405250810190613006919061396f565b60015b6130af5761301561463e565b806308c379a01415613072575061302a614be9565b806130355750613074565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130699190613f4c565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a690613f6e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312d90613f8e565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b828054828255906000526020600020908101928215613197579160200282015b8281111561319657825182559160200191906001019061317b565b5b5090506131a4919061322e565b5090565b8280546131b4906144db565b90600052602060002090601f0160209004810192826131d6576000855561321d565b82601f106131ef57805160ff191683800117855561321d565b8280016001018555821561321d579182015b8281111561321c578251825591602001919060010190613201565b5b50905061322a919061322e565b5090565b5b8082111561324757600081600090555060010161322f565b5090565b600061325e61325984614237565b614212565b9050808382526020820190508285602086028201111561327d57600080fd5b60005b858110156132ad57816132938882613425565b845260208401935060208301925050600181019050613280565b5050509392505050565b60006132ca6132c584614263565b614212565b905080838252602082019050828560208602820111156132e957600080fd5b60005b8581101561333357813567ffffffffffffffff81111561330b57600080fd5b808601613318898261348e565b855260208501945060208401935050506001810190506132ec565b5050509392505050565b600061335061334b8461428f565b614212565b9050808382526020820190508285602086028201111561336f57600080fd5b60005b8581101561339f5781613385888261354b565b845260208401935060208301925050600181019050613372565b5050509392505050565b60006133bc6133b7846142bb565b614212565b9050828152602081018484840111156133d457600080fd5b6133df848285614499565b509392505050565b60006133fa6133f5846142ec565b614212565b90508281526020810184848401111561341257600080fd5b61341d848285614499565b509392505050565b60008135905061343481614c7f565b92915050565b600082601f83011261344b57600080fd5b813561345b84826020860161324b565b91505092915050565b600082601f83011261347557600080fd5b81356134858482602086016132b7565b91505092915050565b600082601f83011261349f57600080fd5b81356134af84826020860161333d565b91505092915050565b6000813590506134c781614c96565b92915050565b6000813590506134dc81614cad565b92915050565b6000815190506134f181614cad565b92915050565b600082601f83011261350857600080fd5b81356135188482602086016133a9565b91505092915050565b600082601f83011261353257600080fd5b81356135428482602086016133e7565b91505092915050565b60008135905061355a81614cc4565b92915050565b60008151905061356f81614cc4565b92915050565b60006020828403121561358757600080fd5b600061359584828501613425565b91505092915050565b600080604083850312156135b157600080fd5b60006135bf85828601613425565b92505060206135d085828601613425565b9150509250929050565b600080600080600060a086880312156135f257600080fd5b600061360088828901613425565b955050602061361188828901613425565b945050604086013567ffffffffffffffff81111561362e57600080fd5b61363a8882890161348e565b935050606086013567ffffffffffffffff81111561365757600080fd5b6136638882890161348e565b925050608086013567ffffffffffffffff81111561368057600080fd5b61368c888289016134f7565b9150509295509295909350565b600080600080600060a086880312156136b157600080fd5b60006136bf88828901613425565b95505060206136d088828901613425565b94505060406136e18882890161354b565b93505060606136f28882890161354b565b925050608086013567ffffffffffffffff81111561370f57600080fd5b61371b888289016134f7565b9150509295509295909350565b60008060006060848603121561373d57600080fd5b600061374b86828701613425565b935050602084013567ffffffffffffffff81111561376857600080fd5b6137748682870161348e565b925050604084013567ffffffffffffffff81111561379157600080fd5b61379d8682870161348e565b9150509250925092565b600080604083850312156137ba57600080fd5b60006137c885828601613425565b92505060206137d9858286016134b8565b9150509250929050565b600080604083850312156137f657600080fd5b600061380485828601613425565b92505060206138158582860161354b565b9150509250929050565b60008060006060848603121561383457600080fd5b600061384286828701613425565b93505060206138538682870161354b565b92505060406138648682870161354b565b9150509250925092565b6000806040838503121561388157600080fd5b600083013567ffffffffffffffff81111561389b57600080fd5b6138a78582860161343a565b925050602083013567ffffffffffffffff8111156138c457600080fd5b6138d085828601613464565b9150509250929050565b600080604083850312156138ed57600080fd5b600083013567ffffffffffffffff81111561390757600080fd5b6139138582860161343a565b925050602083013567ffffffffffffffff81111561393057600080fd5b61393c8582860161348e565b9150509250929050565b60006020828403121561395857600080fd5b6000613966848285016134cd565b91505092915050565b60006020828403121561398157600080fd5b600061398f848285016134e2565b91505092915050565b6000602082840312156139aa57600080fd5b60006139b88482850161354b565b91505092915050565b6000602082840312156139d357600080fd5b60006139e184828501613560565b91505092915050565b600080604083850312156139fd57600080fd5b6000613a0b8582860161354b565b925050602083013567ffffffffffffffff811115613a2857600080fd5b613a3485828601613521565b9150509250929050565b6000613a4a8383613ddd565b60208301905092915050565b613a5f81614418565b82525050565b6000613a708261432d565b613a7a818561435b565b9350613a858361431d565b8060005b83811015613ab6578151613a9d8882613a3e565b9750613aa88361434e565b925050600181019050613a89565b5085935050505092915050565b613acc8161442a565b82525050565b6000613add82614338565b613ae7818561436c565b9350613af78185602086016144a8565b613b0081614660565b840191505092915050565b6000613b1682614343565b613b20818561437d565b9350613b308185602086016144a8565b613b3981614660565b840191505092915050565b6000613b5160348361437d565b9150613b5c8261467e565b604082019050919050565b6000613b7460288361437d565b9150613b7f826146cd565b604082019050919050565b6000613b97602b8361437d565b9150613ba28261471c565b604082019050919050565b6000613bba60268361437d565b9150613bc58261476b565b604082019050919050565b6000613bdd60248361437d565b9150613be8826147ba565b604082019050919050565b6000613c0060298361437d565b9150613c0b82614809565b604082019050919050565b6000613c23601f8361437d565b9150613c2e82614858565b602082019050919050565b6000613c4660258361437d565b9150613c5182614881565b604082019050919050565b6000613c6960328361437d565b9150613c74826148d0565b604082019050919050565b6000613c8c602c8361437d565b9150613c978261491f565b604082019050919050565b6000613caf60238361437d565b9150613cba8261496e565b604082019050919050565b6000613cd2602a8361437d565b9150613cdd826149bd565b604082019050919050565b6000613cf560208361437d565b9150613d0082614a0c565b602082019050919050565b6000613d1860198361437d565b9150613d2382614a35565b602082019050919050565b6000613d3b60298361437d565b9150613d4682614a5e565b604082019050919050565b6000613d5e60298361437d565b9150613d6982614aad565b604082019050919050565b6000613d8160288361437d565b9150613d8c82614afc565b604082019050919050565b6000613da460218361437d565b9150613daf82614b4b565b604082019050919050565b6000613dc760288361437d565b9150613dd282614b9a565b604082019050919050565b613de681614482565b82525050565b613df581614482565b82525050565b6000602082019050613e106000830184613a56565b92915050565b600060a082019050613e2b6000830188613a56565b613e386020830187613a56565b8181036040830152613e4a8186613a65565b90508181036060830152613e5e8185613a65565b90508181036080830152613e728184613ad2565b90509695505050505050565b600060a082019050613e936000830188613a56565b613ea06020830187613a56565b613ead6040830186613dec565b613eba6060830185613dec565b8181036080830152613ecc8184613ad2565b90509695505050505050565b60006020820190508181036000830152613ef28184613a65565b905092915050565b60006040820190508181036000830152613f148185613a65565b90508181036020830152613f288184613a65565b90509392505050565b6000602082019050613f466000830184613ac3565b92915050565b60006020820190508181036000830152613f668184613b0b565b905092915050565b60006020820190508181036000830152613f8781613b44565b9050919050565b60006020820190508181036000830152613fa781613b67565b9050919050565b60006020820190508181036000830152613fc781613b8a565b9050919050565b60006020820190508181036000830152613fe781613bad565b9050919050565b6000602082019050818103600083015261400781613bd0565b9050919050565b6000602082019050818103600083015261402781613bf3565b9050919050565b6000602082019050818103600083015261404781613c16565b9050919050565b6000602082019050818103600083015261406781613c39565b9050919050565b6000602082019050818103600083015261408781613c5c565b9050919050565b600060208201905081810360008301526140a781613c7f565b9050919050565b600060208201905081810360008301526140c781613ca2565b9050919050565b600060208201905081810360008301526140e781613cc5565b9050919050565b6000602082019050818103600083015261410781613ce8565b9050919050565b6000602082019050818103600083015261412781613d0b565b9050919050565b6000602082019050818103600083015261414781613d2e565b9050919050565b6000602082019050818103600083015261416781613d51565b9050919050565b6000602082019050818103600083015261418781613d74565b9050919050565b600060208201905081810360008301526141a781613d97565b9050919050565b600060208201905081810360008301526141c781613dba565b9050919050565b60006020820190506141e36000830184613dec565b92915050565b60006040820190506141fe6000830185613dec565b61420b6020830184613dec565b9392505050565b600061421c61422d565b9050614228828261450d565b919050565b6000604051905090565b600067ffffffffffffffff8211156142525761425161460f565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561427e5761427d61460f565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142aa576142a961460f565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142d6576142d561460f565b5b6142df82614660565b9050602081019050919050565b600067ffffffffffffffff8211156143075761430661460f565b5b61431082614660565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061439982614482565b91506143a483614482565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143d9576143d86145b1565b5b828201905092915050565b60006143ef82614482565b91506143fa83614482565b92508282101561440d5761440c6145b1565b5b828203905092915050565b600061442382614462565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156144c65780820151818401526020810190506144ab565b838111156144d5576000848401525b50505050565b600060028204905060018216806144f357607f821691505b60208210811415614507576145066145e0565b5b50919050565b61451682614660565b810181811067ffffffffffffffff821117156145355761453461460f565b5b80604052505050565b600061454982614482565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561457c5761457b6145b1565b5b600182019050919050565b60006145928261448c565b915060ff8214156145a6576145a56145b1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561465d5760046000803e61465a600051614671565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f6e6f206d6f726520726563656970746d656e747320746f2061697264726f7000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f616c6c6f636174696f6e206c656e67746820646f6573206e6f74206d6174636860008201527f206e756d56617269616e74730000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4578636565646564206d617820746f6b656e20737570706c7900000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f61646472657373657320646f6573206e6f74206d61746368206e756d536c6f7460008201527f73206c656e677468000000000000000000000000000000000000000000000000602082015250565b600060443d1015614bf957614c7c565b614c0161422d565b60043d036004823e80513d602482011167ffffffffffffffff82111715614c29575050614c7c565b808201805167ffffffffffffffff811115614c475750505050614c7c565b80602083010160043d038501811115614c64575050505050614c7c565b614c738260200185018661450d565b82955050505050505b90565b614c8881614418565b8114614c9357600080fd5b50565b614c9f8161442a565b8114614caa57600080fd5b50565b614cb681614436565b8114614cc157600080fd5b50565b614ccd81614482565b8114614cd857600080fd5b5056fea26469706673582212208f52c38e12f55bc954371502696d050edf30bfe0398ca767f410b7c220a3900564736f6c63430008040033

[ 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.