ETH Price: $3,304.47 (-3.77%)
Gas: 13 Gwei

Token

 

Overview

Max Total Supply

159

Holders

129

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
gotrilla.eth
0x3546BD99767246C358ff1497f1580C8365b25AC8
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
InterleaveSuperNFT

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : InterleaveSuperNFT.sol
// contracts/InterleaveSuperNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/*
  _____       _            _                     
  \_   \_ __ | |_ ___ _ __| | ___  __ ___   _____ 
   / /\/ '_ \| __/ _ \ '__| |/ _ \/ _` \ \ / / _ \
/\/ /_ | | | | ||  __/ |  | |  __/ (_| |\ V /  __/
\____/ |_| |_|\__\___|_|  |_|\___|\__,_| \_/ \___|

*/

/// @title The SuperNFT contract for Interleave
/// @notice Contract represents a ERC1155 which is only mintable for a certain period of time under specific conditions
contract InterleaveSuperNFT is ERC1155, ERC1155Burnable, Ownable {
    string public baseURI;

    uint256 public MINTING_PERIOD_END;

    uint256 public immutable REQUIRED_BURN_AMOUNT = 6;

    ERC721Burnable public interleaveNFT;

    mapping(uint256 => bool) public validSuperNFTs;

    event SetBaseURI(string indexed _baseURI);

    constructor(
        address _interleaveNFT,
        uint256 _mintingPeriodLengthInSeconds,
        string memory _baseURI
    ) ERC1155(_baseURI) {
        baseURI = _baseURI;
        MINTING_PERIOD_END = block.timestamp + _mintingPeriodLengthInSeconds;
        interleaveNFT = ERC721Burnable(_interleaveNFT);
        validSuperNFTs[0] = true;
        emit SetBaseURI(baseURI);
    }

    function mintSuperNFT(uint256[] memory _idsToBurn) public {
        require(block.timestamp < MINTING_PERIOD_END, "Minting period closed");
        require(_idsToBurn.length == REQUIRED_BURN_AMOUNT, "Minimum 6 NFTs required");
        for (uint256 i = 0; i < _idsToBurn.length; i++) {
            require(interleaveNFT.ownerOf(_idsToBurn[i]) == msg.sender, "User is not the owner of all token ids");
            interleaveNFT.burn(_idsToBurn[i]);
        }
        _mint(msg.sender, 0, 1, "");
    }

    function uri(uint256 typeId) public view override returns (string memory) {
        require(validSuperNFTs[typeId], "URI requested for invalid super NFT type");
        return baseURI;
    }

    function updateBaseUri(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
        emit SetBaseURI(baseURI);
    }

    function setMintingPeriodEnd(uint256 _timeInSeconds) public onlyOwner {
        MINTING_PERIOD_END = block.timestamp + _timeInSeconds;
    }
}

File 2 of 17 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).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(to).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 17 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

File 4 of 17 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 5 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 17 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 7 of 17 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

File 8 of 17 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

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 9 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

pragma solidity ^0.8.0;

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

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

File 11 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

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 12 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 13 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 14 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 16 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 17 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_interleaveNFT","type":"address"},{"internalType":"uint256","name":"_mintingPeriodLengthInSeconds","type":"uint256"},{"internalType":"string","name":"_baseURI","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":"string","name":"_baseURI","type":"string"}],"name":"SetBaseURI","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":[],"name":"MINTING_PERIOD_END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REQUIRED_BURN_AMOUNT","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"interleaveNFT","outputs":[{"internalType":"contract ERC721Burnable","name":"","type":"address"}],"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":"_idsToBurn","type":"uint256[]"}],"name":"mintSuperNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timeInSeconds","type":"uint256"}],"name":"setMintingPeriodEnd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"updateBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"validSuperNFTs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60a060405260066080908152503480156200001957600080fd5b50604051620047df380380620047df83398181016040528101906200003f9190620003a0565b8062000051816200015a60201b60201c565b5062000072620000666200017660201b60201c565b6200017e60201b60201c565b80600490805190602001906200008a92919062000244565b5081426200009991906200053e565b60058190555082600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016007600080815260200190815260200160002060006101000a81548160ff02191690831515021790555060046040516200011d9190620004a6565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250505062000761565b80600290805190602001906200017292919062000244565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000252906200060f565b90600052602060002090601f016020900481019282620002765760008555620002c2565b82601f106200029157805160ff1916838001178555620002c2565b82800160010185558215620002c2579182015b82811115620002c1578251825591602001919060010190620002a4565b5b509050620002d19190620002d5565b5090565b5b80821115620002f0576000816000905550600101620002d6565b5090565b60006200030b6200030584620004e8565b620004bf565b9050828152602081018484840111156200032a57620003296200070d565b5b62000337848285620005d9565b509392505050565b60008151905062000350816200072d565b92915050565b600082601f8301126200036e576200036d62000708565b5b815162000380848260208601620002f4565b91505092915050565b6000815190506200039a8162000747565b92915050565b600080600060608486031215620003bc57620003bb62000717565b5b6000620003cc868287016200033f565b9350506020620003df8682870162000389565b925050604084015167ffffffffffffffff81111562000403576200040262000712565b5b620004118682870162000356565b9150509250925092565b600081546200042a816200060f565b62000436818662000533565b9450600182166000811462000454576001811462000466576200049d565b60ff198316865281860193506200049d565b62000471856200051e565b60005b83811015620004955781548189015260018201915060208101905062000474565b838801955050505b50505092915050565b6000620004b482846200041b565b915081905092915050565b6000620004cb620004de565b9050620004d9828262000645565b919050565b6000604051905090565b600067ffffffffffffffff821115620005065762000505620006d9565b5b62000511826200071c565b9050602081019050919050565b60008190508160005260206000209050919050565b600081905092915050565b60006200054b82620005cf565b91506200055883620005cf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000590576200058f6200067b565b5b828201905092915050565b6000620005a882620005af565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620005f9578082015181840152602081019050620005dc565b8381111562000609576000848401525b50505050565b600060028204905060018216806200062857607f821691505b602082108114156200063f576200063e620006aa565b5b50919050565b62000650826200071c565b810181811067ffffffffffffffff82111715620006725762000671620006d9565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000738816200059b565b81146200074457600080fd5b50565b6200075281620005cf565b81146200075e57600080fd5b50565b60805161405b62000784600039600081816106e40152610dce015261405b6000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80636b20c454116100b8578063a22cb4651161007c578063a22cb4651461033b578063c33e83b814610357578063e985e9c514610373578063f242432a146103a3578063f2fde38b146103bf578063f5298aca146103db57610136565b80636b20c454146102bd5780636c0360eb146102d9578063715018a6146102f75780637a7fea62146103015780638da5cb5b1461031d57610136565b8063154a5a9b116100ff578063154a5a9b14610219578063275c9a65146102375780632eb2c2d61461025557806339f7e37f146102715780634e1273f41461028d57610136565b8062fdd58e1461013b57806301ffc9a71461016b57806303b6ece31461019b5780630e89341c146101b95780630f0d6271146101e9575b600080fd5b61015560048036038101906101509190612aaf565b6103f7565b6040516101629190613523565b60405180910390f35b61018560048036038101906101809190612c03565b6104c0565b604051610192919061326b565b60405180910390f35b6101a36105a2565b6040516101b09190613523565b60405180910390f35b6101d360048036038101906101ce9190612ca6565b6105a8565b6040516101e091906132a1565b60405180910390f35b61020360048036038101906101fe9190612ca6565b61069c565b604051610210919061326b565b60405180910390f35b6102216106bc565b60405161022e9190613286565b60405180910390f35b61023f6106e2565b60405161024c9190613523565b60405180910390f35b61026f600480360381019061026a919061287e565b610706565b005b61028b60048036038101906102869190612c5d565b6107a7565b005b6102a760048036038101906102a29190612b42565b610880565b6040516102b49190613212565b60405180910390f35b6102d760048036038101906102d291906129e4565b610999565b005b6102e1610a36565b6040516102ee91906132a1565b60405180910390f35b6102ff610ac4565b005b61031b60048036038101906103169190612ca6565b610b4c565b005b610325610bdd565b6040516103329190613135565b60405180910390f35b61035560048036038101906103509190612a6f565b610c07565b005b610371600480360381019061036c9190612bba565b610d88565b005b61038d6004803603810190610388919061283e565b611048565b60405161039a919061326b565b60405180910390f35b6103bd60048036038101906103b8919061294d565b6110dc565b005b6103d960048036038101906103d491906127e4565b61117d565b005b6103f560048036038101906103f09190612aef565b611275565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90613303565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061058b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061059b575061059a82611312565b5b9050919050565b60055481565b60606007600083815260200190815260200160002060009054906101000a900460ff1661060a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060190613323565b60405180910390fd5b6004805461061790613807565b80601f016020809104026020016040519081016040528092919081815260200182805461064390613807565b80156106905780601f1061066557610100808354040283529160200191610690565b820191906000526020600020905b81548152906001019060200180831161067357829003601f168201915b50505050509050919050565b60076020528060005260406000206000915054906101000a900460ff1681565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b61070e61137c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061075457506107538561074e61137c565b611048565b5b610793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078a906133c3565b60405180910390fd5b6107a08585858585611384565b5050505050565b6107af61137c565b73ffffffffffffffffffffffffffffffffffffffff166107cd610bdd565b73ffffffffffffffffffffffffffffffffffffffff1614610823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081a90613443565b60405180910390fd5b80600490805190602001906108399291906124a7565b506004604051610849919061311e565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b606081518351146108c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bd906134c3565b60405180910390fd5b6000835167ffffffffffffffff8111156108e3576108e2613940565b5b6040519080825280602002602001820160405280156109115781602001602082028036833780820191505090505b50905060005b845181101561098e5761095e85828151811061093657610935613911565b5b602002602001015185838151811061095157610950613911565b5b60200260200101516103f7565b82828151811061097157610970613911565b5b602002602001018181525050806109879061386a565b9050610917565b508091505092915050565b6109a161137c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806109e757506109e6836109e161137c565b611048565b5b610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d90613383565b60405180910390fd5b610a31838383611698565b505050565b60048054610a4390613807565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6f90613807565b8015610abc5780601f10610a9157610100808354040283529160200191610abc565b820191906000526020600020905b815481529060010190602001808311610a9f57829003601f168201915b505050505081565b610acc61137c565b73ffffffffffffffffffffffffffffffffffffffff16610aea610bdd565b73ffffffffffffffffffffffffffffffffffffffff1614610b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3790613443565b60405180910390fd5b610b4a6000611949565b565b610b5461137c565b73ffffffffffffffffffffffffffffffffffffffff16610b72610bdd565b73ffffffffffffffffffffffffffffffffffffffff1614610bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbf90613443565b60405180910390fd5b8042610bd491906136d7565b60058190555050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8173ffffffffffffffffffffffffffffffffffffffff16610c2661137c565b73ffffffffffffffffffffffffffffffffffffffff161415610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c74906134a3565b60405180910390fd5b8060016000610c8a61137c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d3761137c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d7c919061326b565b60405180910390a35050565b6005544210610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc390613483565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000815114610e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2690613423565b60405180910390fd5b60005b8151811015611027573373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e848481518110610ea357610ea2613911565b5b60200260200101516040518263ffffffff1660e01b8152600401610ec79190613523565b60206040518083038186803b158015610edf57600080fd5b505afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190612811565b73ffffffffffffffffffffffffffffffffffffffff1614610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6490613463565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68838381518110610fbe57610fbd613911565b5b60200260200101516040518263ffffffff1660e01b8152600401610fe29190613523565b600060405180830381600087803b158015610ffc57600080fd5b505af1158015611010573d6000803e3d6000fd5b50505050808061101f9061386a565b915050610e32565b50611045336000600160405180602001604052806000815250611a0f565b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110e461137c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061112a57506111298561112461137c565b611048565b5b611169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116090613383565b60405180910390fd5b6111768585858585611ba5565b5050505050565b61118561137c565b73ffffffffffffffffffffffffffffffffffffffff166111a3610bdd565b73ffffffffffffffffffffffffffffffffffffffff16146111f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f090613443565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126090613343565b60405180910390fd5b61127281611949565b50565b61127d61137c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806112c357506112c2836112bd61137c565b611048565b5b611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f990613383565b60405180910390fd5b61130d838383611e27565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b81518351146113c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bf906134e3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f906133a3565b60405180910390fd5b600061144261137c565b9050611452818787878787612044565b60005b845181101561160357600085828151811061147357611472613911565b5b60200260200101519050600085838151811061149257611491613911565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613403565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115e891906136d7565b92505081905550505050806115fc9061386a565b9050611455565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161167a929190613234565b60405180910390a461169081878787878761204c565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff906133e3565b60405180910390fd5b805182511461174c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611743906134e3565b60405180910390fd5b600061175661137c565b905061177681856000868660405180602001604052806000815250612044565b60005b83518110156118c357600084828151811061179757611796613911565b5b6020026020010151905060008483815181106117b6576117b5613911565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e90613363565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806118bb9061386a565b915050611779565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161193b929190613234565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7690613503565b60405180910390fd5b6000611a8961137c565b9050611aaa81600087611a9b88612233565b611aa488612233565b87612044565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b0991906136d7565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611b8792919061353e565b60405180910390a4611b9e816000878787876122ad565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0c906133a3565b60405180910390fd5b6000611c1f61137c565b9050611c3f818787611c3088612233565b611c3988612233565b87612044565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccd90613403565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d8b91906136d7565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611e0892919061353e565b60405180910390a4611e1e8288888888886122ad565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8e906133e3565b60405180910390fd5b6000611ea161137c565b9050611ed181856000611eb387612233565b611ebc87612233565b60405180602001604052806000815250612044565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5f90613363565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161203592919061353e565b60405180910390a45050505050565b505050505050565b61206b8473ffffffffffffffffffffffffffffffffffffffff16612494565b1561222b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016120b1959493929190613150565b602060405180830381600087803b1580156120cb57600080fd5b505af19250505080156120fc57506040513d601f19601f820116820180604052508101906120f99190612c30565b60015b6121a25761210861396f565b806308c379a01415612165575061211d613f33565b806121285750612167565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215c91906132a1565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612199906132c3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612229576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612220906132e3565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561225257612251613940565b5b6040519080825280602002602001820160405280156122805781602001602082028036833780820191505090505b509050828160008151811061229857612297613911565b5b60200260200101818152505080915050919050565b6122cc8473ffffffffffffffffffffffffffffffffffffffff16612494565b1561248c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123129594939291906131b8565b602060405180830381600087803b15801561232c57600080fd5b505af192505050801561235d57506040513d601f19601f8201168201806040525081019061235a9190612c30565b60015b6124035761236961396f565b806308c379a014156123c6575061237e613f33565b8061238957506123c8565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bd91906132a1565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fa906132c3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461248a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612481906132e3565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b8280546124b390613807565b90600052602060002090601f0160209004810192826124d5576000855561251c565b82601f106124ee57805160ff191683800117855561251c565b8280016001018555821561251c579182015b8281111561251b578251825591602001919060010190612500565b5b509050612529919061252d565b5090565b5b8082111561254657600081600090555060010161252e565b5090565b600061255d6125588461358c565b613567565b905080838252602082019050828560208602820111156125805761257f613996565b5b60005b858110156125b0578161259688826126ae565b845260208401935060208301925050600181019050612583565b5050509392505050565b60006125cd6125c8846135b8565b613567565b905080838252602082019050828560208602820111156125f0576125ef613996565b5b60005b85811015612620578161260688826127cf565b8452602084019350602083019250506001810190506125f3565b5050509392505050565b600061263d612638846135e4565b613567565b9050828152602081018484840111156126595761265861399b565b5b6126648482856137c5565b509392505050565b600061267f61267a84613615565b613567565b90508281526020810184848401111561269b5761269a61399b565b5b6126a68482856137c5565b509392505050565b6000813590506126bd81613fc9565b92915050565b6000815190506126d281613fc9565b92915050565b600082601f8301126126ed576126ec613991565b5b81356126fd84826020860161254a565b91505092915050565b600082601f83011261271b5761271a613991565b5b813561272b8482602086016125ba565b91505092915050565b60008135905061274381613fe0565b92915050565b60008135905061275881613ff7565b92915050565b60008151905061276d81613ff7565b92915050565b600082601f83011261278857612787613991565b5b813561279884826020860161262a565b91505092915050565b600082601f8301126127b6576127b5613991565b5b81356127c684826020860161266c565b91505092915050565b6000813590506127de8161400e565b92915050565b6000602082840312156127fa576127f96139a5565b5b6000612808848285016126ae565b91505092915050565b600060208284031215612827576128266139a5565b5b6000612835848285016126c3565b91505092915050565b60008060408385031215612855576128546139a5565b5b6000612863858286016126ae565b9250506020612874858286016126ae565b9150509250929050565b600080600080600060a0868803121561289a576128996139a5565b5b60006128a8888289016126ae565b95505060206128b9888289016126ae565b945050604086013567ffffffffffffffff8111156128da576128d96139a0565b5b6128e688828901612706565b935050606086013567ffffffffffffffff811115612907576129066139a0565b5b61291388828901612706565b925050608086013567ffffffffffffffff811115612934576129336139a0565b5b61294088828901612773565b9150509295509295909350565b600080600080600060a08688031215612969576129686139a5565b5b6000612977888289016126ae565b9550506020612988888289016126ae565b9450506040612999888289016127cf565b93505060606129aa888289016127cf565b925050608086013567ffffffffffffffff8111156129cb576129ca6139a0565b5b6129d788828901612773565b9150509295509295909350565b6000806000606084860312156129fd576129fc6139a5565b5b6000612a0b868287016126ae565b935050602084013567ffffffffffffffff811115612a2c57612a2b6139a0565b5b612a3886828701612706565b925050604084013567ffffffffffffffff811115612a5957612a586139a0565b5b612a6586828701612706565b9150509250925092565b60008060408385031215612a8657612a856139a5565b5b6000612a94858286016126ae565b9250506020612aa585828601612734565b9150509250929050565b60008060408385031215612ac657612ac56139a5565b5b6000612ad4858286016126ae565b9250506020612ae5858286016127cf565b9150509250929050565b600080600060608486031215612b0857612b076139a5565b5b6000612b16868287016126ae565b9350506020612b27868287016127cf565b9250506040612b38868287016127cf565b9150509250925092565b60008060408385031215612b5957612b586139a5565b5b600083013567ffffffffffffffff811115612b7757612b766139a0565b5b612b83858286016126d8565b925050602083013567ffffffffffffffff811115612ba457612ba36139a0565b5b612bb085828601612706565b9150509250929050565b600060208284031215612bd057612bcf6139a5565b5b600082013567ffffffffffffffff811115612bee57612bed6139a0565b5b612bfa84828501612706565b91505092915050565b600060208284031215612c1957612c186139a5565b5b6000612c2784828501612749565b91505092915050565b600060208284031215612c4657612c456139a5565b5b6000612c548482850161275e565b91505092915050565b600060208284031215612c7357612c726139a5565b5b600082013567ffffffffffffffff811115612c9157612c906139a0565b5b612c9d848285016127a1565b91505092915050565b600060208284031215612cbc57612cbb6139a5565b5b6000612cca848285016127cf565b91505092915050565b6000612cdf8383613100565b60208301905092915050565b612cf48161372d565b82525050565b6000612d058261366b565b612d0f8185613699565b9350612d1a83613646565b8060005b83811015612d4b578151612d328882612cd3565b9750612d3d8361368c565b925050600181019050612d1e565b5085935050505092915050565b612d618161373f565b82525050565b6000612d7282613676565b612d7c81856136aa565b9350612d8c8185602086016137d4565b612d95816139aa565b840191505092915050565b612da9816137a1565b82525050565b6000612dba82613681565b612dc481856136bb565b9350612dd48185602086016137d4565b612ddd816139aa565b840191505092915050565b60008154612df581613807565b612dff81866136cc565b94506001821660008114612e1a5760018114612e2b57612e5e565b60ff19831686528186019350612e5e565b612e3485613656565b60005b83811015612e5657815481890152600182019150602081019050612e37565b838801955050505b50505092915050565b6000612e746034836136bb565b9150612e7f826139c8565b604082019050919050565b6000612e976028836136bb565b9150612ea282613a17565b604082019050919050565b6000612eba602b836136bb565b9150612ec582613a66565b604082019050919050565b6000612edd6028836136bb565b9150612ee882613ab5565b604082019050919050565b6000612f006026836136bb565b9150612f0b82613b04565b604082019050919050565b6000612f236024836136bb565b9150612f2e82613b53565b604082019050919050565b6000612f466029836136bb565b9150612f5182613ba2565b604082019050919050565b6000612f696025836136bb565b9150612f7482613bf1565b604082019050919050565b6000612f8c6032836136bb565b9150612f9782613c40565b604082019050919050565b6000612faf6023836136bb565b9150612fba82613c8f565b604082019050919050565b6000612fd2602a836136bb565b9150612fdd82613cde565b604082019050919050565b6000612ff56017836136bb565b915061300082613d2d565b602082019050919050565b60006130186020836136bb565b915061302382613d56565b602082019050919050565b600061303b6026836136bb565b915061304682613d7f565b604082019050919050565b600061305e6015836136bb565b915061306982613dce565b602082019050919050565b60006130816029836136bb565b915061308c82613df7565b604082019050919050565b60006130a46029836136bb565b91506130af82613e46565b604082019050919050565b60006130c76028836136bb565b91506130d282613e95565b604082019050919050565b60006130ea6021836136bb565b91506130f582613ee4565b604082019050919050565b61310981613797565b82525050565b61311881613797565b82525050565b600061312a8284612de8565b915081905092915050565b600060208201905061314a6000830184612ceb565b92915050565b600060a0820190506131656000830188612ceb565b6131726020830187612ceb565b81810360408301526131848186612cfa565b905081810360608301526131988185612cfa565b905081810360808301526131ac8184612d67565b90509695505050505050565b600060a0820190506131cd6000830188612ceb565b6131da6020830187612ceb565b6131e7604083018661310f565b6131f4606083018561310f565b81810360808301526132068184612d67565b90509695505050505050565b6000602082019050818103600083015261322c8184612cfa565b905092915050565b6000604082019050818103600083015261324e8185612cfa565b905081810360208301526132628184612cfa565b90509392505050565b60006020820190506132806000830184612d58565b92915050565b600060208201905061329b6000830184612da0565b92915050565b600060208201905081810360008301526132bb8184612daf565b905092915050565b600060208201905081810360008301526132dc81612e67565b9050919050565b600060208201905081810360008301526132fc81612e8a565b9050919050565b6000602082019050818103600083015261331c81612ead565b9050919050565b6000602082019050818103600083015261333c81612ed0565b9050919050565b6000602082019050818103600083015261335c81612ef3565b9050919050565b6000602082019050818103600083015261337c81612f16565b9050919050565b6000602082019050818103600083015261339c81612f39565b9050919050565b600060208201905081810360008301526133bc81612f5c565b9050919050565b600060208201905081810360008301526133dc81612f7f565b9050919050565b600060208201905081810360008301526133fc81612fa2565b9050919050565b6000602082019050818103600083015261341c81612fc5565b9050919050565b6000602082019050818103600083015261343c81612fe8565b9050919050565b6000602082019050818103600083015261345c8161300b565b9050919050565b6000602082019050818103600083015261347c8161302e565b9050919050565b6000602082019050818103600083015261349c81613051565b9050919050565b600060208201905081810360008301526134bc81613074565b9050919050565b600060208201905081810360008301526134dc81613097565b9050919050565b600060208201905081810360008301526134fc816130ba565b9050919050565b6000602082019050818103600083015261351c816130dd565b9050919050565b6000602082019050613538600083018461310f565b92915050565b6000604082019050613553600083018561310f565b613560602083018461310f565b9392505050565b6000613571613582565b905061357d8282613839565b919050565b6000604051905090565b600067ffffffffffffffff8211156135a7576135a6613940565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135d3576135d2613940565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135ff576135fe613940565b5b613608826139aa565b9050602081019050919050565b600067ffffffffffffffff8211156136305761362f613940565b5b613639826139aa565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006136e282613797565b91506136ed83613797565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613722576137216138b3565b5b828201905092915050565b600061373882613777565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006137ac826137b3565b9050919050565b60006137be82613777565b9050919050565b82818337600083830152505050565b60005b838110156137f25780820151818401526020810190506137d7565b83811115613801576000848401525b50505050565b6000600282049050600182168061381f57607f821691505b60208210811415613833576138326138e2565b5b50919050565b613842826139aa565b810181811067ffffffffffffffff8211171561386157613860613940565b5b80604052505050565b600061387582613797565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138a8576138a76138b3565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561398e5760046000803e61398b6000516139bb565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5552492072657175657374656420666f7220696e76616c69642073757065722060008201527f4e46542074797065000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4d696e696d756d2036204e465473207265717569726564000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f55736572206973206e6f7420746865206f776e6572206f6620616c6c20746f6b60008201527f656e206964730000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720706572696f6420636c6f7365640000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613f4357613fc6565b613f4b613582565b60043d036004823e80513d602482011167ffffffffffffffff82111715613f73575050613fc6565b808201805167ffffffffffffffff811115613f915750505050613fc6565b80602083010160043d038501811115613fae575050505050613fc6565b613fbd82602001850186613839565b82955050505050505b90565b613fd28161372d565b8114613fdd57600080fd5b50565b613fe98161373f565b8114613ff457600080fd5b50565b6140008161374b565b811461400b57600080fd5b50565b61401781613797565b811461402257600080fd5b5056fea26469706673582212201eb3372c9b100172585c4a77480bf57aa39762285ea886bd1e2b24ef1efcf6dc64736f6c634300080600330000000000000000000000007ca2dcd417a57f846e0cfb3c1383736e7dbec1a90000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d546e31724d656f7377567671694c69786635327a46794e6467634a696f523751356d426b677533734c5865580000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101365760003560e01c80636b20c454116100b8578063a22cb4651161007c578063a22cb4651461033b578063c33e83b814610357578063e985e9c514610373578063f242432a146103a3578063f2fde38b146103bf578063f5298aca146103db57610136565b80636b20c454146102bd5780636c0360eb146102d9578063715018a6146102f75780637a7fea62146103015780638da5cb5b1461031d57610136565b8063154a5a9b116100ff578063154a5a9b14610219578063275c9a65146102375780632eb2c2d61461025557806339f7e37f146102715780634e1273f41461028d57610136565b8062fdd58e1461013b57806301ffc9a71461016b57806303b6ece31461019b5780630e89341c146101b95780630f0d6271146101e9575b600080fd5b61015560048036038101906101509190612aaf565b6103f7565b6040516101629190613523565b60405180910390f35b61018560048036038101906101809190612c03565b6104c0565b604051610192919061326b565b60405180910390f35b6101a36105a2565b6040516101b09190613523565b60405180910390f35b6101d360048036038101906101ce9190612ca6565b6105a8565b6040516101e091906132a1565b60405180910390f35b61020360048036038101906101fe9190612ca6565b61069c565b604051610210919061326b565b60405180910390f35b6102216106bc565b60405161022e9190613286565b60405180910390f35b61023f6106e2565b60405161024c9190613523565b60405180910390f35b61026f600480360381019061026a919061287e565b610706565b005b61028b60048036038101906102869190612c5d565b6107a7565b005b6102a760048036038101906102a29190612b42565b610880565b6040516102b49190613212565b60405180910390f35b6102d760048036038101906102d291906129e4565b610999565b005b6102e1610a36565b6040516102ee91906132a1565b60405180910390f35b6102ff610ac4565b005b61031b60048036038101906103169190612ca6565b610b4c565b005b610325610bdd565b6040516103329190613135565b60405180910390f35b61035560048036038101906103509190612a6f565b610c07565b005b610371600480360381019061036c9190612bba565b610d88565b005b61038d6004803603810190610388919061283e565b611048565b60405161039a919061326b565b60405180910390f35b6103bd60048036038101906103b8919061294d565b6110dc565b005b6103d960048036038101906103d491906127e4565b61117d565b005b6103f560048036038101906103f09190612aef565b611275565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90613303565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061058b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061059b575061059a82611312565b5b9050919050565b60055481565b60606007600083815260200190815260200160002060009054906101000a900460ff1661060a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060190613323565b60405180910390fd5b6004805461061790613807565b80601f016020809104026020016040519081016040528092919081815260200182805461064390613807565b80156106905780601f1061066557610100808354040283529160200191610690565b820191906000526020600020905b81548152906001019060200180831161067357829003601f168201915b50505050509050919050565b60076020528060005260406000206000915054906101000a900460ff1681565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000681565b61070e61137c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061075457506107538561074e61137c565b611048565b5b610793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078a906133c3565b60405180910390fd5b6107a08585858585611384565b5050505050565b6107af61137c565b73ffffffffffffffffffffffffffffffffffffffff166107cd610bdd565b73ffffffffffffffffffffffffffffffffffffffff1614610823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081a90613443565b60405180910390fd5b80600490805190602001906108399291906124a7565b506004604051610849919061311e565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b606081518351146108c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bd906134c3565b60405180910390fd5b6000835167ffffffffffffffff8111156108e3576108e2613940565b5b6040519080825280602002602001820160405280156109115781602001602082028036833780820191505090505b50905060005b845181101561098e5761095e85828151811061093657610935613911565b5b602002602001015185838151811061095157610950613911565b5b60200260200101516103f7565b82828151811061097157610970613911565b5b602002602001018181525050806109879061386a565b9050610917565b508091505092915050565b6109a161137c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806109e757506109e6836109e161137c565b611048565b5b610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d90613383565b60405180910390fd5b610a31838383611698565b505050565b60048054610a4390613807565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6f90613807565b8015610abc5780601f10610a9157610100808354040283529160200191610abc565b820191906000526020600020905b815481529060010190602001808311610a9f57829003601f168201915b505050505081565b610acc61137c565b73ffffffffffffffffffffffffffffffffffffffff16610aea610bdd565b73ffffffffffffffffffffffffffffffffffffffff1614610b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3790613443565b60405180910390fd5b610b4a6000611949565b565b610b5461137c565b73ffffffffffffffffffffffffffffffffffffffff16610b72610bdd565b73ffffffffffffffffffffffffffffffffffffffff1614610bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbf90613443565b60405180910390fd5b8042610bd491906136d7565b60058190555050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8173ffffffffffffffffffffffffffffffffffffffff16610c2661137c565b73ffffffffffffffffffffffffffffffffffffffff161415610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c74906134a3565b60405180910390fd5b8060016000610c8a61137c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d3761137c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d7c919061326b565b60405180910390a35050565b6005544210610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc390613483565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000006815114610e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2690613423565b60405180910390fd5b60005b8151811015611027573373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e848481518110610ea357610ea2613911565b5b60200260200101516040518263ffffffff1660e01b8152600401610ec79190613523565b60206040518083038186803b158015610edf57600080fd5b505afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190612811565b73ffffffffffffffffffffffffffffffffffffffff1614610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6490613463565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68838381518110610fbe57610fbd613911565b5b60200260200101516040518263ffffffff1660e01b8152600401610fe29190613523565b600060405180830381600087803b158015610ffc57600080fd5b505af1158015611010573d6000803e3d6000fd5b50505050808061101f9061386a565b915050610e32565b50611045336000600160405180602001604052806000815250611a0f565b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110e461137c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061112a57506111298561112461137c565b611048565b5b611169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116090613383565b60405180910390fd5b6111768585858585611ba5565b5050505050565b61118561137c565b73ffffffffffffffffffffffffffffffffffffffff166111a3610bdd565b73ffffffffffffffffffffffffffffffffffffffff16146111f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f090613443565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126090613343565b60405180910390fd5b61127281611949565b50565b61127d61137c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806112c357506112c2836112bd61137c565b611048565b5b611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f990613383565b60405180910390fd5b61130d838383611e27565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b81518351146113c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bf906134e3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f906133a3565b60405180910390fd5b600061144261137c565b9050611452818787878787612044565b60005b845181101561160357600085828151811061147357611472613911565b5b60200260200101519050600085838151811061149257611491613911565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613403565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115e891906136d7565b92505081905550505050806115fc9061386a565b9050611455565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161167a929190613234565b60405180910390a461169081878787878761204c565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff906133e3565b60405180910390fd5b805182511461174c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611743906134e3565b60405180910390fd5b600061175661137c565b905061177681856000868660405180602001604052806000815250612044565b60005b83518110156118c357600084828151811061179757611796613911565b5b6020026020010151905060008483815181106117b6576117b5613911565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e90613363565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806118bb9061386a565b915050611779565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161193b929190613234565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7690613503565b60405180910390fd5b6000611a8961137c565b9050611aaa81600087611a9b88612233565b611aa488612233565b87612044565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b0991906136d7565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611b8792919061353e565b60405180910390a4611b9e816000878787876122ad565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0c906133a3565b60405180910390fd5b6000611c1f61137c565b9050611c3f818787611c3088612233565b611c3988612233565b87612044565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccd90613403565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d8b91906136d7565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611e0892919061353e565b60405180910390a4611e1e8288888888886122ad565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8e906133e3565b60405180910390fd5b6000611ea161137c565b9050611ed181856000611eb387612233565b611ebc87612233565b60405180602001604052806000815250612044565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5f90613363565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161203592919061353e565b60405180910390a45050505050565b505050505050565b61206b8473ffffffffffffffffffffffffffffffffffffffff16612494565b1561222b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016120b1959493929190613150565b602060405180830381600087803b1580156120cb57600080fd5b505af19250505080156120fc57506040513d601f19601f820116820180604052508101906120f99190612c30565b60015b6121a25761210861396f565b806308c379a01415612165575061211d613f33565b806121285750612167565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215c91906132a1565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612199906132c3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612229576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612220906132e3565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561225257612251613940565b5b6040519080825280602002602001820160405280156122805781602001602082028036833780820191505090505b509050828160008151811061229857612297613911565b5b60200260200101818152505080915050919050565b6122cc8473ffffffffffffffffffffffffffffffffffffffff16612494565b1561248c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123129594939291906131b8565b602060405180830381600087803b15801561232c57600080fd5b505af192505050801561235d57506040513d601f19601f8201168201806040525081019061235a9190612c30565b60015b6124035761236961396f565b806308c379a014156123c6575061237e613f33565b8061238957506123c8565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bd91906132a1565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fa906132c3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461248a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612481906132e3565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b8280546124b390613807565b90600052602060002090601f0160209004810192826124d5576000855561251c565b82601f106124ee57805160ff191683800117855561251c565b8280016001018555821561251c579182015b8281111561251b578251825591602001919060010190612500565b5b509050612529919061252d565b5090565b5b8082111561254657600081600090555060010161252e565b5090565b600061255d6125588461358c565b613567565b905080838252602082019050828560208602820111156125805761257f613996565b5b60005b858110156125b0578161259688826126ae565b845260208401935060208301925050600181019050612583565b5050509392505050565b60006125cd6125c8846135b8565b613567565b905080838252602082019050828560208602820111156125f0576125ef613996565b5b60005b85811015612620578161260688826127cf565b8452602084019350602083019250506001810190506125f3565b5050509392505050565b600061263d612638846135e4565b613567565b9050828152602081018484840111156126595761265861399b565b5b6126648482856137c5565b509392505050565b600061267f61267a84613615565b613567565b90508281526020810184848401111561269b5761269a61399b565b5b6126a68482856137c5565b509392505050565b6000813590506126bd81613fc9565b92915050565b6000815190506126d281613fc9565b92915050565b600082601f8301126126ed576126ec613991565b5b81356126fd84826020860161254a565b91505092915050565b600082601f83011261271b5761271a613991565b5b813561272b8482602086016125ba565b91505092915050565b60008135905061274381613fe0565b92915050565b60008135905061275881613ff7565b92915050565b60008151905061276d81613ff7565b92915050565b600082601f83011261278857612787613991565b5b813561279884826020860161262a565b91505092915050565b600082601f8301126127b6576127b5613991565b5b81356127c684826020860161266c565b91505092915050565b6000813590506127de8161400e565b92915050565b6000602082840312156127fa576127f96139a5565b5b6000612808848285016126ae565b91505092915050565b600060208284031215612827576128266139a5565b5b6000612835848285016126c3565b91505092915050565b60008060408385031215612855576128546139a5565b5b6000612863858286016126ae565b9250506020612874858286016126ae565b9150509250929050565b600080600080600060a0868803121561289a576128996139a5565b5b60006128a8888289016126ae565b95505060206128b9888289016126ae565b945050604086013567ffffffffffffffff8111156128da576128d96139a0565b5b6128e688828901612706565b935050606086013567ffffffffffffffff811115612907576129066139a0565b5b61291388828901612706565b925050608086013567ffffffffffffffff811115612934576129336139a0565b5b61294088828901612773565b9150509295509295909350565b600080600080600060a08688031215612969576129686139a5565b5b6000612977888289016126ae565b9550506020612988888289016126ae565b9450506040612999888289016127cf565b93505060606129aa888289016127cf565b925050608086013567ffffffffffffffff8111156129cb576129ca6139a0565b5b6129d788828901612773565b9150509295509295909350565b6000806000606084860312156129fd576129fc6139a5565b5b6000612a0b868287016126ae565b935050602084013567ffffffffffffffff811115612a2c57612a2b6139a0565b5b612a3886828701612706565b925050604084013567ffffffffffffffff811115612a5957612a586139a0565b5b612a6586828701612706565b9150509250925092565b60008060408385031215612a8657612a856139a5565b5b6000612a94858286016126ae565b9250506020612aa585828601612734565b9150509250929050565b60008060408385031215612ac657612ac56139a5565b5b6000612ad4858286016126ae565b9250506020612ae5858286016127cf565b9150509250929050565b600080600060608486031215612b0857612b076139a5565b5b6000612b16868287016126ae565b9350506020612b27868287016127cf565b9250506040612b38868287016127cf565b9150509250925092565b60008060408385031215612b5957612b586139a5565b5b600083013567ffffffffffffffff811115612b7757612b766139a0565b5b612b83858286016126d8565b925050602083013567ffffffffffffffff811115612ba457612ba36139a0565b5b612bb085828601612706565b9150509250929050565b600060208284031215612bd057612bcf6139a5565b5b600082013567ffffffffffffffff811115612bee57612bed6139a0565b5b612bfa84828501612706565b91505092915050565b600060208284031215612c1957612c186139a5565b5b6000612c2784828501612749565b91505092915050565b600060208284031215612c4657612c456139a5565b5b6000612c548482850161275e565b91505092915050565b600060208284031215612c7357612c726139a5565b5b600082013567ffffffffffffffff811115612c9157612c906139a0565b5b612c9d848285016127a1565b91505092915050565b600060208284031215612cbc57612cbb6139a5565b5b6000612cca848285016127cf565b91505092915050565b6000612cdf8383613100565b60208301905092915050565b612cf48161372d565b82525050565b6000612d058261366b565b612d0f8185613699565b9350612d1a83613646565b8060005b83811015612d4b578151612d328882612cd3565b9750612d3d8361368c565b925050600181019050612d1e565b5085935050505092915050565b612d618161373f565b82525050565b6000612d7282613676565b612d7c81856136aa565b9350612d8c8185602086016137d4565b612d95816139aa565b840191505092915050565b612da9816137a1565b82525050565b6000612dba82613681565b612dc481856136bb565b9350612dd48185602086016137d4565b612ddd816139aa565b840191505092915050565b60008154612df581613807565b612dff81866136cc565b94506001821660008114612e1a5760018114612e2b57612e5e565b60ff19831686528186019350612e5e565b612e3485613656565b60005b83811015612e5657815481890152600182019150602081019050612e37565b838801955050505b50505092915050565b6000612e746034836136bb565b9150612e7f826139c8565b604082019050919050565b6000612e976028836136bb565b9150612ea282613a17565b604082019050919050565b6000612eba602b836136bb565b9150612ec582613a66565b604082019050919050565b6000612edd6028836136bb565b9150612ee882613ab5565b604082019050919050565b6000612f006026836136bb565b9150612f0b82613b04565b604082019050919050565b6000612f236024836136bb565b9150612f2e82613b53565b604082019050919050565b6000612f466029836136bb565b9150612f5182613ba2565b604082019050919050565b6000612f696025836136bb565b9150612f7482613bf1565b604082019050919050565b6000612f8c6032836136bb565b9150612f9782613c40565b604082019050919050565b6000612faf6023836136bb565b9150612fba82613c8f565b604082019050919050565b6000612fd2602a836136bb565b9150612fdd82613cde565b604082019050919050565b6000612ff56017836136bb565b915061300082613d2d565b602082019050919050565b60006130186020836136bb565b915061302382613d56565b602082019050919050565b600061303b6026836136bb565b915061304682613d7f565b604082019050919050565b600061305e6015836136bb565b915061306982613dce565b602082019050919050565b60006130816029836136bb565b915061308c82613df7565b604082019050919050565b60006130a46029836136bb565b91506130af82613e46565b604082019050919050565b60006130c76028836136bb565b91506130d282613e95565b604082019050919050565b60006130ea6021836136bb565b91506130f582613ee4565b604082019050919050565b61310981613797565b82525050565b61311881613797565b82525050565b600061312a8284612de8565b915081905092915050565b600060208201905061314a6000830184612ceb565b92915050565b600060a0820190506131656000830188612ceb565b6131726020830187612ceb565b81810360408301526131848186612cfa565b905081810360608301526131988185612cfa565b905081810360808301526131ac8184612d67565b90509695505050505050565b600060a0820190506131cd6000830188612ceb565b6131da6020830187612ceb565b6131e7604083018661310f565b6131f4606083018561310f565b81810360808301526132068184612d67565b90509695505050505050565b6000602082019050818103600083015261322c8184612cfa565b905092915050565b6000604082019050818103600083015261324e8185612cfa565b905081810360208301526132628184612cfa565b90509392505050565b60006020820190506132806000830184612d58565b92915050565b600060208201905061329b6000830184612da0565b92915050565b600060208201905081810360008301526132bb8184612daf565b905092915050565b600060208201905081810360008301526132dc81612e67565b9050919050565b600060208201905081810360008301526132fc81612e8a565b9050919050565b6000602082019050818103600083015261331c81612ead565b9050919050565b6000602082019050818103600083015261333c81612ed0565b9050919050565b6000602082019050818103600083015261335c81612ef3565b9050919050565b6000602082019050818103600083015261337c81612f16565b9050919050565b6000602082019050818103600083015261339c81612f39565b9050919050565b600060208201905081810360008301526133bc81612f5c565b9050919050565b600060208201905081810360008301526133dc81612f7f565b9050919050565b600060208201905081810360008301526133fc81612fa2565b9050919050565b6000602082019050818103600083015261341c81612fc5565b9050919050565b6000602082019050818103600083015261343c81612fe8565b9050919050565b6000602082019050818103600083015261345c8161300b565b9050919050565b6000602082019050818103600083015261347c8161302e565b9050919050565b6000602082019050818103600083015261349c81613051565b9050919050565b600060208201905081810360008301526134bc81613074565b9050919050565b600060208201905081810360008301526134dc81613097565b9050919050565b600060208201905081810360008301526134fc816130ba565b9050919050565b6000602082019050818103600083015261351c816130dd565b9050919050565b6000602082019050613538600083018461310f565b92915050565b6000604082019050613553600083018561310f565b613560602083018461310f565b9392505050565b6000613571613582565b905061357d8282613839565b919050565b6000604051905090565b600067ffffffffffffffff8211156135a7576135a6613940565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135d3576135d2613940565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135ff576135fe613940565b5b613608826139aa565b9050602081019050919050565b600067ffffffffffffffff8211156136305761362f613940565b5b613639826139aa565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006136e282613797565b91506136ed83613797565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613722576137216138b3565b5b828201905092915050565b600061373882613777565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006137ac826137b3565b9050919050565b60006137be82613777565b9050919050565b82818337600083830152505050565b60005b838110156137f25780820151818401526020810190506137d7565b83811115613801576000848401525b50505050565b6000600282049050600182168061381f57607f821691505b60208210811415613833576138326138e2565b5b50919050565b613842826139aa565b810181811067ffffffffffffffff8211171561386157613860613940565b5b80604052505050565b600061387582613797565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138a8576138a76138b3565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561398e5760046000803e61398b6000516139bb565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5552492072657175657374656420666f7220696e76616c69642073757065722060008201527f4e46542074797065000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4d696e696d756d2036204e465473207265717569726564000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f55736572206973206e6f7420746865206f776e6572206f6620616c6c20746f6b60008201527f656e206964730000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720706572696f6420636c6f7365640000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613f4357613fc6565b613f4b613582565b60043d036004823e80513d602482011167ffffffffffffffff82111715613f73575050613fc6565b808201805167ffffffffffffffff811115613f915750505050613fc6565b80602083010160043d038501811115613fae575050505050613fc6565b613fbd82602001850186613839565b82955050505050505b90565b613fd28161372d565b8114613fdd57600080fd5b50565b613fe98161373f565b8114613ff457600080fd5b50565b6140008161374b565b811461400b57600080fd5b50565b61401781613797565b811461402257600080fd5b5056fea26469706673582212201eb3372c9b100172585c4a77480bf57aa39762285ea886bd1e2b24ef1efcf6dc64736f6c63430008060033

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

0000000000000000000000007ca2dcd417a57f846e0cfb3c1383736e7dbec1a90000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d546e31724d656f7377567671694c69786635327a46794e6467634a696f523751356d426b677533734c5865580000000000000000000000

-----Decoded View---------------
Arg [0] : _interleaveNFT (address): 0x7Ca2dCD417A57f846e0cfb3c1383736E7DBec1A9
Arg [1] : _mintingPeriodLengthInSeconds (uint256): 604800
Arg [2] : _baseURI (string): ipfs://QmTn1rMeoswVvqiLixf52zFyNdgcJioR7Q5mBkgu3sLXeX

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000007ca2dcd417a57f846e0cfb3c1383736e7dbec1a9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000093a80
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [4] : 697066733a2f2f516d546e31724d656f7377567671694c69786635327a46794e
Arg [5] : 6467634a696f523751356d426b677533734c5865580000000000000000000000


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.