ETH Price: $2,542.89 (+5.79%)
 

Overview

Max Total Supply

682 LEXI

Holders

340

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
3 LEXI
0x37d81a9133D1c444D23AE6061009F974a3b6E3fF
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Lexicon

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 1 runs

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

/************************************************************************************
 *       :::        :::::::::: :::    ::: ::::::::::: ::::::::   ::::::::  ::::    :::* 
 *     :+:        :+:        :+:    :+:     :+:    :+:    :+: :+:    :+: :+:+:   :+:  *
 *    +:+        +:+         +:+  +:+      +:+    +:+        +:+    +:+ :+:+:+  +:+   *
 *   +#+        +#++:++#     +#++:+       +#+    +#+        +#+    +:+ +#+ +:+ +#+    *
 *  +#+        +#+         +#+  +#+      +#+    +#+        +#+    +#+ +#+  +#+#+#     *
 * #+#        #+#        #+#    #+#     #+#    #+#    #+# #+#    #+# #+#   #+#+#      *
 *########## ########## ###    ### ########### ########   ########  ###    ####       *
 *************************************************************************************/
/// @title Lexicon Composable NFTs
/// @author Cherry, Ste

pragma solidity 0.8.6;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {ERC721Enumerable, ERC721} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import {SVGConstructors} from "./SVGConstructors.sol";
import {ILexicon} from "../interfaces/ILexicon.sol";
import {Base64} from "./Base64.sol";

contract Lexicon is ILexicon, ERC721Enumerable, Ownable, ReentrancyGuard, Pausable {

    // Word list merkle root - prevent claim spamming
    bytes32 public immutable merkleRoot;

    // If a word exists - prevents an auction bidding on a word that already exists
    mapping(string => bool) public claimed;

    // Maps word indexes to their words - these words are set during claim or through an auction victory
    mapping(uint256 => string) public wordList;

    // Map tokenId to the words in the token - key to compostability
    mapping(uint256 => ILexicon.TokenDetails) public tokenToWords;

    // The address of the auction contract
    address public minter;

    // The auctionId being used by the auction contract - set in constructor
    uint256 private currentAuctionTokenId;

    // The msg.value required for a successful dismantle operation
    uint256 public dismantlePrice;

    // contains the svg styling information
    string[] public svgStyleString;

    // Token Counter for the next assembled token
    uint256 public currentAssembleCounter; //TODO: WHAT TOKEN ID SHOULD WE GO FROM


    /**Only Minter
     * @notice Method modifier only callable by a seperate minter contract (auction)
     */ 
    modifier onlyMinter(){
        require(msg.sender == minter, "LEXICON:NotMinter");
        _;
    }

    /**Constructor
     * @notice Called only during contract creation - provide
     * @param _merkleRoot               - { The merkle root of the Lexicon wordlist }
     * @param _currentAuctionTokenId    - { The starting ID for the words auction }
     * @dev populates configuration values, contract is immediately paused on deployment
     */
    constructor(
        bytes32 _merkleRoot, 
        uint256 _currentAuctionTokenId
    ) 
        ERC721("LEXICON", "LEXI")        
    {
        pause();

        merkleRoot = _merkleRoot;
        currentAuctionTokenId = _currentAuctionTokenId;
        dismantlePrice = 10000000000000000 wei;
        currentAssembleCounter = 11000;
    }

    /**Set Minter Address
     * @notice Sets the address of the auction contract
     * @param _newMinter - { The new auction contract address }
     * @dev Can only be called by owner
     */
    function setMinterAddress(address _newMinter) external onlyOwner{
        minter = _newMinter;
    }

    /**Set Dismantle Price
     * @notice Set the price for a dismantle operation
     * @param _newPrice - { New Price for the dismantle operation }
     * @dev Can only be called by owner
     */
    function setDismantlePrice(uint256 _newPrice) external onlyOwner {
        dismantlePrice = _newPrice;
    }

    /**Set SVG String
     * @notice Sets SVG string for font 
     * @param _styleString - { New proceeding SVG string }
     * @dev Can only be called by owner
     */
    function setSVGString(string[] memory _styleString) external onlyOwner {
        svgStyleString = _styleString;
    }

    /** Is word claimed
     * @notice method used by the auction contract to check that the supplied word has not already been claimed yet in the open mint
     * @param word - { The word to check }
     */
    function isWordClaimed(string calldata word) external override returns (bool isClaimed) {
        isClaimed = claimed[word];
    }

    /**Check owned and not phrase
     * @notice  Checks the owner of the provided [tokenId] is the sender account
     *          If the provided word is a phrase / a burned token it will also revert
     * @param tokenId - { The tokenId being dismantled }
     * @dev Strictly a helper function
     */
    function checkOwnedAndNotPhrase(uint256 tokenId) private {
        require(ownerOf(tokenId) == msg.sender, "!OWNER");
        require(tokenToWords[tokenId].length == 1, "LEXICON:CannotAssemblePhrases");
    }

   
    /**Assemble Multiple
     * @notice Assembles the provided tokenIds into one token
     * @notice All tokens are appended into the first provided token
     * @param tokenIds - { An set of tokenIds } 
     * @dev Can only be used on tokens that are standalone words and are not already phrases
     */
    function assembleMultiple(uint256[] calldata tokenIds) external override nonReentrant whenNotPaused{
        require(tokenIds.length > 1, "LEXICON:MoreThanOneRequired");

        // counter to keep track of the total length of the new token
        uint8 length = uint8(tokenIds.length);
        require(length <= 10, "LEXICON:CanOnlyAssemble10Words");
        
        // temp arr
        uint[] memory memTemp = new uint[](length);
        for (uint8 i = 0; i < length; i++){
            // check they own all of the tokens they are using
            checkOwnedAndNotPhrase(tokenIds[i]);

            memTemp[i] = tokenIds[i];

            // burn the assembled tokens - burn checks if they have already been burned
            _burn(tokenIds[i]);

            // delete the token2 reference
            delete tokenToWords[tokenIds[i]];
        }
        // set token values
        tokenToWords[currentAssembleCounter].ids = memTemp;
        tokenToWords[currentAssembleCounter].length = length;

        // mint token
        _safeMint(msg.sender, currentAssembleCounter);

        // Emit assembled event 
        emit Assembled(currentAssembleCounter, msg.sender);

        // update the assembled counter for the next one
        currentAssembleCounter++;
    }

    /**Dismantle 
     * @notice  Dismantle the given tokenID by re-minting it's sub components back into the original tokens
     *          This burns the given tokenID 
     *          This also takes a fee that can be set by setDismantlePrice
     * @param tokenId - { The tokenId of the token being dismantled }
     */
    function dismantle(uint256 tokenId) external payable override nonReentrant whenNotPaused{
         require(ownerOf(tokenId) == msg.sender, "!OWNER");
         require(msg.value >= dismantlePrice, "LEXICON:<DismantlePrice");

         // check that the token being dismantled actually has greater than one word in it
         uint length = tokenToWords[tokenId].length; 
         require(length > 1, "LEXICON:!SingleToken");

         for (uint i = 0; i < length ; i++){
            
            // set the length of the new mint to 1
            tokenToWords[tokenToWords[tokenId].ids[i]].ids = [tokenToWords[tokenId].ids[i]];
            tokenToWords[tokenToWords[tokenId].ids[i]].length = 1;

            _safeMint(msg.sender, tokenToWords[tokenId].ids[i]);   
         }
     
        delete tokenToWords[tokenId];
        _burn(tokenId);

        // Share dismantled event 
        emit Dismantled(tokenId, msg.sender);
    }

    /**Get Word
     * @notice Gets a word at an index for a tokenId 
     * @param index     - { The position in the phrase of the word being requested }
     * @param tokenId   - { The token Id of the word / phrase }
     */
    function getWord(uint index, uint tokenId) view public returns (string memory){
        if (tokenToWords[tokenId].length < (index+1) ) return "";
        return wordList[tokenToWords[tokenId].ids[index]];
    }

    /**Get Words For Token
     * @notice returns an array of all the words currently owned by a token
     * @param tokenId - { The tokenId of the phrase words being requested }
     * @dev View function for dismantle UI / sanity checks
     */
    function getWordsForToken(uint tokenId) public override view returns (string[] memory returnArr){
        
        uint lengthOfCombination = tokenToWords[tokenId].length;
        returnArr = new string[](lengthOfCombination);

        // append each word to the end of the array
        for (uint8 i=0; i < lengthOfCombination; i++){
            string memory word = getWord(i, tokenId);
            returnArr[i] = word;
        }
        return returnArr;
    }

    /**Token URI
     * @notice Constructs NFT metadata for the given tokenID 
     *         This generates info for opensea aswell as an svg
     * @param tokenId - { The tokenId being requested }
     * @dev all output is encoded into base64
     */
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        // TODO: you need to be able to search by the words aswell!!! - try set the word in the title 
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory output = constructSVG(tokenId);
        string[] memory words = getWordsForToken(tokenId);
        string memory json = SVGConstructors.jsonBuilder(tokenId, output, words);
        output = string(abi.encodePacked("data:application/json;base64,", json));
        return output;
    }

    /**Construct SVG
      * @notice Generates the NFT image containing a tokens owned words
      * @param tokenId - { the tokenId of the phrase / word being requested}
      * @dev - this does not have any uri checks associated with tokenURI and is for debugging
     */
    function constructSVG(uint tokenId) public view  returns (string memory){ 
       
        uint lengthOfCombination = tokenToWords[tokenId].length;
        uint length = 6 + lengthOfCombination;
        string[] memory parts = new string[](length);
       
        // start svg
        for (uint8 i = 0; i < 5; i++){
            parts[i] = svgStyleString[i];
        }
        // series of tspans in duos
        uint256 partsCounter = 5;
        for (uint8 i=0; i < lengthOfCombination; i = i + 2){
            string memory word1 = getWord(i, tokenId);
            string memory word2 = getWord(i+1, tokenId);
            string memory offset = SVGConstructors.getOffset(i, lengthOfCombination);
            string memory line = SVGConstructors.constructLine(word1, word2, offset);
            parts[partsCounter] = line;
            partsCounter++;
        }

        // close text & svg
        parts[partsCounter] = '</text></svg>';
        string memory constructed;
        for (uint8 i =0; i <= partsCounter; i++){
            constructed = SVGConstructors.concat(constructed, parts[i]) ;
        }
        return string(constructed);
    }

    /** Get Word
     * @notice returns the tokenId that will be used for the next auction
     * @dev TODO will the access modifier get changed!
     */
    function getNextWord() view external override returns (uint) {
        return currentAuctionTokenId;
    }

    /**Mint from Auction
     * @notice The method the auction contract will call to mint the auction winners token into the current colleciton
     * @param to        - { the address that won the auction }
     * @param tokenId   - { the tokenId that the auction was for }
     * @param word      - { the word that won the auction }
     * @dev Only callable by the current auction contract
     */
    function mintFromAuction(address to, uint tokenId, string memory word) external override onlyMinter {
        require(currentAuctionTokenId==tokenId, "IncorrectAuction");

        wordList[currentAuctionTokenId] = word;
        
        // set the token details map to defaults
        tokenToWords[currentAuctionTokenId].ids = [currentAuctionTokenId];
        tokenToWords[currentAuctionTokenId].length = 1;
        claimed[word] = true;

        _safeMint(to, currentAuctionTokenId);
        
        currentAuctionTokenId++;
    }

    /** Pause
     * @notice OpenZep pause
     * @dev Only callable by owner
     */
    function pause() public onlyOwner {
        _pause();
    }

    /** Pauses
     * @notice OpenZep unpause
     * @dev Only callable by owner
     */
    function unpause() public onlyOwner {
        _unpause();
    }

    /**Claim 
    * @notice  A claim function inspired by UniSwaps Merkle Distributor - it checks that the word provided 
    *          exists within the lexicon word list. 
     * @param index         - { The index of the word being claimed }
     * @param account       - { The address claiming the word } 
     * @param word          - { The word being claimed } 
     * @param merkleProof   - { A proof that the word is in the lexicon wordlist - 
     *                        This is done through the UI to ensure random distribution of words in the free mint }
     * @dev Only when not paused
     */
    function claim(uint256 index, address account, string calldata word, bytes32[] calldata merkleProof)  external override  whenNotPaused nonReentrant {
        require(!claimed[word], "Lexicon:AlreadyClaimed");

        // Verify the merkle proof.
        bytes32 node = keccak256(abi.encode(word, index));
        require(verify(merkleProof, merkleRoot, node), 'Lexicon:InvalidProof');

        // Mark it claimed and send the token.
        wordList[index] = word;
        
        // set to the defaults
        tokenToWords[index].ids = [index];
        tokenToWords[index].length = 1;
        claimed[word] = true;

        _safeMint(account, index);
    
        emit Claimed(index, account, word);
    }

    /**
     * @notice from Uniswap merkle distributor
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }


    /**
     * @notice Allows owner to withdraw amount
     */
    function withdrawAll() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

}

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

