ETH Price: $3,127.65 (+2.04%)

Token

Curio's Snow Globes ()
 

Overview

Max Total Supply

703

Holders

351

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xb45470a9688ec3bdbb572b27c305e8c45e014e75
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A 2022 Curio Cardholders holiday gift - Curio’s Snow Globe Collection! Dreamed up and modeled by artists [Vincent Gros](https://artstation.com/vincentgros) and [Mylène Lelièvre](https://artstation.com/mylene_lelievre), created in collaboration between [Curio DAO](https://docs.curio.cards/dao-and-contribution) and [Ponderware](https://ponderware.com), these 3D Snow Globes are Curio’s story, reimagined. Discover your favorite cards, sets, and Curio history! Bundling - This collection features unlockable globes for each Artist Set, the Story Set, and the rare Full Set. Bundle and Unbundle anytime [here](https://dao.curio.cards/snowglobes). Supply - Like trading cards, there are multiples of each globe. Supply rarity is proportional to the Curio Card that inspired it, reduced roughly 90%. The max supply of globe #0 is the number of cardholders in the holiday snapshot. Creator fees go to the artist-controlled guild to cover future community airdrops.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CurioGlobes

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : CurioGlobes.sol
// SPDX-License-Identifier: AGPL-3.0
// ©2022 Ponderware Ltd

pragma solidity ^0.8.17;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./Allowlist.sol";


interface IERC20 {
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
}

interface IERC721 {
    function safeTransferFrom(address from, address to, uint256 tokenId) external;
}

/*
 * @title Curio Snow Globes
 * @author Ponderware Ltd
 * @dev ERC1155 with bundling/unbundling mechanics
 */
contract CurioGlobes is ERC1155, Ownable, Allowlist {

    // mapping from recipeHash to tokenId
    mapping (bytes32 => uint256) internal TokenIds;
    // mapping from tokenId to recipe
    mapping (uint256 => uint256[]) internal TokenRecipes;

    uint256 public totalTokenTypes = 0;

    bool public frozen = false;
    bool public paused = true;

    /**
     * @dev Permanently prevents calls to `setTokenURI` to lock metadata
     */
    function permanentlyFreezeMetadata () public onlyOwner {
        frozen = true;
    }

    function pause () public onlyOwner {
        paused = true;
    }

    function unpause () public onlyOwner {
        paused = false;
    }

    modifier notFrozen () {
        require(frozen == false, "Metadata Frozen");
        _;
    }

    modifier notPaused () {
        require(paused == false, "Paused");
        _;
    }

    function setTokenURI (string memory updatedTokenURI) public onlyOwner notFrozen {
        _setURI(updatedTokenURI);
    }

    function encodeRecipe (uint256[] memory recipe) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(recipe));
    }

    /**
     * @notice Returns the array of tokens that are required to assemble the provided id
     */
    function getRecipe (uint256 tokenId) public view returns (uint256[] memory recipe) {
        require(tokenId < totalTokenTypes, "Nonexistant token type");
        recipe = TokenRecipes[tokenId];
        require(recipe.length > 0, "Token is primitive");
    }

    /**
     * @notice Combines multiple snow globes into a single ERC-1155
     * @dev Burns recipe tokens and mints the new "compound" token
     * @param recipe must be a recognized array of ids owned by msg.sender
     */
    function bundle (uint256[] memory recipe) public notPaused {
        require(recipe.length > 1, "Recipe too short");
        uint256 tokenId = TokenIds[encodeRecipe(recipe)];
        require(tokenId != 0, "Invalid bundle");
        _burnBatch(msg.sender, recipe, amountsArray(recipe.length));
        _mint(msg.sender, tokenId, 1, "");
    }

    /**
     * @notice Breaks apart a combined snow globe into its constituent ERC-1155s
     * @dev Burns "compound" token and mints the tokens of its recipe
     */
    function unbundle (uint256 tokenId) public notPaused {
        uint256[] storage recipe = TokenRecipes[tokenId];
        require(recipe.length > 0, "Not a bundle");
        _burn(msg.sender, tokenId, 1);
        _mintBatch(msg.sender, recipe, amountsArray(recipe.length), "");
    }

    function unbundle (uint256[] memory tokenIds) public {
        for (uint i = 0; i < tokenIds.length; i++) {
            unbundle(tokenIds[i]);
        }
    }

    function amountsArray (uint256 length) internal pure returns (uint256[] memory) {
        uint256[] memory amounts = new uint256[](length);
        for (uint i = 0; i < length; i++) {
            amounts[i] = 1;
        }
        return amounts;
    }

     uint8[32] internal ClaimableSupplies =
        [
         0,   // Globe #0; Raccoon (not tracked here)
         107, // Globe #1; Apples
         131, // Globe #2; Nuts
         147, // Globe #3; Berries
         43,  // Globe #4; Clay
         36,  // Globe #5; Paint
         37,  // Globe #6; Ink
         178, // Globe #7; Sculpture
         191, // Globe #8; Painting
         173, // Globe #9; Book
         187, // Globe #10; Future
         191, // Globe #11; BTC Keys
         175, // Globe #12; Mine Bitcoin
         192, // Globe #13; BTC
         42,  // Globe #14; CryptoCurrency
         29,  // Globe #15; DigitalCash
         43,  // Globe #16; Original
         39,  // Globe #17; UASF
         38,  // Globe #18; To The Moon
         39,  // Globe #19; Dogs Trading
         148, // Globe #20; MadBitcoins
         27,  // Globe #21; The Wizard
         27,  // Globe #22; The Bard
         27,  // Globe #23; The Barbarian
         27,  // Globe #24; Complexity
         27,  // Globe #25; Passion
         27,  // Globe #26; Education
         53,  // Globe #27; Blue
         35,  // Globe #28; Pink
         27,  // Globe #29; Yellow
         78,  // Globe #30; Eclipse
         46   // Globe #17b; UASFb
         ];

    function getClaimableSupplies () public view returns (uint8[32] memory) {
        return ClaimableSupplies;
    }

    function specialAvailable () public view returns (bool) {
        return availableClaims > 2409;
    }

    function claim (uint256 tokenId, uint16 nonce, bytes memory signedClaim) public notPaused {
        if (specialAvailable()) {
            require(ClaimableSupplies[tokenId] > 0, "token claimed out");
            ClaimableSupplies[tokenId]--;
            _mint(msg.sender, tokenId, 1, "");
        }
        processClaim(msg.sender, nonce, signedClaim);
        _mint(msg.sender, 0, 1, "");
    }

    bool contributorAllocationsComplete = false;

    function allocate (address[] calldata recipients) public onlyOwner {
        require(contributorAllocationsComplete == false, "Contributor Allocations Complete");
        require(recipients.length == 4, "Requires 4 Recipients");
        for (uint i = 0; i < recipients.length; i++) {
            _mint(recipients[i], 35, 1, "");
        }
        contributorAllocationsComplete = true;
    }

    function addBundle (uint256 length, uint8[32] memory elements) internal {
        uint256 tokenId = totalTokenTypes;
        uint256[] memory recipe = new uint256[](length);
        for (uint i = 0; i < length; i++) {
            recipe[i] = elements[i];
        }
        TokenIds[encodeRecipe(recipe)] = tokenId;
        TokenRecipes[tokenId] = recipe;
        totalTokenTypes++;
    }

    constructor (address claimSigner, string memory initialTokenURI) ERC1155(initialTokenURI) Allowlist(claimSigner) {

        totalTokenTypes = 32;

        // Cryptograffiti
        addBundle(4, [0,11,12,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);
        // Cryptopop
        addBundle(5, [0,17,18,19,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);
        // Daniel Friedman
        addBundle(4, [0,24,25,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);
        // Full
        addBundle(32, [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]);
        // Marisol Vengas
        addBundle(4, [0,27,28,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);
        // Phneep
        addBundle(4, [0,14,15,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);
        // Robek World
        addBundle(4, [0,21,22,23,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);
        // Story
        addBundle(11, [0,1,2,3,4,5,6,7,8,9,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);
    }

    function changeClaimSigner (address claimSignerAddress) public onlyOwner {
        _updateClaimSigner(claimSignerAddress);
    }

    function permanentlyCloseClaiming () public onlyOwner {
        _permanentlyCloseClaiming();
    }

    /**
     * @dev Rescue ERC20 assets sent directly to this contract.
     */
    function withdrawForeignERC20(address tokenContract) public onlyOwner {
        IERC20 token = IERC20(tokenContract);
        token.transfer(msg.sender, token.balanceOf(address(this)));
    }

    /**
     * @dev Rescue ERC721 assets sent directly to this contract.
     */
    function withdrawForeignERC721(address tokenContract, uint256 tokenId) public virtual onlyOwner {
        IERC721(tokenContract).safeTransferFrom(address(this), msg.sender, tokenId);
    }

    function withdrawEth() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

File 2 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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: address zero is not a valid owner");
        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 token 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: caller is not token 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, 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);

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

        _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);

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

        _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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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 _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);

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

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

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

        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);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * 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);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {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 `ids` and `amounts` 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 {}

    /**
     * @dev Hook that is called after 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 _afterTokenTransfer(
        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 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 4 of 11 : Allowlist.sol
// SPDX-License-Identifier: AGPL-3.0
// ©2022 Ponderware Ltd

pragma solidity ^0.8.17;

/*
 * @title Curio Snow Globes Allowlist
 * @author Ponderware Ltd
 * @dev Allowlist using claims of signed addresses
 */
contract Allowlist {

    uint256 public availableClaims = 4976;

    bool public claimingOpen = true;

    bytes32 constant Mask =  0x0000000000000000000000000000000000000000000000000000000000000001;

    bytes32[20] internal Unclaimed;
    address claimSigner;

    constructor (address claimSignerAddress) {
        for (uint i = 0; i < 20; i++) {
            Unclaimed[i] = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
        }
        claimSigner = claimSignerAddress;
    }

    function _updateClaimSigner (address claimSignerAddress) internal {
        claimSigner = claimSignerAddress;
    }

    function _permanentlyCloseClaiming () internal {
        claimingOpen = false;
    }

    function clearClaimBit(uint16 index) private {
        uint16 wordIndex = index / 256;
        uint16 bitIndex = index % 256;
        bytes32 mask = ~(Mask << (255 - bitIndex));
        Unclaimed[wordIndex] &= mask;
    }

    function isStillAvailable(uint256 nonce) public view returns (bool) {
        uint256 wordIndex = nonce / 256;
        uint256 bitIndex = nonce % 256;
        bytes32 mask = Mask << (255 - bitIndex);
        return uint256(mask & Unclaimed[wordIndex]) != 0;
    }

    function validClaim(
        address recipient,
        uint16 nonce,
        bytes memory claim
    ) public view returns (bool) {
        bytes32 m = keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(
                          abi.encodePacked("curioglobe", recipient, nonce)
                )
            )
        );

        uint8 v;
        bytes32 r;
        bytes32 s;

        require(claim.length == 65, "Malformed Claim");

        assembly {
            r := mload(add(claim, 32))
            s := mload(add(claim, 64))
            v := byte(0, mload(add(claim, 96)))
        }

        return (ecrecover(m, v, r, s) == claimSigner);
    }

    function processClaim (address recipient, uint16 nonce, bytes memory claim) internal {
        require(availableClaims > 0, "No claims available");
        require(claimingOpen, "Claiming Closed");
        require(isStillAvailable(nonce), "Used Nonce");
        require(nonce < 4976, "Invalid Nonce");
        require(validClaim(recipient, nonce, claim), "Invalid Claim");
        clearClaimBit(nonce);
        availableClaims--;
    }

}

File 5 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 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 6 of 11 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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.
     *
     * NOTE: 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.
     *
     * NOTE: 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 7 of 11 : 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 8 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"claimSigner","type":"address"},{"internalType":"string","name":"initialTokenURI","type":"string"}],"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":"recipients","type":"address[]"}],"name":"allocate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableClaims","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":"recipe","type":"uint256[]"}],"name":"bundle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"claimSignerAddress","type":"address"}],"name":"changeClaimSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint16","name":"nonce","type":"uint16"},{"internalType":"bytes","name":"signedClaim","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"frozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimableSupplies","outputs":[{"internalType":"uint8[32]","name":"","type":"uint8[32]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRecipe","outputs":[{"internalType":"uint256[]","name":"recipe","type":"uint256[]"}],"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":"nonce","type":"uint256"}],"name":"isStillAvailable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permanentlyCloseClaiming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"permanentlyFreezeMetadata","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"updatedTokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"specialAvailable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenTypes","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":"tokenIds","type":"uint256[]"}],"name":"unbundle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unbundle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"nonce","type":"uint16"},{"internalType":"bytes","name":"claim","type":"bytes"}],"name":"validClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenContract","type":"address"}],"name":"withdrawForeignERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawForeignERC721","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6113706004556005805460ff191660011790556000601d818155601e805461ffff19166101009081179091556104806040526080928352606b60a052608360c0908152609360e052602b9182905260246101205260256101405260b26101605260bf61018081905260ad6101a05260bb6101c0526101e05260af6102005261022052602a61024052610260919091526102805260276102a081905260266102c0526102e052609461030052601b6103208190526103408190526103608190526103808190526103a08190526103c081905260356103e05260236104005261042052604e61044052602e61046052620000fc90601f90602062000bf2565b506020805460ff191690553480156200011457600080fd5b5060405162003e5338038062003e53833981016040819052620001379162000cf7565b8181620001448162000a4f565b50620001503362000a61565b60005b60148110156200018d576000196006826014811062000176576200017662000ded565b015580620001848162000e03565b91505062000153565b50601a80546001600160a01b0319166001600160a01b03929092169190911790556020601d81905560408051610400810182526000808252600b93820193909352600c91810191909152600d60608201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e08101829052610300810182905261032081018290526103408101829052610360810182905261038081018290526103a081018290526103c081018290526103e0810191909152620002c99060049062000ab3565b604080516104008101825260008082526011602083015260129282019290925260136060820152601f608082015260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e08101829052610300810182905261032081018290526103408101829052610360810182905261038081018290526103a081018290526103c081018290526103e0810191909152620003db9060059062000ab3565b6040805161040081018252600080825260186020830152601992820192909252601a60608201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e08101829052610300810182905261032081018290526103408101829052610360810182905261038081018290526103a081018290526103c081018290526103e0810191909152620004ed9060049062000ab3565b60408051610400810182526000815260016020828101919091526002928201929092526003606082015260046080820152600560a0820152600660c0820152600760e082015260086101008201526009610120820152600a610140820152600b610160820152600c610180820152600d6101a0820152600e6101c0820152600f6101e08201526010610200820152601161022082015260126102408201526013610260820152601461028082015260156102a082015260166102c082015260176102e082015260186103008201526019610320820152601a610340820152601b610360820152601c610380820152601d6103a0820152601e6103c0820152601f6103e0820152620005ff919062000ab3565b60408051610400810182526000808252601b6020830152601c92820192909252601d60608201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e08101829052610300810182905261032081018290526103408101829052610360810182905261038081018290526103a081018290526103c081018290526103e0810191909152620007119060049062000ab3565b60408051610400810182526000808252600e6020830152600f92820192909252601060608201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e08101829052610300810182905261032081018290526103408101829052610360810182905261038081018290526103a081018290526103c081018290526103e0810191909152620008239060049062000ab3565b6040805161040081018252600080825260156020830152601692820192909252601760608201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e08101829052610300810182905261032081018290526103408101829052610360810182905261038081018290526103a081018290526103c081018290526103e0810191909152620009359060049062000ab3565b60408051610400810182526000808252600160208301526002928201929092526003606082015260046080820152600560a0820152600660c0820152600760e082015260086101008201526009610120820152600a610140820152610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e08101829052610300810182905261032081018290526103408101829052610360810182905261038081018290526103a081018290526103c081018290526103e081019190915262000a4790600b9062000ab3565b505062000fbe565b600262000a5d828262000eba565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601d546000836001600160401b0381111562000ad35762000ad362000ce1565b60405190808252806020026020018201604052801562000afd578160200160208202803683370190505b50905060005b8481101562000b5e5783816020811062000b215762000b2162000ded565b602002015160ff1682828151811062000b3e5762000b3e62000ded565b60209081029190910101528062000b558162000e03565b91505062000b03565b5081601b600062000b6f8462000bc0565b81526020808201929092526040908101600090812093909355848352601c8252909120825162000ba29284019062000c8c565b50601d805490600062000bb58362000e03565b919050555050505050565b60008160405160200162000bd5919062000f86565b604051602081830303815290604052805190602001209050919050565b60018301918390821562000c7a5791602002820160005b8382111562000c4957835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030262000c09565b801562000c785782816101000a81549060ff021916905560010160208160000104928301926001030262000c49565b505b5062000c8892915062000cca565b5090565b82805482825590600052602060002090810192821562000c7a579160200282015b8281111562000c7a57825182559160200191906001019062000cad565b5b8082111562000c88576000815560010162000ccb565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121562000d0b57600080fd5b82516001600160a01b038116811462000d2357600080fd5b602084810151919350906001600160401b038082111562000d4357600080fd5b818601915086601f83011262000d5857600080fd5b81518181111562000d6d5762000d6d62000ce1565b604051601f8201601f19908116603f0116810190838211818310171562000d985762000d9862000ce1565b81604052828152898684870101111562000db157600080fd5b600093505b8284101562000dd5578484018601518185018701529285019262000db6565b60008684830101528096505050505050509250929050565b634e487b7160e01b600052603260045260246000fd5b60006001820162000e2457634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c9082168062000e4057607f821691505b60208210810362000e6157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000eb557600081815260208120601f850160051c8101602086101562000e905750805b601f850160051c820191505b8181101562000eb15782815560010162000e9c565b5050505b505050565b81516001600160401b0381111562000ed65762000ed662000ce1565b62000eee8162000ee7845462000e2b565b8462000e67565b602080601f83116001811462000f26576000841562000f0d5750858301515b600019600386901b1c1916600185901b17855562000eb1565b600085815260208120601f198616915b8281101562000f575788860151825594840194600190910190840162000f36565b508582101562000f765787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b815160009082906020808601845b8381101562000fb25781518552938201939082019060010162000f94565b50929695505050505050565b612e858062000fce6000396000f3fe608060405234801561001057600080fd5b50600436106102105760003560e01c8063715018a611610125578063c0730167116100ad578063f242432a1161007c578063f242432a14610462578063f2fde38b14610475578063f8a6386d14610488578063f8d12a411461049b578063fd07f9ca146104ae57600080fd5b8063c0730167146103f7578063e0df5b6f1461040a578063e985e9c51461041d578063ee5e2b8a1461045957600080fd5b80638eeb84b2116100f45780638eeb84b2146103ae578063a0ef91df146103b6578063a22cb465146103be578063ae75a231146103d1578063b579be27146103e457600080fd5b8063715018a61461037a5780638456cb59146103825780638da5cb5b1461038a5780638dfde339146103a557600080fd5b806329e1037d116101a85780634e735255116101775780634e735255146103205780635c471995146103355780635c975abb14610348578063608ad0301461035a5780636c7dda8e1461036d57600080fd5b806329e1037d146102d95780632eb2c2d6146102e55780633f4ba83a146102f85780634e1273f41461030057600080fd5b80630ce06b68116101e45780630ce06b68146102805780630e89341c146102935780630fe98f7b146102b3578063114c8f8d146102c657600080fd5b8062fdd58e1461021557806301ffc9a71461023b578063054f7d9c1461025e57806309f8bfad1461026b575b600080fd5b6102286102233660046120db565b6104b6565b6040519081526020015b60405180910390f35b61024e61024936600461211b565b61054f565b6040519015158152602001610232565b601e5461024e9060ff1681565b61027e610279366004612215565b61059f565b005b61027e61028e3660046120db565b6106a0565b6102a66102a1366004612251565b610712565b60405161023291906122b0565b61027e6102c13660046122c3565b6107a6565b61027e6102d4366004612337565b6108bb565b6004546109691061024e565b61027e6102f33660046123cf565b6108e4565b61027e610930565b61031361030e366004612478565b610945565b604051610232919061257d565b610328610a6e565b6040516102329190612590565b61027e610343366004612337565b610ac7565b601e5461024e90610100900460ff1681565b61027e6103683660046125db565b610bb7565b60055461024e9060ff1681565b61027e610cec565b61027e610d00565b6003546040516001600160a01b039091168152602001610232565b610228601d5481565b61027e610d19565b61027e610d30565b61027e6103cc36600461263f565b610d64565b61024e6103df366004612251565b610d6f565b61024e6103f2366004612676565b610dc3565b61027e610405366004612215565b610f4e565b61027e6104183660046126a2565b610f8e565b61024e61042b3660046126ea565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61022860045481565b61027e61047036600461271d565b610fe4565b61027e610483366004612337565b611029565b61027e610496366004612251565b61109f565b6103136104a9366004612251565b611194565b61027e611286565b60006001600160a01b0383166105265760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061058057506001600160e01b031982166303a24d0760e21b145b8061054957506301ffc9a760e01b6001600160e01b0319831614610549565b601e54610100900460ff16156105c75760405162461bcd60e51b815260040161051d90612781565b600181511161060b5760405162461bcd60e51b815260206004820152601060248201526f149958da5c19481d1bdbc81cda1bdc9d60821b604482015260640161051d565b6000601b600061061a8461129d565b81526020019081526020016000205490508060000361066c5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642062756e646c6560901b604482015260640161051d565b610680338361067b85516112cd565b611358565b61069c33826001604051806020016040528060008152506114e3565b5050565b6106a86115bd565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b1580156106f657600080fd5b505af115801561070a573d6000803e3d6000fd5b505050505050565b606060028054610721906127a1565b80601f016020809104026020016040519081016040528092919081815260200182805461074d906127a1565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b50505050509050919050565b6107ae6115bd565b60205460ff16156108015760405162461bcd60e51b815260206004820181905260248201527f436f6e7472696275746f7220416c6c6f636174696f6e7320436f6d706c657465604482015260640161051d565b600481146108495760405162461bcd60e51b81526020600482015260156024820152745265717569726573203420526563697069656e747360581b604482015260640161051d565b60005b818110156108a957610897838383818110610869576108696127db565b905060200201602081019061087e9190612337565b60236001604051806020016040528060008152506114e3565b806108a181612807565b91505061084c565b50506020805460ff1916600117905550565b6108c36115bd565b601a80546001600160a01b0319166001600160a01b03831617905550565b50565b6001600160a01b0385163314806109005750610900853361042b565b61091c5760405162461bcd60e51b815260040161051d90612820565b6109298585858585611617565b5050505050565b6109386115bd565b601e805461ff0019169055565b606081518351146109aa5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161051d565b600083516001600160401b038111156109c5576109c561213f565b6040519080825280602002602001820160405280156109ee578160200160208202803683370190505b50905060005b8451811015610a6657610a39858281518110610a1257610a126127db565b6020026020010151858381518110610a2c57610a2c6127db565b60200260200101516104b6565b828281518110610a4b57610a4b6127db565b6020908102919091010152610a5f81612807565b90506109f4565b509392505050565b610a766120a5565b6040805161040081019182905290601f90602090826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610a8f5790505050505050905090565b610acf6115bd565b6040516370a0823160e01b815230600482015281906001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b43919061286f565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610b8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb29190612888565b505050565b601e54610100900460ff1615610bdf5760405162461bcd60e51b815260040161051d90612781565b6004546109691015610cc4576000601f8460208110610c0057610c006127db565b602081049091015460ff601f9092166101000a90041611610c575760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b8818db185a5b5959081bdd5d607a1b604482015260640161051d565b601f8360208110610c6a57610c6a6127db565b6020918282040191900681819054906101000a900460ff1680929190610c8f906128a5565b91906101000a81548160ff021916908360ff16021790555050610cc433846001604051806020016040528060008152506114e3565b610ccf3383836117ab565b610bb23360006001604051806020016040528060008152506114e3565b610cf46115bd565b610cfe600061192c565b565b610d086115bd565b601e805461ff001916610100179055565b610d216115bd565b610cfe6005805460ff19169055565b610d386115bd565b60405133904780156108fc02916000818181858888f193505050501580156108e1573d6000803e3d6000fd5b61069c33838361197e565b600080610d7e610100846128d8565b90506000610d8e610100856128ec565b90506000610d9d8260ff612900565b6001901b905060068360148110610db657610db66127db565b0154161515949350505050565b6040805169637572696f676c6f626560b01b60208201526bffffffffffffffffffffffff19606086901b16602a8201526001600160f01b031960f085901b16603e82015260009182910160408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160405160208183030381529060405280519060200120905060008060008551604114610eb65760405162461bcd60e51b815260206004820152600f60248201526e4d616c666f726d656420436c61696d60881b604482015260640161051d565b505050602083810151604080860151606080880151601a54845160008082529781018087528990529190961a93810184905290810184905260808101829052919390916001600160a01b039091169060019060a0016020604051602081039080840390855afa158015610f2d573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050509392505050565b60005b815181101561069c57610f7c828281518110610f6f57610f6f6127db565b602002602001015161109f565b80610f8681612807565b915050610f51565b610f966115bd565b601e5460ff1615610fdb5760405162461bcd60e51b815260206004820152600f60248201526e26b2ba30b230ba3090233937bd32b760891b604482015260640161051d565b6108e181611a5e565b6001600160a01b0385163314806110005750611000853361042b565b61101c5760405162461bcd60e51b815260040161051d90612820565b6109298585858585611a6a565b6110316115bd565b6001600160a01b0381166110965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161051d565b6108e18161192c565b601e54610100900460ff16156110c75760405162461bcd60e51b815260040161051d90612781565b6000818152601c6020526040902080546111125760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420612062756e646c6560a01b604482015260640161051d565b61111e33836001611b94565b61069c338280548060200260200160405190810160405280929190818152602001828054801561116d57602002820191906000526020600020905b815481526020019060010190808311611159575b505050505061117f84805490506112cd565b60405180602001604052806000815250611c98565b6060601d5482106111e05760405162461bcd60e51b81526020600482015260166024820152754e6f6e6578697374616e7420746f6b656e207479706560501b604482015260640161051d565b6000828152601c60209081526040918290208054835181840281018401909452808452909183018282801561123457602002820191906000526020600020905b815481526020019060010190808311611220575b5050505050905060008151116112815760405162461bcd60e51b8152602060048201526012602482015271546f6b656e206973207072696d697469766560701b604482015260640161051d565b919050565b61128e6115bd565b601e805460ff19166001179055565b6000816040516020016112b09190612913565b604051602081830303815290604052805190602001209050919050565b60606000826001600160401b038111156112e9576112e961213f565b604051908082528060200260200182016040528015611312578160200160208202803683370190505b50905060005b83811015611351576001828281518110611334576113346127db565b60209081029190910101528061134981612807565b915050611318565b5092915050565b6001600160a01b03831661137e5760405162461bcd60e51b815260040161051d90612949565b805182511461139f5760405162461bcd60e51b815260040161051d9061298c565b604080516020810190915260009081905233905b83518110156114755760008482815181106113d0576113d06127db565b6020026020010151905060008483815181106113ee576113ee6127db565b602090810291909101810151600084815280835260408082206001600160a01b038c16835290935291909120549091508181101561143e5760405162461bcd60e51b815260040161051d906129d4565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061146d81612807565b9150506113b3565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516114c6929190612a18565b60405180910390a460408051602081019091526000905250505050565b6001600160a01b0384166115095760405162461bcd60e51b815260040161051d90612a46565b33600061151585611de3565b9050600061152285611de3565b90506000868152602081815260408083206001600160a01b038b16845290915281208054879290611554908490612a87565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46115b483600089898989611e2e565b50505050505050565b6003546001600160a01b03163314610cfe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161051d565b81518351146116385760405162461bcd60e51b815260040161051d9061298c565b6001600160a01b03841661165e5760405162461bcd60e51b815260040161051d90612a9a565b3360005b845181101561174557600085828151811061167f5761167f6127db565b60200260200101519050600085838151811061169d5761169d6127db565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156116ed5760405162461bcd60e51b815260040161051d90612adf565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061172a908490612a87565b925050819055505050508061173e90612807565b9050611662565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611795929190612a18565b60405180910390a461070a818787878787611f89565b6000600454116117f35760405162461bcd60e51b81526020600482015260136024820152724e6f20636c61696d7320617661696c61626c6560681b604482015260640161051d565b60055460ff166118375760405162461bcd60e51b815260206004820152600f60248201526e10db185a5b5a5b99c810db1bdcd959608a1b604482015260640161051d565b6118448261ffff16610d6f565b61187d5760405162461bcd60e51b815260206004820152600a60248201526955736564204e6f6e636560b01b604482015260640161051d565b6113708261ffff16106118c25760405162461bcd60e51b815260206004820152600d60248201526c496e76616c6964204e6f6e636560981b604482015260640161051d565b6118cd838383610dc3565b6119095760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420436c61696d60981b604482015260640161051d565b61191282612044565b6004805490600061192283612b29565b9190505550505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036119f15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161051d565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600261069c8282612b86565b6001600160a01b038416611a905760405162461bcd60e51b815260040161051d90612a9a565b336000611a9c85611de3565b90506000611aa985611de3565b90506000868152602081815260408083206001600160a01b038c16845290915290205485811015611aec5760405162461bcd60e51b815260040161051d90612adf565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611b29908490612a87565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611b89848a8a8a8a8a611e2e565b505050505050505050565b6001600160a01b038316611bba5760405162461bcd60e51b815260040161051d90612949565b336000611bc684611de3565b90506000611bd384611de3565b60408051602080820183526000918290528882528181528282206001600160a01b038b1683529052205490915084811015611c205760405162461bcd60e51b815260040161051d906129d4565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526115b4565b6001600160a01b038416611cbe5760405162461bcd60e51b815260040161051d90612a46565b8151835114611cdf5760405162461bcd60e51b815260040161051d9061298c565b3360005b8451811015611d7b57838181518110611cfe57611cfe6127db565b6020026020010151600080878481518110611d1b57611d1b6127db565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254611d639190612a87565b90915550819050611d7381612807565b915050611ce3565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611dcc929190612a18565b60405180910390a461092981600087878787611f89565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e1d57611e1d6127db565b602090810291909101015292915050565b6001600160a01b0384163b1561070a5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611e729089908990889088908890600401612c45565b6020604051808303816000875af1925050508015611ead575060408051601f3d908101601f19168201909252611eaa91810190612c8a565b60015b611f5957611eb9612ca7565b806308c379a003611ef25750611ecd612cc3565b80611ed85750611ef4565b8060405162461bcd60e51b815260040161051d91906122b0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161051d565b6001600160e01b0319811663f23a6e6160e01b146115b45760405162461bcd60e51b815260040161051d90612d4c565b6001600160a01b0384163b1561070a5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611fcd9089908990889088908890600401612d94565b6020604051808303816000875af1925050508015612008575060408051601f3d908101601f1916820190925261200591810190612c8a565b60015b61201457611eb9612ca7565b6001600160e01b0319811663bc197c8160e01b146115b45760405162461bcd60e51b815260040161051d90612d4c565b600061205261010083612df2565b9050600061206261010084612e13565b905060006120718260ff612e34565b61ffff16600160001b901b1990508060068461ffff1660148110612097576120976127db565b018054909116905550505050565b6040518061040001604052806020906020820280368337509192915050565b80356001600160a01b038116811461128157600080fd5b600080604083850312156120ee57600080fd5b6120f7836120c4565b946020939093013593505050565b6001600160e01b0319811681146108e157600080fd5b60006020828403121561212d57600080fd5b813561213881612105565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b038111828210171561217a5761217a61213f565b6040525050565b60006001600160401b0382111561219a5761219a61213f565b5060051b60200190565b600082601f8301126121b557600080fd5b813560206121c282612181565b6040516121cf8282612155565b83815260059390931b85018201928281019150868411156121ef57600080fd5b8286015b8481101561220a57803583529183019183016121f3565b509695505050505050565b60006020828403121561222757600080fd5b81356001600160401b0381111561223d57600080fd5b612249848285016121a4565b949350505050565b60006020828403121561226357600080fd5b5035919050565b6000815180845260005b8181101561229057602081850181015186830182015201612274565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000612138602083018461226a565b600080602083850312156122d657600080fd5b82356001600160401b03808211156122ed57600080fd5b818501915085601f83011261230157600080fd5b81358181111561231057600080fd5b8660208260051b850101111561232557600080fd5b60209290920196919550909350505050565b60006020828403121561234957600080fd5b612138826120c4565b60006001600160401b0383111561236b5761236b61213f565b604051612382601f8501601f191660200182612155565b80915083815284848401111561239757600080fd5b83836020830137600060208583010152509392505050565b600082601f8301126123c057600080fd5b61213883833560208501612352565b600080600080600060a086880312156123e757600080fd5b6123f0866120c4565b94506123fe602087016120c4565b935060408601356001600160401b038082111561241a57600080fd5b61242689838a016121a4565b9450606088013591508082111561243c57600080fd5b61244889838a016121a4565b9350608088013591508082111561245e57600080fd5b5061246b888289016123af565b9150509295509295909350565b6000806040838503121561248b57600080fd5b82356001600160401b03808211156124a257600080fd5b818501915085601f8301126124b657600080fd5b813560206124c382612181565b6040516124d08282612155565b83815260059390931b85018201928281019150898411156124f057600080fd5b948201945b8386101561251557612506866120c4565b825294820194908201906124f5565b9650508601359250508082111561252b57600080fd5b50612538858286016121a4565b9150509250929050565b600081518084526020808501945080840160005b8381101561257257815187529582019590820190600101612556565b509495945050505050565b6020815260006121386020830184612542565b6104008101818360005b60208082106125a957506125c0565b825160ff168452928301929091019060010161259a565b50505092915050565b803561ffff8116811461128157600080fd5b6000806000606084860312156125f057600080fd5b83359250612600602085016125c9565b915060408401356001600160401b0381111561261b57600080fd5b612627868287016123af565b9150509250925092565b80151581146108e157600080fd5b6000806040838503121561265257600080fd5b61265b836120c4565b9150602083013561266b81612631565b809150509250929050565b60008060006060848603121561268b57600080fd5b612694846120c4565b9250612600602085016125c9565b6000602082840312156126b457600080fd5b81356001600160401b038111156126ca57600080fd5b8201601f810184136126db57600080fd5b61224984823560208401612352565b600080604083850312156126fd57600080fd5b612706836120c4565b9150612714602084016120c4565b90509250929050565b600080600080600060a0868803121561273557600080fd5b61273e866120c4565b945061274c602087016120c4565b9350604086013592506060860135915060808601356001600160401b0381111561277557600080fd5b61246b888289016123af565b60208082526006908201526514185d5cd95960d21b604082015260600190565b600181811c908216806127b557607f821691505b6020821081036127d557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612819576128196127f1565b5060010190565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60006020828403121561288157600080fd5b5051919050565b60006020828403121561289a57600080fd5b815161213881612631565b600060ff8216806128b8576128b86127f1565b6000190192915050565b634e487b7160e01b600052601260045260246000fd5b6000826128e7576128e76128c2565b500490565b6000826128fb576128fb6128c2565b500690565b81810381811115610549576105496127f1565b815160009082906020808601845b8381101561293d57815185529382019390820190600101612921565b50929695505050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b604081526000612a2b6040830185612542565b8281036020840152612a3d8185612542565b95945050505050565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b80820180821115610549576105496127f1565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b600081612b3857612b386127f1565b506000190190565b601f821115610bb257600081815260208120601f850160051c81016020861015612b675750805b601f850160051c820191505b8181101561070a57828155600101612b73565b81516001600160401b03811115612b9f57612b9f61213f565b612bb381612bad84546127a1565b84612b40565b602080601f831160018114612be85760008415612bd05750858301515b600019600386901b1c1916600185901b17855561070a565b600085815260208120601f198616915b82811015612c1757888601518255948401946001909101908401612bf8565b5085821015612c355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612c7f9083018461226a565b979650505050505050565b600060208284031215612c9c57600080fd5b815161213881612105565b600060033d1115612cc05760046000803e5060005160e01c5b90565b600060443d1015612cd15790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612d0057505050505090565b8285019150815181811115612d185750505050505090565b843d8701016020828501011115612d325750505050505090565b612d4160208286010187612155565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612dc090830186612542565b8281036060840152612dd28186612542565b90508281036080840152612de6818561226a565b98975050505050505050565b600061ffff80841680612e0757612e076128c2565b92169190910492915050565b600061ffff80841680612e2857612e286128c2565b92169190910692915050565b61ffff828116828216039080821115611351576113516127f156fea2646970667358221220bc17cf679b3cb123cdd4e31a8cd11474d648c23aaec8b7eb6dbf8e6a9893facd64736f6c63430008110033000000000000000000000000a20caf02d814dadafb6a9ee8b18658d41bf864360000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003f697066733a2f2f516d554b5071564463586f6a334b367a6a757672593270787857567763673969713633675751477a4c485a6f55422f7b69647d2e6a736f6e00

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102105760003560e01c8063715018a611610125578063c0730167116100ad578063f242432a1161007c578063f242432a14610462578063f2fde38b14610475578063f8a6386d14610488578063f8d12a411461049b578063fd07f9ca146104ae57600080fd5b8063c0730167146103f7578063e0df5b6f1461040a578063e985e9c51461041d578063ee5e2b8a1461045957600080fd5b80638eeb84b2116100f45780638eeb84b2146103ae578063a0ef91df146103b6578063a22cb465146103be578063ae75a231146103d1578063b579be27146103e457600080fd5b8063715018a61461037a5780638456cb59146103825780638da5cb5b1461038a5780638dfde339146103a557600080fd5b806329e1037d116101a85780634e735255116101775780634e735255146103205780635c471995146103355780635c975abb14610348578063608ad0301461035a5780636c7dda8e1461036d57600080fd5b806329e1037d146102d95780632eb2c2d6146102e55780633f4ba83a146102f85780634e1273f41461030057600080fd5b80630ce06b68116101e45780630ce06b68146102805780630e89341c146102935780630fe98f7b146102b3578063114c8f8d146102c657600080fd5b8062fdd58e1461021557806301ffc9a71461023b578063054f7d9c1461025e57806309f8bfad1461026b575b600080fd5b6102286102233660046120db565b6104b6565b6040519081526020015b60405180910390f35b61024e61024936600461211b565b61054f565b6040519015158152602001610232565b601e5461024e9060ff1681565b61027e610279366004612215565b61059f565b005b61027e61028e3660046120db565b6106a0565b6102a66102a1366004612251565b610712565b60405161023291906122b0565b61027e6102c13660046122c3565b6107a6565b61027e6102d4366004612337565b6108bb565b6004546109691061024e565b61027e6102f33660046123cf565b6108e4565b61027e610930565b61031361030e366004612478565b610945565b604051610232919061257d565b610328610a6e565b6040516102329190612590565b61027e610343366004612337565b610ac7565b601e5461024e90610100900460ff1681565b61027e6103683660046125db565b610bb7565b60055461024e9060ff1681565b61027e610cec565b61027e610d00565b6003546040516001600160a01b039091168152602001610232565b610228601d5481565b61027e610d19565b61027e610d30565b61027e6103cc36600461263f565b610d64565b61024e6103df366004612251565b610d6f565b61024e6103f2366004612676565b610dc3565b61027e610405366004612215565b610f4e565b61027e6104183660046126a2565b610f8e565b61024e61042b3660046126ea565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61022860045481565b61027e61047036600461271d565b610fe4565b61027e610483366004612337565b611029565b61027e610496366004612251565b61109f565b6103136104a9366004612251565b611194565b61027e611286565b60006001600160a01b0383166105265760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061058057506001600160e01b031982166303a24d0760e21b145b8061054957506301ffc9a760e01b6001600160e01b0319831614610549565b601e54610100900460ff16156105c75760405162461bcd60e51b815260040161051d90612781565b600181511161060b5760405162461bcd60e51b815260206004820152601060248201526f149958da5c19481d1bdbc81cda1bdc9d60821b604482015260640161051d565b6000601b600061061a8461129d565b81526020019081526020016000205490508060000361066c5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642062756e646c6560901b604482015260640161051d565b610680338361067b85516112cd565b611358565b61069c33826001604051806020016040528060008152506114e3565b5050565b6106a86115bd565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b1580156106f657600080fd5b505af115801561070a573d6000803e3d6000fd5b505050505050565b606060028054610721906127a1565b80601f016020809104026020016040519081016040528092919081815260200182805461074d906127a1565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b50505050509050919050565b6107ae6115bd565b60205460ff16156108015760405162461bcd60e51b815260206004820181905260248201527f436f6e7472696275746f7220416c6c6f636174696f6e7320436f6d706c657465604482015260640161051d565b600481146108495760405162461bcd60e51b81526020600482015260156024820152745265717569726573203420526563697069656e747360581b604482015260640161051d565b60005b818110156108a957610897838383818110610869576108696127db565b905060200201602081019061087e9190612337565b60236001604051806020016040528060008152506114e3565b806108a181612807565b91505061084c565b50506020805460ff1916600117905550565b6108c36115bd565b601a80546001600160a01b0319166001600160a01b03831617905550565b50565b6001600160a01b0385163314806109005750610900853361042b565b61091c5760405162461bcd60e51b815260040161051d90612820565b6109298585858585611617565b5050505050565b6109386115bd565b601e805461ff0019169055565b606081518351146109aa5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161051d565b600083516001600160401b038111156109c5576109c561213f565b6040519080825280602002602001820160405280156109ee578160200160208202803683370190505b50905060005b8451811015610a6657610a39858281518110610a1257610a126127db565b6020026020010151858381518110610a2c57610a2c6127db565b60200260200101516104b6565b828281518110610a4b57610a4b6127db565b6020908102919091010152610a5f81612807565b90506109f4565b509392505050565b610a766120a5565b6040805161040081019182905290601f90602090826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610a8f5790505050505050905090565b610acf6115bd565b6040516370a0823160e01b815230600482015281906001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b43919061286f565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610b8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb29190612888565b505050565b601e54610100900460ff1615610bdf5760405162461bcd60e51b815260040161051d90612781565b6004546109691015610cc4576000601f8460208110610c0057610c006127db565b602081049091015460ff601f9092166101000a90041611610c575760405162461bcd60e51b81526020600482015260116024820152701d1bdad95b8818db185a5b5959081bdd5d607a1b604482015260640161051d565b601f8360208110610c6a57610c6a6127db565b6020918282040191900681819054906101000a900460ff1680929190610c8f906128a5565b91906101000a81548160ff021916908360ff16021790555050610cc433846001604051806020016040528060008152506114e3565b610ccf3383836117ab565b610bb23360006001604051806020016040528060008152506114e3565b610cf46115bd565b610cfe600061192c565b565b610d086115bd565b601e805461ff001916610100179055565b610d216115bd565b610cfe6005805460ff19169055565b610d386115bd565b60405133904780156108fc02916000818181858888f193505050501580156108e1573d6000803e3d6000fd5b61069c33838361197e565b600080610d7e610100846128d8565b90506000610d8e610100856128ec565b90506000610d9d8260ff612900565b6001901b905060068360148110610db657610db66127db565b0154161515949350505050565b6040805169637572696f676c6f626560b01b60208201526bffffffffffffffffffffffff19606086901b16602a8201526001600160f01b031960f085901b16603e82015260009182910160408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160405160208183030381529060405280519060200120905060008060008551604114610eb65760405162461bcd60e51b815260206004820152600f60248201526e4d616c666f726d656420436c61696d60881b604482015260640161051d565b505050602083810151604080860151606080880151601a54845160008082529781018087528990529190961a93810184905290810184905260808101829052919390916001600160a01b039091169060019060a0016020604051602081039080840390855afa158015610f2d573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050509392505050565b60005b815181101561069c57610f7c828281518110610f6f57610f6f6127db565b602002602001015161109f565b80610f8681612807565b915050610f51565b610f966115bd565b601e5460ff1615610fdb5760405162461bcd60e51b815260206004820152600f60248201526e26b2ba30b230ba3090233937bd32b760891b604482015260640161051d565b6108e181611a5e565b6001600160a01b0385163314806110005750611000853361042b565b61101c5760405162461bcd60e51b815260040161051d90612820565b6109298585858585611a6a565b6110316115bd565b6001600160a01b0381166110965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161051d565b6108e18161192c565b601e54610100900460ff16156110c75760405162461bcd60e51b815260040161051d90612781565b6000818152601c6020526040902080546111125760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420612062756e646c6560a01b604482015260640161051d565b61111e33836001611b94565b61069c338280548060200260200160405190810160405280929190818152602001828054801561116d57602002820191906000526020600020905b815481526020019060010190808311611159575b505050505061117f84805490506112cd565b60405180602001604052806000815250611c98565b6060601d5482106111e05760405162461bcd60e51b81526020600482015260166024820152754e6f6e6578697374616e7420746f6b656e207479706560501b604482015260640161051d565b6000828152601c60209081526040918290208054835181840281018401909452808452909183018282801561123457602002820191906000526020600020905b815481526020019060010190808311611220575b5050505050905060008151116112815760405162461bcd60e51b8152602060048201526012602482015271546f6b656e206973207072696d697469766560701b604482015260640161051d565b919050565b61128e6115bd565b601e805460ff19166001179055565b6000816040516020016112b09190612913565b604051602081830303815290604052805190602001209050919050565b60606000826001600160401b038111156112e9576112e961213f565b604051908082528060200260200182016040528015611312578160200160208202803683370190505b50905060005b83811015611351576001828281518110611334576113346127db565b60209081029190910101528061134981612807565b915050611318565b5092915050565b6001600160a01b03831661137e5760405162461bcd60e51b815260040161051d90612949565b805182511461139f5760405162461bcd60e51b815260040161051d9061298c565b604080516020810190915260009081905233905b83518110156114755760008482815181106113d0576113d06127db565b6020026020010151905060008483815181106113ee576113ee6127db565b602090810291909101810151600084815280835260408082206001600160a01b038c16835290935291909120549091508181101561143e5760405162461bcd60e51b815260040161051d906129d4565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061146d81612807565b9150506113b3565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516114c6929190612a18565b60405180910390a460408051602081019091526000905250505050565b6001600160a01b0384166115095760405162461bcd60e51b815260040161051d90612a46565b33600061151585611de3565b9050600061152285611de3565b90506000868152602081815260408083206001600160a01b038b16845290915281208054879290611554908490612a87565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46115b483600089898989611e2e565b50505050505050565b6003546001600160a01b03163314610cfe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161051d565b81518351146116385760405162461bcd60e51b815260040161051d9061298c565b6001600160a01b03841661165e5760405162461bcd60e51b815260040161051d90612a9a565b3360005b845181101561174557600085828151811061167f5761167f6127db565b60200260200101519050600085838151811061169d5761169d6127db565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156116ed5760405162461bcd60e51b815260040161051d90612adf565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061172a908490612a87565b925050819055505050508061173e90612807565b9050611662565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611795929190612a18565b60405180910390a461070a818787878787611f89565b6000600454116117f35760405162461bcd60e51b81526020600482015260136024820152724e6f20636c61696d7320617661696c61626c6560681b604482015260640161051d565b60055460ff166118375760405162461bcd60e51b815260206004820152600f60248201526e10db185a5b5a5b99c810db1bdcd959608a1b604482015260640161051d565b6118448261ffff16610d6f565b61187d5760405162461bcd60e51b815260206004820152600a60248201526955736564204e6f6e636560b01b604482015260640161051d565b6113708261ffff16106118c25760405162461bcd60e51b815260206004820152600d60248201526c496e76616c6964204e6f6e636560981b604482015260640161051d565b6118cd838383610dc3565b6119095760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420436c61696d60981b604482015260640161051d565b61191282612044565b6004805490600061192283612b29565b9190505550505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036119f15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161051d565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600261069c8282612b86565b6001600160a01b038416611a905760405162461bcd60e51b815260040161051d90612a9a565b336000611a9c85611de3565b90506000611aa985611de3565b90506000868152602081815260408083206001600160a01b038c16845290915290205485811015611aec5760405162461bcd60e51b815260040161051d90612adf565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611b29908490612a87565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611b89848a8a8a8a8a611e2e565b505050505050505050565b6001600160a01b038316611bba5760405162461bcd60e51b815260040161051d90612949565b336000611bc684611de3565b90506000611bd384611de3565b60408051602080820183526000918290528882528181528282206001600160a01b038b1683529052205490915084811015611c205760405162461bcd60e51b815260040161051d906129d4565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526115b4565b6001600160a01b038416611cbe5760405162461bcd60e51b815260040161051d90612a46565b8151835114611cdf5760405162461bcd60e51b815260040161051d9061298c565b3360005b8451811015611d7b57838181518110611cfe57611cfe6127db565b6020026020010151600080878481518110611d1b57611d1b6127db565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254611d639190612a87565b90915550819050611d7381612807565b915050611ce3565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611dcc929190612a18565b60405180910390a461092981600087878787611f89565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e1d57611e1d6127db565b602090810291909101015292915050565b6001600160a01b0384163b1561070a5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611e729089908990889088908890600401612c45565b6020604051808303816000875af1925050508015611ead575060408051601f3d908101601f19168201909252611eaa91810190612c8a565b60015b611f5957611eb9612ca7565b806308c379a003611ef25750611ecd612cc3565b80611ed85750611ef4565b8060405162461bcd60e51b815260040161051d91906122b0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161051d565b6001600160e01b0319811663f23a6e6160e01b146115b45760405162461bcd60e51b815260040161051d90612d4c565b6001600160a01b0384163b1561070a5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611fcd9089908990889088908890600401612d94565b6020604051808303816000875af1925050508015612008575060408051601f3d908101601f1916820190925261200591810190612c8a565b60015b61201457611eb9612ca7565b6001600160e01b0319811663bc197c8160e01b146115b45760405162461bcd60e51b815260040161051d90612d4c565b600061205261010083612df2565b9050600061206261010084612e13565b905060006120718260ff612e34565b61ffff16600160001b901b1990508060068461ffff1660148110612097576120976127db565b018054909116905550505050565b6040518061040001604052806020906020820280368337509192915050565b80356001600160a01b038116811461128157600080fd5b600080604083850312156120ee57600080fd5b6120f7836120c4565b946020939093013593505050565b6001600160e01b0319811681146108e157600080fd5b60006020828403121561212d57600080fd5b813561213881612105565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b038111828210171561217a5761217a61213f565b6040525050565b60006001600160401b0382111561219a5761219a61213f565b5060051b60200190565b600082601f8301126121b557600080fd5b813560206121c282612181565b6040516121cf8282612155565b83815260059390931b85018201928281019150868411156121ef57600080fd5b8286015b8481101561220a57803583529183019183016121f3565b509695505050505050565b60006020828403121561222757600080fd5b81356001600160401b0381111561223d57600080fd5b612249848285016121a4565b949350505050565b60006020828403121561226357600080fd5b5035919050565b6000815180845260005b8181101561229057602081850181015186830182015201612274565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000612138602083018461226a565b600080602083850312156122d657600080fd5b82356001600160401b03808211156122ed57600080fd5b818501915085601f83011261230157600080fd5b81358181111561231057600080fd5b8660208260051b850101111561232557600080fd5b60209290920196919550909350505050565b60006020828403121561234957600080fd5b612138826120c4565b60006001600160401b0383111561236b5761236b61213f565b604051612382601f8501601f191660200182612155565b80915083815284848401111561239757600080fd5b83836020830137600060208583010152509392505050565b600082601f8301126123c057600080fd5b61213883833560208501612352565b600080600080600060a086880312156123e757600080fd5b6123f0866120c4565b94506123fe602087016120c4565b935060408601356001600160401b038082111561241a57600080fd5b61242689838a016121a4565b9450606088013591508082111561243c57600080fd5b61244889838a016121a4565b9350608088013591508082111561245e57600080fd5b5061246b888289016123af565b9150509295509295909350565b6000806040838503121561248b57600080fd5b82356001600160401b03808211156124a257600080fd5b818501915085601f8301126124b657600080fd5b813560206124c382612181565b6040516124d08282612155565b83815260059390931b85018201928281019150898411156124f057600080fd5b948201945b8386101561251557612506866120c4565b825294820194908201906124f5565b9650508601359250508082111561252b57600080fd5b50612538858286016121a4565b9150509250929050565b600081518084526020808501945080840160005b8381101561257257815187529582019590820190600101612556565b509495945050505050565b6020815260006121386020830184612542565b6104008101818360005b60208082106125a957506125c0565b825160ff168452928301929091019060010161259a565b50505092915050565b803561ffff8116811461128157600080fd5b6000806000606084860312156125f057600080fd5b83359250612600602085016125c9565b915060408401356001600160401b0381111561261b57600080fd5b612627868287016123af565b9150509250925092565b80151581146108e157600080fd5b6000806040838503121561265257600080fd5b61265b836120c4565b9150602083013561266b81612631565b809150509250929050565b60008060006060848603121561268b57600080fd5b612694846120c4565b9250612600602085016125c9565b6000602082840312156126b457600080fd5b81356001600160401b038111156126ca57600080fd5b8201601f810184136126db57600080fd5b61224984823560208401612352565b600080604083850312156126fd57600080fd5b612706836120c4565b9150612714602084016120c4565b90509250929050565b600080600080600060a0868803121561273557600080fd5b61273e866120c4565b945061274c602087016120c4565b9350604086013592506060860135915060808601356001600160401b0381111561277557600080fd5b61246b888289016123af565b60208082526006908201526514185d5cd95960d21b604082015260600190565b600181811c908216806127b557607f821691505b6020821081036127d557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612819576128196127f1565b5060010190565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60006020828403121561288157600080fd5b5051919050565b60006020828403121561289a57600080fd5b815161213881612631565b600060ff8216806128b8576128b86127f1565b6000190192915050565b634e487b7160e01b600052601260045260246000fd5b6000826128e7576128e76128c2565b500490565b6000826128fb576128fb6128c2565b500690565b81810381811115610549576105496127f1565b815160009082906020808601845b8381101561293d57815185529382019390820190600101612921565b50929695505050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b604081526000612a2b6040830185612542565b8281036020840152612a3d8185612542565b95945050505050565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b80820180821115610549576105496127f1565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b600081612b3857612b386127f1565b506000190190565b601f821115610bb257600081815260208120601f850160051c81016020861015612b675750805b601f850160051c820191505b8181101561070a57828155600101612b73565b81516001600160401b03811115612b9f57612b9f61213f565b612bb381612bad84546127a1565b84612b40565b602080601f831160018114612be85760008415612bd05750858301515b600019600386901b1c1916600185901b17855561070a565b600085815260208120601f198616915b82811015612c1757888601518255948401946001909101908401612bf8565b5085821015612c355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612c7f9083018461226a565b979650505050505050565b600060208284031215612c9c57600080fd5b815161213881612105565b600060033d1115612cc05760046000803e5060005160e01c5b90565b600060443d1015612cd15790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612d0057505050505090565b8285019150815181811115612d185750505050505090565b843d8701016020828501011115612d325750505050505090565b612d4160208286010187612155565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612dc090830186612542565b8281036060840152612dd28186612542565b90508281036080840152612de6818561226a565b98975050505050505050565b600061ffff80841680612e0757612e076128c2565b92169190910492915050565b600061ffff80841680612e2857612e286128c2565b92169190910692915050565b61ffff828116828216039080821115611351576113516127f156fea2646970667358221220bc17cf679b3cb123cdd4e31a8cd11474d648c23aaec8b7eb6dbf8e6a9893facd64736f6c63430008110033

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

000000000000000000000000a20caf02d814dadafb6a9ee8b18658d41bf864360000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003f697066733a2f2f516d554b5071564463586f6a334b367a6a757672593270787857567763673969713633675751477a4c485a6f55422f7b69647d2e6a736f6e00

-----Decoded View---------------
Arg [0] : claimSigner (address): 0xa20Caf02d814DadaFb6A9EE8b18658d41BF86436
Arg [1] : initialTokenURI (string): ipfs://QmUKPqVDcXoj3K6zjuvrY2pxxWVwcg9iq63gWQGzLHZoUB/{id}.json

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a20caf02d814dadafb6a9ee8b18658d41bf86436
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [3] : 697066733a2f2f516d554b5071564463586f6a334b367a6a7576725932707878
Arg [4] : 57567763673969713633675751477a4c485a6f55422f7b69647d2e6a736f6e00


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.