ETH Price: $3,287.96 (-0.86%)
Gas: 5.78 Gwei

Token

Lost Poets (POETS)
 

Overview

Max Total Supply

0 POETS

Holders

5,344

Market

Volume (24H)

0.3594 ETH

Min Price (24H)

$164.40 @ 0.050000 ETH

Max Price (24H)

$259.42 @ 0.078900 ETH
Filtered by Token Holder
abana.eth
Balance
1 POETS
0x7F6417eCc59685F4363DD7662D0cB26F2E5e5E5c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Ab aeterno.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LostPoets

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 18 : LostPoets.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @creator: Pak
/// @author: manifold.xyz

import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

import "./ILostPoets.sol";

///////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                           //
//  `7MMF'        .g8""8q.    .M"""bgd MMP""MM""YMM `7MM"""Mq.   .g8""8q. `7MM"""YMM MMP""MM""YMM  .M"""bgd  //
//    MM        .dP'    `YM. ,MI    "Y P'   MM   `7   MM   `MM..dP'    `YM. MM    `7 P'   MM   `7 ,MI    "Y  //
//    MM        dM'      `MM `MMb.          MM        MM   ,M9 dM'      `MM MM   d        MM      `MMb.      //
//    MM        MM        MM   `YMMNq.      MM        MMmmdM9  MM        MM MMmmMM        MM        `YMMNq.  //
//    MM      , MM.      ,MP .     `MM      MM        MM       MM.      ,MP MM   Y  ,     MM      .     `MM  //
//    MM     ,M `Mb.    ,dP' Mb     dM      MM        MM       `Mb.    ,dP' MM     ,M     MM      Mb     dM  //
//  .JMMmmmmMMM   `"bmmd"'   P"Ybmmd"     .JMML.    .JMML.       `"bmmd"' .JMMmmmmMMM   .JMML.    P"Ybmmd"   //
//                                                                                                           //
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