/************************************************************************************
 *       :::        :::::::::: :::    ::: ::::::::::: ::::::::   ::::::::  ::::    :::* 
 *     :+:        :+:        :+:    :+:     :+:    :+:    :+: :+:    :+: :+:+:   :+:  *
 *    +:+        +:+         +:+  +:+      +:+    +:+        +:+    +:+ :+:+:+  +:+   *
 *   +#+        +#++:++#     +#++:+       +#+    +#+        +#+    +:+ +#+ +:+ +#+    *
 *  +#+        +#+         +#+  +#+      +#+    +#+        +#+    +#+ +#+  +#+#+#     *
 * #+#        #+#        #+#    #+#     #+#    #+#    #+# #+#    #+# #+#   #+#+#      *
 *########## ########## ###    ### ########### ########   ########  ###    ####       *
 *************************************************************************************/


pragma solidity 0.8.6;

interface ILexicon {

    struct TokenDetails {
        uint256[] ids;
        uint8 length;
    }
    
    event Assembled(uint256 tokenId1, address by);
    event Dismantled(uint256 tokenId, address by);
    event Claimed(uint256 index, address account, string word);

    function claim(uint256 index, address account, string calldata word, bytes32[] calldata merkleProof)  external;
    function isWordClaimed(string calldata word) external returns (bool);
    function assembleMultiple(uint256[] calldata tokenIds) external;
    function dismantle(uint256 tokenId) payable external;
    function getNextWord()  view external returns (uint);
    function getWordsForToken(uint tokenId) external view returns (string[] memory returnArr);
    function mintFromAuction(address to, uint tokenId, string memory word) external;
}

File 3 of 18 : SVGConstructors.sol
// SPDX-License-Identifier: MIT

/************************************************************************************
 *       :::        :::::::::: :::    ::: ::::::::::: ::::::::   ::::::::  ::::    :::* 
 *     :+:        :+:        :+:    :+:     :+:    :+:    :+: :+:    :+: :+:+:   :+:  *
 *    +:+        +:+         +:+  +:+      +:+    +:+        +:+    +:+ :+:+:+  +:+   *
 *   +#+        +#++:++#     +#++:+       +#+    +#+        +#+    +:+ +#+ +:+ +#+    *
 *  +#+        +#+         +#+  +#+      +#+    +#+        +#+    +#+ +#+  +#+#+#     *
 * #+#        #+#        #+#    #+#     #+#    #+#    #+# #+#    #+# #+#   #+#+#      *
 *########## ########## ###    ### ########### ########   ########  ###    ####       *
 *************************************************************************************/

import {Base64} from "./Base64.sol";

