ETH Price: $3,384.08 (-1.55%)
Gas: 1 Gwei

Token

Rowpepens (ROWPEPEN)
 

Overview

Max Total Supply

2 ROWPEPEN

Holders

1

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
checkcade.eth
Balance
2 ROWPEPEN
0xcab1e7593af52fd6104e7c67c8a1b80b2a867867
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:
Rowpepens

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : Rowpepen.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import { ERC721A } from "erc721a/contracts/ERC721A.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./Base64.sol";

/*
@title  Rowpepens
@author @marka_eth
@notice “The impediment to action advances action. What stands in the way becomes the way." — Marcus Aurelius
@notice Thanks to @backseats_eth for input & reference code, and of course, the king @jalil_eth
*/

contract Rowpepens is ERC721A, Ownable {

    address systemAddress;
    bool mintEnabled;

    struct Rowpepen {
        uint256 num;
        uint24 score; // could be over 65535 so uint16 not enough 
        uint16 rows; // 255 enough? nah, saruo or jebus are guns so let's go with uint16
        uint8 level; // 255 enough? surely!
        uint8 leaderboredPos;   // 0, 1 , 2 or 3 [sic...]
        uint8 gameplayMode; // Season, Tournament, In It For The Art modes FOR THE CULTURE
        uint8[200] boredGame;   // Hat tip to @BoredElonMusk, largest hodler of Opepens at time of contract deployment
    }

    string[] public gameplayModes = ["Season", "Tournament", "In It For The Art 001", "In It For The Art 003", "In It For The Art 006", "In It For The Art 0TG"];
    string[] public colours001 = ["","60c9bf", "9cf0bf", "68d3de", "4291a7", "85e48d", "b6f13b", "110f10", "110f10", "3eb9a1", "9cf0bf", "ffffff", "b6f13b", "b6f13b", "9cf0bf", "68d3de", "60c9bf"];
    string[] public colours003 = ["","f41913", "f41913", "1ab01e", "3f27f2", "efe51d", "110f10", "e6e4ef"];
    string[] public colours006 = ["","f43e13", "f99bc2", "f9be02", "088c57", "110f10", "e9e1d2", "e9e1d2", "e9e1d2", "f99bc2", "088c57", "f9be02", "1601ff", "f99bc2", "f9be02", "f43e13", "110f10"];
    string[] public colours0TG = ["","7cc14a", "d2da8f", "d2da8f", "97a043", "97a043", "513f55", "513f55", "513f55", "74c84e", "97a043", "a08385", "110f10", "d2da8f", "d2da8f", "f4a4c1", "a08385"];
    string[] public idsToUse = ["","qtl", "qtr", "qbl", "qbr"];
    string[] public coloursLB = ["","000","1ded88","1D9BF0"];

    // tokenId => Rowpepen
    mapping(uint256 => Rowpepen) public rowpepens;

    // Tracking which nonces have been used from the server
    mapping (string => bool) usedNonces;

    error MintClosed();
    error NoContracts();
    error NonceAlreadyUsed();
    error InvalidSignature();
    error InvalidLeaderboredPos();
    error InvalidGameplayMode();

    constructor() ERC721A("Rowpepens", "ROWPEPEN") {
    }

    // Mint
    function mint(uint8[200] calldata boredGame, uint24 score, uint16 rows, uint8 level, uint8 gameplayMode, uint8 leaderboredPos, string calldata nonce, bytes calldata signature) external payable {

        if (msg.sender != tx.origin) revert NoContracts();
        if (mintEnabled == false) revert MintClosed();
        if (leaderboredPos < 0 || leaderboredPos > 3) revert InvalidLeaderboredPos();
        if (gameplayMode < 0 || gameplayMode > 5) revert InvalidGameplayMode();
        if (!isValidSignature(keccak256(abi.encodePacked(msg.sender, nonce)), signature)) revert InvalidSignature();
        if (usedNonces[nonce]) revert NonceAlreadyUsed();
        
        uint256 tokenId = uint256(totalSupply() + 1);

        rowpepens[tokenId] = Rowpepen({
            num: tokenId,
            boredGame: boredGame,
            score: score,
            rows: rows,
            level: level,
            leaderboredPos: leaderboredPos,
            gameplayMode: gameplayMode
        });

        usedNonces[nonce] = true;

        _mint(msg.sender, 1);
    }

    using ECDSA for bytes32;
    /// @notice Checks if the private key that singed the nonce matches the system address of the contract
    function isValidSignature(bytes32 hash, bytes calldata signature) internal view returns (bool) {
        require(systemAddress != address(0), "Missing system address");
        bytes32 signedHash = hash.toEthSignedMessageHash();
        return signedHash.recover(signature) == systemAddress;
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        return buildMetadata(_tokenId);
    }

    function buildMetadata(uint256 _tokenId) internal view returns (string memory) {

        Rowpepen memory currentRowpepen = rowpepens[_tokenId];

        bytes memory svg = buildImage(_tokenId);

        string memory name = string(
            abi.encodePacked(
                "Rowpepen #", toString(currentRowpepen.num)
            )
        );

        bytes memory metadata = abi.encodePacked(
            '{',
                '"name":"', name,'",', 
                '"image": ',
                    '"data:image/svg+xml;base64,',
                    Base64.encode(svg),
                    '",',
                '"attributes": [', attributes(currentRowpepen), ']',
            '}'
        );

        return string(
            abi.encodePacked(
                "data:application/json;base64,",
                Base64.encode(metadata)
            )
        );
    }

    /// @dev Generate cells
    function generateCells(uint8[200] memory currentBoredGame, uint8 gameplayMode ) internal view returns (bytes memory) {
        bytes memory cellBytes;
        uint8 cellSize = 38;
        uint16 xStart = 324;
        uint16 yStart = 790;

        string memory colourToUse = 'ffffff'; //default to white

        // generate cells
        for(uint i = 0; i < 200; i++) {
            uint8 cell = currentBoredGame[i];
            if (cell != 0) {
                uint x = xStart + (i % 10) * cellSize;
                uint y = yStart - (i / 10) * cellSize;
                string memory idToUse = "sq"; // default to sq

                if(gameplayMode == 2) { // IIFTA 001
                    if(cell >= 0 && cell < 17) {
                        colourToUse = colours001[cell];
                        if(cell > 8) idToUse = (cell > 12) ? idsToUse[cell - 12] :  idsToUse[cell - 8];
                    }
                }
                else if(gameplayMode == 3) { // IIFTA 003
                    colourToUse = colours003[cell];
                }
                else if(gameplayMode == 4) { // IIFTA 006
                    if(cell >= 0 && cell < 17) {
                        colourToUse = colours006[cell];
                        if(cell > 8) idToUse = (cell > 12) ? idsToUse[cell - 12] :  idsToUse[cell - 8];
                    }
                }
                else if(gameplayMode == 5) { // IIFTA 0TG
                    if(cell >= 0 && cell < 17) {
                        colourToUse = colours0TG[cell];
                        if(cell > 8) idToUse = (cell > 12) ? idsToUse[cell - 12] :  idsToUse[cell - 8];
                    }
                } 
                else { // modes 0 and 1
                    if(cell > 3 && cell < 8) idToUse = idsToUse[cell - 3];
                }
                
                cellBytes = abi.encodePacked(cellBytes, abi.encodePacked(
                    '<g transform="translate(', toString(x), ' ', toString(y), ')"><use href="#', idToUse, '" fill="#', colourToUse, '"/></g>'
                ));
            }
        }

        return cellBytes;
    }

    /// @dev Generate Rowpepen head and body
    function generateRowpepen(Rowpepen memory currentRowpepen) internal view returns (bytes memory) {

        bytes memory rowpepenBytes;

        string memory headBgColour = '#272727';
        if(currentRowpepen.gameplayMode == 4 ) headBgColour = '#F2F2F2';
        else if(currentRowpepen.gameplayMode == 5 ) headBgColour = '#514956';
   
        // generate body
        rowpepenBytes = abi.encodePacked(rowpepenBytes, abi.encodePacked(
            '<path d="M709,1029H315c0-54,44-98,98-98h198C665,931,709,975,709,1029z" class="l"/>',
            '<line x1="415" x2="415" y1="930" y2="1024" class="l"/><line x1="512" x2="512" y1="930" y2="1024" class="l"/><line x1="612" x2="612" y1="930" y2="1024" class="l"/>'
        ));

        // generate body lines
        rowpepenBytes = abi.encodePacked(rowpepenBytes, abi.encodePacked(
            '<g><use href="#line"/></g>',
            '<g transform="translate(97 0)"><use href="#line"/></g>',
            '<g transform="translate(197 0)"><use href="#line"/></g>'
        ));

        // generate head 
        rowpepenBytes = abi.encodePacked(rowpepenBytes, abi.encodePacked(
            '<path d="M678.8,835.2H345.2c-16.6,0-30.2-13.7-30.2-30.2V59.8h363.8c16.6,0,30.2,13.7,30.2,30.2v714.9C709,822.5,695.4,835.2,678.8,835.2z" fill="', headBgColour ,'"/>'
        ));
       
        // generate cells 
        rowpepenBytes = abi.encodePacked(rowpepenBytes, abi.encodePacked(
            generateCells(currentRowpepen.boredGame, currentRowpepen.gameplayMode)
        ));

        // generate border 
        rowpepenBytes = abi.encodePacked(rowpepenBytes, abi.encodePacked(
            '<path d="M678.8,835.2H345.2c-16.6,0-30.2-13.7-30.2-30.2V59.8h363.8c16.6,0,30.2,13.7,30.2,30.2v714.9C709,822.5,695.4,835.2,678.8,835.2z" fill="none" stroke="#272727" stroke-width="8"/>'
        ));
        
        return rowpepenBytes; 
    }

    /// @dev Check if this is a top 3 leaderboard opepen and if so def Check and include it
    /// @param currentRowpepen The current Rowpepen
    function generateCheck(Rowpepen memory currentRowpepen) internal view returns (bytes memory) {

        bytes memory checkBytes;

        checkBytes = abi.encodePacked(
            '<path id="check" fill-rule="evenodd" d="M21.36 9.886A3.933 3.933 0 0 0 18 8c-1.423 0-2.67.755-3.36 1.887a3.935 3.935 0 0 0-4.753 4.753A3.933 3.933 0 0 0 8 18c0 1.423.755 2.669 1.886 3.36a3.935 3.935 0 0 0 4.753 4.753 3.933 3.933 0 0 0 4.863 1.59 3.953 3.953 0 0 0 1.858-1.589 3.935 3.935 0 0 0 4.753-4.754A3.933 3.933 0 0 0 28 18a3.933 3.933 0 0 0-1.887-3.36 3.934 3.934 0 0 0-1.042-3.711 3.934 3.934 0 0 0-3.71-1.043Zm-3.958 11.713 4.562-6.844c.566-.846-.751-1.724-1.316-.878l-4.026 6.043-1.371-1.368c-.717-.722-1.836.396-1.116 1.116l2.17 2.15a.788.788 0 0 0 1.097-.22Z"/>',
            '</defs>',
            '<g transform="translate(713, 15) scale(1.5)"><use href="#check" fill="#', coloursLB[currentRowpepen.leaderboredPos], '"></use></g>'
        );

        return checkBytes; 
    }
    
    function buildImage(uint256 _tokenId) internal view returns (bytes memory) {
        Rowpepen memory currentRowpepen = rowpepens[_tokenId];

        bytes memory squareSize = abi.encodePacked(
            '<g id="sq"><rect width="38" height="38"/></g>',
            '<g id="qtl"><path d="M38,38h-38v0c0-18.8,15.2-38,38-38h0V0z"/></g>',
            '<g id="qtr"><use href="#qtl" transform="rotate(90,19,19)" /></g>',
            '<g id="qbl"><use href="#qtl" transform="rotate(-90,19,19)" /></g>',
            '<g id="qbr"><use href="#qtl" transform="rotate(-180,19,19)" /></g>'
        );

        bytes memory squareSizeSmall = abi.encodePacked(
            '<g id="sq"><rect width="34" height="34"/></g>',
            '<g id="qtl"><path d="M34,34h-34v0c0-18.8,15.2-34,34-34h0V0z"/></g>',
            '<g id="qtr"><use href="#qtl" transform="rotate(90,17,17)" /></g>',
            '<g id="qbl"><use href="#qtl" transform="rotate(-90,17,17)" /></g>',
            '<g id="qbr"><use href="#qtl" transform="rotate(-180,17,17)" /></g>'
        );

        return abi.encodePacked(
            '<svg ',
                'xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" ',
                 'style="width:100%;background:#ededed;"',
            '>',
                '<style>.l {fill:none;stroke:#272727;stroke-width:10;</style>',
                '<defs>',
                    (currentRowpepen.gameplayMode == 0 || currentRowpepen.gameplayMode == 1  || currentRowpepen.gameplayMode == 3 ) ?  squareSizeSmall : squareSize ,
                    '<g id="line"><line x1="415" x2="415" y1="930" y2="1024" class="l" /></g>',
                    (currentRowpepen.gameplayMode < 2 && currentRowpepen.leaderboredPos >= 1 && currentRowpepen.leaderboredPos <= 3) ? generateCheck(currentRowpepen) : bytes("</defs>"),
                    generateRowpepen(currentRowpepen),
            '</svg>'         
        );
    }
    

    /// @dev Render the JSON atributes for a given token.
    function attributes(Rowpepen memory currentRowpepen) internal view returns (bytes memory) {

        return abi.encodePacked(
            (currentRowpepen.gameplayMode < 2) ? trait('Score', toString(currentRowpepen.score) , ',') : '',
            (currentRowpepen.gameplayMode < 2) ? trait('Level', toString(currentRowpepen.level) , ',') : '',
            (currentRowpepen.gameplayMode < 2) ? trait('Rows', toString(currentRowpepen.rows) , ',') : '',
            trait('Gameplay Mode', gameplayModes[currentRowpepen.gameplayMode] , ','),
            (currentRowpepen.leaderboredPos != 0 && currentRowpepen.gameplayMode < 2) ? trait('Leaderboard Position', toString(currentRowpepen.leaderboredPos), '') : ''
         );
    }

    /// @dev Generate the XML for a single attribute
    function trait(string memory traitType, string memory traitValue, string memory append) internal pure returns (string memory) {
        return string(abi.encodePacked(
            '{',
                '"trait_type": "', traitType, '",'
                '"value": "', traitValue, '"'
            '}',
            append
        ));
    }

    // Plucked from OpenZeppelin's Strings.sol
    function toString(uint 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";
        }
        uint temp = value;
        uint 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 _startTokenId() internal view virtual override returns (uint) {
        return 1;
    }

    // Setters

    function setSystemAddress(address _systemAddress) external onlyOwner {
      systemAddress = _systemAddress;
    }

    function setMintOpen(bool _val) external onlyOwner {
        mintEnabled = _val;
    }

     // Withdraw

    function withdraw() external onlyOwner {
        (bool sent, ) = payable(owner()).call{value: address(this).balance}("");
        require(sent, "Withdraw failed");
    }

}