contract LostPoets is ReentrancyGuard, AdminControl, ERC721, ILostPoets {

    using Strings for uint256;

    address private _erc1155BurnAddress;
    address private _erc721BurnAddress;

    uint256 private _redemptionCount = 1024;
    bool public redemptionEnabled;
    uint256 public redemptionEnd;

    /**
     * Word configuration
     */
    bool public wordsLocked;
    mapping (uint256 => bool) public finalized;
    mapping (uint256 => uint256) private _addWordsLastBlock;
    mapping (uint256 => uint8) private _addWordsLastCount;
    mapping (uint256 => uint8) _wordCount;
    uint256 private _wordNonce;

    string private _prefixURI;

    uint256 private _royaltyBps;
    address payable private _royaltyRecipient;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_CREATORCORE = 0xbb3bafd6;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_RARIBLE = 0xb7799584;

    constructor(address lostPoetPagesAddress) ERC721("Lost Poets", "POETS") {
        _erc1155BurnAddress = lostPoetPagesAddress;
        wordsLocked = true;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(AdminControl, ERC721, IERC165) returns (bool) {
        return interfaceId == type(IERC721Receiver).interfaceId || interfaceId == type(IERC1155Receiver).interfaceId || ERC721.supportsInterface(interfaceId) 
            || AdminControl.supportsInterface(interfaceId) || interfaceId == _INTERFACE_ID_ROYALTIES_CREATORCORE || interfaceId == _INTERFACE_ID_ROYALTIES_EIP2981 
            || interfaceId == _INTERFACE_ID_ROYALTIES_RARIBLE;
    }

    /**
     * @dev See {ILostPoets-mintOrigins}.
     */
    function mintOrigins(address[] calldata recipients, uint256[] calldata tokenIds) external override adminRequired {
        require(recipients.length == tokenIds.length, "Invalid input");
        for (uint i = 0; i < recipients.length; i++) {
            require(tokenIds[i] <= 1024, "Invalid token id");
            _mint(recipients[i], tokenIds[i]);
        }
    }

    /**
     * @dev Mint a token
     */
    function _mintPoet(address recipient) private {
        _redemptionCount++;
        _mint(recipient, _redemptionCount);
        emit Unveil(_redemptionCount);
    }

    /**
     * @dev See {ILostPoets-enableRedemption}.
     */
    function enableRedemption(uint256 end) external override adminRequired {
        redemptionEnabled = true;
        redemptionEnd = end;
        emit Activate();
    }

    /**
     * @dev See {ILostPoets-disableRedemption}.
     */
    function disableRedemption() external override adminRequired {
        redemptionEnabled = false;
        redemptionEnd = 0;
        emit Deactivate();
    }

    /**
     * @dev See {ILostPoets-lockWords}.
     */
    function lockWords(bool locked) external override adminRequired {
        wordsLocked = locked;
        emit WordsLocked(locked);
    }

    /**
     * @dev See {ILostPoets-setPrefixURI}.
     */
    function setPrefixURI(string calldata uri) external override adminRequired {
        _prefixURI = uri;
    }
    
    /**
     * @dev See {ILostPoets-finalizePoets}.
     */
    function finalizePoets(bool value, uint256[] memory tokenIds) external override adminRequired {
        for (uint i = 0; i < tokenIds.length; i++) {
            finalized[tokenIds[i]] = value;
        }
    }
    /**
     * @dev Add words to a poet
     */
    function _addWords(uint256 tokenId) private {
        _wordNonce++;
        uint8 count = uint8(uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, _wordNonce, tokenId)))%3)+2;

        // Track the added word count of the current block
        if (_addWordsLastBlock[tokenId] == block.number) {
           _addWordsLastCount[tokenId] += count;
        } else {
           _addWordsLastBlock[tokenId] = block.number;
           _addWordsLastCount[tokenId] = count;
        }
        _wordCount[tokenId] += count;

        emit AddWords(tokenId, count);
    }

    /**
     * @dev Shuffle words of a poet
     */
    function _shuffleWords(uint256 tokenId) private {
        emit ShuffleWords(tokenId);
    }

    /**
     * @dev See {ILostPoets-getWordCount}.
     */
    function getWordCount(uint256 tokenId) external view override returns(uint8) {
        require(_exists(tokenId), "ERC721: word count query for nonexistent token");
        if (_addWordsLastBlock[tokenId] == block.number) {
            return _wordCount[tokenId]-_addWordsLastCount[tokenId];
        }
        return _wordCount[tokenId];
    }

    /**
     * @dev See {ILostPoets-recoverERC721}.
     */
    function recoverERC721(address tokenAddress, uint256 tokenId, address destination) external override adminRequired {
        IERC721(tokenAddress).transferFrom(address(this), destination, tokenId);
    }

    /**
     * @dev See {ILostPoets-updateERC1155BurnAddress}.
     */
    function updateERC1155BurnAddress(address erc1155BurnAddress) external override adminRequired {
        _erc1155BurnAddress = erc1155BurnAddress;
    }

    /**
     * @dev See {ILostPoets-updateERC721BurnAddress}.
     */
    function updateERC721BurnAddress(address erc721BurnAddress) external override adminRequired {
        _erc721BurnAddress = erc721BurnAddress;
    }

    /**
     * @dev See {IERC1155Receiver-onERC1155Received}.
     */
    function onERC1155Received(
        address,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external override nonReentrant returns(bytes4) {

        _onERC1155Received(from, id, value, data);
        return this.onERC1155Received.selector;
    }

    /**
     * @dev See {IERC1155Receiver-onERC1155BatchReceived}.
     */
    function onERC1155BatchReceived(
        address,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external override nonReentrant returns(bytes4) {
        require(ids.length == 1 && ids.length == values.length, "Invalid input");
        _onERC1155Received(from, ids[0], values[0], data);
        return this.onERC1155BatchReceived.selector;
    }

    function _onERC1155Received(address from, uint256 id, uint256 value, bytes calldata data) private {
        require(msg.sender == _erc1155BurnAddress && id == 1, "Invalid NFT");
        
        uint256 action;
        uint256 tokenId;
        if (data.length == 32) {
            (action) = abi.decode(data, (uint256));
        } else if (data.length == 64) {
            (action, tokenId) = abi.decode(data, (uint256, uint256));
        } else {
            revert("Invalid data");
        }

        if (action == 0) {
            require(redemptionEnabled && block.timestamp <= redemptionEnd, "Redemption inactive");
        } else if (action == 1 || action == 2) {
            require(value == 1, "Invalid data");
            require(!wordsLocked, "Modifying words disabled");
            require(!finalized[tokenId], "Cannot modify words of finalized poet");
            require(tokenId > 1024, "Cannot modify words");
            require(from == ownerOf(tokenId), "Must be token owner");
        } else {
            revert("Invalid data");
        }

        // Burn it
        try IERC1155(msg.sender).safeTransferFrom(address(this), address(0xdEaD), id, value, data) {
        } catch (bytes memory) {
            revert("Burn failure");
        }

        if (action == 0) {
            for (uint i = 0; i < value; i++) {
                _mintPoet(from);
            }
        } else if (action == 1) {
            _addWords(tokenId);
        } else if (action == 2) {
            _shuffleWords(tokenId);
        }
    }

    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     */
    function onERC721Received(
        address,
        address from,
        uint256 receivedTokenId,
        bytes calldata data
    ) external override nonReentrant returns (bytes4) {
        require(msg.sender == _erc721BurnAddress, "Invalid NFT");
        
        if (data.length != 64) revert("Invalid data");
        (uint256 action, uint256 tokenId) = abi.decode(data, (uint256, uint256));
        if (action != 1 && action != 2) revert("Invalid data");

        require(!wordsLocked, "Modifying words disabled");
        require(!finalized[tokenId], "Cannot modify words of finalized poet");
        require(tokenId > 1024, "Cannot modify words");
        require(from == ownerOf(tokenId), "Must be token owner");

        // Burn it
        try IERC721(msg.sender).transferFrom(address(this), address(0xdEaD), receivedTokenId) {
        } catch (bytes memory) {
            revert("Burn failure");
        }

        if (action == 1) {
            _addWords(tokenId);
        } else if (action == 2) {
            _shuffleWords(tokenId);
        }
        return this.onERC721Received.selector;
    }

    function tokenURI(uint256 tokenId) public view override returns(string memory) {
        require(_exists(tokenId), "ERC721: URI query for nonexistent token");
        return string(abi.encodePacked(_prefixURI, tokenId.toString()));
    }

    /**
     * @dev See {ILostPoets-updateRoyalties}.
     */
    function updateRoyalties(address payable recipient, uint256 bps) external override adminRequired {
        _royaltyRecipient = recipient;
        _royaltyBps = bps;
    }

    /**
     * ROYALTY FUNCTIONS
     */
    function getRoyalties(uint256) external view override returns (address payable[] memory recipients, uint256[] memory bps) {
        if (_royaltyRecipient != address(0x0)) {
            recipients = new address payable[](1);
            recipients[0] = _royaltyRecipient;
            bps = new uint256[](1);
            bps[0] = _royaltyBps;
        }
        return (recipients, bps);
    }

    function getFeeRecipients(uint256) external view override returns (address payable[] memory recipients) {
        if (_royaltyRecipient != address(0x0)) {
            recipients = new address payable[](1);
            recipients[0] = _royaltyRecipient;
        }
        return recipients;
    }

    function getFeeBps(uint256) external view override returns (uint[] memory bps) {
        if (_royaltyRecipient != address(0x0)) {
            bps = new uint256[](1);
            bps[0] = _royaltyBps;
        }
        return bps;
    }

    function royaltyInfo(uint256, uint256 value) external view override returns (address, uint256) {
        return (_royaltyRecipient, value*_royaltyBps/10000);
    }

}

File 2 of 18 : ILostPoets.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @creator: Pak
/// @author: manifold.xyz

import "@manifoldxyz/libraries-solidity/contracts/access/IAdminControl.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";

///////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                           //
//  `7MMF'        .g8""8q.    .M"""bgd MMP""MM""YMM `7MM"""Mq.   .g8""8q. `7MM"""YMM MMP""MM""YMM  .M"""bgd  //
//    MM        .dP'    `YM. ,MI    "Y P'   MM   `7   MM   `MM..dP'    `YM. MM    `7 P'   MM   `7 ,MI    "Y  //
//    MM        dM'      `MM `MMb.          MM        MM   ,M9 dM'      `MM MM   d        MM      `MMb.      //
//    MM        MM        MM   `YMMNq.      MM        MMmmdM9  MM        MM MMmmMM        MM        `YMMNq.  //
//    MM      , MM.      ,MP .     `MM      MM        MM       MM.      ,MP MM   Y  ,     MM      .     `MM  //
//    MM     ,M `Mb.    ,dP' Mb     dM      MM        MM       `Mb.    ,dP' MM     ,M     MM      Mb     dM  //
//  .JMMmmmmMMM   `"bmmd"'   P"Ybmmd"     .JMML.    .JMML.       `"bmmd"' .JMMmmmmMMM   .JMML.    P"Ybmmd"   //
//                                                                                                           //
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

interface ILostPoets is IAdminControl, IERC721, IERC721Receiver, IERC1155Receiver {

    event Unveil(uint256 tokenId);
    event AddWords(uint256 indexed tokenId, uint8 count);
    event ShuffleWords(uint256 indexed tokenId);
    event WordsLocked(bool locked);
    event Activate();
    event Deactivate();

    /**
     * @dev Mint Origins
     */
    function mintOrigins(address[] calldata recipients, uint256[] calldata tokenIds) external;

    /**
     * @dev Enable token redemption
     */
    function enableRedemption(uint256 end) external;

    /**
     * @dev Disable token redemption
     */
    function disableRedemption() external;

    /**
     * @dev Set if words are locked
     */
    function lockWords(bool locked) external;

    /**
     * @dev Set the image base uri
     */
    function setPrefixURI(string calldata uri) external;

    /**
     * @dev Finalize poets
     */
    function finalizePoets(bool value, uint256[] memory tokenIds) external;

    /**
     * @dev Get word count for a token
     */
    function getWordCount(uint256 tokenId) external view returns(uint8);

    /**
     * @dev Update royalties
     */
    function updateRoyalties(address payable recipient, uint256 bps) external;

    /**
     * @dev Recover any 721's accidentally sent in.
     */
    function recoverERC721(address tokenAddress, uint256 tokenId, address destination) external;

    /**
     * @dev Update ERC1155 Burn Address
     */
    function updateERC1155BurnAddress(address erc1155BurnAddress) external;

    /**
     * @dev Update ERC721 Burn Address
     */
    function updateERC721BurnAddress(address erc721BurnAddress) external;

    /**
     * ROYALTY FUNCTIONS
     */
    function getRoyalties(uint256) external view returns (address payable[] memory recipients, uint256[] memory bps);
    function getFeeRecipients(uint256) external view returns (address payable[] memory recipients);
    function getFeeBps(uint256) external view returns (uint[] memory bps);
    function royaltyInfo(uint256, uint256 value) external view returns (address, uint256);

}

File 3 of 18 : 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);
    }
}

File 4 of 18 : 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 5 of 18 : 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.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 6 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 18 : AdminControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IAdminControl.sol";

abstract contract AdminControl is Ownable, IAdminControl, ERC165 {
    using EnumerableSet for EnumerableSet.AddressSet;

    // Track registered admins
    EnumerableSet.AddressSet private _admins;

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

    /**
     * @dev Only allows approved admins to call the specified function
     */
    modifier adminRequired() {
        require(owner() == msg.sender || _admins.contains(msg.sender), "AdminControl: Must be owner or admin");
        _;
    }   

    /**
     * @dev See {IAdminControl-getAdmins}.
     */
    function getAdmins() external view override returns (address[] memory admins) {
        admins = new address[](_admins.length());
        for (uint i = 0; i < _admins.length(); i++) {
            admins[i] = _admins.at(i);
        }
        return admins;
    }

    /**
     * @dev See {IAdminControl-approveAdmin}.
     */
    function approveAdmin(address admin) external override onlyOwner {
        if (!_admins.contains(admin)) {
            emit AdminApproved(admin, msg.sender);
            _admins.add(admin);
        }
    }

    /**
     * @dev See {IAdminControl-revokeAdmin}.
     */
    function revokeAdmin(address admin) external override onlyOwner {
        if (_admins.contains(admin)) {
            emit AdminRevoked(admin, msg.sender);
            _admins.remove(admin);
        }
    }

    /**
     * @dev See {IAdminControl-isAdmin}.
     */
    function isAdmin(address admin) public override view returns (bool) {
        return (owner() == admin || _admins.contains(admin));
    }

}

File 8 of 18 : 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 9 of 18 : 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 10 of 18 : 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 11 of 18 : IAdminControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * @dev Interface for admin control
 */
interface IAdminControl is IERC165 {

    event AdminApproved(address indexed account, address indexed sender);
    event AdminRevoked(address indexed account, address indexed sender);