library SVGConstructors{
    // 
    bytes constant private base64stdchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /** 
        Constructs single line of SVG
        
        @param one - First word
        @param two - Second word
        @param dyOffset - Offset to center, based off position, length and found in getOffset()

        @return string
     */
    function constructLine(string memory one, string memory two, string memory dyOffset) pure internal returns(string memory){
        string[4] memory parts;

        parts[0] = string(
            abi.encodePacked('<tspan x="50%" dy="', dyOffset, '">')
        );

        parts[1] = string(
            abi.encodePacked(one, " ")
        );

        parts[2] = two;

        parts[3] = '</tspan>';

        string memory line = string(
            abi.encodePacked(parts[0], parts[1], parts[2], parts[3])
        );

        return line;
    }

   function concat(string memory _base, string memory _value) internal pure returns (string memory) {
        bytes memory _baseBytes = bytes(_base);
        bytes memory _valueBytes = bytes(_value);

        string memory _tmpValue = new string(_baseBytes.length + _valueBytes.length);
        bytes memory _newValue = bytes(_tmpValue);

        uint i;
        uint j;

        for(i=0; i<_baseBytes.length; i++) {
            _newValue[j++] = _baseBytes[i];
        }

        for(i=0; i<_valueBytes.length; i++) {
            _newValue[j++] = _valueBytes[i];
        }

        return string(_newValue);
    }

    // This function does the same as 'dataPtr(bytes memory)', but will also return the
    // length of the provided bytes array.
    function fromBytes(bytes memory bts) internal pure returns (uint addr, uint len) {
        len = bts.length;
        assembly {
            addr := add(bts, /*BYTES_HEADER_SIZE*/32)
        }
    }

    /** 
        Gets the dy offset for the svg
        
        @param current - the current line
        @param length - the length of the phrase
        
        @return string
     */
    function getOffset(uint current, uint length) pure internal returns (string memory){
        // single line
        if(length == 1 || length == 2){
            return "0em";
        }

        // two lines 
        if(length > 2 && length <= 4){
            return current == 0 ? "-0.6em" : "1.2em";
        }

        // three lines
        if(length > 4 && length <= 6){
            return current == 0 ? "-1.2em" : "1.2em";
        }

        // four lines
        if(length > 6 && length <= 8){
            return current == 0 ? "-1.8em" : "1.2em";
        }

        // five lines
        if(length > 8 && length <= 10){
            return current == 0 ? "-2.4em" : "1.2em";
        } 
    }


    /** 
        Converts a value to string
    
        @param value - value to convert

        @return - string
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT license
        // https://github.com/oraclize/etreceipt
        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);
    }

    function jsonBuilder(uint256 tokenId,  string memory output, string[] memory words) pure internal returns (string memory){
        string memory stringWords = words[0];
        for (uint i = 1; i < words.length; i++){
           stringWords = string(abi.encodePacked(stringWords, " ", words[i]));
        }
        return Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "LEXICON #',
                        toString(tokenId),
                        ' - ',
                        stringWords,
                        '", "description": "Lexicon is words.", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );
    }
}

File 4 of 18 : Base64.sol
/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 18 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_currentAuctionTokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"indexed":false,"internalType":"uint256","name":"tokenId1","type":"uint256"},{"indexed":false,"internalType":"address","name":"by","type":"address"}],"name":"Assembled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"string","name":"word","type":"string"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"by","type":"address"}],"name":"Dismantled","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"assembleMultiple","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":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"string","name":"word","type":"string"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"constructSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentAssembleCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"dismantle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"dismantlePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextWord","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getWord","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getWordsForToken","outputs":[{"internalType":"string[]","name":"returnArr","type":"string[]"}],"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":"string","name":"word","type":"string"}],"name":"isWordClaimed","outputs":[{"internalType":"bool","name":"isClaimed","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"word","type":"string"}],"name":"mintFromAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_newPrice","type":"uint256"}],"name":"setDismantlePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newMinter","type":"address"}],"name":"setMinterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_styleString","type":"string[]"}],"name":"setSVGString","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"svgStyleString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenToWords","outputs":[{"internalType":"uint8","name":"length","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wordList","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b5060405162004468380380620044688339810160408190526200003491620002ee565b60408051808201825260078152662622ac24a1a7a760c91b6020808301918252835180850190945260048452634c45584960e01b9084015281519192916200007f9160009162000248565b5080516200009590600190602084019062000248565b505050620000b2620000ac620000eb60201b60201c565b620000ef565b6001600b55600c805460ff19169055620000cb62000141565b608091909152601155662386f26fc10000601255612af860145562000350565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620001a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b620001ab620001ad565b565b600c5460ff1615620001f55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000198565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200022b3390565b6040516001600160a01b03909116815260200160405180910390a1565b828054620002569062000313565b90600052602060002090601f0160209004810192826200027a5760008555620002c5565b82601f106200029557805160ff1916838001178555620002c5565b82800160010185558215620002c5579182015b82811115620002c5578251825591602001919060010190620002a8565b50620002d3929150620002d7565b5090565b5b80821115620002d35760008155600101620002d8565b600080604083850312156200030257600080fd5b505080516020909101519092909150565b600181811c908216806200032857607f821691505b602082108114156200034a57634e487b7160e01b600052602260045260246000fd5b50919050565b6080516140f562000373600039600081816103e70152610da001526140f56000f3fe6080604052600436106101ec5760003560e01c806301ffc9a7146101f157806302e3c91f1461022657806305f396a81461024857806306fdde031461028d57806307546172146102af578063081812fc146102dc578063095ea7b3146102fc5780631664a7d21461031c57806318160ddd1461034057806323b872dd1461035557806325e5cff3146103755780632837ec00146103955780632e10cd29146103b55780632eb4a7ab146103d55780632f745c59146104095780632fc74b071461042957806330c07ef51461043c578063375e2c281461045c5780633f4ba83a1461047257806342842e0e146104875780634f6ccce7146104a75780635c975abb146104c75780636352211e146104df57806364f76470146104ff5780636bcaaff21461051f57806370a082311461053f578063715018a61461055f57806373dd9a3d1461057457806375a4def2146105895780638456cb59146105a9578063853828b6146105be5780638da5cb5b146105d357806395d89b41146105e8578063a22cb465146105fd578063a3106b951461061d578063adb432841461063d578063b88d4fde1461065d578063b89456701461067d578063ba6af480146106b8578063c87b56dd146106d8578063e985e9c5146106f8578063f2fde38b14610718578063ff53edd614610738575b600080fd5b3480156101fd57600080fd5b5061021161020c3660046137d6565b610765565b60405190151581526020015b60405180910390f35b34801561023257600080fd5b50610246610241366004613678565b610790565b005b34801561025457600080fd5b5061027b610263366004613879565b600f6020526000908152604090206001015460ff1681565b60405160ff909116815260200161021d565b34801561029957600080fd5b506102a26108ef565b60405161021d9190613cc0565b3480156102bb57600080fd5b506010546102cf906001600160a01b031681565b60405161021d9190613be9565b3480156102e857600080fd5b506102cf6102f7366004613879565b610981565b34801561030857600080fd5b5061024661031736600461364e565b610a09565b34801561032857600080fd5b5061033260125481565b60405190815260200161021d565b34801561034c57600080fd5b50600854610332565b34801561036157600080fd5b5061024661037036600461355b565b610b1a565b34801561038157600080fd5b506102a261039036600461391b565b610b4b565b3480156103a157600080fd5b506102116103b0366004613810565b610c57565b3480156103c157600080fd5b506102466103d0366004613892565b610c85565b3480156103e157600080fd5b506103327f000000000000000000000000000000000000000000000000000000000000000081565b34801561041557600080fd5b5061033261042436600461364e565b610ef6565b610246610437366004613879565b610f8c565b34801561044857600080fd5b506102a2610457366004613879565b611261565b34801561046857600080fd5b5061033260145481565b34801561047e57600080fd5b5061024661130d565b34801561049357600080fd5b506102466104a236600461355b565b611346565b3480156104b357600080fd5b506103326104c2366004613879565b611361565b3480156104d357600080fd5b50600c5460ff16610211565b3480156104eb57600080fd5b506102cf6104fa366004613879565b6113f4565b34801561050b57600080fd5b506102a261051a366004613879565b61146b565b34801561052b57600080fd5b5061024661053a366004613795565b611484565b34801561054b57600080fd5b5061033261055a36600461350d565b61175b565b34801561056b57600080fd5b506102466117e2565b34801561058057600080fd5b50601154610332565b34801561059557600080fd5b506102466105a43660046136ce565b61181b565b3480156105b557600080fd5b50610246611861565b3480156105ca57600080fd5b50610246611898565b3480156105df57600080fd5b506102cf61190a565b3480156105f457600080fd5b506102a2611919565b34801561060957600080fd5b50610246610618366004613612565b611928565b34801561062957600080fd5b5061024661063836600461350d565b6119e9565b34801561064957600080fd5b506102a2610658366004613879565b611a3a565b34801561066957600080fd5b50610246610678366004613597565b611cd6565b34801561068957600080fd5b50610211610698366004613845565b8051602081830181018051600d8252928201919093012091525460ff1681565b3480156106c457600080fd5b506102466106d3366004613879565b611d0e565b3480156106e457600080fd5b506102a26106f3366004613879565b611d42565b34801561070457600080fd5b50610211610713366004613528565b611e04565b34801561072457600080fd5b5061024661073336600461350d565b611e32565b34801561074457600080fd5b50610758610753366004613879565b611ecf565b60405161021d9190613c3a565b60006001600160e01b0319821663780e9d6360e01b148061078a575061078a82611f90565b92915050565b6010546001600160a01b031633146107e35760405162461bcd60e51b81526020600482015260116024820152702622ac24a1a7a71d2737ba26b4b73a32b960791b60448201526064015b60405180910390fd5b81601154146108275760405162461bcd60e51b815260206004820152601060248201526f24b731b7b93932b1ba20bab1ba34b7b760811b60448201526064016107da565b6011546000908152600e602090815260409091208251610849928401906131ab565b5060408051602080820183526011548083526000908152600f9091529190912061087491600161322f565b506011546000908152600f6020526040908190206001908101805460ff1916821790559051600d906108a79084906139a2565b908152604051908190036020019020805491151560ff199092169190911790556011546108d5908490611fe0565b601180549060006108e583613f8c565b9190505550505050565b6060600080546108fe90613f51565b80601f016020809104026020016040519081016040528092919081815260200182805461092a90613f51565b80156109775780601f1061094c57610100808354040283529160200191610977565b820191906000526020600020905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b600061098c82611ffa565b6109ed5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107da565b506000908152600460205260409020546001600160a01b031690565b6000610a14826113f4565b9050806001600160a01b0316836001600160a01b03161415610a825760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107da565b336001600160a01b0382161480610a9e5750610a9e8133611e04565b610b0b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016107da565b610b158383612017565b505050565b610b243382612085565b610b405760405162461bcd60e51b81526004016107da90613da4565b610b1583838361214f565b6060610b58836001613e9e565b6000838152600f602052604090206001015460ff161015610b88575060408051602081019091526000815261078a565b6000828152600f602052604081208054600e92919086908110610bad57610bad61401d565b906000526020600020015481526020019081526020016000208054610bd190613f51565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfd90613f51565b8015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b820191906000526020600020905b815481529060010190602001808311610c2d57829003601f168201915b5050505050905092915050565b6000600d8383604051610c6b929190613992565b9081526040519081900360200190205460ff169392505050565b600c5460ff1615610ca85760405162461bcd60e51b81526004016107da90613d25565b6002600b541415610ccb5760405162461bcd60e51b81526004016107da90613df5565b6002600b55604051600d90610ce39086908690613992565b9081526040519081900360200190205460ff1615610d3c5760405162461bcd60e51b815260206004820152601660248201527513195e1a58dbdb8e905b1c9958591e50db185a5b595960521b60448201526064016107da565b6000848488604051602001610d5393929190613c9c565b604051602081830303815290604052805190602001209050610dcb8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f000000000000000000000000000000000000000000000000000000000000000092508591506122e89050565b610e0e5760405162461bcd60e51b81526020600482015260146024820152732632bc34b1b7b71d24b73b30b634b2283937b7b360611b60448201526064016107da565b6000878152600e60205260409020610e27908686613269565b50604080516020808201835289825260008a8152600f90915291909120610e4f91600161322f565b506000878152600f6020526040908190206001908101805460ff1916821790559051600d90610e819088908890613992565b908152604051908190036020019020805491151560ff19909216919091179055610eab8688611fe0565b7f71bf0dbcca3a81d6ac3e071134aded0f8e9c7a855bd4ef79e20184ac4471fc5687878787604051610ee09493929190613e43565b60405180910390a150506001600b555050505050565b6000610f018361175b565b8210610f635760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107da565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600b541415610faf5760405162461bcd60e51b81526004016107da90613df5565b6002600b55600c5460ff1615610fd75760405162461bcd60e51b81526004016107da90613d25565b33610fe1826113f4565b6001600160a01b0316146110075760405162461bcd60e51b81526004016107da90613d84565b6012543410156110535760405162461bcd60e51b81526020600482015260176024820152764c455849434f4e3a3c4469736d616e746c65507269636560481b60448201526064016107da565b6000818152600f6020526040902060019081015460ff169081116110b05760405162461bcd60e51b81526020600482015260146024820152732622ac24a1a7a71d10a9b4b733b632aa37b5b2b760611b60448201526064016107da565b60005b818110156111f0576040518060200160405280600f600086815260200190815260200160002060000183815481106110ed576110ed61401d565b6000918252602080832090910154909252858152600f918290526040812080548590811061111d5761111d61401d565b9060005260206000200154815260200190815260200160002060000190600161114792919061322f565b506000838152600f602081905260408220805460019391908590811061116f5761116f61401d565b9060005260206000200154815260200190815260200160002060010160006101000a81548160ff021916908360ff1602179055506111de33600f600086815260200190815260200160002060000183815481106111ce576111ce61401d565b9060005260206000200154611fe0565b806111e881613f8c565b9150506110b3565b506000828152600f602052604081209061120a82826132dd565b50600101805460ff1916905561121f82612397565b7f9cd0d068c1f97a8fe2618d24334d2a0b16f960b35b69bb53dd1c4012f132e4c88233604051611250929190613e2c565b60405180910390a150506001600b55565b6013818154811061127157600080fd5b90600052602060002001600091509050805461128c90613f51565b80601f01602080910402602001604051908101604052809291908181526020018280546112b890613f51565b80156113055780601f106112da57610100808354040283529160200191611305565b820191906000526020600020905b8154815290600101906020018083116112e857829003601f168201915b505050505081565b3361131661190a565b6001600160a01b03161461133c5760405162461bcd60e51b81526004016107da90613d4f565b61134461242c565b565b610b1583838360405180602001604052806000815250611cd6565b600061136c60085490565b82106113cf5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107da565b600882815481106113e2576113e261401d565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061078a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107da565b600e602052600090815260409020805461128c90613f51565b6002600b5414156114a75760405162461bcd60e51b81526004016107da90613df5565b6002600b55600c5460ff16156114cf5760405162461bcd60e51b81526004016107da90613d25565b6001811161151d5760405162461bcd60e51b815260206004820152601b60248201527a1311561250d3d38e935bdc99551a185b93db9954995c5d5a5c9959602a1b60448201526064016107da565b80600a60ff821611156115725760405162461bcd60e51b815260206004820152601e60248201527f4c455849434f4e3a43616e4f6e6c79417373656d626c653130576f726473000060448201526064016107da565b60008160ff166001600160401b0381111561158f5761158f614033565b6040519080825280602002602001820160405280156115b8578160200160208202803683370190505b50905060005b8260ff168160ff1610156116ae576115f085858360ff168181106115e4576115e461401d565b905060200201356124b9565b84848260ff168181106116055761160561401d565b90506020020135828260ff16815181106116215761162161401d565b60200260200101818152505061165185858360ff168181106116455761164561401d565b90506020020135612397565b600f600086868460ff1681811061166a5761166a61401d565b9050602002013581526020019081526020016000206000808201600061169091906132dd565b50600101805460ff19169055806116a681613fa7565b9150506115be565b506014546000908152600f6020908152604090912082516116d19284019061322f565b50601480546000908152600f60205260409020600101805460ff191660ff851617905554611700903390611fe0565b7f5adfb0dcd28a3508fd208833da68cd453f44b1b71fad256924015c65e851d8e260145433604051611733929190613e2c565b60405180910390a16014805490600061174b83613f8c565b90915550506001600b5550505050565b60006001600160a01b0382166117c65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107da565b506001600160a01b031660009081526003602052604090205490565b336117eb61190a565b6001600160a01b0316146118115760405162461bcd60e51b81526004016107da90613d4f565b611344600061254d565b3361182461190a565b6001600160a01b03161461184a5760405162461bcd60e51b81526004016107da90613d4f565b805161185d9060139060208401906132fb565b5050565b3361186a61190a565b6001600160a01b0316146118905760405162461bcd60e51b81526004016107da90613d4f565b61134461259f565b336118a161190a565b6001600160a01b0316146118c75760405162461bcd60e51b81526004016107da90613d4f565b6118cf61190a565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015611907573d6000803e3d6000fd5b50565b600a546001600160a01b031690565b6060600180546108fe90613f51565b6001600160a01b03821633141561197d5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016107da565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336119f261190a565b6001600160a01b031614611a185760405162461bcd60e51b81526004016107da90613d4f565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600f602052604081206001015460609160ff90911690611a60826006613e9e565b90506000816001600160401b03811115611a7c57611a7c614033565b604051908082528060200260200182016040528015611aaf57816020015b6060815260200190600190039081611a9a5790505b50905060005b60058160ff161015611b9d5760138160ff1681548110611ad757611ad761401d565b906000526020600020018054611aec90613f51565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1890613f51565b8015611b655780601f10611b3a57610100808354040283529160200191611b65565b820191906000526020600020905b815481529060010190602001808311611b4857829003601f168201915b5050505050828260ff1681518110611b7f57611b7f61401d565b60200260200101819052508080611b9590613fa7565b915050611ab5565b50600560005b848160ff161015611c3e576000611bbd8260ff1689610b4b565b90506000611bd8611bcf846001613eb6565b60ff168a610b4b565b90506000611be98460ff16896125f7565b90506000611bf88484846127b9565b905080878781518110611c0d57611c0d61401d565b60200260200101819052508580611c2390613f8c565b96505050505050806002611c379190613eb6565b9050611ba3565b506040518060400160405280600d81526020016c1e17ba32bc3a1f1e17b9bb339f60991b815250828281518110611c7757611c7761401d565b6020026020010181905250606060005b828160ff1611611ccb57611cb782858360ff1681518110611caa57611caa61401d565b602002602001015161286a565b915080611cc381613fa7565b915050611c87565b509695505050505050565b611ce03383612085565b611cfc5760405162461bcd60e51b81526004016107da90613da4565b611d08848484846129bd565b50505050565b33611d1761190a565b6001600160a01b031614611d3d5760405162461bcd60e51b81526004016107da90613d4f565b601255565b6060611d4d82611ffa565b611db15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107da565b6000611dbc83611a3a565b90506000611dc984611ecf565b90506000611dd88584846129f0565b905080604051602001611deb9190613ba4565b60408051601f1981840301815291905295945050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611e3b61190a565b6001600160a01b031614611e615760405162461bcd60e51b81526004016107da90613d4f565b6001600160a01b038116611ec65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107da565b6119078161254d565b6000818152600f602052604090206001015460609060ff16806001600160401b03811115611eff57611eff614033565b604051908082528060200260200182016040528015611f3257816020015b6060815260200190600190039081611f1d5790505b50915060005b818160ff161015611f89576000611f528260ff1686610b4b565b905080848360ff1681518110611f6a57611f6a61401d565b6020026020010181905250508080611f8190613fa7565b915050611f38565b5050919050565b60006001600160e01b031982166380ac58cd60e01b1480611fc157506001600160e01b03198216635b5e139f60e01b145b8061078a57506301ffc9a760e01b6001600160e01b031983161461078a565b61185d828260405180602001604052806000815250612ab7565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061204c826113f4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061209082611ffa565b6120f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107da565b60006120fc836113f4565b9050806001600160a01b0316846001600160a01b031614806121375750836001600160a01b031661212c84610981565b6001600160a01b0316145b8061214757506121478185611e04565b949350505050565b826001600160a01b0316612162826113f4565b6001600160a01b0316146121ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107da565b6001600160a01b03821661222c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107da565b612237838383612aea565b612242600082612017565b6001600160a01b038316600090815260036020526040812080546001929061226b908490613f0e565b90915550506001600160a01b0382166000908152600360205260408120805460019290612299908490613e9e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716916000805160206140a083398151915291a4505050565b600081815b855181101561238c57600086828151811061230a5761230a61401d565b6020026020010151905080831161234c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612379565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061238481613f8c565b9150506122ed565b509092149392505050565b60006123a2826113f4565b90506123b081600084612aea565b6123bb600083612017565b6001600160a01b03811660009081526003602052604081208054600192906123e4908490613f0e565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416906000805160206140a0833981519152908390a45050565b600c5460ff166124755760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107da565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516124af9190613be9565b60405180910390a1565b336124c3826113f4565b6001600160a01b0316146124e95760405162461bcd60e51b81526004016107da90613d84565b6000818152600f6020526040902060019081015460ff16146119075760405162461bcd60e51b815260206004820152601d60248201527f4c455849434f4e3a43616e6e6f74417373656d626c655068726173657300000060448201526064016107da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff16156125c25760405162461bcd60e51b81526004016107da90613d25565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586124a23390565b606081600114806126085750816002145b1561262d575060408051808201909152600381526230656d60e81b602082015261078a565b60028211801561263e575060048211155b1561269357821561266c5760405180604001604052806005815260200164312e32656d60d81b81525061268c565b604051806040016040528060068152602001652d302e36656d60d01b8152505b905061078a565b6004821180156126a4575060068211155b156126f55782156126d25760405180604001604052806005815260200164312e32656d60d81b81525061268c565b506040805180820190915260068152652d312e32656d60d01b602082015261078a565b600682118015612706575060088211155b156127575782156127345760405180604001604052806005815260200164312e32656d60d81b81525061268c565b506040805180820190915260068152652d312e38656d60d01b602082015261078a565b6008821180156127685750600a8211155b1561078a5782156127965760405180604001604052806005815260200164312e32656d60d81b81525061268c565b506040805180820190915260068152652d322e34656d60d01b602082015261078a565b60606127c3613354565b826040516020016127d49190613a76565b60408051808303601f19018152918152908252516127f6908690602001613a15565b60408051601f1981840301815291815260208381019283528382018781528251808401845260088152671e17ba39b830b71f60c11b81840152606086018190528551945191519351600095612850959094909291016139be565b60408051808303601f190181529190529695505050505050565b80518251606091849184916000916128829190613e9e565b6001600160401b0381111561289957612899614033565b6040519080825280601f01601f1916602001820160405280156128c3576020820181803683370190505b509050806000805b855182101561293b578582815181106128e6576128e661401d565b01602001516001600160f81b031916838261290081613f8c565b9350815181106129125761291261401d565b60200101906001600160f81b031916908160001a9053508161293381613f8c565b9250506128cb565b600091505b84518210156129b05784828151811061295b5761295b61401d565b01602001516001600160f81b031916838261297581613f8c565b9350815181106129875761298761401d565b60200101906001600160f81b031916908160001a905350816129a881613f8c565b925050612940565b5090979650505050505050565b6129c884848461214f565b6129d484848484612ba2565b611d085760405162461bcd60e51b81526004016107da90613cd3565b6060600082600081518110612a0757612a0761401d565b602002602001015190506000600190505b8351811015612a715781848281518110612a3457612a3461401d565b6020026020010151604051602001612a4d929190613a3a565b60405160208183030381529060405291508080612a6990613f8c565b915050612a18565b50612aae612a7e86612caf565b82612a8887612d8a565b604051602001612a9a93929190613abe565b604051602081830303815290604052612d8a565b95945050505050565b612ac18383612eef565b612ace6000848484612ba2565b610b155760405162461bcd60e51b81526004016107da90613cd3565b6001600160a01b038316612b4557612b4081600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612b68565b816001600160a01b0316836001600160a01b031614612b6857612b68838261301b565b6001600160a01b038216612b7f57610b15816130b8565b826001600160a01b0316826001600160a01b031614610b1557610b158282613167565b60006001600160a01b0384163b15612ca457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612be6903390899088908890600401613bfd565b602060405180830381600087803b158015612c0057600080fd5b505af1925050508015612c30575060408051601f3d908101601f19168201909252612c2d918101906137f3565b60015b612c8a573d808015612c5e576040519150601f19603f3d011682016040523d82523d6000602084013e612c63565b606091505b508051612c825760405162461bcd60e51b81526004016107da90613cd3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612147565b506001949350505050565b60608160005b8115612cdb5780612cc581613f8c565b9150612cd49050600a83613edb565b9150612cb5565b6000816001600160401b03811115612cf557612cf5614033565b6040519080825280601f01601f191660200182016040528015612d1f576020820181803683370190505b5090505b841561214757612d34600183613f0e565b9150612d41600a86613fc7565b612d4c906030613e9e565b60f81b818381518110612d6157612d6161401d565b60200101906001600160f81b031916908160001a905350612d83600a86613edb565b9450612d23565b805160609080612daa575050604080516020810190915260008152919050565b60006003612db9836002613e9e565b612dc39190613edb565b612dce906004613eef565b90506000612ddd826020613e9e565b6001600160401b03811115612df457612df4614033565b6040519080825280601f01601f191660200182016040528015612e1e576020820181803683370190505b5090506000604051806060016040528060408152602001614060604091399050600181016020830160005b86811015612eaa576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612e49565b506003860660018114612ec45760028114612ed557612ee1565b613d3d60f01b600119830152612ee1565b603d60f81b6000198301525b505050918152949350505050565b6001600160a01b038216612f455760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107da565b612f4e81611ffa565b15612f9a5760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016107da565b612fa660008383612aea565b6001600160a01b0382166000908152600360205260408120805460019290612fcf908490613e9e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392906000805160206140a0833981519152908290a45050565b600060016130288461175b565b6130329190613f0e565b600083815260076020526040902054909150808214613085576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906130ca90600190613f0e565b600083815260096020526040812054600880549394509092849081106130f2576130f261401d565b9060005260206000200154905080600883815481106131135761311361401d565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061314b5761314b614007565b6001900381819060005260206000200160009055905550505050565b60006131728361175b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546131b790613f51565b90600052602060002090601f0160209004810192826131d9576000855561321f565b82601f106131f257805160ff191683800117855561321f565b8280016001018555821561321f579182015b8281111561321f578251825591602001919060010190613204565b5061322b92915061337b565b5090565b82805482825590600052602060002090810192821561321f579160200282018281111561321f578251825591602001919060010190613204565b82805461327590613f51565b90600052602060002090601f016020900481019282613297576000855561321f565b82601f106132b05782800160ff1982351617855561321f565b8280016001018555821561321f579182015b8281111561321f5782358255916020019190600101906132c2565b5080546000825590600052602060002090810190611907919061337b565b828054828255906000526020600020908101928215613348579160200282015b8281111561334857825180516133389184916020909101906131ab565b509160200191906001019061331b565b5061322b929150613390565b60405180608001604052806004905b60608152602001906001900390816133635790505090565b5b8082111561322b576000815560010161337c565b8082111561322b5760006133a482826133ad565b50600101613390565b5080546133b990613f51565b6000825580601f106133c9575050565b601f016020900490600052602060002090810190611907919061337b565b60006001600160401b0383111561340057613400614033565b613413601f8401601f1916602001613e6e565b905082815283838301111561342757600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461345557600080fd5b919050565b60008083601f84011261346c57600080fd5b5081356001600160401b0381111561348357600080fd5b6020830191508360208260051b850101111561349e57600080fd5b9250929050565b60008083601f8401126134b757600080fd5b5081356001600160401b038111156134ce57600080fd5b60208301915083602082850101111561349e57600080fd5b600082601f8301126134f757600080fd5b613506838335602085016133e7565b9392505050565b60006020828403121561351f57600080fd5b6135068261343e565b6000806040838503121561353b57600080fd5b6135448361343e565b91506135526020840161343e565b90509250929050565b60008060006060848603121561357057600080fd5b6135798461343e565b92506135876020850161343e565b9150604084013590509250925092565b600080600080608085870312156135ad57600080fd5b6135b68561343e565b93506135c46020860161343e565b92506040850135915060608501356001600160401b038111156135e657600080fd5b8501601f810187136135f757600080fd5b613606878235602084016133e7565b91505092959194509250565b6000806040838503121561362557600080fd5b61362e8361343e565b91506020830135801515811461364357600080fd5b809150509250929050565b6000806040838503121561366157600080fd5b61366a8361343e565b946020939093013593505050565b60008060006060848603121561368d57600080fd5b6136968461343e565b92506020840135915060408401356001600160401b038111156136b857600080fd5b6136c4868287016134e6565b9150509250925092565b600060208083850312156136e157600080fd5b82356001600160401b03808211156136f857600080fd5b818501915085601f83011261370c57600080fd5b81358181111561371e5761371e614033565b8060051b61372d858201613e6e565b8281528581019085870183870188018b101561374857600080fd5b60009350835b8581101561378557813587811115613764578586fd5b6137728d8b838c01016134e6565b855250928801929088019060010161374e565b50909a9950505050505050505050565b600080602083850312156137a857600080fd5b82356001600160401b038111156137be57600080fd5b6137ca8582860161345a565b90969095509350505050565b6000602082840312156137e857600080fd5b813561350681614049565b60006020828403121561380557600080fd5b815161350681614049565b6000806020838503121561382357600080fd5b82356001600160401b0381111561383957600080fd5b6137ca858286016134a5565b60006020828403121561385757600080fd5b81356001600160401b0381111561386d57600080fd5b612147848285016134e6565b60006020828403121561388b57600080fd5b5035919050565b600080600080600080608087890312156138ab57600080fd5b863595506138bb6020880161343e565b945060408701356001600160401b03808211156138d757600080fd5b6138e38a838b016134a5565b909650945060608901359150808211156138fc57600080fd5b5061390989828a0161345a565b979a9699509497509295939492505050565b6000806040838503121561392e57600080fd5b50508035926020909101359150565b60008151808452613955816020860160208601613f25565b601f01601f19169290920160200192915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b8183823760009101908152919050565b600082516139b4818460208701613f25565b9190910192915050565b600085516139d0818460208a01613f25565b8551908301906139e4818360208a01613f25565b85519101906139f7818360208901613f25565b8451910190613a0a818360208801613f25565b019695505050505050565b60008251613a27818460208701613f25565b600160fd1b920191825250600101919050565b60008351613a4c818460208801613f25565b600160fd1b9083019081528351613a6a816001840160208801613f25565b01600101949350505050565b721e3a39b830b7103c1e911a98129110323c9e9160691b81528151600090613aa5816013850160208701613f25565b61111f60f11b6013939091019283015250601501919050565b727b226e616d65223a20224c455849434f4e202360681b81528351600090613aed816013850160208901613f25565b6201016960ed1b6013918401918201528451613b10816016840160208901613f25565b7f222c20226465736372697074696f6e223a20224c657869636f6e20697320776f601692909101918201527f7264732e222c2022696d616765223a2022646174613a696d6167652f7376672b60368201526a1e1b5b0ed8985cd94d8d0b60aa1b60568201528351613b88816061840160208801613f25565b61227d60f01b6061929091019182015260630195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613bdc81601d850160208701613f25565b91909101601d0192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613c309083018461393d565b9695505050505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613c8f57603f19888603018452613c7d85835161393d565b94509285019290850190600101613c61565b5092979650505050505050565b604081526000613cb0604083018587613969565b9050826020830152949350505050565b602081526000613506602083018461393d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526006908201526510a7aba722a960d11b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b9182526001600160a01b0316602082015260400190565b8481526001600160a01b0384166020820152606060408201819052600090613c309083018486613969565b604051601f8201601f191681016001600160401b0381118282101715613e9657613e96614033565b604052919050565b60008219821115613eb157613eb1613fdb565b500190565b600060ff821660ff84168060ff03821115613ed357613ed3613fdb565b019392505050565b600082613eea57613eea613ff1565b500490565b6000816000190483118215151615613f0957613f09613fdb565b500290565b600082821015613f2057613f20613fdb565b500390565b60005b83811015613f40578181015183820152602001613f28565b83811115611d085750506000910152565b600181811c90821680613f6557607f821691505b60208210811415613f8657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613fa057613fa0613fdb565b5060010190565b600060ff821660ff811415613fbe57613fbe613fdb565b60010192915050565b600082613fd657613fd6613ff1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461190757600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b395590b717ec6fb2e3b7570b2fe57d45d12b358b4383d033dcb52909ed2fc6864736f6c634300080600337d378c079112e83ade273855a01f247dfef35fb4a3bc10b0a1cee99e761040be00000000000000000000000000000000000000000000000000000000000026ad

Deployed Bytecode

0x6080604052600436106101ec5760003560e01c806301ffc9a7146101f157806302e3c91f1461022657806305f396a81461024857806306fdde031461028d57806307546172146102af578063081812fc146102dc578063095ea7b3146102fc5780631664a7d21461031c57806318160ddd1461034057806323b872dd1461035557806325e5cff3146103755780632837ec00146103955780632e10cd29146103b55780632eb4a7ab146103d55780632f745c59146104095780632fc74b071461042957806330c07ef51461043c578063375e2c281461045c5780633f4ba83a1461047257806342842e0e146104875780634f6ccce7146104a75780635c975abb146104c75780636352211e146104df57806364f76470146104ff5780636bcaaff21461051f57806370a082311461053f578063715018a61461055f57806373dd9a3d1461057457806375a4def2146105895780638456cb59146105a9578063853828b6146105be5780638da5cb5b146105d357806395d89b41146105e8578063a22cb465146105fd578063a3106b951461061d578063adb432841461063d578063b88d4fde1461065d578063b89456701461067d578063ba6af480146106b8578063c87b56dd146106d8578063e985e9c5146106f8578063f2fde38b14610718578063ff53edd614610738575b600080fd5b3480156101fd57600080fd5b5061021161020c3660046137d6565b610765565b60405190151581526020015b60405180910390f35b34801561023257600080fd5b50610246610241366004613678565b610790565b005b34801561025457600080fd5b5061027b610263366004613879565b600f6020526000908152604090206001015460ff1681565b60405160ff909116815260200161021d565b34801561029957600080fd5b506102a26108ef565b60405161021d9190613cc0565b3480156102bb57600080fd5b506010546102cf906001600160a01b031681565b60405161021d9190613be9565b3480156102e857600080fd5b506102cf6102f7366004613879565b610981565b34801561030857600080fd5b5061024661031736600461364e565b610a09565b34801561032857600080fd5b5061033260125481565b60405190815260200161021d565b34801561034c57600080fd5b50600854610332565b34801561036157600080fd5b5061024661037036600461355b565b610b1a565b34801561038157600080fd5b506102a261039036600461391b565b610b4b565b3480156103a157600080fd5b506102116103b0366004613810565b610c57565b3480156103c157600080fd5b506102466103d0366004613892565b610c85565b3480156103e157600080fd5b506103327f7d378c079112e83ade273855a01f247dfef35fb4a3bc10b0a1cee99e761040be81565b34801561041557600080fd5b5061033261042436600461364e565b610ef6565b610246610437366004613879565b610f8c565b34801561044857600080fd5b506102a2610457366004613879565b611261565b34801561046857600080fd5b5061033260145481565b34801561047e57600080fd5b5061024661130d565b34801561049357600080fd5b506102466104a236600461355b565b611346565b3480156104b357600080fd5b506103326104c2366004613879565b611361565b3480156104d357600080fd5b50600c5460ff16610211565b3480156104eb57600080fd5b506102cf6104fa366004613879565b6113f4565b34801561050b57600080fd5b506102a261051a366004613879565b61146b565b34801561052b57600080fd5b5061024661053a366004613795565b611484565b34801561054b57600080fd5b5061033261055a36600461350d565b61175b565b34801561056b57600080fd5b506102466117e2565b34801561058057600080fd5b50601154610332565b34801561059557600080fd5b506102466105a43660046136ce565b61181b565b3480156105b557600080fd5b50610246611861565b3480156105ca57600080fd5b50610246611898565b3480156105df57600080fd5b506102cf61190a565b3480156105f457600080fd5b506102a2611919565b34801561060957600080fd5b50610246610618366004613612565b611928565b34801561062957600080fd5b5061024661063836600461350d565b6119e9565b34801561064957600080fd5b506102a2610658366004613879565b611a3a565b34801561066957600080fd5b50610246610678366004613597565b611cd6565b34801561068957600080fd5b50610211610698366004613845565b8051602081830181018051600d8252928201919093012091525460ff1681565b3480156106c457600080fd5b506102466106d3366004613879565b611d0e565b3480156106e457600080fd5b506102a26106f3366004613879565b611d42565b34801561070457600080fd5b50610211610713366004613528565b611e04565b34801561072457600080fd5b5061024661073336600461350d565b611e32565b34801561074457600080fd5b50610758610753366004613879565b611ecf565b60405161021d9190613c3a565b60006001600160e01b0319821663780e9d6360e01b148061078a575061078a82611f90565b92915050565b6010546001600160a01b031633146107e35760405162461bcd60e51b81526020600482015260116024820152702622ac24a1a7a71d2737ba26b4b73a32b960791b60448201526064015b60405180910390fd5b81601154146108275760405162461bcd60e51b815260206004820152601060248201526f24b731b7b93932b1ba20bab1ba34b7b760811b60448201526064016107da565b6011546000908152600e602090815260409091208251610849928401906131ab565b5060408051602080820183526011548083526000908152600f9091529190912061087491600161322f565b506011546000908152600f6020526040908190206001908101805460ff1916821790559051600d906108a79084906139a2565b908152604051908190036020019020805491151560ff199092169190911790556011546108d5908490611fe0565b601180549060006108e583613f8c565b9190505550505050565b6060600080546108fe90613f51565b80601f016020809104026020016040519081016040528092919081815260200182805461092a90613f51565b80156109775780601f1061094c57610100808354040283529160200191610977565b820191906000526020600020905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b600061098c82611ffa565b6109ed5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107da565b506000908152600460205260409020546001600160a01b031690565b6000610a14826113f4565b9050806001600160a01b0316836001600160a01b03161415610a825760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107da565b336001600160a01b0382161480610a9e5750610a9e8133611e04565b610b0b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016107da565b610b158383612017565b505050565b610b243382612085565b610b405760405162461bcd60e51b81526004016107da90613da4565b610b1583838361214f565b6060610b58836001613e9e565b6000838152600f602052604090206001015460ff161015610b88575060408051602081019091526000815261078a565b6000828152600f602052604081208054600e92919086908110610bad57610bad61401d565b906000526020600020015481526020019081526020016000208054610bd190613f51565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfd90613f51565b8015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b820191906000526020600020905b815481529060010190602001808311610c2d57829003601f168201915b5050505050905092915050565b6000600d8383604051610c6b929190613992565b9081526040519081900360200190205460ff169392505050565b600c5460ff1615610ca85760405162461bcd60e51b81526004016107da90613d25565b6002600b541415610ccb5760405162461bcd60e51b81526004016107da90613df5565b6002600b55604051600d90610ce39086908690613992565b9081526040519081900360200190205460ff1615610d3c5760405162461bcd60e51b815260206004820152601660248201527513195e1a58dbdb8e905b1c9958591e50db185a5b595960521b60448201526064016107da565b6000848488604051602001610d5393929190613c9c565b604051602081830303815290604052805190602001209050610dcb8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f7d378c079112e83ade273855a01f247dfef35fb4a3bc10b0a1cee99e761040be92508591506122e89050565b610e0e5760405162461bcd60e51b81526020600482015260146024820152732632bc34b1b7b71d24b73b30b634b2283937b7b360611b60448201526064016107da565b6000878152600e60205260409020610e27908686613269565b50604080516020808201835289825260008a8152600f90915291909120610e4f91600161322f565b506000878152600f6020526040908190206001908101805460ff1916821790559051600d90610e819088908890613992565b908152604051908190036020019020805491151560ff19909216919091179055610eab8688611fe0565b7f71bf0dbcca3a81d6ac3e071134aded0f8e9c7a855bd4ef79e20184ac4471fc5687878787604051610ee09493929190613e43565b60405180910390a150506001600b555050505050565b6000610f018361175b565b8210610f635760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107da565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600b541415610faf5760405162461bcd60e51b81526004016107da90613df5565b6002600b55600c5460ff1615610fd75760405162461bcd60e51b81526004016107da90613d25565b33610fe1826113f4565b6001600160a01b0316146110075760405162461bcd60e51b81526004016107da90613d84565b6012543410156110535760405162461bcd60e51b81526020600482015260176024820152764c455849434f4e3a3c4469736d616e746c65507269636560481b60448201526064016107da565b6000818152600f6020526040902060019081015460ff169081116110b05760405162461bcd60e51b81526020600482015260146024820152732622ac24a1a7a71d10a9b4b733b632aa37b5b2b760611b60448201526064016107da565b60005b818110156111f0576040518060200160405280600f600086815260200190815260200160002060000183815481106110ed576110ed61401d565b6000918252602080832090910154909252858152600f918290526040812080548590811061111d5761111d61401d565b9060005260206000200154815260200190815260200160002060000190600161114792919061322f565b506000838152600f602081905260408220805460019391908590811061116f5761116f61401d565b9060005260206000200154815260200190815260200160002060010160006101000a81548160ff021916908360ff1602179055506111de33600f600086815260200190815260200160002060000183815481106111ce576111ce61401d565b9060005260206000200154611fe0565b806111e881613f8c565b9150506110b3565b506000828152600f602052604081209061120a82826132dd565b50600101805460ff1916905561121f82612397565b7f9cd0d068c1f97a8fe2618d24334d2a0b16f960b35b69bb53dd1c4012f132e4c88233604051611250929190613e2c565b60405180910390a150506001600b55565b6013818154811061127157600080fd5b90600052602060002001600091509050805461128c90613f51565b80601f01602080910402602001604051908101604052809291908181526020018280546112b890613f51565b80156113055780601f106112da57610100808354040283529160200191611305565b820191906000526020600020905b8154815290600101906020018083116112e857829003601f168201915b505050505081565b3361131661190a565b6001600160a01b03161461133c5760405162461bcd60e51b81526004016107da90613d4f565b61134461242c565b565b610b1583838360405180602001604052806000815250611cd6565b600061136c60085490565b82106113cf5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107da565b600882815481106113e2576113e261401d565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061078a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107da565b600e602052600090815260409020805461128c90613f51565b6002600b5414156114a75760405162461bcd60e51b81526004016107da90613df5565b6002600b55600c5460ff16156114cf5760405162461bcd60e51b81526004016107da90613d25565b6001811161151d5760405162461bcd60e51b815260206004820152601b60248201527a1311561250d3d38e935bdc99551a185b93db9954995c5d5a5c9959602a1b60448201526064016107da565b80600a60ff821611156115725760405162461bcd60e51b815260206004820152601e60248201527f4c455849434f4e3a43616e4f6e6c79417373656d626c653130576f726473000060448201526064016107da565b60008160ff166001600160401b0381111561158f5761158f614033565b6040519080825280602002602001820160405280156115b8578160200160208202803683370190505b50905060005b8260ff168160ff1610156116ae576115f085858360ff168181106115e4576115e461401d565b905060200201356124b9565b84848260ff168181106116055761160561401d565b90506020020135828260ff16815181106116215761162161401d565b60200260200101818152505061165185858360ff168181106116455761164561401d565b90506020020135612397565b600f600086868460ff1681811061166a5761166a61401d565b9050602002013581526020019081526020016000206000808201600061169091906132dd565b50600101805460ff19169055806116a681613fa7565b9150506115be565b506014546000908152600f6020908152604090912082516116d19284019061322f565b50601480546000908152600f60205260409020600101805460ff191660ff851617905554611700903390611fe0565b7f5adfb0dcd28a3508fd208833da68cd453f44b1b71fad256924015c65e851d8e260145433604051611733929190613e2c565b60405180910390a16014805490600061174b83613f8c565b90915550506001600b5550505050565b60006001600160a01b0382166117c65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107da565b506001600160a01b031660009081526003602052604090205490565b336117eb61190a565b6001600160a01b0316146118115760405162461bcd60e51b81526004016107da90613d4f565b611344600061254d565b3361182461190a565b6001600160a01b03161461184a5760405162461bcd60e51b81526004016107da90613d4f565b805161185d9060139060208401906132fb565b5050565b3361186a61190a565b6001600160a01b0316146118905760405162461bcd60e51b81526004016107da90613d4f565b61134461259f565b336118a161190a565b6001600160a01b0316146118c75760405162461bcd60e51b81526004016107da90613d4f565b6118cf61190a565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015611907573d6000803e3d6000fd5b50565b600a546001600160a01b031690565b6060600180546108fe90613f51565b6001600160a01b03821633141561197d5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016107da565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336119f261190a565b6001600160a01b031614611a185760405162461bcd60e51b81526004016107da90613d4f565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600f602052604081206001015460609160ff90911690611a60826006613e9e565b90506000816001600160401b03811115611a7c57611a7c614033565b604051908082528060200260200182016040528015611aaf57816020015b6060815260200190600190039081611a9a5790505b50905060005b60058160ff161015611b9d5760138160ff1681548110611ad757611ad761401d565b906000526020600020018054611aec90613f51565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1890613f51565b8015611b655780601f10611b3a57610100808354040283529160200191611b65565b820191906000526020600020905b815481529060010190602001808311611b4857829003601f168201915b5050505050828260ff1681518110611b7f57611b7f61401d565b60200260200101819052508080611b9590613fa7565b915050611ab5565b50600560005b848160ff161015611c3e576000611bbd8260ff1689610b4b565b90506000611bd8611bcf846001613eb6565b60ff168a610b4b565b90506000611be98460ff16896125f7565b90506000611bf88484846127b9565b905080878781518110611c0d57611c0d61401d565b60200260200101819052508580611c2390613f8c565b96505050505050806002611c379190613eb6565b9050611ba3565b506040518060400160405280600d81526020016c1e17ba32bc3a1f1e17b9bb339f60991b815250828281518110611c7757611c7761401d565b6020026020010181905250606060005b828160ff1611611ccb57611cb782858360ff1681518110611caa57611caa61401d565b602002602001015161286a565b915080611cc381613fa7565b915050611c87565b509695505050505050565b611ce03383612085565b611cfc5760405162461bcd60e51b81526004016107da90613da4565b611d08848484846129bd565b50505050565b33611d1761190a565b6001600160a01b031614611d3d5760405162461bcd60e51b81526004016107da90613d4f565b601255565b6060611d4d82611ffa565b611db15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107da565b6000611dbc83611a3a565b90506000611dc984611ecf565b90506000611dd88584846129f0565b905080604051602001611deb9190613ba4565b60408051601f1981840301815291905295945050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611e3b61190a565b6001600160a01b031614611e615760405162461bcd60e51b81526004016107da90613d4f565b6001600160a01b038116611ec65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107da565b6119078161254d565b6000818152600f602052604090206001015460609060ff16806001600160401b03811115611eff57611eff614033565b604051908082528060200260200182016040528015611f3257816020015b6060815260200190600190039081611f1d5790505b50915060005b818160ff161015611f89576000611f528260ff1686610b4b565b905080848360ff1681518110611f6a57611f6a61401d565b6020026020010181905250508080611f8190613fa7565b915050611f38565b5050919050565b60006001600160e01b031982166380ac58cd60e01b1480611fc157506001600160e01b03198216635b5e139f60e01b145b8061078a57506301ffc9a760e01b6001600160e01b031983161461078a565b61185d828260405180602001604052806000815250612ab7565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061204c826113f4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061209082611ffa565b6120f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107da565b60006120fc836113f4565b9050806001600160a01b0316846001600160a01b031614806121375750836001600160a01b031661212c84610981565b6001600160a01b0316145b8061214757506121478185611e04565b949350505050565b826001600160a01b0316612162826113f4565b6001600160a01b0316146121ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107da565b6001600160a01b03821661222c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107da565b612237838383612aea565b612242600082612017565b6001600160a01b038316600090815260036020526040812080546001929061226b908490613f0e565b90915550506001600160a01b0382166000908152600360205260408120805460019290612299908490613e9e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716916000805160206140a083398151915291a4505050565b600081815b855181101561238c57600086828151811061230a5761230a61401d565b6020026020010151905080831161234c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612379565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061238481613f8c565b9150506122ed565b509092149392505050565b60006123a2826113f4565b90506123b081600084612aea565b6123bb600083612017565b6001600160a01b03811660009081526003602052604081208054600192906123e4908490613f0e565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416906000805160206140a0833981519152908390a45050565b600c5460ff166124755760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107da565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516124af9190613be9565b60405180910390a1565b336124c3826113f4565b6001600160a01b0316146124e95760405162461bcd60e51b81526004016107da90613d84565b6000818152600f6020526040902060019081015460ff16146119075760405162461bcd60e51b815260206004820152601d60248201527f4c455849434f4e3a43616e6e6f74417373656d626c655068726173657300000060448201526064016107da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff16156125c25760405162461bcd60e51b81526004016107da90613d25565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586124a23390565b606081600114806126085750816002145b1561262d575060408051808201909152600381526230656d60e81b602082015261078a565b60028211801561263e575060048211155b1561269357821561266c5760405180604001604052806005815260200164312e32656d60d81b81525061268c565b604051806040016040528060068152602001652d302e36656d60d01b8152505b905061078a565b6004821180156126a4575060068211155b156126f55782156126d25760405180604001604052806005815260200164312e32656d60d81b81525061268c565b506040805180820190915260068152652d312e32656d60d01b602082015261078a565b600682118015612706575060088211155b156127575782156127345760405180604001604052806005815260200164312e32656d60d81b81525061268c565b506040805180820190915260068152652d312e38656d60d01b602082015261078a565b6008821180156127685750600a8211155b1561078a5782156127965760405180604001604052806005815260200164312e32656d60d81b81525061268c565b506040805180820190915260068152652d322e34656d60d01b602082015261078a565b60606127c3613354565b826040516020016127d49190613a76565b60408051808303601f19018152918152908252516127f6908690602001613a15565b60408051601f1981840301815291815260208381019283528382018781528251808401845260088152671e17ba39b830b71f60c11b81840152606086018190528551945191519351600095612850959094909291016139be565b60408051808303601f190181529190529695505050505050565b80518251606091849184916000916128829190613e9e565b6001600160401b0381111561289957612899614033565b6040519080825280601f01601f1916602001820160405280156128c3576020820181803683370190505b509050806000805b855182101561293b578582815181106128e6576128e661401d565b01602001516001600160f81b031916838261290081613f8c565b9350815181106129125761291261401d565b60200101906001600160f81b031916908160001a9053508161293381613f8c565b9250506128cb565b600091505b84518210156129b05784828151811061295b5761295b61401d565b01602001516001600160f81b031916838261297581613f8c565b9350815181106129875761298761401d565b60200101906001600160f81b031916908160001a905350816129a881613f8c565b925050612940565b5090979650505050505050565b6129c884848461214f565b6129d484848484612ba2565b611d085760405162461bcd60e51b81526004016107da90613cd3565b6060600082600081518110612a0757612a0761401d565b602002602001015190506000600190505b8351811015612a715781848281518110612a3457612a3461401d565b6020026020010151604051602001612a4d929190613a3a565b60405160208183030381529060405291508080612a6990613f8c565b915050612a18565b50612aae612a7e86612caf565b82612a8887612d8a565b604051602001612a9a93929190613abe565b604051602081830303815290604052612d8a565b95945050505050565b612ac18383612eef565b612ace6000848484612ba2565b610b155760405162461bcd60e51b81526004016107da90613cd3565b6001600160a01b038316612b4557612b4081600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612b68565b816001600160a01b0316836001600160a01b031614612b6857612b68838261301b565b6001600160a01b038216612b7f57610b15816130b8565b826001600160a01b0316826001600160a01b031614610b1557610b158282613167565b60006001600160a01b0384163b15612ca457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612be6903390899088908890600401613bfd565b602060405180830381600087803b158015612c0057600080fd5b505af1925050508015612c30575060408051601f3d908101601f19168201909252612c2d918101906137f3565b60015b612c8a573d808015612c5e576040519150601f19603f3d011682016040523d82523d6000602084013e612c63565b606091505b508051612c825760405162461bcd60e51b81526004016107da90613cd3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612147565b506001949350505050565b60608160005b8115612cdb5780612cc581613f8c565b9150612cd49050600a83613edb565b9150612cb5565b6000816001600160401b03811115612cf557612cf5614033565b6040519080825280601f01601f191660200182016040528015612d1f576020820181803683370190505b5090505b841561214757612d34600183613f0e565b9150612d41600a86613fc7565b612d4c906030613e9e565b60f81b818381518110612d6157612d6161401d565b60200101906001600160f81b031916908160001a905350612d83600a86613edb565b9450612d23565b805160609080612daa575050604080516020810190915260008152919050565b60006003612db9836002613e9e565b612dc39190613edb565b612dce906004613eef565b90506000612ddd826020613e9e565b6001600160401b03811115612df457612df4614033565b6040519080825280601f01601f191660200182016040528015612e1e576020820181803683370190505b5090506000604051806060016040528060408152602001614060604091399050600181016020830160005b86811015612eaa576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612e49565b506003860660018114612ec45760028114612ed557612ee1565b613d3d60f01b600119830152612ee1565b603d60f81b6000198301525b505050918152949350505050565b6001600160a01b038216612f455760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107da565b612f4e81611ffa565b15612f9a5760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016107da565b612fa660008383612aea565b6001600160a01b0382166000908152600360205260408120805460019290612fcf908490613e9e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392906000805160206140a0833981519152908290a45050565b600060016130288461175b565b6130329190613f0e565b600083815260076020526040902054909150808214613085576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906130ca90600190613f0e565b600083815260096020526040812054600880549394509092849081106130f2576130f261401d565b9060005260206000200154905080600883815481106131135761311361401d565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061314b5761314b614007565b6001900381819060005260206000200160009055905550505050565b60006131728361175b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546131b790613f51565b90600052602060002090601f0160209004810192826131d9576000855561321f565b82601f106131f257805160ff191683800117855561321f565b8280016001018555821561321f579182015b8281111561321f578251825591602001919060010190613204565b5061322b92915061337b565b5090565b82805482825590600052602060002090810192821561321f579160200282018281111561321f578251825591602001919060010190613204565b82805461327590613f51565b90600052602060002090601f016020900481019282613297576000855561321f565b82601f106132b05782800160ff1982351617855561321f565b8280016001018555821561321f579182015b8281111561321f5782358255916020019190600101906132c2565b5080546000825590600052602060002090810190611907919061337b565b828054828255906000526020600020908101928215613348579160200282015b8281111561334857825180516133389184916020909101906131ab565b509160200191906001019061331b565b5061322b929150613390565b60405180608001604052806004905b60608152602001906001900390816133635790505090565b5b8082111561322b576000815560010161337c565b8082111561322b5760006133a482826133ad565b50600101613390565b5080546133b990613f51565b6000825580601f106133c9575050565b601f016020900490600052602060002090810190611907919061337b565b60006001600160401b0383111561340057613400614033565b613413601f8401601f1916602001613e6e565b905082815283838301111561342757600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461345557600080fd5b919050565b60008083601f84011261346c57600080fd5b5081356001600160401b0381111561348357600080fd5b6020830191508360208260051b850101111561349e57600080fd5b9250929050565b60008083601f8401126134b757600080fd5b5081356001600160401b038111156134ce57600080fd5b60208301915083602082850101111561349e57600080fd5b600082601f8301126134f757600080fd5b613506838335602085016133e7565b9392505050565b60006020828403121561351f57600080fd5b6135068261343e565b6000806040838503121561353b57600080fd5b6135448361343e565b91506135526020840161343e565b90509250929050565b60008060006060848603121561357057600080fd5b6135798461343e565b92506135876020850161343e565b9150604084013590509250925092565b600080600080608085870312156135ad57600080fd5b6135b68561343e565b93506135c46020860161343e565b92506040850135915060608501356001600160401b038111156135e657600080fd5b8501601f810187136135f757600080fd5b613606878235602084016133e7565b91505092959194509250565b6000806040838503121561362557600080fd5b61362e8361343e565b91506020830135801515811461364357600080fd5b809150509250929050565b6000806040838503121561366157600080fd5b61366a8361343e565b946020939093013593505050565b60008060006060848603121561368d57600080fd5b6136968461343e565b92506020840135915060408401356001600160401b038111156136b857600080fd5b6136c4868287016134e6565b9150509250925092565b600060208083850312156136e157600080fd5b82356001600160401b03808211156136f857600080fd5b818501915085601f83011261370c57600080fd5b81358181111561371e5761371e614033565b8060051b61372d858201613e6e565b8281528581019085870183870188018b101561374857600080fd5b60009350835b8581101561378557813587811115613764578586fd5b6137728d8b838c01016134e6565b855250928801929088019060010161374e565b50909a9950505050505050505050565b600080602083850312156137a857600080fd5b82356001600160401b038111156137be57600080fd5b6137ca8582860161345a565b90969095509350505050565b6000602082840312156137e857600080fd5b813561350681614049565b60006020828403121561380557600080fd5b815161350681614049565b6000806020838503121561382357600080fd5b82356001600160401b0381111561383957600080fd5b6137ca858286016134a5565b60006020828403121561385757600080fd5b81356001600160401b0381111561386d57600080fd5b612147848285016134e6565b60006020828403121561388b57600080fd5b5035919050565b600080600080600080608087890312156138ab57600080fd5b863595506138bb6020880161343e565b945060408701356001600160401b03808211156138d757600080fd5b6138e38a838b016134a5565b909650945060608901359150808211156138fc57600080fd5b5061390989828a0161345a565b979a9699509497509295939492505050565b6000806040838503121561392e57600080fd5b50508035926020909101359150565b60008151808452613955816020860160208601613f25565b601f01601f19169290920160200192915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b8183823760009101908152919050565b600082516139b4818460208701613f25565b9190910192915050565b600085516139d0818460208a01613f25565b8551908301906139e4818360208a01613f25565b85519101906139f7818360208901613f25565b8451910190613a0a818360208801613f25565b019695505050505050565b60008251613a27818460208701613f25565b600160fd1b920191825250600101919050565b60008351613a4c818460208801613f25565b600160fd1b9083019081528351613a6a816001840160208801613f25565b01600101949350505050565b721e3a39b830b7103c1e911a98129110323c9e9160691b81528151600090613aa5816013850160208701613f25565b61111f60f11b6013939091019283015250601501919050565b727b226e616d65223a20224c455849434f4e202360681b81528351600090613aed816013850160208901613f25565b6201016960ed1b6013918401918201528451613b10816016840160208901613f25565b7f222c20226465736372697074696f6e223a20224c657869636f6e20697320776f601692909101918201527f7264732e222c2022696d616765223a2022646174613a696d6167652f7376672b60368201526a1e1b5b0ed8985cd94d8d0b60aa1b60568201528351613b88816061840160208801613f25565b61227d60f01b6061929091019182015260630195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613bdc81601d850160208701613f25565b91909101601d0192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613c309083018461393d565b9695505050505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613c8f57603f19888603018452613c7d85835161393d565b94509285019290850190600101613c61565b5092979650505050505050565b604081526000613cb0604083018587613969565b9050826020830152949350505050565b602081526000613506602083018461393d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526006908201526510a7aba722a960d11b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b9182526001600160a01b0316602082015260400190565b8481526001600160a01b0384166020820152606060408201819052600090613c309083018486613969565b604051601f8201601f191681016001600160401b0381118282101715613e9657613e96614033565b604052919050565b60008219821115613eb157613eb1613fdb565b500190565b600060ff821660ff84168060ff03821115613ed357613ed3613fdb565b019392505050565b600082613eea57613eea613ff1565b500490565b6000816000190483118215151615613f0957613f09613fdb565b500290565b600082821015613f2057613f20613fdb565b500390565b60005b83811015613f40578181015183820152602001613f28565b83811115611d085750506000910152565b600181811c90821680613f6557607f821691505b60208210811415613f8657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613fa057613fa0613fdb565b5060010190565b600060ff821660ff811415613fbe57613fbe613fdb565b60010192915050565b600082613fd657613fd6613ff1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461190757600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b395590b717ec6fb2e3b7570b2fe57d45d12b358b4383d033dcb52909ed2fc6864736f6c63430008060033

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

7d378c079112e83ade273855a01f247dfef35fb4a3bc10b0a1cee99e761040be00000000000000000000000000000000000000000000000000000000000026ad

-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x7d378c079112e83ade273855a01f247dfef35fb4a3bc10b0a1cee99e761040be
Arg [1] : _currentAuctionTokenId (uint256): 9901

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 7d378c079112e83ade273855a01f247dfef35fb4a3bc10b0a1cee99e761040be
Arg [1] : 00000000000000000000000000000000000000000000000000000000000026ad


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.