File 2 of 10 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides a function for encoding some bytes in base64
library Base64 {
    string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';
        
        // load the table into memory
        string memory table = TABLE;

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

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)
            
            // prepare the lookup table
            let tablePtr := add(table, 1)
            
            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))
            
            // result ptr, jump over length
            let resultPtr := add(result, 32)
            
            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
               dataPtr := add(dataPtr, 3)
               
               // read 3 bytes
               let input := mload(dataPtr)
               
               // write 4 characters
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(        input,  0x3F)))))
               resultPtr := add(resultPtr, 1)
            }
            
            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }
        
        return result;
    }
}

File 3 of 10 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}

File 4 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 5 of 10 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 6 of 10 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

    /**
     * @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 payable;

    /**
     * @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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @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);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 7 of 10 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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

pragma solidity ^0.8.0;

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

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

File 9 of 10 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 10 of 10 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

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

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

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

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

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidGameplayMode","type":"error"},{"inputs":[],"name":"InvalidLeaderboredPos","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MintClosed","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoContracts","type":"error"},{"inputs":[],"name":"NonceAlreadyUsed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","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":"","type":"uint256"}],"name":"colours001","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"colours003","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"colours006","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"colours0TG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"coloursLB","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"gameplayModes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"idsToUse","outputs":[{"internalType":"string","name":"","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":"uint8[200]","name":"boredGame","type":"uint8[200]"},{"internalType":"uint24","name":"score","type":"uint24"},{"internalType":"uint16","name":"rows","type":"uint16"},{"internalType":"uint8","name":"level","type":"uint8"},{"internalType":"uint8","name":"gameplayMode","type":"uint8"},{"internalType":"uint8","name":"leaderboredPos","type":"uint8"},{"internalType":"string","name":"nonce","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rowpepens","outputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint24","name":"score","type":"uint24"},{"internalType":"uint16","name":"rows","type":"uint16"},{"internalType":"uint8","name":"level","type":"uint8"},{"internalType":"uint8","name":"leaderboredPos","type":"uint8"},{"internalType":"uint8","name":"gameplayMode","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_systemAddress","type":"address"}],"name":"setSystemAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60066101408181526529b2b0b9b7b760d11b610160526080908152600a61018081815269151bdd5c9b985b595b9d60b21b6101a05260a05260156101c08181527f496e20497420466f7220546865204172742030303100000000000000000000006101e05260c0526102008181527f496e20497420466f7220546865204172742030303300000000000000000000006102205260e0526102408181527f496e20497420466f72205468652041727420303036000000000000000000000061026052610100526102c06040526102809081527f496e20497420466f7220546865204172742030544700000000000000000000006102a05261012052620001079290919062000b63565b50604051806102200160405280604051806020016040528060008152508152602001604051806040016040528060068152602001651b18319cb13360d11b8152508152602001604051806040016040528060068152602001651cb1b318313360d11b81525081526020016040518060400160405280600681526020016536386433646560d01b81525081526020016040518060400160405280600681526020016534323931613760d01b8152508152602001604051806040016040528060068152602001650e0d594d0e1960d21b815250815260200160405180604001604052806006815260200165311b331899b160d11b81525081526020016040518060400160405280600681526020016503131306631360d41b81525081526020016040518060400160405280600681526020016503131306631360d41b81525081526020016040518060400160405280600681526020016533656239613160d01b8152508152602001604051806040016040528060068152602001651cb1b318313360d11b81525081526020016040518060400160405280600681526020016533333333333360d11b815250815260200160405180604001604052806006815260200165311b331899b160d11b815250815260200160405180604001604052806006815260200165311b331899b160d11b8152508152602001604051806040016040528060068152602001651cb1b318313360d11b81525081526020016040518060400160405280600681526020016536386433646560d01b8152508152602001604051806040016040528060068152602001651b18319cb13360d11b815250815250600b9060116200037992919062000bc0565b5060408051610120810182526000610100820190815281528151808301835260068082526566343139313360d01b602083810182905280850193909352845180860186528281528084019190915283850152835180850185528181526531616230316560d01b818401526060840152835180850185528181526519b3191bb31960d11b81840152608084015283518085018552818152651959994d4c5960d21b8184015260a0840152835180850185528181526503131306631360d41b8184015260c08401528351808501909452835265329b329a32b360d11b9083015260e08101919091526200046f90600c90600862000c0b565b506040518061022001604052806040518060200160405280600081525081526020016040518060400160405280600681526020016566343365313360d01b815250815260200160405180604001604052806006815260200165331c9cb1319960d11b815250815260200160405180604001604052806006815260200165331cb132981960d11b81525081526020016040518060400160405280600681526020016530383863353760d01b81525081526020016040518060400160405280600681526020016503131306631360d41b815250815260200160405180604001604052806006815260200165329cb298b21960d11b815250815260200160405180604001604052806006815260200165329cb298b21960d11b815250815260200160405180604001604052806006815260200165329cb298b21960d11b815250815260200160405180604001604052806006815260200165331c9cb1319960d11b81525081526020016040518060400160405280600681526020016530383863353760d01b815250815260200160405180604001604052806006815260200165331cb132981960d11b815250815260200160405180604001604052806006815260200165189b1818b33360d11b815250815260200160405180604001604052806006815260200165331c9cb1319960d11b815250815260200160405180604001604052806006815260200165331cb132981960d11b81525081526020016040518060400160405280600681526020016566343365313360d01b81525081526020016040518060400160405280600681526020016503131306631360d41b815250815250600d906011620006e192919062000bc0565b506040518061022001604052806040518060200160405280600081525081526020016040518060400160405280600681526020016537636331346160d01b815250815260200160405180604001604052806006815260200165321932309c3360d11b815250815260200160405180604001604052806006815260200165321932309c3360d11b81525081526020016040518060400160405280600681526020016539376130343360d01b81525081526020016040518060400160405280600681526020016539376130343360d01b81525081526020016040518060400160405280600681526020016535313366353560d01b81525081526020016040518060400160405280600681526020016535313366353560d01b81525081526020016040518060400160405280600681526020016535313366353560d01b81525081526020016040518060400160405280600681526020016537346338346560d01b81525081526020016040518060400160405280600681526020016539376130343360d01b81525081526020016040518060400160405280600681526020016561303833383560d01b81525081526020016040518060400160405280600681526020016503131306631360d41b815250815260200160405180604001604052806006815260200165321932309c3360d11b815250815260200160405180604001604052806006815260200165321932309c3360d11b81525081526020016040518060400160405280600681526020016566346134633160d01b81525081526020016040518060400160405280600681526020016561303833383560d01b815250815250600e9060116200095392919062000bc0565b506040805160c081018252600060a082019081528152815180830183526003808252621c5d1b60ea1b60208381019190915280840192909252835180850185528181526238ba3960e91b818401528385015283518085018552818152621c589b60ea1b818401526060840152835180850190945283526238b13960e91b908301526080810191909152620009ec90600f90600562000c56565b5060405180608001604052806040518060200160405280600081525081526020016040518060400160405280600381526020016203030360ec1b815250815260200160405180604001604052806006815260200165062c8cac870760d31b81525081526020016040518060400160405280600681526020016503144394246360d41b815250815250601090600462000a8692919062000ca1565b5034801562000a9457600080fd5b5060405180604001604052806009815260200168526f77706570656e7360b81b815250604051806040016040528060088152602001672927aba822a822a760c11b815250816002908162000ae9919062000e0b565b50600362000af8828262000e0b565b505060016000555062000b0b3362000b11565b62000ed7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562000bae579160200282015b8281111562000bae578251829062000b9d908262000e0b565b509160200191906001019062000b84565b5062000bbc92915062000cec565b5090565b82805482825590600052602060002090810192821562000bae579160200282015b8281111562000bae578251829062000bfa908262000e0b565b509160200191906001019062000be1565b82805482825590600052602060002090810192821562000bae579160200282015b8281111562000bae578251829062000c45908262000e0b565b509160200191906001019062000c2c565b82805482825590600052602060002090810192821562000bae579160200282015b8281111562000bae578251829062000c90908262000e0b565b509160200191906001019062000c77565b82805482825590600052602060002090810192821562000bae579160200282015b8281111562000bae578251829062000cdb908262000e0b565b509160200191906001019062000cc2565b8082111562000bbc57600062000d03828262000d0d565b5060010162000cec565b50805462000d1b9062000d7c565b6000825580601f1062000d2c575050565b601f01602090049060005260206000209081019062000d4c919062000d4f565b50565b5b8082111562000bbc576000815560010162000d50565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000d9157607f821691505b60208210810362000db257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000e0657600081815260208120601f850160051c8101602086101562000de15750805b601f850160051c820191505b8181101562000e025782815560010162000ded565b5050505b505050565b81516001600160401b0381111562000e275762000e2762000d66565b62000e3f8162000e38845462000d7c565b8462000db8565b602080601f83116001811462000e77576000841562000e5e5750858301515b600019600386901b1c1916600185901b17855562000e02565b600085815260208120601f198616915b8281101562000ea85788860151825594840194600190910190840162000e87565b508582101562000ec75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b613d898062000ee76000396000f3fe6080604052600436106101c25760003560e01c8063858e6290116100f7578063b845630811610095578063e985e9c511610064578063e985e9c514610541578063f22f60db14610561578063f2fde38b14610581578063f8004d31146105a157600080fd5b8063b8456308146104db578063b88d4fde146104fb578063c87b56dd1461050e578063e405d32a1461052e57600080fd5b806395d89b41116100d157806395d89b41146103e05780639be685cc146103f5578063a22cb4651461049b578063b371e6fc146104bb57600080fd5b8063858e6290146103825780638be22dbc146103a25780638da5cb5b146103c257600080fd5b806323b872dd11610164578063559592dc1161013e578063559592dc1461030d5780636352211e1461032d57806370a082311461034d578063715018a61461036d57600080fd5b806323b872dd146102d25780633ccfd60b146102e557806342842e0e146102fa57600080fd5b8063081812fc116101a0578063081812fc14610240578063095ea7b31461027857806318160ddd1461028b578063230445da146102b257600080fd5b806301ffc9a7146101c757806306210197146101fc57806306fdde031461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004612d67565b6105c1565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b5061021c610217366004612da0565b610613565b005b34801561022a57600080fd5b5061023361063d565b6040516101f39190612e0b565b34801561024c57600080fd5b5061026061025b366004612e1e565b6106cf565b6040516001600160a01b0390911681526020016101f3565b61021c610286366004612e37565b610713565b34801561029757600080fd5b5060015460005403600019015b6040519081526020016101f3565b3480156102be57600080fd5b506102336102cd366004612e1e565b6107b3565b61021c6102e0366004612e61565b61085f565b3480156102f157600080fd5b5061021c6109f7565b61021c610308366004612e61565b610aad565b34801561031957600080fd5b50610233610328366004612e1e565b610acd565b34801561033957600080fd5b50610260610348366004612e1e565b610add565b34801561035957600080fd5b506102a4610368366004612da0565b610ae8565b34801561037957600080fd5b5061021c610b37565b34801561038e57600080fd5b5061023361039d366004612e1e565b610b4b565b3480156103ae57600080fd5b506102336103bd366004612e1e565b610b5b565b3480156103ce57600080fd5b506008546001600160a01b0316610260565b3480156103ec57600080fd5b50610233610b6b565b34801561040157600080fd5b5061045b610410366004612e1e565b6011602052600090815260409020805460019091015462ffffff81169061ffff63010000008204169060ff600160281b8204811691600160301b8104821691600160381b9091041686565b6040805196875262ffffff909516602087015261ffff9093169385019390935260ff908116606085015291821660808401521660a082015260c0016101f3565b3480156104a757600080fd5b5061021c6104b6366004612ead565b610b7a565b3480156104c757600080fd5b506102336104d6366004612e1e565b610be6565b3480156104e757600080fd5b506102336104f6366004612e1e565b610bf6565b61021c610509366004612ef6565b610c06565b34801561051a57600080fd5b50610233610529366004612e1e565b610c50565b61021c61053c366004613037565b610cc8565b34801561054d57600080fd5b506101e761055c366004613124565b610f90565b34801561056d57600080fd5b5061023361057c366004612e1e565b610fbe565b34801561058d57600080fd5b5061021c61059c366004612da0565b610fce565b3480156105ad57600080fd5b5061021c6105bc36600461314e565b611044565b60006301ffc9a760e01b6001600160e01b0319831614806105f257506380ac58cd60e01b6001600160e01b03198316145b8061060d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b61061b61106a565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60606002805461064c90613169565b80601f016020809104026020016040519081016040528092919081815260200182805461067890613169565b80156106c55780601f1061069a576101008083540402835291602001916106c5565b820191906000526020600020905b8154815290600101906020018083116106a857829003601f168201915b5050505050905090565b60006106da826110c4565b6106f7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061071e82610add565b9050336001600160a01b038216146107575761073a8133610f90565b610757576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600d81815481106107c357600080fd5b9060005260206000200160009150905080546107de90613169565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90613169565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b505050505081565b600061086a826110f9565b9050836001600160a01b0316816001600160a01b03161461089d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108ea576108cd8633610f90565b6108ea57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661091157604051633a954ecd60e21b815260040160405180910390fd5b801561091c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036109ae576001840160008181526004602052604081205490036109ac5760005481146109ac5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109ff61106a565b6000610a136008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a5d576040519150601f19603f3d011682016040523d82523d6000602084013e610a62565b606091505b5050905080610aaa5760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b60448201526064015b60405180910390fd5b50565b610ac883838360405180602001604052806000815250610c06565b505050565b600f81815481106107c357600080fd5b600061060d826110f9565b60006001600160a01b038216610b11576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b3f61106a565b610b49600061116f565b565b600c81815481106107c357600080fd5b600e81815481106107c357600080fd5b60606003805461064c90613169565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b81815481106107c357600080fd5b600a81815481106107c357600080fd5b610c1184848461085f565b6001600160a01b0383163b15610c4a57610c2d848484846111c1565b610c4a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610c5b826110c4565b610cbf5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610aa1565b61060d826112ad565b333214610ce85760405163875fdad760e01b815260040160405180910390fd5b600954600160a01b900460ff161515600003610d175760405163589ed34b60e01b815260040160405180910390fd5b60038560ff161115610d3c57604051636a6c9d6160e01b815260040160405180910390fd5b60058660ff161115610d6157604051636272feaf60e01b815260040160405180910390fd5b610d96338585604051602001610d79939291906131a3565b60405160208183030381529060405280519060200120838361141e565b610db357604051638baa579f60e01b815260040160405180910390fd5b60128484604051610dc59291906131cf565b9081526040519081900360200190205460ff1615610df557604051623f613760e71b815260040160405180910390fd5b6000610e0a6001546000546000199190030190565b610e159060016131f5565b90506040518060e001604052808281526020018b62ffffff1681526020018a61ffff1681526020018960ff1681526020018760ff1681526020018860ff1681526020018c60c880602002604051908101604052809291908260c86020028082843760009201829052509290935250838152601160209081526040918290208451815590840151600182018054938601516060870151608088015160a089015162ffffff90951664ffffffffff1990971696909617630100000061ffff909316929092029190911766ffff00000000001916600160281b60ff9283160266ff000000000000191617600160301b958216959095029490941767ff000000000000001916600160381b94909216939093021790915560c0830151909150610f4090600283019060c8612ca9565b50905050600160128686604051610f589291906131cf565b908152604051908190036020019020805491151560ff19909216919091179055610f83336001611503565b5050505050505050505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b601081815481106107c357600080fd5b610fd661106a565b6001600160a01b03811661103b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aa1565b610aaa8161116f565b61104c61106a565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6008546001600160a01b03163314610b495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa1565b6000816001111580156110d8575060005482105b801561060d575050600090815260046020526040902054600160e01b161590565b60008180600111611156576000548110156111565760008181526004602052604081205490600160e01b82169003611154575b8060000361114d57506000190160008181526004602052604090205461112c565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111f6903390899088908890600401613208565b6020604051808303816000875af1925050508015611231575060408051601f3d908101601f1916820190925261122e91810190613245565b60015b61128f573d80801561125f576040519150601f19603f3d011682016040523d82523d6000602084013e611264565b606091505b508051600003611287576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000818152601160209081526040808320815160e08101835281548152600182015462ffffff81169482019490945261ffff63010000008504168184015260ff600160281b85048116606080840191909152600160301b860482166080840152600160381b9095041660a08201528251611900810193849052939493909260c084019190600284019060c8908288855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161133d5790505050505050815250509050600061138184611601565b905060006113928360000151611af4565b6040516020016113a2919061327e565b60405160208183030381529060405290506000816113bf84611bf5565b6113c886611d5c565b6040516020016113da939291906132b0565b60405160208183030381529060405290506113f481611bf5565b604051602001611404919061338f565b604051602081830303815290604052945050505050919050565b6009546000906001600160a01b03166114725760405162461bcd60e51b81526020600482015260166024820152754d697373696e672073797374656d206164647265737360501b6044820152606401610aa1565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c859052603c9020600954604080516020601f87018190048102820181019092528581526001600160a01b03909216916114f091879087908190840183828082843760009201919091525086939250506120289050565b6001600160a01b03161495945050505050565b60008054908290036115285760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146115d757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161159f565b50816000036115f857604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818152601160209081526040808320815160e08101835281548152600182015462ffffff81169482019490945261ffff63010000008504168184015260ff600160281b85048116606080840191909152600160301b860482166080840152600160381b9095041660a08201528251611900810193849052939493909260c084019190600284019060c8908288855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161169157905050505050508152505090506000604051602001611864907f3c672069643d227371223e3c726563742077696474683d22333822206865696781526c343a1e91199c11179f1e17b39f60991b60208201527f3c672069643d2271746c223e3c7061746820643d224d33382c3338682d333876602d8201527f3063302d31382e382c31352e322d33382c33382d3338683056307a222f3e3c2f604d82015261339f60f11b606d82018190527f3c672069643d22717472223e3c75736520687265663d222371746c2220747261606f8301527f6e73666f726d3d22726f746174652839302c31392c31392922202f3e3c2f673e608f8301527f3c672069643d2271626c223e3c75736520687265663d222371746c222074726160af8301527f6e73666f726d3d22726f74617465282d39302c31392c31392922202f3e3c2f6760cf830152601f60f91b60ef8301527f3c672069643d22716272223e3c75736520687265663d222371746c222074726160f08301527f6e73666f726d3d22726f74617465282d3138302c31392c31392922202f3e3c2f6101108301526101308201526101320190565b60405160208183030381529060405290506000604051602001611a0f907f3c672069643d227371223e3c726563742077696474683d22333422206865696781526c343a1e91199a11179f1e17b39f60991b60208201527f3c672069643d2271746c223e3c7061746820643d224d33342c3334682d333476602d8201527f3063302d31382e382c31352e322d33342c33342d3334683056307a222f3e3c2f604d82015261339f60f11b606d82018190527f3c672069643d22717472223e3c75736520687265663d222371746c2220747261606f8301527f6e73666f726d3d22726f746174652839302c31372c31372922202f3e3c2f673e608f8301527f3c672069643d2271626c223e3c75736520687265663d222371746c222074726160af8301527f6e73666f726d3d22726f74617465282d39302c31372c31372922202f3e3c2f6760cf830152601f60f91b60ef8301527f3c672069643d22716272223e3c75736520687265663d222371746c222074726160f08301527f6e73666f726d3d22726f74617465282d3138302c31372c31372922202f3e3c2f6101108301526101308201526101320190565b60405160208183030381529060405290508260a0015160ff1660001480611a3d57508260a0015160ff166001145b80611a4f57508260a0015160ff166003145b611a595781611a5b565b805b60028460a0015160ff16108015611a7a57506001846080015160ff1610155b8015611a8e57506003846080015160ff1611155b611ab757604051806040016040528060078152602001661e17b232b3399f60c91b815250611ac0565b611ac08461204c565b611ac98561209a565b604051602001611adb939291906133d4565b6040516020818303038152906040529350505050919050565b606081600003611b1b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b455780611b2f8161356b565b9150611b3e9050600a8361359a565b9150611b1f565b60008167ffffffffffffffff811115611b6057611b60612ee0565b6040519080825280601f01601f191660200182016040528015611b8a576020820181803683370190505b5090505b84156112a557611b9f6001836135ae565b9150611bac600a866135c1565b611bb79060306131f5565b60f81b818381518110611bcc57611bcc6135d5565b60200101906001600160f81b031916908160001a905350611bee600a8661359a565b9450611b8e565b60608151600003611c1457505060408051602081019091526000815290565b6000604051806060016040528060408152602001613d146040913990506000600384516002611c4391906131f5565b611c4d919061359a565b611c589060046135eb565b90506000611c678260206131f5565b67ffffffffffffffff811115611c7f57611c7f612ee0565b6040519080825280601f01601f191660200182016040528015611ca9576020820181803683370190505b509050818152600183018586518101602084015b81831015611d175760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401611cbd565b600389510660018114611d315760028114611d4257611d4e565b613d3d60f01b600119830152611d4e565b603d60f81b6000198301525b509398975050505050505050565b606060028260a0015160ff1610611d825760405180602001604052806000815250611dd4565b611dd46040518060400160405280600581526020016453636f726560d81b815250611db5846020015162ffffff16611af4565b604051806040016040528060018152602001600b60fa1b815250612530565b60028360a0015160ff1610611df85760405180602001604052806000815250611e29565b611e296040518060400160405280600581526020016413195d995b60da1b815250611db5856060015160ff16611af4565b60028460a0015160ff1610611e4d5760405180602001604052806000815250611e7e565b611e7e60405180604001604052806004815260200163526f777360e01b815250611db5866040015161ffff16611af4565b611f736040518060400160405280600d81526020016c47616d65706c6179204d6f646560981b815250600a8760a0015160ff1681548110611ec157611ec16135d5565b906000526020600020018054611ed690613169565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0290613169565b8015611f4f5780601f10611f2457610100808354040283529160200191611f4f565b820191906000526020600020905b815481529060010190602001808311611f3257829003601f168201915b5050505050604051806040016040528060018152602001600b60fa1b815250612530565b608086015160ff1615801590611f90575060028660a0015160ff16105b611fa95760405180602001604052806000815250611ffe565b611ffe604051806040016040528060148152602001732632b0b232b93137b0b932102837b9b4ba34b7b760611b815250611fe9886080015160ff16611af4565b60405180602001604052806000815250612530565b604051602001612012959493929190613602565b6040516020818303038152906040529050919050565b6000806000612037858561255f565b91509150612044816125a4565b509392505050565b6060806010836080015160ff1681548110612069576120696135d5565b90600052602060002001604051602001612083919061370a565b60408051601f198184030181529190529392505050565b6040805180820190915260078152662332373237323760c81b602082015260a0820151606091829160ff166004036120f0575060408051808201909152600781526611a3192319231960c91b602082015261211f565b8360a0015160ff1660050361211f5750604080518082019091526007815266119a989a1c9a9b60c91b60208201525b8160405160200161225d907f3c7061746820643d224d3730392c313032394833313563302d35342c34342d3981527f382c39382d393868313938433636352c3933312c3730392c3937352c3730392c6020820152711898191cbd111031b630b9b99e913611179f60711b60408201527f3c6c696e652078313d22343135222078323d22343135222079313d223933302260528201527f2079323d22313032342220636c6173733d226c222f3e3c6c696e652078313d2260728201527f353132222078323d22353132222079313d22393330222079323d22313032342260928201527f20636c6173733d226c222f3e3c6c696e652078313d22363132222078323d223660b28201527f3132222079313d22393330222079323d22313032342220636c6173733d226c2260d282015261179f60f11b60f282015260f40190565b60408051601f198184030181529082905261227b9291602001613a58565b60408051808303601f190181528282527f3c673e3c75736520687265663d22236c696e65222f3e3c2f673e00000000000060208401527f3c67207472616e73666f726d3d227472616e736c617465283937203029223e3c603a840152753ab9b290343932b31e9111b634b73291179f1e17b39f60511b605a8401527f3c67207472616e73666f726d3d227472616e736c61746528313937203029223e60708401527f3c75736520687265663d22236c696e65222f3e3c2f673e00000000000000000060908401528151608781850301815260a7840190925293506123649184919060c701613a58565b604051602081830303815290604052915081816040516020016123879190613a87565b60408051601f19818403018152908290526123a59291602001613a58565b6040516020818303038152906040529150816123c98560c001518660a001516126ee565b6040516020016123d99190613b62565b60408051601f19818403018152908290526123f79291602001613a58565b6040516020818303038152906040529150816040516020016124fa907f3c7061746820643d224d3637382e382c3833352e32483334352e32632d31362e81527f362c302d33302e322d31332e372d33302e322d33302e325635392e386833363360208201527f2e386331362e362c302c33302e322c31332e372c33302e322c33302e3276373160408201527f342e39433730392c3832322e352c3639352e342c3833352e322c3637382e382c60608201527f3833352e327a222066696c6c3d226e6f6e6522207374726f6b653d222332373260808201527f37323722207374726f6b652d77696474683d2238222f3e00000000000000000060a082015260b70190565b60408051601f19818403018152908290526125189291602001613a58565b60408051601f19818403018152919052949350505050565b606083838360405160200161254793929190613b7e565b60405160208183030381529060405290509392505050565b60008082516041036125955760208301516040840151606085015160001a61258987828585612be5565b9450945050505061259d565b506000905060025b9250929050565b60008160048111156125b8576125b8613c0f565b036125c05750565b60018160048111156125d4576125d4613c0f565b036126215760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610aa1565b600281600481111561263557612635613c0f565b036126825760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610aa1565b600381600481111561269657612696613c0f565b03610aaa5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610aa1565b60408051808201909152600681526533333333333360d11b60208201526060908190602690610144906103169060005b60c8811015612bd8576000898260c8811061273b5761273b6135d5565b6020020151905060ff811615612bc557600060ff871661275c600a856135c1565b61276691906135eb565b6127749061ffff88166131f5565b9050600060ff8816612787600a8661359a565b61279191906135eb565b61279f9061ffff88166135ae565b9050600060405180604001604052806002815260200161737160f01b81525090508b60ff166002036129845760118460ff16101561297f57600b8460ff16815481106127ed576127ed6135d5565b90600052602060002001805461280290613169565b80601f016020809104026020016040519081016040528092919081815260200182805461282e90613169565b801561287b5780601f106128505761010080835404028352916020019161287b565b820191906000526020600020905b81548152906001019060200180831161285e57829003601f168201915b5050505050955060088460ff16111561297f57600c8460ff16116128c857600f6128a6600886613c25565b60ff16815481106128b9576128b96135d5565b906000526020600020016128f3565b600f6128d5600c86613c25565b60ff16815481106128e8576128e86135d5565b906000526020600020015b80546128fe90613169565b80601f016020809104026020016040519081016040528092919081815260200182805461292a90613169565b80156129775780601f1061294c57610100808354040283529160200191612977565b820191906000526020600020905b81548152906001019060200180831161295a57829003601f168201915b505050505090505b612b6a565b8b60ff16600303612a3f57600c8460ff16815481106129a5576129a56135d5565b9060005260206000200180546129ba90613169565b80601f01602080910402602001604051908101604052809291908181526020018280546129e690613169565b8015612a335780601f10612a0857610100808354040283529160200191612a33565b820191906000526020600020905b815481529060010190602001808311612a1657829003601f168201915b50505050509550612b6a565b8b60ff16600403612a6c5760118460ff16101561297f57600d8460ff16815481106127ed576127ed6135d5565b8b60ff16600503612a995760118460ff16101561297f57600e8460ff16815481106127ed576127ed6135d5565b60038460ff16118015612aaf575060088460ff16105b15612b6a57600f612ac1600386613c25565b60ff1681548110612ad457612ad46135d5565b906000526020600020018054612ae990613169565b80601f0160208091040260200160405190810160405280929190818152602001828054612b1590613169565b8015612b625780601f10612b3757610100808354040283529160200191612b62565b820191906000526020600020905b815481529060010190602001808311612b4557829003601f168201915b505050505090505b89612b7484611af4565b612b7d84611af4565b8389604051602001612b929493929190613c3e565b60408051601f1981840301815290829052612bb09291602001613a58565b60405160208183030381529060405299505050505b5080612bd08161356b565b91505061271e565b5093979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612c1c5750600090506003612ca0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612c70573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612c9957600060019250925050612ca0565b9150600090505b94509492505050565b600783019183908215612d2c5791602002820160005b83821115612cfd57835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302612cbf565b8015612d2a5782816101000a81549060ff0219169055600101602081600001049283019260010302612cfd565b505b50612d38929150612d3c565b5090565b5b80821115612d385760008155600101612d3d565b6001600160e01b031981168114610aaa57600080fd5b600060208284031215612d7957600080fd5b813561114d81612d51565b80356001600160a01b0381168114612d9b57600080fd5b919050565b600060208284031215612db257600080fd5b61114d82612d84565b60005b83811015612dd6578181015183820152602001612dbe565b50506000910152565b60008151808452612df7816020860160208601612dbb565b601f01601f19169290920160200192915050565b60208152600061114d6020830184612ddf565b600060208284031215612e3057600080fd5b5035919050565b60008060408385031215612e4a57600080fd5b612e5383612d84565b946020939093013593505050565b600080600060608486031215612e7657600080fd5b612e7f84612d84565b9250612e8d60208501612d84565b9150604084013590509250925092565b80358015158114612d9b57600080fd5b60008060408385031215612ec057600080fd5b612ec983612d84565b9150612ed760208401612e9d565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612f0c57600080fd5b612f1585612d84565b9350612f2360208601612d84565b925060408501359150606085013567ffffffffffffffff80821115612f4757600080fd5b818701915087601f830112612f5b57600080fd5b813581811115612f6d57612f6d612ee0565b604051601f8201601f19908116603f01168101908382118183101715612f9557612f95612ee0565b816040528281528a6020848701011115612fae57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b803561ffff81168114612d9b57600080fd5b803560ff81168114612d9b57600080fd5b60008083601f84011261300757600080fd5b50813567ffffffffffffffff81111561301f57600080fd5b60208301915083602082850101111561259d57600080fd5b6000806000806000806000806000806119e08b8d03121561305757600080fd5b6119008b018c81111561306957600080fd5b8b9a503562ffffff8116811461307e57600080fd5b985061308d6119208c01612fd2565b975061309c6119408c01612fe4565b96506130ab6119608c01612fe4565b95506130ba6119808c01612fe4565b94506119a08b013567ffffffffffffffff808211156130d857600080fd5b6130e48e838f01612ff5565b90965094506119c08d01359150808211156130fe57600080fd5b5061310b8d828e01612ff5565b915080935050809150509295989b9194979a5092959850565b6000806040838503121561313757600080fd5b61314083612d84565b9150612ed760208401612d84565b60006020828403121561316057600080fd5b61114d82612e9d565b600181811c9082168061317d57607f821691505b60208210810361319d57634e487b7160e01b600052602260045260246000fd5b50919050565b6bffffffffffffffffffffffff198460601b168152818360148301376000910160140190815292915050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060d5761060d6131df565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061323b90830184612ddf565b9695505050505050565b60006020828403121561325757600080fd5b815161114d81612d51565b60008151613274818560208601612dbb565b9290920192915050565b69526f77706570656e202360b01b8152600082516132a381600a850160208701612dbb565b91909101600a0192915050565b607b60f81b815267113730b6b2911d1160c11b600182015283516000906132de816009850160208901612dbb565b61088b60f21b60099184019182018190526801134b6b0b3b2911d160bd1b600b8301527f22646174613a696d6167652f7376672b786d6c3b6261736536342c00000000006014830152855161333a81602f850160208a01612dbb565b602f9201918201526e2261747472696275746573223a205b60881b6031820152835161336d816040840160208801612dbb565b605d60f81b91016040810191909152607d60f81b60418201526042810161323b565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516133c781601d850160208701612dbb565b91909101601d0192915050565b6401e39bb33960dd1b81527f786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737660058201527f67222076696577426f783d22302030203130323420313032342220000000000060258201527f7374796c653d2277696474683a313030253b6261636b67726f756e643a23656460408201526532b232b21d9160d11b6060820152601f60f91b60668201527f3c7374796c653e2e6c207b66696c6c3a6e6f6e653b7374726f6b653a2332373260678201527f3732373b7374726f6b652d77696474683a31303b3c2f7374796c653e000000006087820152651e3232b3399f60d11b60a382015283516000906134db8160a9850160208901612dbb565b61323b61355961355361354d60a9858801017f3c672069643d226c696e65223e3c6c696e652078313d22343135222078323d2281527f343135222079313d22393330222079323d22313032342220636c6173733d226c6020820152671110179f1e17b39f60c11b604082015260480190565b88613262565b86613262565b651e17b9bb339f60d11b815260060190565b60006001820161357d5761357d6131df565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826135a9576135a9613584565b500490565b8181038181111561060d5761060d6131df565b6000826135d0576135d0613584565b500690565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761060d5761060d6131df565b60008651613614818460208b01612dbb565b865190830190613628818360208b01612dbb565b865191019061363b818360208a01612dbb565b855191019061364e818360208901612dbb565b8451910190613661818360208801612dbb565b01979650505050505050565b8054600090600181811c908083168061368757607f831692505b602080841082036136a857634e487b7160e01b600052602260045260246000fd5b8180156136bc57600181146136d1576136fe565b60ff19861689528415158502890196506136fe565b60008881526020902060005b868110156136f65781548b8201529085019083016136dd565b505084890196505b50505050505092915050565b7f3c706174682069643d22636865636b222066696c6c2d72756c653d226576656e81527f6f64642220643d224d32312e333620392e38383641332e39333320332e39333360208201527f2030203020302031382038632d312e34323320302d322e36372e3735352d332e60408201527f333620312e38383761332e39333520332e3933352030203020302d342e37353360608201527f20342e37353341332e39333320332e393333203020302030203820313863302060808201527f312e3432332e37353520322e36363920312e38383620332e333661332e39333560a08201527f20332e39333520302030203020342e37353320342e37353320332e393333203360c08201527f2e39333320302030203020342e38363320312e353920332e39353320332e393560e08201527f3320302030203020312e3835382d312e35383920332e39333520332e393335206101008201527f302030203020342e3735332d342e37353441332e39333320332e3933332030206101208201527f30203020323820313861332e39333320332e3933332030203020302d312e38386101408201527f372d332e333620332e39333420332e3933342030203020302d312e3034322d336101608201527f2e37313120332e39333420332e3933342030203020302d332e37312d312e30346101808201527f335a6d2d332e3935382031312e37313320342e3536322d362e383434632e35366101a08201527f362d2e3834362d2e3735312d312e3732342d312e3331362d2e3837386c2d342e6101c08201527f30323620362e3034332d312e3337312d312e333638632d2e3731372d2e3732326101e08201527f2d312e3833362e3339362d312e31313620312e3131366c322e313720322e31356102008201527f612e3738382e37383820302030203020312e3039372d2e32325a222f3e000000610220820152661e17b232b3399f60c91b61023d8201527f3c67207472616e73666f726d3d227472616e736c617465283731332c203135296102448201527f207363616c6528312e3529223e3c75736520687265663d2223636865636b22206102648201526666696c6c3d222360c81b610284820152600061114d613a4061028b84018561366d565b6b111f1e17bab9b29f1e17b39f60a11b8152600c0190565b60008351613a6a818460208801612dbb565b835190830190613a7e818360208801612dbb565b01949350505050565b7f3c7061746820643d224d3637382e382c3833352e32483334352e32632d31362e81527f362c302d33302e322d31332e372d33302e322d33302e325635392e386833363360208201527f2e386331362e362c302c33302e322c31332e372c33302e322c33302e3276373160408201527f342e39433730392c3832322e352c3639352e342c3833352e322c3637382e382c60608201526d1c199a97193d11103334b6361e9160911b608082015260008251613b4881608e850160208701612dbb565b6211179f60e91b608e939091019283015250609101919050565b60008251613b74818460208701612dbb565b9190910192915050565b607b60f81b81526e113a3930b4ba2fba3cb832911d101160891b60018201528351600090613bb3816010850160208901612dbb565b6b1116113b30b63ab2911d101160a11b6010918401918201528451613bdf81601c840160208901612dbb565b61227d60f01b601c92909101918201528351613c0281601e840160208801612dbb565b01601e0195945050505050565b634e487b7160e01b600052602160045260246000fd5b60ff828116828216039081111561060d5761060d6131df565b7f3c67207472616e73666f726d3d227472616e736c617465280000000000000000815260008551613c76816018850160208a01612dbb565b600160fd1b6018918401918201528551613c97816019840160208a01612dbb565b6e29223e3c75736520687265663d222360881b601992909101918201528451613cc7816028840160208901612dbb565b68222066696c6c3d222360b81b602892909101918201528351613cf1816031840160208801612dbb565b6611179f1e17b39f60c91b60319290910191820152603801969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201b2ae808777fe8558663df62b7fb4e886ef3e84584ed9c05c26cd6b848974cc564736f6c63430008120033

Deployed Bytecode

0x6080604052600436106101c25760003560e01c8063858e6290116100f7578063b845630811610095578063e985e9c511610064578063e985e9c514610541578063f22f60db14610561578063f2fde38b14610581578063f8004d31146105a157600080fd5b8063b8456308146104db578063b88d4fde146104fb578063c87b56dd1461050e578063e405d32a1461052e57600080fd5b806395d89b41116100d157806395d89b41146103e05780639be685cc146103f5578063a22cb4651461049b578063b371e6fc146104bb57600080fd5b8063858e6290146103825780638be22dbc146103a25780638da5cb5b146103c257600080fd5b806323b872dd11610164578063559592dc1161013e578063559592dc1461030d5780636352211e1461032d57806370a082311461034d578063715018a61461036d57600080fd5b806323b872dd146102d25780633ccfd60b146102e557806342842e0e146102fa57600080fd5b8063081812fc116101a0578063081812fc14610240578063095ea7b31461027857806318160ddd1461028b578063230445da146102b257600080fd5b806301ffc9a7146101c757806306210197146101fc57806306fdde031461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004612d67565b6105c1565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b5061021c610217366004612da0565b610613565b005b34801561022a57600080fd5b5061023361063d565b6040516101f39190612e0b565b34801561024c57600080fd5b5061026061025b366004612e1e565b6106cf565b6040516001600160a01b0390911681526020016101f3565b61021c610286366004612e37565b610713565b34801561029757600080fd5b5060015460005403600019015b6040519081526020016101f3565b3480156102be57600080fd5b506102336102cd366004612e1e565b6107b3565b61021c6102e0366004612e61565b61085f565b3480156102f157600080fd5b5061021c6109f7565b61021c610308366004612e61565b610aad565b34801561031957600080fd5b50610233610328366004612e1e565b610acd565b34801561033957600080fd5b50610260610348366004612e1e565b610add565b34801561035957600080fd5b506102a4610368366004612da0565b610ae8565b34801561037957600080fd5b5061021c610b37565b34801561038e57600080fd5b5061023361039d366004612e1e565b610b4b565b3480156103ae57600080fd5b506102336103bd366004612e1e565b610b5b565b3480156103ce57600080fd5b506008546001600160a01b0316610260565b3480156103ec57600080fd5b50610233610b6b565b34801561040157600080fd5b5061045b610410366004612e1e565b6011602052600090815260409020805460019091015462ffffff81169061ffff63010000008204169060ff600160281b8204811691600160301b8104821691600160381b9091041686565b6040805196875262ffffff909516602087015261ffff9093169385019390935260ff908116606085015291821660808401521660a082015260c0016101f3565b3480156104a757600080fd5b5061021c6104b6366004612ead565b610b7a565b3480156104c757600080fd5b506102336104d6366004612e1e565b610be6565b3480156104e757600080fd5b506102336104f6366004612e1e565b610bf6565b61021c610509366004612ef6565b610c06565b34801561051a57600080fd5b50610233610529366004612e1e565b610c50565b61021c61053c366004613037565b610cc8565b34801561054d57600080fd5b506101e761055c366004613124565b610f90565b34801561056d57600080fd5b5061023361057c366004612e1e565b610fbe565b34801561058d57600080fd5b5061021c61059c366004612da0565b610fce565b3480156105ad57600080fd5b5061021c6105bc36600461314e565b611044565b60006301ffc9a760e01b6001600160e01b0319831614806105f257506380ac58cd60e01b6001600160e01b03198316145b8061060d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b61061b61106a565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60606002805461064c90613169565b80601f016020809104026020016040519081016040528092919081815260200182805461067890613169565b80156106c55780601f1061069a576101008083540402835291602001916106c5565b820191906000526020600020905b8154815290600101906020018083116106a857829003601f168201915b5050505050905090565b60006106da826110c4565b6106f7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061071e82610add565b9050336001600160a01b038216146107575761073a8133610f90565b610757576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600d81815481106107c357600080fd5b9060005260206000200160009150905080546107de90613169565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90613169565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b505050505081565b600061086a826110f9565b9050836001600160a01b0316816001600160a01b03161461089d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108ea576108cd8633610f90565b6108ea57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661091157604051633a954ecd60e21b815260040160405180910390fd5b801561091c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036109ae576001840160008181526004602052604081205490036109ac5760005481146109ac5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109ff61106a565b6000610a136008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a5d576040519150601f19603f3d011682016040523d82523d6000602084013e610a62565b606091505b5050905080610aaa5760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b60448201526064015b60405180910390fd5b50565b610ac883838360405180602001604052806000815250610c06565b505050565b600f81815481106107c357600080fd5b600061060d826110f9565b60006001600160a01b038216610b11576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b3f61106a565b610b49600061116f565b565b600c81815481106107c357600080fd5b600e81815481106107c357600080fd5b60606003805461064c90613169565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b81815481106107c357600080fd5b600a81815481106107c357600080fd5b610c1184848461085f565b6001600160a01b0383163b15610c4a57610c2d848484846111c1565b610c4a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610c5b826110c4565b610cbf5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610aa1565b61060d826112ad565b333214610ce85760405163875fdad760e01b815260040160405180910390fd5b600954600160a01b900460ff161515600003610d175760405163589ed34b60e01b815260040160405180910390fd5b60038560ff161115610d3c57604051636a6c9d6160e01b815260040160405180910390fd5b60058660ff161115610d6157604051636272feaf60e01b815260040160405180910390fd5b610d96338585604051602001610d79939291906131a3565b60405160208183030381529060405280519060200120838361141e565b610db357604051638baa579f60e01b815260040160405180910390fd5b60128484604051610dc59291906131cf565b9081526040519081900360200190205460ff1615610df557604051623f613760e71b815260040160405180910390fd5b6000610e0a6001546000546000199190030190565b610e159060016131f5565b90506040518060e001604052808281526020018b62ffffff1681526020018a61ffff1681526020018960ff1681526020018760ff1681526020018860ff1681526020018c60c880602002604051908101604052809291908260c86020028082843760009201829052509290935250838152601160209081526040918290208451815590840151600182018054938601516060870151608088015160a089015162ffffff90951664ffffffffff1990971696909617630100000061ffff909316929092029190911766ffff00000000001916600160281b60ff9283160266ff000000000000191617600160301b958216959095029490941767ff000000000000001916600160381b94909216939093021790915560c0830151909150610f4090600283019060c8612ca9565b50905050600160128686604051610f589291906131cf565b908152604051908190036020019020805491151560ff19909216919091179055610f83336001611503565b5050505050505050505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b601081815481106107c357600080fd5b610fd661106a565b6001600160a01b03811661103b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aa1565b610aaa8161116f565b61104c61106a565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6008546001600160a01b03163314610b495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa1565b6000816001111580156110d8575060005482105b801561060d575050600090815260046020526040902054600160e01b161590565b60008180600111611156576000548110156111565760008181526004602052604081205490600160e01b82169003611154575b8060000361114d57506000190160008181526004602052604090205461112c565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111f6903390899088908890600401613208565b6020604051808303816000875af1925050508015611231575060408051601f3d908101601f1916820190925261122e91810190613245565b60015b61128f573d80801561125f576040519150601f19603f3d011682016040523d82523d6000602084013e611264565b606091505b508051600003611287576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000818152601160209081526040808320815160e08101835281548152600182015462ffffff81169482019490945261ffff63010000008504168184015260ff600160281b85048116606080840191909152600160301b860482166080840152600160381b9095041660a08201528251611900810193849052939493909260c084019190600284019060c8908288855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161133d5790505050505050815250509050600061138184611601565b905060006113928360000151611af4565b6040516020016113a2919061327e565b60405160208183030381529060405290506000816113bf84611bf5565b6113c886611d5c565b6040516020016113da939291906132b0565b60405160208183030381529060405290506113f481611bf5565b604051602001611404919061338f565b604051602081830303815290604052945050505050919050565b6009546000906001600160a01b03166114725760405162461bcd60e51b81526020600482015260166024820152754d697373696e672073797374656d206164647265737360501b6044820152606401610aa1565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c859052603c9020600954604080516020601f87018190048102820181019092528581526001600160a01b03909216916114f091879087908190840183828082843760009201919091525086939250506120289050565b6001600160a01b03161495945050505050565b60008054908290036115285760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146115d757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161159f565b50816000036115f857604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818152601160209081526040808320815160e08101835281548152600182015462ffffff81169482019490945261ffff63010000008504168184015260ff600160281b85048116606080840191909152600160301b860482166080840152600160381b9095041660a08201528251611900810193849052939493909260c084019190600284019060c8908288855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161169157905050505050508152505090506000604051602001611864907f3c672069643d227371223e3c726563742077696474683d22333822206865696781526c343a1e91199c11179f1e17b39f60991b60208201527f3c672069643d2271746c223e3c7061746820643d224d33382c3338682d333876602d8201527f3063302d31382e382c31352e322d33382c33382d3338683056307a222f3e3c2f604d82015261339f60f11b606d82018190527f3c672069643d22717472223e3c75736520687265663d222371746c2220747261606f8301527f6e73666f726d3d22726f746174652839302c31392c31392922202f3e3c2f673e608f8301527f3c672069643d2271626c223e3c75736520687265663d222371746c222074726160af8301527f6e73666f726d3d22726f74617465282d39302c31392c31392922202f3e3c2f6760cf830152601f60f91b60ef8301527f3c672069643d22716272223e3c75736520687265663d222371746c222074726160f08301527f6e73666f726d3d22726f74617465282d3138302c31392c31392922202f3e3c2f6101108301526101308201526101320190565b60405160208183030381529060405290506000604051602001611a0f907f3c672069643d227371223e3c726563742077696474683d22333422206865696781526c343a1e91199a11179f1e17b39f60991b60208201527f3c672069643d2271746c223e3c7061746820643d224d33342c3334682d333476602d8201527f3063302d31382e382c31352e322d33342c33342d3334683056307a222f3e3c2f604d82015261339f60f11b606d82018190527f3c672069643d22717472223e3c75736520687265663d222371746c2220747261606f8301527f6e73666f726d3d22726f746174652839302c31372c31372922202f3e3c2f673e608f8301527f3c672069643d2271626c223e3c75736520687265663d222371746c222074726160af8301527f6e73666f726d3d22726f74617465282d39302c31372c31372922202f3e3c2f6760cf830152601f60f91b60ef8301527f3c672069643d22716272223e3c75736520687265663d222371746c222074726160f08301527f6e73666f726d3d22726f74617465282d3138302c31372c31372922202f3e3c2f6101108301526101308201526101320190565b60405160208183030381529060405290508260a0015160ff1660001480611a3d57508260a0015160ff166001145b80611a4f57508260a0015160ff166003145b611a595781611a5b565b805b60028460a0015160ff16108015611a7a57506001846080015160ff1610155b8015611a8e57506003846080015160ff1611155b611ab757604051806040016040528060078152602001661e17b232b3399f60c91b815250611ac0565b611ac08461204c565b611ac98561209a565b604051602001611adb939291906133d4565b6040516020818303038152906040529350505050919050565b606081600003611b1b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b455780611b2f8161356b565b9150611b3e9050600a8361359a565b9150611b1f565b60008167ffffffffffffffff811115611b6057611b60612ee0565b6040519080825280601f01601f191660200182016040528015611b8a576020820181803683370190505b5090505b84156112a557611b9f6001836135ae565b9150611bac600a866135c1565b611bb79060306131f5565b60f81b818381518110611bcc57611bcc6135d5565b60200101906001600160f81b031916908160001a905350611bee600a8661359a565b9450611b8e565b60608151600003611c1457505060408051602081019091526000815290565b6000604051806060016040528060408152602001613d146040913990506000600384516002611c4391906131f5565b611c4d919061359a565b611c589060046135eb565b90506000611c678260206131f5565b67ffffffffffffffff811115611c7f57611c7f612ee0565b6040519080825280601f01601f191660200182016040528015611ca9576020820181803683370190505b509050818152600183018586518101602084015b81831015611d175760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401611cbd565b600389510660018114611d315760028114611d4257611d4e565b613d3d60f01b600119830152611d4e565b603d60f81b6000198301525b509398975050505050505050565b606060028260a0015160ff1610611d825760405180602001604052806000815250611dd4565b611dd46040518060400160405280600581526020016453636f726560d81b815250611db5846020015162ffffff16611af4565b604051806040016040528060018152602001600b60fa1b815250612530565b60028360a0015160ff1610611df85760405180602001604052806000815250611e29565b611e296040518060400160405280600581526020016413195d995b60da1b815250611db5856060015160ff16611af4565b60028460a0015160ff1610611e4d5760405180602001604052806000815250611e7e565b611e7e60405180604001604052806004815260200163526f777360e01b815250611db5866040015161ffff16611af4565b611f736040518060400160405280600d81526020016c47616d65706c6179204d6f646560981b815250600a8760a0015160ff1681548110611ec157611ec16135d5565b906000526020600020018054611ed690613169565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0290613169565b8015611f4f5780601f10611f2457610100808354040283529160200191611f4f565b820191906000526020600020905b815481529060010190602001808311611f3257829003601f168201915b5050505050604051806040016040528060018152602001600b60fa1b815250612530565b608086015160ff1615801590611f90575060028660a0015160ff16105b611fa95760405180602001604052806000815250611ffe565b611ffe604051806040016040528060148152602001732632b0b232b93137b0b932102837b9b4ba34b7b760611b815250611fe9886080015160ff16611af4565b60405180602001604052806000815250612530565b604051602001612012959493929190613602565b6040516020818303038152906040529050919050565b6000806000612037858561255f565b91509150612044816125a4565b509392505050565b6060806010836080015160ff1681548110612069576120696135d5565b90600052602060002001604051602001612083919061370a565b60408051601f198184030181529190529392505050565b6040805180820190915260078152662332373237323760c81b602082015260a0820151606091829160ff166004036120f0575060408051808201909152600781526611a3192319231960c91b602082015261211f565b8360a0015160ff1660050361211f5750604080518082019091526007815266119a989a1c9a9b60c91b60208201525b8160405160200161225d907f3c7061746820643d224d3730392c313032394833313563302d35342c34342d3981527f382c39382d393868313938433636352c3933312c3730392c3937352c3730392c6020820152711898191cbd111031b630b9b99e913611179f60711b60408201527f3c6c696e652078313d22343135222078323d22343135222079313d223933302260528201527f2079323d22313032342220636c6173733d226c222f3e3c6c696e652078313d2260728201527f353132222078323d22353132222079313d22393330222079323d22313032342260928201527f20636c6173733d226c222f3e3c6c696e652078313d22363132222078323d223660b28201527f3132222079313d22393330222079323d22313032342220636c6173733d226c2260d282015261179f60f11b60f282015260f40190565b60408051601f198184030181529082905261227b9291602001613a58565b60408051808303601f190181528282527f3c673e3c75736520687265663d22236c696e65222f3e3c2f673e00000000000060208401527f3c67207472616e73666f726d3d227472616e736c617465283937203029223e3c603a840152753ab9b290343932b31e9111b634b73291179f1e17b39f60511b605a8401527f3c67207472616e73666f726d3d227472616e736c61746528313937203029223e60708401527f3c75736520687265663d22236c696e65222f3e3c2f673e00000000000000000060908401528151608781850301815260a7840190925293506123649184919060c701613a58565b604051602081830303815290604052915081816040516020016123879190613a87565b60408051601f19818403018152908290526123a59291602001613a58565b6040516020818303038152906040529150816123c98560c001518660a001516126ee565b6040516020016123d99190613b62565b60408051601f19818403018152908290526123f79291602001613a58565b6040516020818303038152906040529150816040516020016124fa907f3c7061746820643d224d3637382e382c3833352e32483334352e32632d31362e81527f362c302d33302e322d31332e372d33302e322d33302e325635392e386833363360208201527f2e386331362e362c302c33302e322c31332e372c33302e322c33302e3276373160408201527f342e39433730392c3832322e352c3639352e342c3833352e322c3637382e382c60608201527f3833352e327a222066696c6c3d226e6f6e6522207374726f6b653d222332373260808201527f37323722207374726f6b652d77696474683d2238222f3e00000000000000000060a082015260b70190565b60408051601f19818403018152908290526125189291602001613a58565b60408051601f19818403018152919052949350505050565b606083838360405160200161254793929190613b7e565b60405160208183030381529060405290509392505050565b60008082516041036125955760208301516040840151606085015160001a61258987828585612be5565b9450945050505061259d565b506000905060025b9250929050565b60008160048111156125b8576125b8613c0f565b036125c05750565b60018160048111156125d4576125d4613c0f565b036126215760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610aa1565b600281600481111561263557612635613c0f565b036126825760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610aa1565b600381600481111561269657612696613c0f565b03610aaa5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610aa1565b60408051808201909152600681526533333333333360d11b60208201526060908190602690610144906103169060005b60c8811015612bd8576000898260c8811061273b5761273b6135d5565b6020020151905060ff811615612bc557600060ff871661275c600a856135c1565b61276691906135eb565b6127749061ffff88166131f5565b9050600060ff8816612787600a8661359a565b61279191906135eb565b61279f9061ffff88166135ae565b9050600060405180604001604052806002815260200161737160f01b81525090508b60ff166002036129845760118460ff16101561297f57600b8460ff16815481106127ed576127ed6135d5565b90600052602060002001805461280290613169565b80601f016020809104026020016040519081016040528092919081815260200182805461282e90613169565b801561287b5780601f106128505761010080835404028352916020019161287b565b820191906000526020600020905b81548152906001019060200180831161285e57829003601f168201915b5050505050955060088460ff16111561297f57600c8460ff16116128c857600f6128a6600886613c25565b60ff16815481106128b9576128b96135d5565b906000526020600020016128f3565b600f6128d5600c86613c25565b60ff16815481106128e8576128e86135d5565b906000526020600020015b80546128fe90613169565b80601f016020809104026020016040519081016040528092919081815260200182805461292a90613169565b80156129775780601f1061294c57610100808354040283529160200191612977565b820191906000526020600020905b81548152906001019060200180831161295a57829003601f168201915b505050505090505b612b6a565b8b60ff16600303612a3f57600c8460ff16815481106129a5576129a56135d5565b9060005260206000200180546129ba90613169565b80601f01602080910402602001604051908101604052809291908181526020018280546129e690613169565b8015612a335780601f10612a0857610100808354040283529160200191612a33565b820191906000526020600020905b815481529060010190602001808311612a1657829003601f168201915b50505050509550612b6a565b8b60ff16600403612a6c5760118460ff16101561297f57600d8460ff16815481106127ed576127ed6135d5565b8b60ff16600503612a995760118460ff16101561297f57600e8460ff16815481106127ed576127ed6135d5565b60038460ff16118015612aaf575060088460ff16105b15612b6a57600f612ac1600386613c25565b60ff1681548110612ad457612ad46135d5565b906000526020600020018054612ae990613169565b80601f0160208091040260200160405190810160405280929190818152602001828054612b1590613169565b8015612b625780601f10612b3757610100808354040283529160200191612b62565b820191906000526020600020905b815481529060010190602001808311612b4557829003601f168201915b505050505090505b89612b7484611af4565b612b7d84611af4565b8389604051602001612b929493929190613c3e565b60408051601f1981840301815290829052612bb09291602001613a58565b60405160208183030381529060405299505050505b5080612bd08161356b565b91505061271e565b5093979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612c1c5750600090506003612ca0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612c70573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612c9957600060019250925050612ca0565b9150600090505b94509492505050565b600783019183908215612d2c5791602002820160005b83821115612cfd57835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302612cbf565b8015612d2a5782816101000a81549060ff0219169055600101602081600001049283019260010302612cfd565b505b50612d38929150612d3c565b5090565b5b80821115612d385760008155600101612d3d565b6001600160e01b031981168114610aaa57600080fd5b600060208284031215612d7957600080fd5b813561114d81612d51565b80356001600160a01b0381168114612d9b57600080fd5b919050565b600060208284031215612db257600080fd5b61114d82612d84565b60005b83811015612dd6578181015183820152602001612dbe565b50506000910152565b60008151808452612df7816020860160208601612dbb565b601f01601f19169290920160200192915050565b60208152600061114d6020830184612ddf565b600060208284031215612e3057600080fd5b5035919050565b60008060408385031215612e4a57600080fd5b612e5383612d84565b946020939093013593505050565b600080600060608486031215612e7657600080fd5b612e7f84612d84565b9250612e8d60208501612d84565b9150604084013590509250925092565b80358015158114612d9b57600080fd5b60008060408385031215612ec057600080fd5b612ec983612d84565b9150612ed760208401612e9d565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612f0c57600080fd5b612f1585612d84565b9350612f2360208601612d84565b925060408501359150606085013567ffffffffffffffff80821115612f4757600080fd5b818701915087601f830112612f5b57600080fd5b813581811115612f6d57612f6d612ee0565b604051601f8201601f19908116603f01168101908382118183101715612f9557612f95612ee0565b816040528281528a6020848701011115612fae57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b803561ffff81168114612d9b57600080fd5b803560ff81168114612d9b57600080fd5b60008083601f84011261300757600080fd5b50813567ffffffffffffffff81111561301f57600080fd5b60208301915083602082850101111561259d57600080fd5b6000806000806000806000806000806119e08b8d03121561305757600080fd5b6119008b018c81111561306957600080fd5b8b9a503562ffffff8116811461307e57600080fd5b985061308d6119208c01612fd2565b975061309c6119408c01612fe4565b96506130ab6119608c01612fe4565b95506130ba6119808c01612fe4565b94506119a08b013567ffffffffffffffff808211156130d857600080fd5b6130e48e838f01612ff5565b90965094506119c08d01359150808211156130fe57600080fd5b5061310b8d828e01612ff5565b915080935050809150509295989b9194979a5092959850565b6000806040838503121561313757600080fd5b61314083612d84565b9150612ed760208401612d84565b60006020828403121561316057600080fd5b61114d82612e9d565b600181811c9082168061317d57607f821691505b60208210810361319d57634e487b7160e01b600052602260045260246000fd5b50919050565b6bffffffffffffffffffffffff198460601b168152818360148301376000910160140190815292915050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060d5761060d6131df565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061323b90830184612ddf565b9695505050505050565b60006020828403121561325757600080fd5b815161114d81612d51565b60008151613274818560208601612dbb565b9290920192915050565b69526f77706570656e202360b01b8152600082516132a381600a850160208701612dbb565b91909101600a0192915050565b607b60f81b815267113730b6b2911d1160c11b600182015283516000906132de816009850160208901612dbb565b61088b60f21b60099184019182018190526801134b6b0b3b2911d160bd1b600b8301527f22646174613a696d6167652f7376672b786d6c3b6261736536342c00000000006014830152855161333a81602f850160208a01612dbb565b602f9201918201526e2261747472696275746573223a205b60881b6031820152835161336d816040840160208801612dbb565b605d60f81b91016040810191909152607d60f81b60418201526042810161323b565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516133c781601d850160208701612dbb565b91909101601d0192915050565b6401e39bb33960dd1b81527f786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737660058201527f67222076696577426f783d22302030203130323420313032342220000000000060258201527f7374796c653d2277696474683a313030253b6261636b67726f756e643a23656460408201526532b232b21d9160d11b6060820152601f60f91b60668201527f3c7374796c653e2e6c207b66696c6c3a6e6f6e653b7374726f6b653a2332373260678201527f3732373b7374726f6b652d77696474683a31303b3c2f7374796c653e000000006087820152651e3232b3399f60d11b60a382015283516000906134db8160a9850160208901612dbb565b61323b61355961355361354d60a9858801017f3c672069643d226c696e65223e3c6c696e652078313d22343135222078323d2281527f343135222079313d22393330222079323d22313032342220636c6173733d226c6020820152671110179f1e17b39f60c11b604082015260480190565b88613262565b86613262565b651e17b9bb339f60d11b815260060190565b60006001820161357d5761357d6131df565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826135a9576135a9613584565b500490565b8181038181111561060d5761060d6131df565b6000826135d0576135d0613584565b500690565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761060d5761060d6131df565b60008651613614818460208b01612dbb565b865190830190613628818360208b01612dbb565b865191019061363b818360208a01612dbb565b855191019061364e818360208901612dbb565b8451910190613661818360208801612dbb565b01979650505050505050565b8054600090600181811c908083168061368757607f831692505b602080841082036136a857634e487b7160e01b600052602260045260246000fd5b8180156136bc57600181146136d1576136fe565b60ff19861689528415158502890196506136fe565b60008881526020902060005b868110156136f65781548b8201529085019083016136dd565b505084890196505b50505050505092915050565b7f3c706174682069643d22636865636b222066696c6c2d72756c653d226576656e81527f6f64642220643d224d32312e333620392e38383641332e39333320332e39333360208201527f2030203020302031382038632d312e34323320302d322e36372e3735352d332e60408201527f333620312e38383761332e39333520332e3933352030203020302d342e37353360608201527f20342e37353341332e39333320332e393333203020302030203820313863302060808201527f312e3432332e37353520322e36363920312e38383620332e333661332e39333560a08201527f20332e39333520302030203020342e37353320342e37353320332e393333203360c08201527f2e39333320302030203020342e38363320312e353920332e39353320332e393560e08201527f3320302030203020312e3835382d312e35383920332e39333520332e393335206101008201527f302030203020342e3735332d342e37353441332e39333320332e3933332030206101208201527f30203020323820313861332e39333320332e3933332030203020302d312e38386101408201527f372d332e333620332e39333420332e3933342030203020302d312e3034322d336101608201527f2e37313120332e39333420332e3933342030203020302d332e37312d312e30346101808201527f335a6d2d332e3935382031312e37313320342e3536322d362e383434632e35366101a08201527f362d2e3834362d2e3735312d312e3732342d312e3331362d2e3837386c2d342e6101c08201527f30323620362e3034332d312e3337312d312e333638632d2e3731372d2e3732326101e08201527f2d312e3833362e3339362d312e31313620312e3131366c322e313720322e31356102008201527f612e3738382e37383820302030203020312e3039372d2e32325a222f3e000000610220820152661e17b232b3399f60c91b61023d8201527f3c67207472616e73666f726d3d227472616e736c617465283731332c203135296102448201527f207363616c6528312e3529223e3c75736520687265663d2223636865636b22206102648201526666696c6c3d222360c81b610284820152600061114d613a4061028b84018561366d565b6b111f1e17bab9b29f1e17b39f60a11b8152600c0190565b60008351613a6a818460208801612dbb565b835190830190613a7e818360208801612dbb565b01949350505050565b7f3c7061746820643d224d3637382e382c3833352e32483334352e32632d31362e81527f362c302d33302e322d31332e372d33302e322d33302e325635392e386833363360208201527f2e386331362e362c302c33302e322c31332e372c33302e322c33302e3276373160408201527f342e39433730392c3832322e352c3639352e342c3833352e322c3637382e382c60608201526d1c199a97193d11103334b6361e9160911b608082015260008251613b4881608e850160208701612dbb565b6211179f60e91b608e939091019283015250609101919050565b60008251613b74818460208701612dbb565b9190910192915050565b607b60f81b81526e113a3930b4ba2fba3cb832911d101160891b60018201528351600090613bb3816010850160208901612dbb565b6b1116113b30b63ab2911d101160a11b6010918401918201528451613bdf81601c840160208901612dbb565b61227d60f01b601c92909101918201528351613c0281601e840160208801612dbb565b01601e0195945050505050565b634e487b7160e01b600052602160045260246000fd5b60ff828116828216039081111561060d5761060d6131df565b7f3c67207472616e73666f726d3d227472616e736c617465280000000000000000815260008551613c76816018850160208a01612dbb565b600160fd1b6018918401918201528551613c97816019840160208a01612dbb565b6e29223e3c75736520687265663d222360881b601992909101918201528451613cc7816028840160208901612dbb565b68222066696c6c3d222360b81b602892909101918201528351613cf1816031840160208801612dbb565b6611179f1e17b39f60c91b60319290910191820152603801969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201b2ae808777fe8558663df62b7fb4e886ef3e84584ed9c05c26cd6b848974cc564736f6c63430008120033

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.