    /**
     * @dev gets address of all admins
     */
    function getAdmins() external view returns (address[] memory);

    /**
     * @dev add an admin.  Can only be called by contract owner.
     */
    function approveAdmin(address admin) external;

    /**
     * @dev remove an admin.  Can only be called by contract owner.
     */
    function revokeAdmin(address admin) external;

    /**
     * @dev checks whether or not given address is an admin
     * Returns True if they are
     */
    function isAdmin(address admin) external view returns (bool);

}

File 12 of 18 : 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 13 of 18 : 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 14 of 18 : 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);
    }

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

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

File 15 of 18 : 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 16 of 18 : 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 17 of 18 : 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 18 of 18 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"lostPoetPagesAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"Activate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"count","type":"uint8"}],"name":"AddWords","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":[],"name":"Deactivate","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":"uint256","name":"tokenId","type":"uint256"}],"name":"ShuffleWords","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Unveil","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"locked","type":"bool"}],"name":"WordsLocked","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"approveAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableRedemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"end","type":"uint256"}],"name":"enableRedemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"finalizePoets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"finalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAdmins","outputs":[{"internalType":"address[]","name":"admins","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRoyalties","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getWordCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"locked","type":"bool"}],"name":"lockWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintOrigins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"receivedTokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"recoverERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redemptionEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"redemptionEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"revokeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setPrefixURI","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc1155BurnAddress","type":"address"}],"name":"updateERC1155BurnAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc721BurnAddress","type":"address"}],"name":"updateERC721BurnAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wordsLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6080604052610400600c553480156200001757600080fd5b50604051620040b8380380620040b88339810160408190526200003a91620001e2565b604080518082018252600a8152694c6f737420506f65747360b01b60208083019190915282518084019093526005835264504f45545360d81b908301526001600055906200008833620000ea565b81516200009d9060049060208501906200013c565b508051620000b39060059060208401906200013c565b5050600a80546001600160a01b0319166001600160a01b03939093169290921790915550600f805460ff1916600117905562000251565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014a9062000214565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600060208284031215620001f557600080fd5b81516001600160a01b03811681146200020d57600080fd5b9392505050565b600181811c908216806200022957607f821691505b602082108114156200024b57634e487b7160e01b600052602260045260246000fd5b50919050565b613e5780620002616000396000f3fe608060405234801561001057600080fd5b50600436106102de5760003560e01c80638888491611610186578063b9c4d9fb116100e3578063dd08b5c911610097578063f0e9fcd111610071578063f0e9fcd11461067b578063f23a6e611461068e578063f2fde38b146106a157600080fd5b8063dd08b5c91461062a578063e435a89314610632578063e985e9c51461063f57600080fd5b8063bc197c81116100c8578063bc197c81146105f1578063c83d875d14610604578063c87b56dd1461061757600080fd5b8063b9c4d9fb146105b0578063bb3bafd6146105d057600080fd5b8063b234de821161013a578063b495ed1b1161011f578063b495ed1b14610565578063b799e23c14610578578063b88d4fde1461059d57600080fd5b8063b234de8214610545578063b2c94ee61461055257600080fd5b806395d89b411161016b57806395d89b4114610517578063a22cb4651461051f578063a931cfbb1461053257600080fd5b806388884916146104f35780638da5cb5b1461050657600080fd5b80632d3456701161023f5780636352211e116101f35780636d73e669116101cd5780636d73e669146104c557806370a08231146104d8578063715018a6146104eb57600080fd5b80636352211e146104885780636a2f3b4c1461049b5780636c2f5acd146104b257600080fd5b80633df38ab3116102245780633df38ab31461043f57806342842e0e146104525780634ddaced21461046557600080fd5b80632d3456701461041757806331ae450b1461042a57600080fd5b8063150b7a021161029657806323b872dd1161027b57806323b872dd146103bf57806324d7806c146103d25780632a55205a146103e557600080fd5b8063150b7a02146103805780631a1a6a2e146103ac57600080fd5b8063081812fc116102c7578063081812fc14610320578063095ea7b31461034b5780630ebd4c7f1461036057600080fd5b806301ffc9a7146102e357806306fdde031461030b575b600080fd5b6102f66102f13660046138bb565b6106b4565b60405190151581526020015b60405180910390f35b6103136107be565b6040516103029190613c04565b61033361032e366004613937565b610850565b6040516001600160a01b039091168152602001610302565b61035e6103593660046133e5565b6108ea565b005b61037361036e366004613937565b610a3a565b6040516103029190613bf1565b61039361038e36600461354a565b610a96565b6040516001600160e01b03199091168152602001610302565b61035e6103ba3660046137e0565b610e68565b61035e6103cd366004613509565b610f36565b6102f66103e03660046133c8565b610fbd565b6103f86103f3366004613950565b610ff6565b604080516001600160a01b039093168352602083019190915201610302565b61035e6104253660046133c8565b611031565b6104326110e1565b6040516103029190613b6c565b61035e61044d3660046133c8565b611190565b61035e610460366004613509565b611238565b6102f6610473366004613937565b60106020526000908152604090205460ff1681565b610333610496366004613937565b611253565b6104a4600e5481565b604051908152602001610302565b61035e6104c03660046133e5565b6112de565b61035e6104d33660046133c8565b61138a565b6104a46104e63660046133c8565b611434565b61035e6114ce565b61035e610501366004613937565b611534565b6001546001600160a01b0316610333565b6103136115f8565b61035e61052d3660046136fd565b611607565b61035e6105403660046137fb565b6116cc565b600d546102f69060ff1681565b61035e6105603660046138f5565b6117b5565b61035e610573366004613774565b611847565b61058b610586366004613937565b6119e2565b60405160ff9091168152602001610302565b61035e6105ab3660046135bd565b611ac3565b6105c36105be366004613937565b611b51565b6040516103029190613bb9565b6105e36105de366004613937565b611bca565b604051610302929190613bcc565b6103936105ff36600461344a565b611c7e565b61035e6106123660046133c8565b611d95565b610313610625366004613937565b611e3d565b61035e611efc565b600f546102f69060ff1681565b6102f661064d366004613411565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b61035e610689366004613732565b611fbc565b61039361069c366004613681565b6120af565b61035e6106af3660046133c8565b612147565b60006001600160e01b03198216630a85bd0160e11b14806106fe57506001600160e01b031982167f4e2312e000000000000000000000000000000000000000000000000000000000145b8061070d575061070d82612226565b8061071c575061071c82612294565b8061075057506001600160e01b031982167fbb3bafd600000000000000000000000000000000000000000000000000000000145b8061078457506001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000145b806107b857506001600160e01b031982167fb779958400000000000000000000000000000000000000000000000000000000145b92915050565b6060600480546107cd90613d1e565b80601f01602080910402602001604051908101604052809291908181526020018280546107f990613d1e565b80156108465780601f1061081b57610100808354040283529160200191610846565b820191906000526020600020905b81548152906001019060200180831161082957829003601f168201915b5050505050905090565b6000818152600660205260408120546001600160a01b03166108ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108f582611253565b9050806001600160a01b0316836001600160a01b0316141561097f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108c5565b336001600160a01b03821614806109b957506001600160a01b038116600090815260096020908152604080832033845290915290205460ff165b610a2b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108c5565b610a3583836122fb565b505050565b6017546060906001600160a01b031615610a9157604080516001808252818301909252906020808301908036833701905050905060165481600081518110610a8457610a84613dca565b6020026020010181815250505b919050565b600060026000541415610aeb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c5565b6002600055600b546001600160a01b03163314610b385760405162461bcd60e51b815260206004820152600b60248201526a125b9d985b1a590813919560aa1b60448201526064016108c5565b60408214610b775760405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016108c5565b600080610b8684860186613950565b9150915081600114158015610b9c575081600214155b15610bd85760405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016108c5565b600f5460ff1615610c2b5760405162461bcd60e51b815260206004820152601860248201527f4d6f64696679696e6720776f7264732064697361626c6564000000000000000060448201526064016108c5565b60008181526010602052604090205460ff1615610c985760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74206d6f6469667920776f726473206f662066696e616c697a6564604482015264081c1bd95d60da1b60648201526084016108c5565b6104008111610ce95760405162461bcd60e51b815260206004820152601360248201527f43616e6e6f74206d6f6469667920776f7264730000000000000000000000000060448201526064016108c5565b610cf281611253565b6001600160a01b0316876001600160a01b031614610d525760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520746f6b656e206f776e65720000000000000000000000000060448201526064016108c5565b6040516323b872dd60e01b815230600482015261dead60248201526044810187905233906323b872dd90606401600060405180830381600087803b158015610d9957600080fd5b505af1925050508015610daa575060015b610e26573d808015610dd8576040519150601f19603f3d011682016040523d82523d6000602084013e610ddd565b606091505b5060405162461bcd60e51b815260206004820152600c60248201527f4275726e206661696c757265000000000000000000000000000000000000000060448201526064016108c5565b8160011415610e3d57610e3881612369565b610e4f565b8160021415610e4f57610e4f816124dd565b5050600160005550630a85bd0160e11b95945050505050565b33610e7b6001546001600160a01b031690565b6001600160a01b03161480610e965750610e9660023361250b565b610eee5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600f805460ff19168215159081179091556040519081527f1a774157699118ccfbca805b6e2aef99408031b22ebd5c275763ade9e3b44904906020015b60405180910390a150565b610f403382612530565b610fb25760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108c5565b610a35838383612627565b6000816001600160a01b0316610fdb6001546001600160a01b031690565b6001600160a01b031614806107b857506107b860028361250b565b60175460165460009182916001600160a01b03909116906127109061101b9086613c99565b6110259190613c85565b915091505b9250929050565b6001546001600160a01b0316331461108b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c5565b61109660028261250b565b156110de5760405133906001600160a01b038316907f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d590600090a36110dc6002826127f4565b505b50565b60606110ed6002612809565b67ffffffffffffffff81111561110557611105613de0565b60405190808252806020026020018201604052801561112e578160200160208202803683370190505b50905060005b61113e6002612809565b81101561118c57611150600282612813565b82828151811061116257611162613dca565b6001600160a01b03909216602092830291909101909101528061118481613d59565b915050611134565b5090565b336111a36001546001600160a01b031690565b6001600160a01b031614806111be57506111be60023361250b565b6112165760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b610a3583838360405180602001604052806000815250611ac3565b6000818152600660205260408120546001600160a01b0316806107b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108c5565b336112f16001546001600160a01b031690565b6001600160a01b0316148061130c575061130c60023361250b565b6113645760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b601780546001600160a01b0319166001600160a01b039390931692909217909155601655565b6001546001600160a01b031633146113e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c5565b6113ef60028261250b565b6110de5760405133906001600160a01b038316907f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb190600090a36110dc60028261281f565b60006001600160a01b0382166114b25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108c5565b506001600160a01b031660009081526007602052604090205490565b6001546001600160a01b031633146115285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c5565b6115326000612834565b565b336115476001546001600160a01b031690565b6001600160a01b03161480611562575061156260023361250b565b6115ba5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600d805460ff19166001179055600e8190556040517f59d3ce47d6ad6c6003cef97d136155b29d88653eb355c8bed6e03fbf694570ca90600090a150565b6060600580546107cd90613d1e565b6001600160a01b0382163314156116605760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108c5565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336116df6001546001600160a01b031690565b6001600160a01b031614806116fa57506116fa60023361250b565b6117525760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b60005b8151811015610a3557826010600084848151811061177557611775613dca565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080806117ad90613d59565b915050611755565b336117c86001546001600160a01b031690565b6001600160a01b031614806117e357506117e360023361250b565b61183b5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b610a35601583836132a1565b3361185a6001546001600160a01b031690565b6001600160a01b03161480611875575061187560023361250b565b6118cd5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b82811461190c5760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016108c5565b60005b838110156119db5761040083838381811061192c5761192c613dca565b9050602002013511156119815760405162461bcd60e51b815260206004820152601060248201527f496e76616c696420746f6b656e2069640000000000000000000000000000000060448201526064016108c5565b6119c985858381811061199657611996613dca565b90506020020160208101906119ab91906133c8565b8484848181106119bd576119bd613dca565b90506020020135612886565b806119d381613d59565b91505061190f565b5050505050565b6000818152600660205260408120546001600160a01b0316611a6c5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a20776f726420636f756e7420717565727920666f72206e6f6e60448201527f6578697374656e7420746f6b656e00000000000000000000000000000000000060648201526084016108c5565b600082815260116020526040902054431415611aad576000828152601260209081526040808320546013909252909120546107b89160ff9081169116613ccf565b5060009081526013602052604090205460ff1690565b611acd3383612530565b611b3f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108c5565b611b4b848484846129c8565b50505050565b6017546060906001600160a01b031615610a91576040805160018082528183019092529060208083019080368337505060175482519293506001600160a01b031691839150600090611ba557611ba5613dca565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b60175460609081906001600160a01b031615611c79576040805160018082528183019092529060208083019080368337505060175482519294506001600160a01b031691849150600090611c2057611c20613dca565b6001600160a01b039290921660209283029190910182015260408051600180825281830190925291828101908036833701905050905060165481600081518110611c6c57611c6c613dca565b6020026020010181815250505b915091565b600060026000541415611cd35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c5565b6002600055600186148015611ce757508584145b611d235760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016108c5565b611d628888886000818110611d3a57611d3a613dca565b9050602002013587876000818110611d5457611d54613dca565b905060200201358686612a51565b507fbc197c8100000000000000000000000000000000000000000000000000000000600160005598975050505050505050565b33611da86001546001600160a01b031690565b6001600160a01b03161480611dc35750611dc360023361250b565b611e1b5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600660205260409020546060906001600160a01b0316611eca5760405162461bcd60e51b815260206004820152602760248201527f4552433732313a2055524920717565727920666f72206e6f6e6578697374656e60448201527f7420746f6b656e0000000000000000000000000000000000000000000000000060648201526084016108c5565b6015611ed583612e4c565b604051602001611ee6929190613a2e565b6040516020818303038152906040529050919050565b33611f0f6001546001600160a01b031690565b6001600160a01b03161480611f2a5750611f2a60023361250b565b611f825760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600d805460ff191690556000600e8190556040517fc2a8834045efeaf0b37df1cf2e5979bff82a0c7f93c99b649a004940ef3cda459190a1565b33611fcf6001546001600160a01b031690565b6001600160a01b03161480611fea5750611fea60023361250b565b6120425760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b6040516323b872dd60e01b81523060048201526001600160a01b038281166024830152604482018490528416906323b872dd90606401600060405180830381600087803b15801561209257600080fd5b505af11580156120a6573d6000803e3d6000fd5b50505050505050565b6000600260005414156121045760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c5565b60026000556121168686868686612a51565b507ff23a6e610000000000000000000000000000000000000000000000000000000060016000559695505050505050565b6001546001600160a01b031633146121a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c5565b6001600160a01b03811661221d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108c5565b6110de81612834565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061228957506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107b857506107b8825b60006001600160e01b031982167f553e757e0000000000000000000000000000000000000000000000000000000014806107b857507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146107b8565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061233082611253565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6014805490600061237983613d59565b9190505550600060034244601454856040516020016123b1949392919093845260208401929092526040830152606082015260800190565b6040516020818303038152906040528051906020012060001c6123d49190613d74565b6123df906002613c60565b600083815260116020526040902054909150431415612436576000828152601260205260408120805483929061241990849060ff16613c60565b92506101000a81548160ff021916908360ff16021790555061245f565b600082815260116020908152604080832043905560129091529020805460ff191660ff83161790555b6000828152601360205260408120805483929061248090849060ff16613c60565b92506101000a81548160ff021916908360ff160217905550817f2c8a0cf4b52712f9d3d0981513ed5508235d291e6bdd0d70092b20d902c51c1f826040516124d1919060ff91909116815260200190565b60405180910390a25050565b60405181907fcf933ad6a16010530728cac61fd3ac43d38c8dc6dbf6ef6c3c1bad9f39a0e95c90600090a250565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000818152600660205260408120546001600160a01b03166125a95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108c5565b60006125b483611253565b9050806001600160a01b0316846001600160a01b031614806125ef5750836001600160a01b03166125e484610850565b6001600160a01b0316145b8061261f57506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661263a82611253565b6001600160a01b0316146126b65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108c5565b6001600160a01b0382166127315760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108c5565b61273c6000826122fb565b6001600160a01b0383166000908152600760205260408120805460019290612765908490613cb8565b90915550506001600160a01b0382166000908152600760205260408120805460019290612793908490613c48565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000612529836001600160a01b038416612f7e565b60006107b8825490565b60006125298383613071565b6000612529836001600160a01b03841661309b565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166128dc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c5565b6000818152600660205260409020546001600160a01b0316156129415760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c5565b6001600160a01b038216600090815260076020526040812080546001929061296a908490613c48565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6129d3848484612627565b6129df848484846130ea565b611b4b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108c5565b600a546001600160a01b031633148015612a6b5750836001145b612aa55760405162461bcd60e51b815260206004820152600b60248201526a125b9d985b1a590813919560aa1b60448201526064016108c5565b6000806020831415612ac457612abd83850185613937565b9150612b1a565b6040831415612ae357612ad983850185613950565b9092509050612b1a565b60405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016108c5565b81612b8457600d5460ff168015612b335750600e544211155b612b7f5760405162461bcd60e51b815260206004820152601360248201527f526564656d7074696f6e20696e6163746976650000000000000000000000000060448201526064016108c5565b612d51565b8160011480612b935750816002145b15612ae35784600114612bd75760405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016108c5565b600f5460ff1615612c2a5760405162461bcd60e51b815260206004820152601860248201527f4d6f64696679696e6720776f7264732064697361626c6564000000000000000060448201526064016108c5565b60008181526010602052604090205460ff1615612c975760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74206d6f6469667920776f726473206f662066696e616c697a6564604482015264081c1bd95d60da1b60648201526084016108c5565b6104008111612ce85760405162461bcd60e51b815260206004820152601360248201527f43616e6e6f74206d6f6469667920776f7264730000000000000000000000000060448201526064016108c5565b612cf181611253565b6001600160a01b0316876001600160a01b031614612b7f5760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520746f6b656e206f776e65720000000000000000000000000060448201526064016108c5565b6040517ff242432a000000000000000000000000000000000000000000000000000000008152339063f242432a90612d9990309061dead908b908b908b908b90600401613b11565b600060405180830381600087803b158015612db357600080fd5b505af1925050508015612dc4575060015b612df2573d808015610dd8576040519150601f19603f3d011682016040523d82523d6000602084013e610ddd565b81612e235760005b85811015612e1d57612e0b8861324d565b80612e1581613d59565b915050612dfa565b506120a6565b8160011415612e3a57612e3581612369565b6120a6565b81600214156120a6576120a6816124dd565b606081612e8c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612eb65780612ea081613d59565b9150612eaf9050600a83613c85565b9150612e90565b60008167ffffffffffffffff811115612ed157612ed1613de0565b6040519080825280601f01601f191660200182016040528015612efb576020820181803683370190505b5090505b841561261f57612f10600183613cb8565b9150612f1d600a86613d74565b612f28906030613c48565b60f81b818381518110612f3d57612f3d613dca565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612f77600a86613c85565b9450612eff565b60008181526001830160205260408120548015613067576000612fa2600183613cb8565b8554909150600090612fb690600190613cb8565b905081811461301b576000866000018281548110612fd657612fd6613dca565b9060005260206000200154905080876000018481548110612ff957612ff9613dca565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061302c5761302c613db4565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506107b8565b60009150506107b8565b600082600001828154811061308857613088613dca565b9060005260206000200154905092915050565b60008181526001830160205260408120546130e2575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107b8565b5060006107b8565b60006001600160a01b0384163b1561324257604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061312e903390899088908890600401613ad5565b602060405180830381600087803b15801561314857600080fd5b505af1925050508015613178575060408051601f3d908101601f19168201909252613175918101906138d8565b60015b613228573d8080156131a6576040519150601f19603f3d011682016040523d82523d6000602084013e6131ab565b606091505b5080516132205760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108c5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061261f565b506001949350505050565b600c805490600061325d83613d59565b919050555061326e81600c54612886565b7f2aeaab4469a4c75463f8725e2b16a5378eb5d7ddf4b0d12f54c242b52df649a3600c54604051610f2b91815260200190565b8280546132ad90613d1e565b90600052602060002090601f0160209004810192826132cf5760008555613315565b82601f106132e85782800160ff19823516178555613315565b82800160010185558215613315579182015b828111156133155782358255916020019190600101906132fa565b5061118c9291505b8082111561118c576000815560010161331d565b60008083601f84011261334357600080fd5b50813567ffffffffffffffff81111561335b57600080fd5b6020830191508360208260051b850101111561102a57600080fd5b80358015158114610a9157600080fd5b60008083601f84011261339857600080fd5b50813567ffffffffffffffff8111156133b057600080fd5b60208301915083602082850101111561102a57600080fd5b6000602082840312156133da57600080fd5b813561252981613df6565b600080604083850312156133f857600080fd5b823561340381613df6565b946020939093013593505050565b6000806040838503121561342457600080fd5b823561342f81613df6565b9150602083013561343f81613df6565b809150509250929050565b60008060008060008060008060a0898b03121561346657600080fd5b883561347181613df6565b9750602089013561348181613df6565b9650604089013567ffffffffffffffff8082111561349e57600080fd5b6134aa8c838d01613331565b909850965060608b01359150808211156134c357600080fd5b6134cf8c838d01613331565b909650945060808b01359150808211156134e857600080fd5b506134f58b828c01613386565b999c989b5096995094979396929594505050565b60008060006060848603121561351e57600080fd5b833561352981613df6565b9250602084013561353981613df6565b929592945050506040919091013590565b60008060008060006080868803121561356257600080fd5b853561356d81613df6565b9450602086013561357d81613df6565b935060408601359250606086013567ffffffffffffffff8111156135a057600080fd5b6135ac88828901613386565b969995985093965092949392505050565b600080600080608085870312156135d357600080fd5b84356135de81613df6565b93506020858101356135ef81613df6565b935060408601359250606086013567ffffffffffffffff8082111561361357600080fd5b818801915088601f83011261362757600080fd5b81358181111561363957613639613de0565b61364b601f8201601f19168501613c17565b9150808252898482850101111561366157600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060008060008060a0878903121561369a57600080fd5b86356136a581613df6565b955060208701356136b581613df6565b94506040870135935060608701359250608087013567ffffffffffffffff8111156136df57600080fd5b6136eb89828a01613386565b979a9699509497509295939492505050565b6000806040838503121561371057600080fd5b823561371b81613df6565b915061372960208401613376565b90509250929050565b60008060006060848603121561374757600080fd5b833561375281613df6565b925060208401359150604084013561376981613df6565b809150509250925092565b6000806000806040858703121561378a57600080fd5b843567ffffffffffffffff808211156137a257600080fd5b6137ae88838901613331565b909650945060208701359150808211156137c757600080fd5b506137d487828801613331565b95989497509550505050565b6000602082840312156137f257600080fd5b61252982613376565b6000806040838503121561380e57600080fd5b61381783613376565b915060208084013567ffffffffffffffff8082111561383557600080fd5b818601915086601f83011261384957600080fd5b81358181111561385b5761385b613de0565b8060051b915061386c848301613c17565b8181528481019084860184860187018b101561388757600080fd5b600095505b838610156138aa57803583526001959095019491860191860161388c565b508096505050505050509250929050565b6000602082840312156138cd57600080fd5b813561252981613e0b565b6000602082840312156138ea57600080fd5b815161252981613e0b565b6000806020838503121561390857600080fd5b823567ffffffffffffffff81111561391f57600080fd5b61392b85828601613386565b90969095509350505050565b60006020828403121561394957600080fd5b5035919050565b6000806040838503121561396357600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b838110156139ab5781516001600160a01b031687529582019590820190600101613986565b509495945050505050565b600081518084526020808501945080840160005b838110156139ab578151875295820195908201906001016139ca565b600081518084526139fe816020860160208601613cf2565b601f01601f19169290920160200192915050565b60008151613a24818560208601613cf2565b9290920192915050565b600080845481600182811c915080831680613a4a57607f831692505b6020808410821415613a6a57634e487b7160e01b86526022600452602486fd5b818015613a7e5760018114613a8f57613abc565b60ff19861689528489019650613abc565b60008b81526020902060005b86811015613ab45781548b820152908501908301613a9b565b505084890196505b505050505050613acc8185613a12565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613b0760808301846139e6565b9695505050505050565b60006001600160a01b03808916835280881660208401525085604083015284606083015260a060808301528260a0830152828460c0840137600060c0848401015260c0601f19601f8501168301019050979650505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613bad5783516001600160a01b031683529284019291840191600101613b88565b50909695505050505050565b6020815260006125296020830184613972565b604081526000613bdf6040830185613972565b8281036020840152613acc81856139b6565b60208152600061252960208301846139b6565b60208152600061252960208301846139e6565b604051601f8201601f1916810167ffffffffffffffff81118282101715613c4057613c40613de0565b604052919050565b60008219821115613c5b57613c5b613d88565b500190565b600060ff821660ff84168060ff03821115613c7d57613c7d613d88565b019392505050565b600082613c9457613c94613d9e565b500490565b6000816000190483118215151615613cb357613cb3613d88565b500290565b600082821015613cca57613cca613d88565b500390565b600060ff821660ff841680821015613ce957613ce9613d88565b90039392505050565b60005b83811015613d0d578181015183820152602001613cf5565b83811115611b4b5750506000910152565b600181811c90821680613d3257607f821691505b60208210811415613d5357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613d6d57613d6d613d88565b5060010190565b600082613d8357613d83613d9e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110de57600080fd5b6001600160e01b0319811681146110de57600080fdfea2646970667358221220664c326a9b8a5aca3df5ae3e784f0ef65ddcd5804d81b47c96752e279f48fb9c64736f6c63430008070033000000000000000000000000a7206d878c5c3871826dfdb42191c49b1d11f466

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102de5760003560e01c80638888491611610186578063b9c4d9fb116100e3578063dd08b5c911610097578063f0e9fcd111610071578063f0e9fcd11461067b578063f23a6e611461068e578063f2fde38b146106a157600080fd5b8063dd08b5c91461062a578063e435a89314610632578063e985e9c51461063f57600080fd5b8063bc197c81116100c8578063bc197c81146105f1578063c83d875d14610604578063c87b56dd1461061757600080fd5b8063b9c4d9fb146105b0578063bb3bafd6146105d057600080fd5b8063b234de821161013a578063b495ed1b1161011f578063b495ed1b14610565578063b799e23c14610578578063b88d4fde1461059d57600080fd5b8063b234de8214610545578063b2c94ee61461055257600080fd5b806395d89b411161016b57806395d89b4114610517578063a22cb4651461051f578063a931cfbb1461053257600080fd5b806388884916146104f35780638da5cb5b1461050657600080fd5b80632d3456701161023f5780636352211e116101f35780636d73e669116101cd5780636d73e669146104c557806370a08231146104d8578063715018a6146104eb57600080fd5b80636352211e146104885780636a2f3b4c1461049b5780636c2f5acd146104b257600080fd5b80633df38ab3116102245780633df38ab31461043f57806342842e0e146104525780634ddaced21461046557600080fd5b80632d3456701461041757806331ae450b1461042a57600080fd5b8063150b7a021161029657806323b872dd1161027b57806323b872dd146103bf57806324d7806c146103d25780632a55205a146103e557600080fd5b8063150b7a02146103805780631a1a6a2e146103ac57600080fd5b8063081812fc116102c7578063081812fc14610320578063095ea7b31461034b5780630ebd4c7f1461036057600080fd5b806301ffc9a7146102e357806306fdde031461030b575b600080fd5b6102f66102f13660046138bb565b6106b4565b60405190151581526020015b60405180910390f35b6103136107be565b6040516103029190613c04565b61033361032e366004613937565b610850565b6040516001600160a01b039091168152602001610302565b61035e6103593660046133e5565b6108ea565b005b61037361036e366004613937565b610a3a565b6040516103029190613bf1565b61039361038e36600461354a565b610a96565b6040516001600160e01b03199091168152602001610302565b61035e6103ba3660046137e0565b610e68565b61035e6103cd366004613509565b610f36565b6102f66103e03660046133c8565b610fbd565b6103f86103f3366004613950565b610ff6565b604080516001600160a01b039093168352602083019190915201610302565b61035e6104253660046133c8565b611031565b6104326110e1565b6040516103029190613b6c565b61035e61044d3660046133c8565b611190565b61035e610460366004613509565b611238565b6102f6610473366004613937565b60106020526000908152604090205460ff1681565b610333610496366004613937565b611253565b6104a4600e5481565b604051908152602001610302565b61035e6104c03660046133e5565b6112de565b61035e6104d33660046133c8565b61138a565b6104a46104e63660046133c8565b611434565b61035e6114ce565b61035e610501366004613937565b611534565b6001546001600160a01b0316610333565b6103136115f8565b61035e61052d3660046136fd565b611607565b61035e6105403660046137fb565b6116cc565b600d546102f69060ff1681565b61035e6105603660046138f5565b6117b5565b61035e610573366004613774565b611847565b61058b610586366004613937565b6119e2565b60405160ff9091168152602001610302565b61035e6105ab3660046135bd565b611ac3565b6105c36105be366004613937565b611b51565b6040516103029190613bb9565b6105e36105de366004613937565b611bca565b604051610302929190613bcc565b6103936105ff36600461344a565b611c7e565b61035e6106123660046133c8565b611d95565b610313610625366004613937565b611e3d565b61035e611efc565b600f546102f69060ff1681565b6102f661064d366004613411565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b61035e610689366004613732565b611fbc565b61039361069c366004613681565b6120af565b61035e6106af3660046133c8565b612147565b60006001600160e01b03198216630a85bd0160e11b14806106fe57506001600160e01b031982167f4e2312e000000000000000000000000000000000000000000000000000000000145b8061070d575061070d82612226565b8061071c575061071c82612294565b8061075057506001600160e01b031982167fbb3bafd600000000000000000000000000000000000000000000000000000000145b8061078457506001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000145b806107b857506001600160e01b031982167fb779958400000000000000000000000000000000000000000000000000000000145b92915050565b6060600480546107cd90613d1e565b80601f01602080910402602001604051908101604052809291908181526020018280546107f990613d1e565b80156108465780601f1061081b57610100808354040283529160200191610846565b820191906000526020600020905b81548152906001019060200180831161082957829003601f168201915b5050505050905090565b6000818152600660205260408120546001600160a01b03166108ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108f582611253565b9050806001600160a01b0316836001600160a01b0316141561097f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108c5565b336001600160a01b03821614806109b957506001600160a01b038116600090815260096020908152604080832033845290915290205460ff165b610a2b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108c5565b610a3583836122fb565b505050565b6017546060906001600160a01b031615610a9157604080516001808252818301909252906020808301908036833701905050905060165481600081518110610a8457610a84613dca565b6020026020010181815250505b919050565b600060026000541415610aeb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c5565b6002600055600b546001600160a01b03163314610b385760405162461bcd60e51b815260206004820152600b60248201526a125b9d985b1a590813919560aa1b60448201526064016108c5565b60408214610b775760405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016108c5565b600080610b8684860186613950565b9150915081600114158015610b9c575081600214155b15610bd85760405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016108c5565b600f5460ff1615610c2b5760405162461bcd60e51b815260206004820152601860248201527f4d6f64696679696e6720776f7264732064697361626c6564000000000000000060448201526064016108c5565b60008181526010602052604090205460ff1615610c985760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74206d6f6469667920776f726473206f662066696e616c697a6564604482015264081c1bd95d60da1b60648201526084016108c5565b6104008111610ce95760405162461bcd60e51b815260206004820152601360248201527f43616e6e6f74206d6f6469667920776f7264730000000000000000000000000060448201526064016108c5565b610cf281611253565b6001600160a01b0316876001600160a01b031614610d525760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520746f6b656e206f776e65720000000000000000000000000060448201526064016108c5565b6040516323b872dd60e01b815230600482015261dead60248201526044810187905233906323b872dd90606401600060405180830381600087803b158015610d9957600080fd5b505af1925050508015610daa575060015b610e26573d808015610dd8576040519150601f19603f3d011682016040523d82523d6000602084013e610ddd565b606091505b5060405162461bcd60e51b815260206004820152600c60248201527f4275726e206661696c757265000000000000000000000000000000000000000060448201526064016108c5565b8160011415610e3d57610e3881612369565b610e4f565b8160021415610e4f57610e4f816124dd565b5050600160005550630a85bd0160e11b95945050505050565b33610e7b6001546001600160a01b031690565b6001600160a01b03161480610e965750610e9660023361250b565b610eee5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600f805460ff19168215159081179091556040519081527f1a774157699118ccfbca805b6e2aef99408031b22ebd5c275763ade9e3b44904906020015b60405180910390a150565b610f403382612530565b610fb25760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108c5565b610a35838383612627565b6000816001600160a01b0316610fdb6001546001600160a01b031690565b6001600160a01b031614806107b857506107b860028361250b565b60175460165460009182916001600160a01b03909116906127109061101b9086613c99565b6110259190613c85565b915091505b9250929050565b6001546001600160a01b0316331461108b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c5565b61109660028261250b565b156110de5760405133906001600160a01b038316907f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d590600090a36110dc6002826127f4565b505b50565b60606110ed6002612809565b67ffffffffffffffff81111561110557611105613de0565b60405190808252806020026020018201604052801561112e578160200160208202803683370190505b50905060005b61113e6002612809565b81101561118c57611150600282612813565b82828151811061116257611162613dca565b6001600160a01b03909216602092830291909101909101528061118481613d59565b915050611134565b5090565b336111a36001546001600160a01b031690565b6001600160a01b031614806111be57506111be60023361250b565b6112165760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b610a3583838360405180602001604052806000815250611ac3565b6000818152600660205260408120546001600160a01b0316806107b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108c5565b336112f16001546001600160a01b031690565b6001600160a01b0316148061130c575061130c60023361250b565b6113645760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b601780546001600160a01b0319166001600160a01b039390931692909217909155601655565b6001546001600160a01b031633146113e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c5565b6113ef60028261250b565b6110de5760405133906001600160a01b038316907f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb190600090a36110dc60028261281f565b60006001600160a01b0382166114b25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108c5565b506001600160a01b031660009081526007602052604090205490565b6001546001600160a01b031633146115285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c5565b6115326000612834565b565b336115476001546001600160a01b031690565b6001600160a01b03161480611562575061156260023361250b565b6115ba5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600d805460ff19166001179055600e8190556040517f59d3ce47d6ad6c6003cef97d136155b29d88653eb355c8bed6e03fbf694570ca90600090a150565b6060600580546107cd90613d1e565b6001600160a01b0382163314156116605760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108c5565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336116df6001546001600160a01b031690565b6001600160a01b031614806116fa57506116fa60023361250b565b6117525760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b60005b8151811015610a3557826010600084848151811061177557611775613dca565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080806117ad90613d59565b915050611755565b336117c86001546001600160a01b031690565b6001600160a01b031614806117e357506117e360023361250b565b61183b5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b610a35601583836132a1565b3361185a6001546001600160a01b031690565b6001600160a01b03161480611875575061187560023361250b565b6118cd5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b82811461190c5760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016108c5565b60005b838110156119db5761040083838381811061192c5761192c613dca565b9050602002013511156119815760405162461bcd60e51b815260206004820152601060248201527f496e76616c696420746f6b656e2069640000000000000000000000000000000060448201526064016108c5565b6119c985858381811061199657611996613dca565b90506020020160208101906119ab91906133c8565b8484848181106119bd576119bd613dca565b90506020020135612886565b806119d381613d59565b91505061190f565b5050505050565b6000818152600660205260408120546001600160a01b0316611a6c5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a20776f726420636f756e7420717565727920666f72206e6f6e60448201527f6578697374656e7420746f6b656e00000000000000000000000000000000000060648201526084016108c5565b600082815260116020526040902054431415611aad576000828152601260209081526040808320546013909252909120546107b89160ff9081169116613ccf565b5060009081526013602052604090205460ff1690565b611acd3383612530565b611b3f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108c5565b611b4b848484846129c8565b50505050565b6017546060906001600160a01b031615610a91576040805160018082528183019092529060208083019080368337505060175482519293506001600160a01b031691839150600090611ba557611ba5613dca565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b60175460609081906001600160a01b031615611c79576040805160018082528183019092529060208083019080368337505060175482519294506001600160a01b031691849150600090611c2057611c20613dca565b6001600160a01b039290921660209283029190910182015260408051600180825281830190925291828101908036833701905050905060165481600081518110611c6c57611c6c613dca565b6020026020010181815250505b915091565b600060026000541415611cd35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c5565b6002600055600186148015611ce757508584145b611d235760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016108c5565b611d628888886000818110611d3a57611d3a613dca565b9050602002013587876000818110611d5457611d54613dca565b905060200201358686612a51565b507fbc197c8100000000000000000000000000000000000000000000000000000000600160005598975050505050505050565b33611da86001546001600160a01b031690565b6001600160a01b03161480611dc35750611dc360023361250b565b611e1b5760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600660205260409020546060906001600160a01b0316611eca5760405162461bcd60e51b815260206004820152602760248201527f4552433732313a2055524920717565727920666f72206e6f6e6578697374656e60448201527f7420746f6b656e0000000000000000000000000000000000000000000000000060648201526084016108c5565b6015611ed583612e4c565b604051602001611ee6929190613a2e565b6040516020818303038152906040529050919050565b33611f0f6001546001600160a01b031690565b6001600160a01b03161480611f2a5750611f2a60023361250b565b611f825760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b600d805460ff191690556000600e8190556040517fc2a8834045efeaf0b37df1cf2e5979bff82a0c7f93c99b649a004940ef3cda459190a1565b33611fcf6001546001600160a01b031690565b6001600160a01b03161480611fea5750611fea60023361250b565b6120425760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616044820152633236b4b760e11b60648201526084016108c5565b6040516323b872dd60e01b81523060048201526001600160a01b038281166024830152604482018490528416906323b872dd90606401600060405180830381600087803b15801561209257600080fd5b505af11580156120a6573d6000803e3d6000fd5b50505050505050565b6000600260005414156121045760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c5565b60026000556121168686868686612a51565b507ff23a6e610000000000000000000000000000000000000000000000000000000060016000559695505050505050565b6001546001600160a01b031633146121a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c5565b6001600160a01b03811661221d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108c5565b6110de81612834565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061228957506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107b857506107b8825b60006001600160e01b031982167f553e757e0000000000000000000000000000000000000000000000000000000014806107b857507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146107b8565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061233082611253565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6014805490600061237983613d59565b9190505550600060034244601454856040516020016123b1949392919093845260208401929092526040830152606082015260800190565b6040516020818303038152906040528051906020012060001c6123d49190613d74565b6123df906002613c60565b600083815260116020526040902054909150431415612436576000828152601260205260408120805483929061241990849060ff16613c60565b92506101000a81548160ff021916908360ff16021790555061245f565b600082815260116020908152604080832043905560129091529020805460ff191660ff83161790555b6000828152601360205260408120805483929061248090849060ff16613c60565b92506101000a81548160ff021916908360ff160217905550817f2c8a0cf4b52712f9d3d0981513ed5508235d291e6bdd0d70092b20d902c51c1f826040516124d1919060ff91909116815260200190565b60405180910390a25050565b60405181907fcf933ad6a16010530728cac61fd3ac43d38c8dc6dbf6ef6c3c1bad9f39a0e95c90600090a250565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000818152600660205260408120546001600160a01b03166125a95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108c5565b60006125b483611253565b9050806001600160a01b0316846001600160a01b031614806125ef5750836001600160a01b03166125e484610850565b6001600160a01b0316145b8061261f57506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661263a82611253565b6001600160a01b0316146126b65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108c5565b6001600160a01b0382166127315760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108c5565b61273c6000826122fb565b6001600160a01b0383166000908152600760205260408120805460019290612765908490613cb8565b90915550506001600160a01b0382166000908152600760205260408120805460019290612793908490613c48565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000612529836001600160a01b038416612f7e565b60006107b8825490565b60006125298383613071565b6000612529836001600160a01b03841661309b565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166128dc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c5565b6000818152600660205260409020546001600160a01b0316156129415760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c5565b6001600160a01b038216600090815260076020526040812080546001929061296a908490613c48565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6129d3848484612627565b6129df848484846130ea565b611b4b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108c5565b600a546001600160a01b031633148015612a6b5750836001145b612aa55760405162461bcd60e51b815260206004820152600b60248201526a125b9d985b1a590813919560aa1b60448201526064016108c5565b6000806020831415612ac457612abd83850185613937565b9150612b1a565b6040831415612ae357612ad983850185613950565b9092509050612b1a565b60405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016108c5565b81612b8457600d5460ff168015612b335750600e544211155b612b7f5760405162461bcd60e51b815260206004820152601360248201527f526564656d7074696f6e20696e6163746976650000000000000000000000000060448201526064016108c5565b612d51565b8160011480612b935750816002145b15612ae35784600114612bd75760405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b60448201526064016108c5565b600f5460ff1615612c2a5760405162461bcd60e51b815260206004820152601860248201527f4d6f64696679696e6720776f7264732064697361626c6564000000000000000060448201526064016108c5565b60008181526010602052604090205460ff1615612c975760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74206d6f6469667920776f726473206f662066696e616c697a6564604482015264081c1bd95d60da1b60648201526084016108c5565b6104008111612ce85760405162461bcd60e51b815260206004820152601360248201527f43616e6e6f74206d6f6469667920776f7264730000000000000000000000000060448201526064016108c5565b612cf181611253565b6001600160a01b0316876001600160a01b031614612b7f5760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520746f6b656e206f776e65720000000000000000000000000060448201526064016108c5565b6040517ff242432a000000000000000000000000000000000000000000000000000000008152339063f242432a90612d9990309061dead908b908b908b908b90600401613b11565b600060405180830381600087803b158015612db357600080fd5b505af1925050508015612dc4575060015b612df2573d808015610dd8576040519150601f19603f3d011682016040523d82523d6000602084013e610ddd565b81612e235760005b85811015612e1d57612e0b8861324d565b80612e1581613d59565b915050612dfa565b506120a6565b8160011415612e3a57612e3581612369565b6120a6565b81600214156120a6576120a6816124dd565b606081612e8c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612eb65780612ea081613d59565b9150612eaf9050600a83613c85565b9150612e90565b60008167ffffffffffffffff811115612ed157612ed1613de0565b6040519080825280601f01601f191660200182016040528015612efb576020820181803683370190505b5090505b841561261f57612f10600183613cb8565b9150612f1d600a86613d74565b612f28906030613c48565b60f81b818381518110612f3d57612f3d613dca565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612f77600a86613c85565b9450612eff565b60008181526001830160205260408120548015613067576000612fa2600183613cb8565b8554909150600090612fb690600190613cb8565b905081811461301b576000866000018281548110612fd657612fd6613dca565b9060005260206000200154905080876000018481548110612ff957612ff9613dca565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061302c5761302c613db4565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506107b8565b60009150506107b8565b600082600001828154811061308857613088613dca565b9060005260206000200154905092915050565b60008181526001830160205260408120546130e2575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107b8565b5060006107b8565b60006001600160a01b0384163b1561324257604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061312e903390899088908890600401613ad5565b602060405180830381600087803b15801561314857600080fd5b505af1925050508015613178575060408051601f3d908101601f19168201909252613175918101906138d8565b60015b613228573d8080156131a6576040519150601f19603f3d011682016040523d82523d6000602084013e6131ab565b606091505b5080516132205760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108c5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061261f565b506001949350505050565b600c805490600061325d83613d59565b919050555061326e81600c54612886565b7f2aeaab4469a4c75463f8725e2b16a5378eb5d7ddf4b0d12f54c242b52df649a3600c54604051610f2b91815260200190565b8280546132ad90613d1e565b90600052602060002090601f0160209004810192826132cf5760008555613315565b82601f106132e85782800160ff19823516178555613315565b82800160010185558215613315579182015b828111156133155782358255916020019190600101906132fa565b5061118c9291505b8082111561118c576000815560010161331d565b60008083601f84011261334357600080fd5b50813567ffffffffffffffff81111561335b57600080fd5b6020830191508360208260051b850101111561102a57600080fd5b80358015158114610a9157600080fd5b60008083601f84011261339857600080fd5b50813567ffffffffffffffff8111156133b057600080fd5b60208301915083602082850101111561102a57600080fd5b6000602082840312156133da57600080fd5b813561252981613df6565b600080604083850312156133f857600080fd5b823561340381613df6565b946020939093013593505050565b6000806040838503121561342457600080fd5b823561342f81613df6565b9150602083013561343f81613df6565b809150509250929050565b60008060008060008060008060a0898b03121561346657600080fd5b883561347181613df6565b9750602089013561348181613df6565b9650604089013567ffffffffffffffff8082111561349e57600080fd5b6134aa8c838d01613331565b909850965060608b01359150808211156134c357600080fd5b6134cf8c838d01613331565b909650945060808b01359150808211156134e857600080fd5b506134f58b828c01613386565b999c989b5096995094979396929594505050565b60008060006060848603121561351e57600080fd5b833561352981613df6565b9250602084013561353981613df6565b929592945050506040919091013590565b60008060008060006080868803121561356257600080fd5b853561356d81613df6565b9450602086013561357d81613df6565b935060408601359250606086013567ffffffffffffffff8111156135a057600080fd5b6135ac88828901613386565b969995985093965092949392505050565b600080600080608085870312156135d357600080fd5b84356135de81613df6565b93506020858101356135ef81613df6565b935060408601359250606086013567ffffffffffffffff8082111561361357600080fd5b818801915088601f83011261362757600080fd5b81358181111561363957613639613de0565b61364b601f8201601f19168501613c17565b9150808252898482850101111561366157600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060008060008060a0878903121561369a57600080fd5b86356136a581613df6565b955060208701356136b581613df6565b94506040870135935060608701359250608087013567ffffffffffffffff8111156136df57600080fd5b6136eb89828a01613386565b979a9699509497509295939492505050565b6000806040838503121561371057600080fd5b823561371b81613df6565b915061372960208401613376565b90509250929050565b60008060006060848603121561374757600080fd5b833561375281613df6565b925060208401359150604084013561376981613df6565b809150509250925092565b6000806000806040858703121561378a57600080fd5b843567ffffffffffffffff808211156137a257600080fd5b6137ae88838901613331565b909650945060208701359150808211156137c757600080fd5b506137d487828801613331565b95989497509550505050565b6000602082840312156137f257600080fd5b61252982613376565b6000806040838503121561380e57600080fd5b61381783613376565b915060208084013567ffffffffffffffff8082111561383557600080fd5b818601915086601f83011261384957600080fd5b81358181111561385b5761385b613de0565b8060051b915061386c848301613c17565b8181528481019084860184860187018b101561388757600080fd5b600095505b838610156138aa57803583526001959095019491860191860161388c565b508096505050505050509250929050565b6000602082840312156138cd57600080fd5b813561252981613e0b565b6000602082840312156138ea57600080fd5b815161252981613e0b565b6000806020838503121561390857600080fd5b823567ffffffffffffffff81111561391f57600080fd5b61392b85828601613386565b90969095509350505050565b60006020828403121561394957600080fd5b5035919050565b6000806040838503121561396357600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b838110156139ab5781516001600160a01b031687529582019590820190600101613986565b509495945050505050565b600081518084526020808501945080840160005b838110156139ab578151875295820195908201906001016139ca565b600081518084526139fe816020860160208601613cf2565b601f01601f19169290920160200192915050565b60008151613a24818560208601613cf2565b9290920192915050565b600080845481600182811c915080831680613a4a57607f831692505b6020808410821415613a6a57634e487b7160e01b86526022600452602486fd5b818015613a7e5760018114613a8f57613abc565b60ff19861689528489019650613abc565b60008b81526020902060005b86811015613ab45781548b820152908501908301613a9b565b505084890196505b505050505050613acc8185613a12565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613b0760808301846139e6565b9695505050505050565b60006001600160a01b03808916835280881660208401525085604083015284606083015260a060808301528260a0830152828460c0840137600060c0848401015260c0601f19601f8501168301019050979650505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613bad5783516001600160a01b031683529284019291840191600101613b88565b50909695505050505050565b6020815260006125296020830184613972565b604081526000613bdf6040830185613972565b8281036020840152613acc81856139b6565b60208152600061252960208301846139b6565b60208152600061252960208301846139e6565b604051601f8201601f1916810167ffffffffffffffff81118282101715613c4057613c40613de0565b604052919050565b60008219821115613c5b57613c5b613d88565b500190565b600060ff821660ff84168060ff03821115613c7d57613c7d613d88565b019392505050565b600082613c9457613c94613d9e565b500490565b6000816000190483118215151615613cb357613cb3613d88565b500290565b600082821015613cca57613cca613d88565b500390565b600060ff821660ff841680821015613ce957613ce9613d88565b90039392505050565b60005b83811015613d0d578181015183820152602001613cf5565b83811115611b4b5750506000910152565b600181811c90821680613d3257607f821691505b60208210811415613d5357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613d6d57613d6d613d88565b5060010190565b600082613d8357613d83613d9e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110de57600080fd5b6001600160e01b0319811681146110de57600080fdfea2646970667358221220664c326a9b8a5aca3df5ae3e784f0ef65ddcd5804d81b47c96752e279f48fb9c64736f6c63430008070033

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

000000000000000000000000a7206d878c5c3871826dfdb42191c49b1d11f466

-----Decoded View---------------
Arg [0] : lostPoetPagesAddress (address): 0xA7206d878c5c3871826DfdB42191c49B1D11F466

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a7206d878c5c3871826dfdb42191c49b1d11f466


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.