ETH Price: $3,481.57 (-0.27%)

Token

Locomotoras (LMT)
 

Overview

Max Total Supply

796 LMT

Holders

263

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
proudape.eth
Balance
2 LMT
0x81dcab1513d88478a3536348d6d7560f2d8762a4
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:
LocomotorasA

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Locomotoras-A.sol
/*
    Alejandro's Locomotoras
            ____
            |DD|____T_
            |_ |_____|<
              @-@-@-oo\
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./SignedAllowance.sol";
import "./OperatorFilterer.sol";

/// @title Alejandro's Locomotoras
/// @author of the contract filio.eth (twitter.com/filmakarov)

interface IPrevCol { 
    function ownerOf(uint256 tokenId) external view returns (address);
    function MAX_ITEMS() external view returns (uint256); 
    function tokensOfOwner(address tokenOwner) external view returns (uint256[] memory);
}

contract LocomotorasA is ERC721A, Ownable, SignedAllowance, OperatorFilterer {  

    using Strings for uint256;

    event ChangeSent (address indexed receiver, uint256 indexed amount);

    /*///////////////////////////////////////////////////////////////
                                GENERAL STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public constant MAX_ITEMS = 2345;

    IPrevCol private blankTokenContract;

    string public baseURI;
    bool public saleState;
    bool public publicSaleState;

    uint256 public regularPrice = 35000000000000000; // 0.035 eth
    uint256 public cDAOPrice = 20000000000000000; // 0.02 eth
    uint256 public blankHoldersPrice = 25000000000000000; // 0.025 eth
    uint256 public vinylHoldersPrice = 10000000000000000; // 0.01 eth

    mapping (address => address) public replacedWallets;

    mapping (uint256 => uint256) public blankTokenClaimed;
    
    /*///////////////////////////////////////////////////////////////
                                INITIALISATION
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol, string memory _myBase) 
        ERC721A(_name, _symbol) 
        OperatorFilterer(address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6), false) {
            baseURI = _myBase; 
    }

    /*///////////////////////////////////////////////////////////////
                        MINTING LOGIC
    //////////////////////////////////////////////////////////////*/

        // allowlist mint and cdao mint thru snapshot
    function mint(address to, uint256 nonce, bytes memory signature) public payable {
        require (saleState, "Presale not active");
    
        //price is stored in the right-most 128 bits of the nonce
        uint256 price = (nonce << 128) >> 128;

        //qty is stored in the middle 64 bytes
        uint256 qty = ((nonce >> 128) << 192) >>192;

        require (msg.value >= price * qty, "mint(): Not Enough Eth");
 
        require(totalSupply() + qty <= MAX_ITEMS, ">MaxSupply");
        
        // this will throw if the allowance has already been used or is not valid
        _useAllowance(to, nonce, signature);

        _safeMint(to, qty); 
    }

    // Blank Token holders mint
    function blankHoldersMint (uint256[] calldata ownedTokens) external payable {
        require (saleState, "Presale not active");
        require (msg.value >= blankHoldersPrice * ownedTokens.length, "Not enough eth sent");

        address tokenOwner = checkReplacement(msg.sender);
        uint256 etherLeft = msg.value;
        uint256 qty = 0;

        for (uint256 i=0; i<ownedTokens.length; i++) {
            uint256 curTokenId = ownedTokens[i];
            if (blankTokenContract.ownerOf(curTokenId) == tokenOwner && blankTokenClaimed[curTokenId]==0 && curTokenId < blankTokenContract.MAX_ITEMS()) {
                etherLeft -= blankHoldersPrice; // can't go below zero because of a require above; in any case, no underflows with solidity 8.
                blankTokenClaimed[curTokenId] += 1;
                // we check every time coz maybe there are some skips, so we can't just check with total increase
                require(totalSupply() + 1 <= MAX_ITEMS, ">MaxSupply");
                qty++; 
            }
        }
        if (qty>0) {
            _safeMint(msg.sender, qty);
        }

        // return change if it has left
        if (etherLeft >= 0) {
            // since etherLeft is a local variable, there is no need to clear it,
            // even if someone decides to re-enter, etherLeft will be overwritten by the new msg.value
            // in fact there's no reason to re-enter here as you have to pay every time you call this method
            returnChange(etherLeft);
        }
    }

    // Vinyl holders mint (max 2 per every Vinyl token)
    function vinylHoldersMint (uint256[] calldata ownedTokens, uint256[] calldata usages) external payable {
        require (saleState, "Presale not active");
        require (ownedTokens.length == usages.length, "Array lenghts should match");

        // no msg.value check as it requires a for loop to calculate eth required for the tx
        // if not enough eth is provided, it will throw below

        address tokenOwner = checkReplacement(msg.sender);
        uint256 etherLeft = msg.value;
        uint256 qty = 0;

        for (uint256 i=0; i<ownedTokens.length; i++) {
            uint256 curTokenId = ownedTokens[i];
            uint256 tokensToMint = usages[i];
            if (blankTokenContract.ownerOf(curTokenId) == tokenOwner && curTokenId >= blankTokenContract.MAX_ITEMS()) {
                // explicitly revert here if usage is wrong - for more clarity
                require(blankTokenClaimed[curTokenId]+tokensToMint<=2, "Vinyl token mint limit exceeded");
                // will revert if goes below zero as no more underflows with solidity 8.
                etherLeft -= vinylHoldersPrice * tokensToMint;
                blankTokenClaimed[curTokenId] += tokensToMint;
                require(totalSupply() + tokensToMint <= MAX_ITEMS, ">MaxSupply");
                for (uint j=0; j<tokensToMint; j++) {
                    qty++;
                }
            }
        }
        if (qty>0) {
            _safeMint(msg.sender, qty); 
        }

        // return change if it has left
        if (etherLeft >= 0) {
            // since etherLeft is a local variable, there is no need to clear it,
            // even if someone decides to re-enter, etherLeft will be overwritten by the new msg.value
            // in fact there's no reason to re-enter here as you have to pay every time you call this method
            returnChange(etherLeft);
        }
    }

    // public mint, max 1 NFT per tx
    function publicMint() public payable {
        require (publicSaleState, "Public Sale not active");
    
        require(totalSupply() + 1 <= MAX_ITEMS, ">MaxSupply");
        require (msg.value >= regularPrice, "Not Enough Eth");
        _safeMint(msg.sender, 1);         
    }

    // adminMint
    function adminMint(address to, uint256 qty) public onlyOwner {
        require(totalSupply() + qty <= MAX_ITEMS, ">MaxSupply");
        _safeMint(to, qty); 
    }

    function returnChange(uint256 amount) private {
            (bool success, ) = (msg.sender).call{value: amount}("");
            if (!success) revert ("Recepient can not accept change");
            emit ChangeSent(msg.sender, amount);
    }

    /*///////////////////////////////////////////////////////////////
                       ROYALTIES PROTECTION
    //////////////////////////////////////////////////////////////*/

    function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public payable 
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    /*///////////////////////////////////////////////////////////////
                       WALLET MANAGEMENT FOR HOLDERS
    //////////////////////////////////////////////////////////////*/

    function replaceWallet(address newWallet) external {
        replacedWallets[newWallet] = msg.sender;
    }

    function checkReplacement(address currentWallet) public view returns (address) {
        if (replacedWallets[currentWallet] != address(0)) {
            return replacedWallets[currentWallet];
        } else {
            return currentWallet;
        }
    }

    /*///////////////////////////////////////////////////////////////
                       PUBLIC METADATA VIEWS
    //////////////////////////////////////////////////////////////*/

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "Locomotoras: this token does not exist");
        return string(abi.encodePacked(baseURI, tokenId.toString(), ".json"));
    }

    /*///////////////////////////////////////////////////////////////
                       VIEWS
    //////////////////////////////////////////////////////////////*/

    /// @notice Iterates over all the exisitng tokens and checks if they belong to the user
    /// This function uses very much resources.
    /// !!! NEVER USE this function with write transactions DIRECTLY. 
    /// Only read from it and then pass data to the write tx
    /// @param tokenOwner user to get tokens of
    /// @return the array of token IDs 
    function tokensOfOwner(address tokenOwner) external view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(tokenOwner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 resultIndex = 0;
            uint256 NFTId;
            for (NFTId = 0; NFTId < _nextTokenId(); NFTId++) { 
                if (_exists(NFTId)) { 
                    if (ownerOf(NFTId) == tokenOwner) {
                        result[resultIndex] = NFTId;
                        resultIndex++;
                    }
                } 
            }     
            return result;
        }
    }

    // @dev interface compatibility 

    function nextTokenIndex() public view returns (uint256) {
        return _nextTokenId();
    }

    function getBlankTokenUsages(address owner) public view returns (uint256[] memory, uint256[] memory) {
        uint256[] memory tokensIds = blankTokenContract.tokensOfOwner(owner);
        uint256[] memory usages = new uint256[](tokensIds.length);
        for (uint256 i=0; i<tokensIds.length; i++) {
            usages[i] = (blankTokenClaimed[tokensIds[i]]);
        }
        return(tokensIds, usages);
    }
    

    /*///////////////////////////////////////////////////////////////
                       ADMIN FUNCTIONS
    //////////////////////////////////////////////////////////////*/
    
    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function switchSaleState() public onlyOwner {
        saleState = !saleState;
    }

    function switchPublicSaleState() public onlyOwner {
        publicSaleState = !publicSaleState;
    }

    function setBlankContract(address _blankTokenAddress) public onlyOwner {
        blankTokenContract = IPrevCol(_blankTokenAddress);
    }

    /// @notice sets allowance signer, this can be used to revoke all unused allowances already out there
    /// @param newSigner the new signer
    function setAllowancesSigner(address newSigner) external onlyOwner {
        _setAllowancesSigner(newSigner);
    }

    /// @notice Withdraws funds from the contract to msg.sender who is always the owner.
    /// No need to use reentrancy guard as receiver is always owner
    /// @param amt amount to withdraw in wei
    function withdraw(uint256 amt) public onlyOwner {
         address payable beneficiary = payable(owner());
        (bool success, ) = beneficiary.call{value: amt}("");
        if (!success) revert ("Withdrawal failed");
    } 
}

//   That's all, folks!

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 4 of 11 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @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) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 11 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 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 10, 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 * 8) < value ? 1 : 0);
        }
    }
}

File 6 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.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 `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);
    }
}

File 7 of 11 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 8 of 11 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

File 9 of 11 : SignedAllowance.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol';

/// @title SignedAllowance
/// @author Simon Fremaux (@dievardump)
contract SignedAllowance {
    using ECDSA for bytes32;

    // list of already used allowances
    mapping(bytes32 => bool) public usedAllowances;

    // address used to sign the allowances
    address private _allowancesSigner;

    /// @notice Helper to know allowancesSigner address
    /// @return the allowance signer address
    function allowancesSigner() public view virtual returns (address) {
        return _allowancesSigner;
    }

    /// @notice Helper that creates the message that signer needs to sign to allow a mint
    ///         this is usually also used when creating the allowances, to ensure "message"
    ///         is the same
    /// @param account the account to allow
    /// @param nonce the nonce
    /// @return the message to sign
    function createMessage(address account, uint256 nonce)
        public
        view
        returns (bytes32)
    {
        return keccak256(abi.encode(account, nonce, address(this)));
    }

    /// @notice Helper that creates a list of messages that signer needs to sign to allow mintings
    /// @param accounts the accounts to allow
    /// @param nonces the corresponding nonces
    /// @return messages the messages to sign
  /*  
    // function is commented out to save space in the contract
    // to batch create message will need to use for loop with the createMessage function

    function createMessages(address[] memory accounts, uint256[] memory nonces)
        external
        view
        returns (bytes32[] memory messages)
    {
        require(accounts.length == nonces.length, '!LENGTH_MISMATCH!');
        messages = new bytes32[](accounts.length);
        for (uint256 i; i < accounts.length; i++) {
            messages[i] = createMessage(accounts[i], nonces[i]);
        }
    } */

    /// @notice This function verifies that the current request is valid
    /// @dev It ensures that _allowancesSigner signed a message containing (account, nonce, address(this))
    ///      and that this message was not already used
    /// @param account the account the allowance is associated to
    /// @param nonce the nonce associated to this allowance
    /// @param signature the signature by the allowance signer wallet
    /// @return the message to mark as used
    function validateSignature(
        address account,
        uint256 nonce,
        bytes memory signature
    ) public view returns (bytes32) {
        return
            _validateSignature(account, nonce, signature, allowancesSigner());
    }

    /// @dev It ensures that signer signed a message containing (account, nonce, address(this))
    ///      and that this message was not already used
    /// @param account the account the allowance is associated to
    /// @param nonce the nonce associated to this allowance
    /// @param signature the signature by the allowance signer wallet
    /// @param signer the signer
    /// @return the message to mark as used
    function _validateSignature(
        address account,
        uint256 nonce,
        bytes memory signature,
        address signer
    ) internal view returns (bytes32) {
        bytes32 message = createMessage(account, nonce)
            .toEthSignedMessageHash();

        // verifies that the sha3(account, nonce, address(this)) has been signed by signer
        require(message.recover(signature) == signer, '!INVALID_SIGNATURE!');

        // verifies that the allowances was not already used
        require(usedAllowances[message] == false, '!ALREADY_USED!');

        return message;
    }

    /// @notice internal function that verifies an allowance and marks it as used
    ///         this function throws if signature is wrong or this nonce for this user has already been used
    /// @param account the account the allowance is associated to
    /// @param nonce the nonce
    /// @param signature the signature by the allowance wallet
    function _useAllowance(
        address account,
        uint256 nonce,
        bytes memory signature
    ) internal {
        bytes32 message = validateSignature(account, nonce, signature);
        usedAllowances[message] = true;
    }

    /// @notice Allows to change the allowance signer. This can be used to revoke any signed allowance not already used
    /// @param newSigner the new signer address
    function _setAllowancesSigner(address newSigner) internal {
        _allowancesSigner = newSigner;
    }
}

File 10 of 11 : 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 11 of 11 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_myBase","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ChangeSent","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":[],"name":"MAX_ITEMS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowancesSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ownedTokens","type":"uint256[]"}],"name":"blankHoldersMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"blankHoldersPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blankTokenClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cDAOPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"currentWallet","type":"address"}],"name":"checkReplacement","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"createMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"address","name":"owner","type":"address"}],"name":"getBlankTokenUsages","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"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":"nextTokenIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"regularPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"replaceWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"replacedWallets","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"saleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setAllowancesSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_blankTokenAddress","type":"address"}],"name":"setBlankContract","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":"switchPublicSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"usedAllowances","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"validateSignature","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ownedTokens","type":"uint256[]"},{"internalType":"uint256[]","name":"usages","type":"uint256[]"}],"name":"vinylHoldersMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"vinylHoldersPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052667c585087238000600e5566470de4df820000600f556658d15e17628000601055662386f26fc100006011553480156200003d57600080fd5b5060405162005e0438038062005e0483398181016040528101906200006391906200061f565b733cc6cdda760b79bafa08df41ecfa224f810dceb660008484816002908051906020019062000094929190620003d2565b508060039080519060200190620000ad929190620003d2565b50620000be620002ff60201b60201c565b6000819055505050620000e6620000da6200030460201b60201c565b6200030c60201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002db578015620001a1576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001679291906200071d565b600060405180830381600087803b1580156200018257600080fd5b505af115801562000197573d6000803e3d6000fd5b50505050620002da565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200025b576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002219291906200071d565b600060405180830381600087803b1580156200023c57600080fd5b505af115801562000251573d6000803e3d6000fd5b50505050620002d9565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002a491906200074a565b600060405180830381600087803b158015620002bf57600080fd5b505af1158015620002d4573d6000803e3d6000fd5b505050505b5b5b505080600c9080519060200190620002f5929190620003d2565b50505050620007cb565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003e09062000796565b90600052602060002090601f01602090048101928262000404576000855562000450565b82601f106200041f57805160ff191683800117855562000450565b8280016001018555821562000450579182015b828111156200044f57825182559160200191906001019062000432565b5b5090506200045f919062000463565b5090565b5b808211156200047e57600081600090555060010162000464565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004eb82620004a0565b810181811067ffffffffffffffff821117156200050d576200050c620004b1565b5b80604052505050565b60006200052262000482565b9050620005308282620004e0565b919050565b600067ffffffffffffffff821115620005535762000552620004b1565b5b6200055e82620004a0565b9050602081019050919050565b60005b838110156200058b5780820151818401526020810190506200056e565b838111156200059b576000848401525b50505050565b6000620005b8620005b28462000535565b62000516565b905082815260208101848484011115620005d757620005d66200049b565b5b620005e48482856200056b565b509392505050565b600082601f83011262000604576200060362000496565b5b815162000616848260208601620005a1565b91505092915050565b6000806000606084860312156200063b576200063a6200048c565b5b600084015167ffffffffffffffff8111156200065c576200065b62000491565b5b6200066a86828701620005ec565b935050602084015167ffffffffffffffff8111156200068e576200068d62000491565b5b6200069c86828701620005ec565b925050604084015167ffffffffffffffff811115620006c057620006bf62000491565b5b620006ce86828701620005ec565b9150509250925092565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200070582620006d8565b9050919050565b6200071781620006f8565b82525050565b60006040820190506200073460008301856200070c565b6200074360208301846200070c565b9392505050565b60006020820190506200076160008301846200070c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007af57607f821691505b602082108103620007c557620007c462000767565b5b50919050565b61562980620007db6000396000f3fe6080604052600436106102885760003560e01c80636c0360eb1161015a57806395d89b41116100c1578063e58306f91161007a578063e58306f914610978578063e985e9c5146109a1578063efc4f1dc146109de578063f2fde38b146109f5578063f77079dc14610a1e578063feff199914610a5c57610288565b806395d89b4114610884578063a22cb465146108af578063b88d4fde146108d8578063bcff675c146108f4578063c84d3e701461091f578063c87b56dd1461093b57610288565b80638462151c116101135780638462151c1461076d5780638838b5c3146107aa578063890621da146107d55780638da5cb5b1461081257806393a872bd1461083d57806394d008ef1461086857610288565b80636c0360eb1461067c5780636f0680e8146106a757806370a08231146106d2578063715018a61461070f57806371adc02a146107265780637c32a9c51461075157610288565b80632e1a7d4d116101fe57806355f804b3116101b757806355f804b31461057e57806357d4c4ee146105a7578063603f4d52146105d25780636352211e146105fd57806363a436cd1461063a57806368cccfb51461065157610288565b80632e1a7d4d1461046b57806342842e0e146104945780634a497ef3146104b05780634b7b1a25146104ed5780634df18b2114610516578063522439ef1461055357610288565b8063095ea7b311610250578063095ea7b31461039857806318160ddd146103b4578063195e8708146103df5780632073447d1461041c57806323b872dd1461044557806326092b831461046157610288565b806301844f301461028d57806301ffc9a7146102b657806306fdde03146102f357806307fb570c1461031e578063081812fc1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613c8b565b610a99565b005b3480156102c257600080fd5b506102dd60048036038101906102d89190613d10565b610b1a565b6040516102ea9190613d58565b60405180910390f35b3480156102ff57600080fd5b50610308610bac565b6040516103159190613e0c565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190613e64565b610c3e565b6040516103529190613ea0565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d9190613e64565b610c56565b60405161038f9190613eca565b60405180910390f35b6103b260048036038101906103ad9190613ee5565b610cd5565b005b3480156103c057600080fd5b506103c9610e19565b6040516103d69190613ea0565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190613f5b565b610e30565b6040516104139190613d58565b60405180910390f35b34801561042857600080fd5b50610443600480360381019061043e9190613c8b565b610e50565b005b61045f600480360381019061045a9190613f88565b610e64565b005b610469611046565b005b34801561047757600080fd5b50610492600480360381019061048d9190613e64565b61113f565b005b6104ae60048036038101906104a99190613f88565b611204565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190613c8b565b6113e6565b6040516104e49190613eca565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f9190613c8b565b611419565b005b34801561052257600080fd5b5061053d60048036038101906105389190613c8b565b611465565b60405161054a9190613eca565b60405180910390f35b34801561055f57600080fd5b50610568611569565b6040516105759190613ea0565b60405180910390f35b34801561058a57600080fd5b506105a560048036038101906105a09190614110565b611578565b005b3480156105b357600080fd5b506105bc61159a565b6040516105c99190613ea0565b60405180910390f35b3480156105de57600080fd5b506105e76115a0565b6040516105f49190613d58565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f9190613e64565b6115b3565b6040516106319190613eca565b60405180910390f35b34801561064657600080fd5b5061064f6115c5565b005b34801561065d57600080fd5b506106666115f9565b6040516106739190613ea0565b60405180910390f35b34801561068857600080fd5b506106916115ff565b60405161069e9190613e0c565b60405180910390f35b3480156106b357600080fd5b506106bc61168d565b6040516106c99190613ea0565b60405180910390f35b3480156106de57600080fd5b506106f960048036038101906106f49190613c8b565b611693565b6040516107069190613ea0565b60405180910390f35b34801561071b57600080fd5b5061072461174b565b005b34801561073257600080fd5b5061073b61175f565b6040516107489190613d58565b60405180910390f35b61076b600480360381019061076691906141b9565b611772565b005b34801561077957600080fd5b50610794600480360381019061078f9190613c8b565b611b42565b6040516107a191906142f8565b60405180910390f35b3480156107b657600080fd5b506107bf611ca4565b6040516107cc9190613eca565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f791906143bb565b611cce565b6040516108099190614439565b60405180910390f35b34801561081e57600080fd5b50610827611cec565b6040516108349190613eca565b60405180910390f35b34801561084957600080fd5b50610852611d16565b60405161085f9190613ea0565b60405180910390f35b610882600480360381019061087d91906143bb565b611d1c565b005b34801561089057600080fd5b50610899611e48565b6040516108a69190613e0c565b60405180910390f35b3480156108bb57600080fd5b506108d660048036038101906108d19190614480565b611eda565b005b6108f260048036038101906108ed91906144c0565b611fe5565b005b34801561090057600080fd5b506109096121ca565b6040516109169190613ea0565b60405180910390f35b61093960048036038101906109349190614543565b6121d0565b005b34801561094757600080fd5b50610962600480360381019061095d9190613e64565b61251e565b60405161096f9190613e0c565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a9190613ee5565b61259a565b005b3480156109ad57600080fd5b506109c860048036038101906109c39190614590565b612607565b6040516109d59190613d58565b60405180910390f35b3480156109ea57600080fd5b506109f361269b565b005b348015610a0157600080fd5b50610a1c6004803603810190610a179190613c8b565b6126cf565b005b348015610a2a57600080fd5b50610a456004803603810190610a409190613c8b565b612752565b604051610a539291906145d0565b60405180910390f35b348015610a6857600080fd5b50610a836004803603810190610a7e9190613ee5565b6128c2565b604051610a909190614439565b60405180910390f35b33601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b7557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ba55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610bbb90614636565b80601f0160208091040260200160405190810160405280929190818152602001828054610be790614636565b8015610c345780601f10610c0957610100808354040283529160200191610c34565b820191906000526020600020905b815481529060010190602001808311610c1757829003601f168201915b5050505050905090565b60136020528060005260406000206000915090505481565b6000610c61826128f7565b610c97576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ce0826115b3565b90508073ffffffffffffffffffffffffffffffffffffffff16610d01612956565b73ffffffffffffffffffffffffffffffffffffffff1614610d6457610d2d81610d28612956565b612607565b610d63576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610e2361295e565b6001546000540303905090565b60096020528060005260406000206000915054906101000a900460ff1681565b610e58612963565b610e61816129e1565b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611034573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ed657610ed1848484612a25565b611040565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f1f929190614667565b602060405180830381865afa158015610f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6091906146a5565b8015610ff257506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610fb0929190614667565b602060405180830381865afa158015610fcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff191906146a5565b5b61103357336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161102a9190613eca565b60405180910390fd5b5b61103f848484612a25565b5b50505050565b600d60019054906101000a900460ff16611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108c9061471e565b60405180910390fd5b61092960016110a2610e19565b6110ac919061476d565b11156110ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e49061480f565b60405180910390fd5b600e54341015611132576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111299061487b565b60405180910390fd5b61113d336001612d47565b565b611147612963565b6000611151611cec565b905060008173ffffffffffffffffffffffffffffffffffffffff1683604051611179906148cc565b60006040518083038185875af1925050503d80600081146111b6576040519150601f19603f3d011682016040523d82523d6000602084013e6111bb565b606091505b50509050806111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f69061492d565b60405180910390fd5b505050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113d4573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361127657611271848484612d65565b6113e0565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112bf929190614667565b602060405180830381865afa1580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130091906146a5565b801561139257506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611350929190614667565b602060405180830381865afa15801561136d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139191906146a5565b5b6113d357336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113ca9190613eca565b60405180910390fd5b5b6113df848484612d65565b5b50505050565b60126020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611421612963565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff16601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461156057601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050611564565b8190505b919050565b6000611573612d85565b905090565b611580612963565b80600c9080519060200190611596929190613b76565b5050565b61092981565b600d60009054906101000a900460ff1681565b60006115be82612d8e565b9050919050565b6115cd612963565b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b600e5481565b600c805461160c90614636565b80601f016020809104026020016040519081016040528092919081815260200182805461163890614636565b80156116855780601f1061165a57610100808354040283529160200191611685565b820191906000526020600020905b81548152906001019060200180831161166857829003601f168201915b505050505081565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116fa576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611753612963565b61175d6000612e5a565b565b600d60019054906101000a900460ff1681565b600d60009054906101000a900460ff166117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b890614999565b60405180910390fd5b818190508484905014611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090614a05565b60405180910390fd5b600061181433611465565b905060003490506000805b87879050811015611b1257600088888381811061183f5761183e614a25565b5b905060200201359050600087878481811061185d5761185c614a25565b5b9050602002013590508573ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016118d89190613ea0565b602060405180830381865afa1580156118f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119199190614a69565b73ffffffffffffffffffffffffffffffffffffffff161480156119cc5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166357d4c4ee6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c89190614aab565b8210155b15611afd5760028160136000858152602001908152602001600020546119f2919061476d565b1115611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90614b24565b60405180910390fd5b80601154611a419190614b44565b85611a4c9190614b9e565b945080601360008481526020019081526020016000206000828254611a71919061476d565b9250508190555061092981611a84610e19565b611a8e919061476d565b1115611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac69061480f565b60405180910390fd5b60005b81811015611afb578480611ae590614bd2565b9550508080611af390614bd2565b915050611ad2565b505b50508080611b0a90614bd2565b91505061181f565b506000811115611b2757611b263382612d47565b5b60008210611b3957611b3882612f20565b5b50505050505050565b60606000611b4f83611693565b905060008103611bab57600067ffffffffffffffff811115611b7457611b73613fe5565b5b604051908082528060200260200182016040528015611ba25781602001602082028036833780820191505090505b50915050611c9f565b60008167ffffffffffffffff811115611bc757611bc6613fe5565b5b604051908082528060200260200182016040528015611bf55781602001602082028036833780820191505090505b5090506000805b611c04612d85565b811015611c9757611c14816128f7565b15611c84578573ffffffffffffffffffffffffffffffffffffffff16611c39826115b3565b73ffffffffffffffffffffffffffffffffffffffff1603611c835780838381518110611c6857611c67614a25565b5b6020026020010181815250508180611c7f90614bd2565b9250505b5b8080611c8f90614bd2565b915050611bfc565b829450505050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611ce3848484611cde611ca4565b613014565b90509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b600d60009054906101000a900460ff16611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6290614999565b60405180910390fd5b600060808084901b901c9050600060c080608086901c901b901c90508082611d939190614b44565b341015611dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcc90614c66565b60405180910390fd5b61092981611de1610e19565b611deb919061476d565b1115611e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e239061480f565b60405180910390fd5b611e3785858561311e565b611e418582612d47565b5050505050565b606060038054611e5790614636565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8390614636565b8015611ed05780601f10611ea557610100808354040283529160200191611ed0565b820191906000526020600020905b815481529060010190602001808311611eb357829003601f168201915b5050505050905090565b8060076000611ee7612956565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f94612956565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fd99190613d58565b60405180910390a35050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156121b6573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612058576120538585858561315f565b6121c3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016120a1929190614667565b602060405180830381865afa1580156120be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e291906146a5565b801561217457506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612132929190614667565b602060405180830381865afa15801561214f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217391906146a5565b5b6121b557336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121ac9190613eca565b60405180910390fd5b5b6121c28585858561315f565b5b5050505050565b60115481565b600d60009054906101000a900460ff1661221f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221690614999565b60405180910390fd5b818190506010546122309190614b44565b341015612272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226990614cd2565b60405180910390fd5b600061227d33611465565b905060003490506000805b858590508110156124f05760008686838181106122a8576122a7614a25565b5b9050602002013590508473ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016123239190613ea0565b602060405180830381865afa158015612340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123649190614a69565b73ffffffffffffffffffffffffffffffffffffffff1614801561239a575060006013600083815260200190815260200160002054145b80156124355750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166357d4c4ee6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561240e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124329190614aab565b81105b156124dc57601054846124489190614b9e565b9350600160136000838152602001908152602001600020600082825461246e919061476d565b925050819055506109296001612482610e19565b61248c919061476d565b11156124cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c49061480f565b60405180910390fd5b82806124d890614bd2565b9350505b5080806124e890614bd2565b915050612288565b506000811115612505576125043382612d47565b5b600082106125175761251682612f20565b5b5050505050565b6060612529826128f7565b612568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255f90614d64565b60405180910390fd5b600c612573836131d2565b604051602001612584929190614ea0565b6040516020818303038152906040529050919050565b6125a2612963565b610929816125ae610e19565b6125b8919061476d565b11156125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f09061480f565b60405180910390fd5b6126038282612d47565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126a3612963565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6126d7612963565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273d90614f41565b60405180910390fd5b61274f81612e5a565b50565b6060806000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638462151c856040518263ffffffff1660e01b81526004016127b29190613eca565b600060405180830381865afa1580156127cf573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127f89190615024565b90506000815167ffffffffffffffff81111561281757612816613fe5565b5b6040519080825280602002602001820160405280156128455781602001602082028036833780820191505090505b50905060005b82518110156128b4576013600084838151811061286b5761286a614a25565b5b602002602001015181526020019081526020016000205482828151811061289557612894614a25565b5b60200260200101818152505080806128ac90614bd2565b91505061284b565b508181935093505050915091565b60008282306040516020016128d99392919061506d565b60405160208183030381529060405280519060200120905092915050565b60008161290261295e565b11158015612911575060005482105b801561294f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b61296b6132a0565b73ffffffffffffffffffffffffffffffffffffffff16612989611cec565b73ffffffffffffffffffffffffffffffffffffffff16146129df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d6906150f0565b60405180910390fd5b565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000612a3082612d8e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612a97576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612aa3846132a8565b91509150612ab98187612ab4612956565b6132cf565b612b0557612ace86612ac9612956565b612607565b612b04576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612b6b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b788686866001613313565b8015612b8357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612c5185612c2d888887613319565b7c020000000000000000000000000000000000000000000000000000000017613341565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603612cd75760006001850190506000600460008381526020019081526020016000205403612cd5576000548114612cd4578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d3f868686600161336c565b505050505050565b612d61828260405180602001604052806000815250613372565b5050565b612d8083838360405180602001604052806000815250611fe5565b505050565b60008054905090565b60008082905080612d9d61295e565b11612e2357600054811015612e225760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612e20575b60008103612e16576004600083600190039350838152602001908152602001600020549050612dec565b8092505050612e55565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60003373ffffffffffffffffffffffffffffffffffffffff1682604051612f46906148cc565b60006040518083038185875af1925050503d8060008114612f83576040519150601f19603f3d011682016040523d82523d6000602084013e612f88565b606091505b5050905080612fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc39061515c565b60405180910390fd5b813373ffffffffffffffffffffffffffffffffffffffff167ff0397e840d859d58727573b3f025f2a8cee37de811c21ee59b2413d874cbaf1960405160405180910390a35050565b60008061302961302487876128c2565b61340f565b90508273ffffffffffffffffffffffffffffffffffffffff16613055858361343f90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146130ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a2906151c8565b60405180910390fd5b600015156009600083815260200190815260200160002060009054906101000a900460ff16151514613112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310990615234565b60405180910390fd5b80915050949350505050565b600061312b848484611cce565b905060016009600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b61316a848484610e64565b60008373ffffffffffffffffffffffffffffffffffffffff163b146131cc5761319584848484613466565b6131cb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600060016131e1846135b6565b01905060008167ffffffffffffffff811115613200576131ff613fe5565b5b6040519080825280601f01601f1916602001820160405280156132325781602001600182028036833780820191505090505b509050600082602001820190505b600115613295578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161328957613288615254565b5b04945060008503613240575b819350505050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613330868684613709565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61337c8383613712565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461340a57600080549050600083820390505b6133bc6000868380600101945086613466565b6133f2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106133a957816000541461340757600080fd5b50505b505050565b60008160405160200161342291906152f0565b604051602081830303815290604052805190602001209050919050565b600080600061344e85856138cd565b9150915061345b8161391e565b819250505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348c612956565b8786866040518563ffffffff1660e01b81526004016134ae949392919061536b565b6020604051808303816000875af19250505080156134ea57506040513d601f19601f820116820180604052508101906134e791906153cc565b60015b613563573d806000811461351a576040519150601f19603f3d011682016040523d82523d6000602084013e61351f565b606091505b50600081510361355b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613614577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161360a57613609615254565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613651576d04ee2d6d415b85acef8100000000838161364757613646615254565b5b0492506020810190505b662386f26fc10000831061368057662386f26fc10000838161367657613675615254565b5b0492506010810190505b6305f5e10083106136a9576305f5e100838161369f5761369e615254565b5b0492506008810190505b61271083106136ce5761271083816136c4576136c3615254565b5b0492506004810190505b606483106136f157606483816136e7576136e6615254565b5b0492506002810190505b600a8310613700576001810190505b80915050919050565b60009392505050565b60008054905060008203613752576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61375f6000848385613313565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506137d6836137c76000866000613319565b6137d085613a84565b17613341565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461387757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061383c565b50600082036138b2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506138c8600084838561336c565b505050565b600080604183510361390e5760008060006020860151925060408601519150606086015160001a905061390287828585613a94565b94509450505050613917565b60006002915091505b9250929050565b60006004811115613932576139316153f9565b5b816004811115613945576139446153f9565b5b0315613a81576001600481111561395f5761395e6153f9565b5b816004811115613972576139716153f9565b5b036139b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a990615474565b60405180910390fd5b600260048111156139c6576139c56153f9565b5b8160048111156139d9576139d86153f9565b5b03613a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a10906154e0565b60405180910390fd5b60036004811115613a2d57613a2c6153f9565b5b816004811115613a4057613a3f6153f9565b5b03613a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7790615572565b60405180910390fd5b5b50565b60006001821460e11b9050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613acf576000600391509150613b6d565b600060018787878760405160008152602001604052604051613af494939291906155ae565b6020604051602081039080840390855afa158015613b16573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613b6457600060019250925050613b6d565b80600092509250505b94509492505050565b828054613b8290614636565b90600052602060002090601f016020900481019282613ba45760008555613beb565b82601f10613bbd57805160ff1916838001178555613beb565b82800160010185558215613beb579182015b82811115613bea578251825591602001919060010190613bcf565b5b509050613bf89190613bfc565b5090565b5b80821115613c15576000816000905550600101613bfd565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c5882613c2d565b9050919050565b613c6881613c4d565b8114613c7357600080fd5b50565b600081359050613c8581613c5f565b92915050565b600060208284031215613ca157613ca0613c23565b5b6000613caf84828501613c76565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ced81613cb8565b8114613cf857600080fd5b50565b600081359050613d0a81613ce4565b92915050565b600060208284031215613d2657613d25613c23565b5b6000613d3484828501613cfb565b91505092915050565b60008115159050919050565b613d5281613d3d565b82525050565b6000602082019050613d6d6000830184613d49565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dad578082015181840152602081019050613d92565b83811115613dbc576000848401525b50505050565b6000601f19601f8301169050919050565b6000613dde82613d73565b613de88185613d7e565b9350613df8818560208601613d8f565b613e0181613dc2565b840191505092915050565b60006020820190508181036000830152613e268184613dd3565b905092915050565b6000819050919050565b613e4181613e2e565b8114613e4c57600080fd5b50565b600081359050613e5e81613e38565b92915050565b600060208284031215613e7a57613e79613c23565b5b6000613e8884828501613e4f565b91505092915050565b613e9a81613e2e565b82525050565b6000602082019050613eb56000830184613e91565b92915050565b613ec481613c4d565b82525050565b6000602082019050613edf6000830184613ebb565b92915050565b60008060408385031215613efc57613efb613c23565b5b6000613f0a85828601613c76565b9250506020613f1b85828601613e4f565b9150509250929050565b6000819050919050565b613f3881613f25565b8114613f4357600080fd5b50565b600081359050613f5581613f2f565b92915050565b600060208284031215613f7157613f70613c23565b5b6000613f7f84828501613f46565b91505092915050565b600080600060608486031215613fa157613fa0613c23565b5b6000613faf86828701613c76565b9350506020613fc086828701613c76565b9250506040613fd186828701613e4f565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61401d82613dc2565b810181811067ffffffffffffffff8211171561403c5761403b613fe5565b5b80604052505050565b600061404f613c19565b905061405b8282614014565b919050565b600067ffffffffffffffff82111561407b5761407a613fe5565b5b61408482613dc2565b9050602081019050919050565b82818337600083830152505050565b60006140b36140ae84614060565b614045565b9050828152602081018484840111156140cf576140ce613fe0565b5b6140da848285614091565b509392505050565b600082601f8301126140f7576140f6613fdb565b5b81356141078482602086016140a0565b91505092915050565b60006020828403121561412657614125613c23565b5b600082013567ffffffffffffffff81111561414457614143613c28565b5b614150848285016140e2565b91505092915050565b600080fd5b600080fd5b60008083601f84011261417957614178613fdb565b5b8235905067ffffffffffffffff81111561419657614195614159565b5b6020830191508360208202830111156141b2576141b161415e565b5b9250929050565b600080600080604085870312156141d3576141d2613c23565b5b600085013567ffffffffffffffff8111156141f1576141f0613c28565b5b6141fd87828801614163565b9450945050602085013567ffffffffffffffff8111156142205761421f613c28565b5b61422c87828801614163565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61426f81613e2e565b82525050565b60006142818383614266565b60208301905092915050565b6000602082019050919050565b60006142a58261423a565b6142af8185614245565b93506142ba83614256565b8060005b838110156142eb5781516142d28882614275565b97506142dd8361428d565b9250506001810190506142be565b5085935050505092915050565b60006020820190508181036000830152614312818461429a565b905092915050565b600067ffffffffffffffff82111561433557614334613fe5565b5b61433e82613dc2565b9050602081019050919050565b600061435e6143598461431a565b614045565b90508281526020810184848401111561437a57614379613fe0565b5b614385848285614091565b509392505050565b600082601f8301126143a2576143a1613fdb565b5b81356143b284826020860161434b565b91505092915050565b6000806000606084860312156143d4576143d3613c23565b5b60006143e286828701613c76565b93505060206143f386828701613e4f565b925050604084013567ffffffffffffffff81111561441457614413613c28565b5b6144208682870161438d565b9150509250925092565b61443381613f25565b82525050565b600060208201905061444e600083018461442a565b92915050565b61445d81613d3d565b811461446857600080fd5b50565b60008135905061447a81614454565b92915050565b6000806040838503121561449757614496613c23565b5b60006144a585828601613c76565b92505060206144b68582860161446b565b9150509250929050565b600080600080608085870312156144da576144d9613c23565b5b60006144e887828801613c76565b94505060206144f987828801613c76565b935050604061450a87828801613e4f565b925050606085013567ffffffffffffffff81111561452b5761452a613c28565b5b6145378782880161438d565b91505092959194509250565b6000806020838503121561455a57614559613c23565b5b600083013567ffffffffffffffff81111561457857614577613c28565b5b61458485828601614163565b92509250509250929050565b600080604083850312156145a7576145a6613c23565b5b60006145b585828601613c76565b92505060206145c685828601613c76565b9150509250929050565b600060408201905081810360008301526145ea818561429a565b905081810360208301526145fe818461429a565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061464e57607f821691505b60208210810361466157614660614607565b5b50919050565b600060408201905061467c6000830185613ebb565b6146896020830184613ebb565b9392505050565b60008151905061469f81614454565b92915050565b6000602082840312156146bb576146ba613c23565b5b60006146c984828501614690565b91505092915050565b7f5075626c69632053616c65206e6f742061637469766500000000000000000000600082015250565b6000614708601683613d7e565b9150614713826146d2565b602082019050919050565b60006020820190508181036000830152614737816146fb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061477882613e2e565b915061478383613e2e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147b8576147b761473e565b5b828201905092915050565b7f3e4d6178537570706c7900000000000000000000000000000000000000000000600082015250565b60006147f9600a83613d7e565b9150614804826147c3565b602082019050919050565b60006020820190508181036000830152614828816147ec565b9050919050565b7f4e6f7420456e6f75676820457468000000000000000000000000000000000000600082015250565b6000614865600e83613d7e565b91506148708261482f565b602082019050919050565b6000602082019050818103600083015261489481614858565b9050919050565b600081905092915050565b50565b60006148b660008361489b565b91506148c1826148a6565b600082019050919050565b60006148d7826148a9565b9150819050919050565b7f5769746864726177616c206661696c6564000000000000000000000000000000600082015250565b6000614917601183613d7e565b9150614922826148e1565b602082019050919050565b600060208201905081810360008301526149468161490a565b9050919050565b7f50726573616c65206e6f74206163746976650000000000000000000000000000600082015250565b6000614983601283613d7e565b915061498e8261494d565b602082019050919050565b600060208201905081810360008301526149b281614976565b9050919050565b7f4172726179206c656e676874732073686f756c64206d61746368000000000000600082015250565b60006149ef601a83613d7e565b91506149fa826149b9565b602082019050919050565b60006020820190508181036000830152614a1e816149e2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050614a6381613c5f565b92915050565b600060208284031215614a7f57614a7e613c23565b5b6000614a8d84828501614a54565b91505092915050565b600081519050614aa581613e38565b92915050565b600060208284031215614ac157614ac0613c23565b5b6000614acf84828501614a96565b91505092915050565b7f56696e796c20746f6b656e206d696e74206c696d697420657863656564656400600082015250565b6000614b0e601f83613d7e565b9150614b1982614ad8565b602082019050919050565b60006020820190508181036000830152614b3d81614b01565b9050919050565b6000614b4f82613e2e565b9150614b5a83613e2e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b9357614b9261473e565b5b828202905092915050565b6000614ba982613e2e565b9150614bb483613e2e565b925082821015614bc757614bc661473e565b5b828203905092915050565b6000614bdd82613e2e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614c0f57614c0e61473e565b5b600182019050919050565b7f6d696e7428293a204e6f7420456e6f7567682045746800000000000000000000600082015250565b6000614c50601683613d7e565b9150614c5b82614c1a565b602082019050919050565b60006020820190508181036000830152614c7f81614c43565b9050919050565b7f4e6f7420656e6f756768206574682073656e7400000000000000000000000000600082015250565b6000614cbc601383613d7e565b9150614cc782614c86565b602082019050919050565b60006020820190508181036000830152614ceb81614caf565b9050919050565b7f4c6f636f6d6f746f7261733a207468697320746f6b656e20646f6573206e6f7460008201527f2065786973740000000000000000000000000000000000000000000000000000602082015250565b6000614d4e602683613d7e565b9150614d5982614cf2565b604082019050919050565b60006020820190508181036000830152614d7d81614d41565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614db181614636565b614dbb8186614d84565b94506001821660008114614dd65760018114614de757614e1a565b60ff19831686528186019350614e1a565b614df085614d8f565b60005b83811015614e1257815481890152600182019150602081019050614df3565b838801955050505b50505092915050565b6000614e2e82613d73565b614e388185614d84565b9350614e48818560208601613d8f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614e8a600583614d84565b9150614e9582614e54565b600582019050919050565b6000614eac8285614da4565b9150614eb88284614e23565b9150614ec382614e7d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f2b602683613d7e565b9150614f3682614ecf565b604082019050919050565b60006020820190508181036000830152614f5a81614f1e565b9050919050565b600067ffffffffffffffff821115614f7c57614f7b613fe5565b5b602082029050602081019050919050565b6000614fa0614f9b84614f61565b614045565b90508083825260208201905060208402830185811115614fc357614fc261415e565b5b835b81811015614fec5780614fd88882614a96565b845260208401935050602081019050614fc5565b5050509392505050565b600082601f83011261500b5761500a613fdb565b5b815161501b848260208601614f8d565b91505092915050565b60006020828403121561503a57615039613c23565b5b600082015167ffffffffffffffff81111561505857615057613c28565b5b61506484828501614ff6565b91505092915050565b60006060820190506150826000830186613ebb565b61508f6020830185613e91565b61509c6040830184613ebb565b949350505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150da602083613d7e565b91506150e5826150a4565b602082019050919050565b60006020820190508181036000830152615109816150cd565b9050919050565b7f526563657069656e742063616e206e6f7420616363657074206368616e676500600082015250565b6000615146601f83613d7e565b915061515182615110565b602082019050919050565b6000602082019050818103600083015261517581615139565b9050919050565b7f21494e56414c49445f5349474e41545552452100000000000000000000000000600082015250565b60006151b2601383613d7e565b91506151bd8261517c565b602082019050919050565b600060208201905081810360008301526151e1816151a5565b9050919050565b7f21414c52454144595f5553454421000000000000000000000000000000000000600082015250565b600061521e600e83613d7e565b9150615229826151e8565b602082019050919050565b6000602082019050818103600083015261524d81615211565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006152b9601c83614d84565b91506152c482615283565b601c82019050919050565b6000819050919050565b6152ea6152e582613f25565b6152cf565b82525050565b60006152fb826152ac565b915061530782846152d9565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061533d82615316565b6153478185615321565b9350615357818560208601613d8f565b61536081613dc2565b840191505092915050565b60006080820190506153806000830187613ebb565b61538d6020830186613ebb565b61539a6040830185613e91565b81810360608301526153ac8184615332565b905095945050505050565b6000815190506153c681613ce4565b92915050565b6000602082840312156153e2576153e1613c23565b5b60006153f0848285016153b7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061545e601883613d7e565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006154ca601f83613d7e565b91506154d582615494565b602082019050919050565b600060208201905081810360008301526154f9816154bd565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061555c602283613d7e565b915061556782615500565b604082019050919050565b6000602082019050818103600083015261558b8161554f565b9050919050565b600060ff82169050919050565b6155a881615592565b82525050565b60006080820190506155c3600083018761442a565b6155d0602083018661559f565b6155dd604083018561442a565b6155ea606083018461442a565b9594505050505056fea26469706673582212204ce690ba844eda3b9b61018a09691db4dd2d68052faf1840abb6dd2c404a091c64736f6c634300080e0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b4c6f636f6d6f746f72617300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034c4d5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102885760003560e01c80636c0360eb1161015a57806395d89b41116100c1578063e58306f91161007a578063e58306f914610978578063e985e9c5146109a1578063efc4f1dc146109de578063f2fde38b146109f5578063f77079dc14610a1e578063feff199914610a5c57610288565b806395d89b4114610884578063a22cb465146108af578063b88d4fde146108d8578063bcff675c146108f4578063c84d3e701461091f578063c87b56dd1461093b57610288565b80638462151c116101135780638462151c1461076d5780638838b5c3146107aa578063890621da146107d55780638da5cb5b1461081257806393a872bd1461083d57806394d008ef1461086857610288565b80636c0360eb1461067c5780636f0680e8146106a757806370a08231146106d2578063715018a61461070f57806371adc02a146107265780637c32a9c51461075157610288565b80632e1a7d4d116101fe57806355f804b3116101b757806355f804b31461057e57806357d4c4ee146105a7578063603f4d52146105d25780636352211e146105fd57806363a436cd1461063a57806368cccfb51461065157610288565b80632e1a7d4d1461046b57806342842e0e146104945780634a497ef3146104b05780634b7b1a25146104ed5780634df18b2114610516578063522439ef1461055357610288565b8063095ea7b311610250578063095ea7b31461039857806318160ddd146103b4578063195e8708146103df5780632073447d1461041c57806323b872dd1461044557806326092b831461046157610288565b806301844f301461028d57806301ffc9a7146102b657806306fdde03146102f357806307fb570c1461031e578063081812fc1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613c8b565b610a99565b005b3480156102c257600080fd5b506102dd60048036038101906102d89190613d10565b610b1a565b6040516102ea9190613d58565b60405180910390f35b3480156102ff57600080fd5b50610308610bac565b6040516103159190613e0c565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190613e64565b610c3e565b6040516103529190613ea0565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d9190613e64565b610c56565b60405161038f9190613eca565b60405180910390f35b6103b260048036038101906103ad9190613ee5565b610cd5565b005b3480156103c057600080fd5b506103c9610e19565b6040516103d69190613ea0565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190613f5b565b610e30565b6040516104139190613d58565b60405180910390f35b34801561042857600080fd5b50610443600480360381019061043e9190613c8b565b610e50565b005b61045f600480360381019061045a9190613f88565b610e64565b005b610469611046565b005b34801561047757600080fd5b50610492600480360381019061048d9190613e64565b61113f565b005b6104ae60048036038101906104a99190613f88565b611204565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190613c8b565b6113e6565b6040516104e49190613eca565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f9190613c8b565b611419565b005b34801561052257600080fd5b5061053d60048036038101906105389190613c8b565b611465565b60405161054a9190613eca565b60405180910390f35b34801561055f57600080fd5b50610568611569565b6040516105759190613ea0565b60405180910390f35b34801561058a57600080fd5b506105a560048036038101906105a09190614110565b611578565b005b3480156105b357600080fd5b506105bc61159a565b6040516105c99190613ea0565b60405180910390f35b3480156105de57600080fd5b506105e76115a0565b6040516105f49190613d58565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f9190613e64565b6115b3565b6040516106319190613eca565b60405180910390f35b34801561064657600080fd5b5061064f6115c5565b005b34801561065d57600080fd5b506106666115f9565b6040516106739190613ea0565b60405180910390f35b34801561068857600080fd5b506106916115ff565b60405161069e9190613e0c565b60405180910390f35b3480156106b357600080fd5b506106bc61168d565b6040516106c99190613ea0565b60405180910390f35b3480156106de57600080fd5b506106f960048036038101906106f49190613c8b565b611693565b6040516107069190613ea0565b60405180910390f35b34801561071b57600080fd5b5061072461174b565b005b34801561073257600080fd5b5061073b61175f565b6040516107489190613d58565b60405180910390f35b61076b600480360381019061076691906141b9565b611772565b005b34801561077957600080fd5b50610794600480360381019061078f9190613c8b565b611b42565b6040516107a191906142f8565b60405180910390f35b3480156107b657600080fd5b506107bf611ca4565b6040516107cc9190613eca565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f791906143bb565b611cce565b6040516108099190614439565b60405180910390f35b34801561081e57600080fd5b50610827611cec565b6040516108349190613eca565b60405180910390f35b34801561084957600080fd5b50610852611d16565b60405161085f9190613ea0565b60405180910390f35b610882600480360381019061087d91906143bb565b611d1c565b005b34801561089057600080fd5b50610899611e48565b6040516108a69190613e0c565b60405180910390f35b3480156108bb57600080fd5b506108d660048036038101906108d19190614480565b611eda565b005b6108f260048036038101906108ed91906144c0565b611fe5565b005b34801561090057600080fd5b506109096121ca565b6040516109169190613ea0565b60405180910390f35b61093960048036038101906109349190614543565b6121d0565b005b34801561094757600080fd5b50610962600480360381019061095d9190613e64565b61251e565b60405161096f9190613e0c565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a9190613ee5565b61259a565b005b3480156109ad57600080fd5b506109c860048036038101906109c39190614590565b612607565b6040516109d59190613d58565b60405180910390f35b3480156109ea57600080fd5b506109f361269b565b005b348015610a0157600080fd5b50610a1c6004803603810190610a179190613c8b565b6126cf565b005b348015610a2a57600080fd5b50610a456004803603810190610a409190613c8b565b612752565b604051610a539291906145d0565b60405180910390f35b348015610a6857600080fd5b50610a836004803603810190610a7e9190613ee5565b6128c2565b604051610a909190614439565b60405180910390f35b33601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b7557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ba55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610bbb90614636565b80601f0160208091040260200160405190810160405280929190818152602001828054610be790614636565b8015610c345780601f10610c0957610100808354040283529160200191610c34565b820191906000526020600020905b815481529060010190602001808311610c1757829003601f168201915b5050505050905090565b60136020528060005260406000206000915090505481565b6000610c61826128f7565b610c97576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ce0826115b3565b90508073ffffffffffffffffffffffffffffffffffffffff16610d01612956565b73ffffffffffffffffffffffffffffffffffffffff1614610d6457610d2d81610d28612956565b612607565b610d63576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610e2361295e565b6001546000540303905090565b60096020528060005260406000206000915054906101000a900460ff1681565b610e58612963565b610e61816129e1565b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611034573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ed657610ed1848484612a25565b611040565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f1f929190614667565b602060405180830381865afa158015610f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6091906146a5565b8015610ff257506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610fb0929190614667565b602060405180830381865afa158015610fcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff191906146a5565b5b61103357336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161102a9190613eca565b60405180910390fd5b5b61103f848484612a25565b5b50505050565b600d60019054906101000a900460ff16611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108c9061471e565b60405180910390fd5b61092960016110a2610e19565b6110ac919061476d565b11156110ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e49061480f565b60405180910390fd5b600e54341015611132576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111299061487b565b60405180910390fd5b61113d336001612d47565b565b611147612963565b6000611151611cec565b905060008173ffffffffffffffffffffffffffffffffffffffff1683604051611179906148cc565b60006040518083038185875af1925050503d80600081146111b6576040519150601f19603f3d011682016040523d82523d6000602084013e6111bb565b606091505b50509050806111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f69061492d565b60405180910390fd5b505050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113d4573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361127657611271848484612d65565b6113e0565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112bf929190614667565b602060405180830381865afa1580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130091906146a5565b801561139257506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611350929190614667565b602060405180830381865afa15801561136d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139191906146a5565b5b6113d357336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113ca9190613eca565b60405180910390fd5b5b6113df848484612d65565b5b50505050565b60126020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611421612963565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff16601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461156057601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050611564565b8190505b919050565b6000611573612d85565b905090565b611580612963565b80600c9080519060200190611596929190613b76565b5050565b61092981565b600d60009054906101000a900460ff1681565b60006115be82612d8e565b9050919050565b6115cd612963565b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b600e5481565b600c805461160c90614636565b80601f016020809104026020016040519081016040528092919081815260200182805461163890614636565b80156116855780601f1061165a57610100808354040283529160200191611685565b820191906000526020600020905b81548152906001019060200180831161166857829003601f168201915b505050505081565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116fa576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611753612963565b61175d6000612e5a565b565b600d60019054906101000a900460ff1681565b600d60009054906101000a900460ff166117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b890614999565b60405180910390fd5b818190508484905014611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090614a05565b60405180910390fd5b600061181433611465565b905060003490506000805b87879050811015611b1257600088888381811061183f5761183e614a25565b5b905060200201359050600087878481811061185d5761185c614a25565b5b9050602002013590508573ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016118d89190613ea0565b602060405180830381865afa1580156118f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119199190614a69565b73ffffffffffffffffffffffffffffffffffffffff161480156119cc5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166357d4c4ee6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c89190614aab565b8210155b15611afd5760028160136000858152602001908152602001600020546119f2919061476d565b1115611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90614b24565b60405180910390fd5b80601154611a419190614b44565b85611a4c9190614b9e565b945080601360008481526020019081526020016000206000828254611a71919061476d565b9250508190555061092981611a84610e19565b611a8e919061476d565b1115611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac69061480f565b60405180910390fd5b60005b81811015611afb578480611ae590614bd2565b9550508080611af390614bd2565b915050611ad2565b505b50508080611b0a90614bd2565b91505061181f565b506000811115611b2757611b263382612d47565b5b60008210611b3957611b3882612f20565b5b50505050505050565b60606000611b4f83611693565b905060008103611bab57600067ffffffffffffffff811115611b7457611b73613fe5565b5b604051908082528060200260200182016040528015611ba25781602001602082028036833780820191505090505b50915050611c9f565b60008167ffffffffffffffff811115611bc757611bc6613fe5565b5b604051908082528060200260200182016040528015611bf55781602001602082028036833780820191505090505b5090506000805b611c04612d85565b811015611c9757611c14816128f7565b15611c84578573ffffffffffffffffffffffffffffffffffffffff16611c39826115b3565b73ffffffffffffffffffffffffffffffffffffffff1603611c835780838381518110611c6857611c67614a25565b5b6020026020010181815250508180611c7f90614bd2565b9250505b5b8080611c8f90614bd2565b915050611bfc565b829450505050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611ce3848484611cde611ca4565b613014565b90509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b600d60009054906101000a900460ff16611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6290614999565b60405180910390fd5b600060808084901b901c9050600060c080608086901c901b901c90508082611d939190614b44565b341015611dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcc90614c66565b60405180910390fd5b61092981611de1610e19565b611deb919061476d565b1115611e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e239061480f565b60405180910390fd5b611e3785858561311e565b611e418582612d47565b5050505050565b606060038054611e5790614636565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8390614636565b8015611ed05780601f10611ea557610100808354040283529160200191611ed0565b820191906000526020600020905b815481529060010190602001808311611eb357829003601f168201915b5050505050905090565b8060076000611ee7612956565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f94612956565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fd99190613d58565b60405180910390a35050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156121b6573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612058576120538585858561315f565b6121c3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016120a1929190614667565b602060405180830381865afa1580156120be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e291906146a5565b801561217457506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612132929190614667565b602060405180830381865afa15801561214f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217391906146a5565b5b6121b557336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121ac9190613eca565b60405180910390fd5b5b6121c28585858561315f565b5b5050505050565b60115481565b600d60009054906101000a900460ff1661221f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221690614999565b60405180910390fd5b818190506010546122309190614b44565b341015612272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226990614cd2565b60405180910390fd5b600061227d33611465565b905060003490506000805b858590508110156124f05760008686838181106122a8576122a7614a25565b5b9050602002013590508473ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016123239190613ea0565b602060405180830381865afa158015612340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123649190614a69565b73ffffffffffffffffffffffffffffffffffffffff1614801561239a575060006013600083815260200190815260200160002054145b80156124355750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166357d4c4ee6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561240e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124329190614aab565b81105b156124dc57601054846124489190614b9e565b9350600160136000838152602001908152602001600020600082825461246e919061476d565b925050819055506109296001612482610e19565b61248c919061476d565b11156124cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c49061480f565b60405180910390fd5b82806124d890614bd2565b9350505b5080806124e890614bd2565b915050612288565b506000811115612505576125043382612d47565b5b600082106125175761251682612f20565b5b5050505050565b6060612529826128f7565b612568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255f90614d64565b60405180910390fd5b600c612573836131d2565b604051602001612584929190614ea0565b6040516020818303038152906040529050919050565b6125a2612963565b610929816125ae610e19565b6125b8919061476d565b11156125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f09061480f565b60405180910390fd5b6126038282612d47565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126a3612963565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6126d7612963565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273d90614f41565b60405180910390fd5b61274f81612e5a565b50565b6060806000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638462151c856040518263ffffffff1660e01b81526004016127b29190613eca565b600060405180830381865afa1580156127cf573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127f89190615024565b90506000815167ffffffffffffffff81111561281757612816613fe5565b5b6040519080825280602002602001820160405280156128455781602001602082028036833780820191505090505b50905060005b82518110156128b4576013600084838151811061286b5761286a614a25565b5b602002602001015181526020019081526020016000205482828151811061289557612894614a25565b5b60200260200101818152505080806128ac90614bd2565b91505061284b565b508181935093505050915091565b60008282306040516020016128d99392919061506d565b60405160208183030381529060405280519060200120905092915050565b60008161290261295e565b11158015612911575060005482105b801561294f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b61296b6132a0565b73ffffffffffffffffffffffffffffffffffffffff16612989611cec565b73ffffffffffffffffffffffffffffffffffffffff16146129df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d6906150f0565b60405180910390fd5b565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000612a3082612d8e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612a97576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612aa3846132a8565b91509150612ab98187612ab4612956565b6132cf565b612b0557612ace86612ac9612956565b612607565b612b04576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612b6b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b788686866001613313565b8015612b8357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612c5185612c2d888887613319565b7c020000000000000000000000000000000000000000000000000000000017613341565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603612cd75760006001850190506000600460008381526020019081526020016000205403612cd5576000548114612cd4578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d3f868686600161336c565b505050505050565b612d61828260405180602001604052806000815250613372565b5050565b612d8083838360405180602001604052806000815250611fe5565b505050565b60008054905090565b60008082905080612d9d61295e565b11612e2357600054811015612e225760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612e20575b60008103612e16576004600083600190039350838152602001908152602001600020549050612dec565b8092505050612e55565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60003373ffffffffffffffffffffffffffffffffffffffff1682604051612f46906148cc565b60006040518083038185875af1925050503d8060008114612f83576040519150601f19603f3d011682016040523d82523d6000602084013e612f88565b606091505b5050905080612fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc39061515c565b60405180910390fd5b813373ffffffffffffffffffffffffffffffffffffffff167ff0397e840d859d58727573b3f025f2a8cee37de811c21ee59b2413d874cbaf1960405160405180910390a35050565b60008061302961302487876128c2565b61340f565b90508273ffffffffffffffffffffffffffffffffffffffff16613055858361343f90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146130ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a2906151c8565b60405180910390fd5b600015156009600083815260200190815260200160002060009054906101000a900460ff16151514613112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310990615234565b60405180910390fd5b80915050949350505050565b600061312b848484611cce565b905060016009600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b61316a848484610e64565b60008373ffffffffffffffffffffffffffffffffffffffff163b146131cc5761319584848484613466565b6131cb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600060016131e1846135b6565b01905060008167ffffffffffffffff811115613200576131ff613fe5565b5b6040519080825280601f01601f1916602001820160405280156132325781602001600182028036833780820191505090505b509050600082602001820190505b600115613295578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161328957613288615254565b5b04945060008503613240575b819350505050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613330868684613709565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61337c8383613712565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461340a57600080549050600083820390505b6133bc6000868380600101945086613466565b6133f2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106133a957816000541461340757600080fd5b50505b505050565b60008160405160200161342291906152f0565b604051602081830303815290604052805190602001209050919050565b600080600061344e85856138cd565b9150915061345b8161391e565b819250505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348c612956565b8786866040518563ffffffff1660e01b81526004016134ae949392919061536b565b6020604051808303816000875af19250505080156134ea57506040513d601f19601f820116820180604052508101906134e791906153cc565b60015b613563573d806000811461351a576040519150601f19603f3d011682016040523d82523d6000602084013e61351f565b606091505b50600081510361355b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613614577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161360a57613609615254565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613651576d04ee2d6d415b85acef8100000000838161364757613646615254565b5b0492506020810190505b662386f26fc10000831061368057662386f26fc10000838161367657613675615254565b5b0492506010810190505b6305f5e10083106136a9576305f5e100838161369f5761369e615254565b5b0492506008810190505b61271083106136ce5761271083816136c4576136c3615254565b5b0492506004810190505b606483106136f157606483816136e7576136e6615254565b5b0492506002810190505b600a8310613700576001810190505b80915050919050565b60009392505050565b60008054905060008203613752576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61375f6000848385613313565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506137d6836137c76000866000613319565b6137d085613a84565b17613341565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461387757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061383c565b50600082036138b2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506138c8600084838561336c565b505050565b600080604183510361390e5760008060006020860151925060408601519150606086015160001a905061390287828585613a94565b94509450505050613917565b60006002915091505b9250929050565b60006004811115613932576139316153f9565b5b816004811115613945576139446153f9565b5b0315613a81576001600481111561395f5761395e6153f9565b5b816004811115613972576139716153f9565b5b036139b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a990615474565b60405180910390fd5b600260048111156139c6576139c56153f9565b5b8160048111156139d9576139d86153f9565b5b03613a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a10906154e0565b60405180910390fd5b60036004811115613a2d57613a2c6153f9565b5b816004811115613a4057613a3f6153f9565b5b03613a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7790615572565b60405180910390fd5b5b50565b60006001821460e11b9050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613acf576000600391509150613b6d565b600060018787878760405160008152602001604052604051613af494939291906155ae565b6020604051602081039080840390855afa158015613b16573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613b6457600060019250925050613b6d565b80600092509250505b94509492505050565b828054613b8290614636565b90600052602060002090601f016020900481019282613ba45760008555613beb565b82601f10613bbd57805160ff1916838001178555613beb565b82800160010185558215613beb579182015b82811115613bea578251825591602001919060010190613bcf565b5b509050613bf89190613bfc565b5090565b5b80821115613c15576000816000905550600101613bfd565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c5882613c2d565b9050919050565b613c6881613c4d565b8114613c7357600080fd5b50565b600081359050613c8581613c5f565b92915050565b600060208284031215613ca157613ca0613c23565b5b6000613caf84828501613c76565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ced81613cb8565b8114613cf857600080fd5b50565b600081359050613d0a81613ce4565b92915050565b600060208284031215613d2657613d25613c23565b5b6000613d3484828501613cfb565b91505092915050565b60008115159050919050565b613d5281613d3d565b82525050565b6000602082019050613d6d6000830184613d49565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dad578082015181840152602081019050613d92565b83811115613dbc576000848401525b50505050565b6000601f19601f8301169050919050565b6000613dde82613d73565b613de88185613d7e565b9350613df8818560208601613d8f565b613e0181613dc2565b840191505092915050565b60006020820190508181036000830152613e268184613dd3565b905092915050565b6000819050919050565b613e4181613e2e565b8114613e4c57600080fd5b50565b600081359050613e5e81613e38565b92915050565b600060208284031215613e7a57613e79613c23565b5b6000613e8884828501613e4f565b91505092915050565b613e9a81613e2e565b82525050565b6000602082019050613eb56000830184613e91565b92915050565b613ec481613c4d565b82525050565b6000602082019050613edf6000830184613ebb565b92915050565b60008060408385031215613efc57613efb613c23565b5b6000613f0a85828601613c76565b9250506020613f1b85828601613e4f565b9150509250929050565b6000819050919050565b613f3881613f25565b8114613f4357600080fd5b50565b600081359050613f5581613f2f565b92915050565b600060208284031215613f7157613f70613c23565b5b6000613f7f84828501613f46565b91505092915050565b600080600060608486031215613fa157613fa0613c23565b5b6000613faf86828701613c76565b9350506020613fc086828701613c76565b9250506040613fd186828701613e4f565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61401d82613dc2565b810181811067ffffffffffffffff8211171561403c5761403b613fe5565b5b80604052505050565b600061404f613c19565b905061405b8282614014565b919050565b600067ffffffffffffffff82111561407b5761407a613fe5565b5b61408482613dc2565b9050602081019050919050565b82818337600083830152505050565b60006140b36140ae84614060565b614045565b9050828152602081018484840111156140cf576140ce613fe0565b5b6140da848285614091565b509392505050565b600082601f8301126140f7576140f6613fdb565b5b81356141078482602086016140a0565b91505092915050565b60006020828403121561412657614125613c23565b5b600082013567ffffffffffffffff81111561414457614143613c28565b5b614150848285016140e2565b91505092915050565b600080fd5b600080fd5b60008083601f84011261417957614178613fdb565b5b8235905067ffffffffffffffff81111561419657614195614159565b5b6020830191508360208202830111156141b2576141b161415e565b5b9250929050565b600080600080604085870312156141d3576141d2613c23565b5b600085013567ffffffffffffffff8111156141f1576141f0613c28565b5b6141fd87828801614163565b9450945050602085013567ffffffffffffffff8111156142205761421f613c28565b5b61422c87828801614163565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61426f81613e2e565b82525050565b60006142818383614266565b60208301905092915050565b6000602082019050919050565b60006142a58261423a565b6142af8185614245565b93506142ba83614256565b8060005b838110156142eb5781516142d28882614275565b97506142dd8361428d565b9250506001810190506142be565b5085935050505092915050565b60006020820190508181036000830152614312818461429a565b905092915050565b600067ffffffffffffffff82111561433557614334613fe5565b5b61433e82613dc2565b9050602081019050919050565b600061435e6143598461431a565b614045565b90508281526020810184848401111561437a57614379613fe0565b5b614385848285614091565b509392505050565b600082601f8301126143a2576143a1613fdb565b5b81356143b284826020860161434b565b91505092915050565b6000806000606084860312156143d4576143d3613c23565b5b60006143e286828701613c76565b93505060206143f386828701613e4f565b925050604084013567ffffffffffffffff81111561441457614413613c28565b5b6144208682870161438d565b9150509250925092565b61443381613f25565b82525050565b600060208201905061444e600083018461442a565b92915050565b61445d81613d3d565b811461446857600080fd5b50565b60008135905061447a81614454565b92915050565b6000806040838503121561449757614496613c23565b5b60006144a585828601613c76565b92505060206144b68582860161446b565b9150509250929050565b600080600080608085870312156144da576144d9613c23565b5b60006144e887828801613c76565b94505060206144f987828801613c76565b935050604061450a87828801613e4f565b925050606085013567ffffffffffffffff81111561452b5761452a613c28565b5b6145378782880161438d565b91505092959194509250565b6000806020838503121561455a57614559613c23565b5b600083013567ffffffffffffffff81111561457857614577613c28565b5b61458485828601614163565b92509250509250929050565b600080604083850312156145a7576145a6613c23565b5b60006145b585828601613c76565b92505060206145c685828601613c76565b9150509250929050565b600060408201905081810360008301526145ea818561429a565b905081810360208301526145fe818461429a565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061464e57607f821691505b60208210810361466157614660614607565b5b50919050565b600060408201905061467c6000830185613ebb565b6146896020830184613ebb565b9392505050565b60008151905061469f81614454565b92915050565b6000602082840312156146bb576146ba613c23565b5b60006146c984828501614690565b91505092915050565b7f5075626c69632053616c65206e6f742061637469766500000000000000000000600082015250565b6000614708601683613d7e565b9150614713826146d2565b602082019050919050565b60006020820190508181036000830152614737816146fb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061477882613e2e565b915061478383613e2e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147b8576147b761473e565b5b828201905092915050565b7f3e4d6178537570706c7900000000000000000000000000000000000000000000600082015250565b60006147f9600a83613d7e565b9150614804826147c3565b602082019050919050565b60006020820190508181036000830152614828816147ec565b9050919050565b7f4e6f7420456e6f75676820457468000000000000000000000000000000000000600082015250565b6000614865600e83613d7e565b91506148708261482f565b602082019050919050565b6000602082019050818103600083015261489481614858565b9050919050565b600081905092915050565b50565b60006148b660008361489b565b91506148c1826148a6565b600082019050919050565b60006148d7826148a9565b9150819050919050565b7f5769746864726177616c206661696c6564000000000000000000000000000000600082015250565b6000614917601183613d7e565b9150614922826148e1565b602082019050919050565b600060208201905081810360008301526149468161490a565b9050919050565b7f50726573616c65206e6f74206163746976650000000000000000000000000000600082015250565b6000614983601283613d7e565b915061498e8261494d565b602082019050919050565b600060208201905081810360008301526149b281614976565b9050919050565b7f4172726179206c656e676874732073686f756c64206d61746368000000000000600082015250565b60006149ef601a83613d7e565b91506149fa826149b9565b602082019050919050565b60006020820190508181036000830152614a1e816149e2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050614a6381613c5f565b92915050565b600060208284031215614a7f57614a7e613c23565b5b6000614a8d84828501614a54565b91505092915050565b600081519050614aa581613e38565b92915050565b600060208284031215614ac157614ac0613c23565b5b6000614acf84828501614a96565b91505092915050565b7f56696e796c20746f6b656e206d696e74206c696d697420657863656564656400600082015250565b6000614b0e601f83613d7e565b9150614b1982614ad8565b602082019050919050565b60006020820190508181036000830152614b3d81614b01565b9050919050565b6000614b4f82613e2e565b9150614b5a83613e2e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b9357614b9261473e565b5b828202905092915050565b6000614ba982613e2e565b9150614bb483613e2e565b925082821015614bc757614bc661473e565b5b828203905092915050565b6000614bdd82613e2e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614c0f57614c0e61473e565b5b600182019050919050565b7f6d696e7428293a204e6f7420456e6f7567682045746800000000000000000000600082015250565b6000614c50601683613d7e565b9150614c5b82614c1a565b602082019050919050565b60006020820190508181036000830152614c7f81614c43565b9050919050565b7f4e6f7420656e6f756768206574682073656e7400000000000000000000000000600082015250565b6000614cbc601383613d7e565b9150614cc782614c86565b602082019050919050565b60006020820190508181036000830152614ceb81614caf565b9050919050565b7f4c6f636f6d6f746f7261733a207468697320746f6b656e20646f6573206e6f7460008201527f2065786973740000000000000000000000000000000000000000000000000000602082015250565b6000614d4e602683613d7e565b9150614d5982614cf2565b604082019050919050565b60006020820190508181036000830152614d7d81614d41565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614db181614636565b614dbb8186614d84565b94506001821660008114614dd65760018114614de757614e1a565b60ff19831686528186019350614e1a565b614df085614d8f565b60005b83811015614e1257815481890152600182019150602081019050614df3565b838801955050505b50505092915050565b6000614e2e82613d73565b614e388185614d84565b9350614e48818560208601613d8f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614e8a600583614d84565b9150614e9582614e54565b600582019050919050565b6000614eac8285614da4565b9150614eb88284614e23565b9150614ec382614e7d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f2b602683613d7e565b9150614f3682614ecf565b604082019050919050565b60006020820190508181036000830152614f5a81614f1e565b9050919050565b600067ffffffffffffffff821115614f7c57614f7b613fe5565b5b602082029050602081019050919050565b6000614fa0614f9b84614f61565b614045565b90508083825260208201905060208402830185811115614fc357614fc261415e565b5b835b81811015614fec5780614fd88882614a96565b845260208401935050602081019050614fc5565b5050509392505050565b600082601f83011261500b5761500a613fdb565b5b815161501b848260208601614f8d565b91505092915050565b60006020828403121561503a57615039613c23565b5b600082015167ffffffffffffffff81111561505857615057613c28565b5b61506484828501614ff6565b91505092915050565b60006060820190506150826000830186613ebb565b61508f6020830185613e91565b61509c6040830184613ebb565b949350505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150da602083613d7e565b91506150e5826150a4565b602082019050919050565b60006020820190508181036000830152615109816150cd565b9050919050565b7f526563657069656e742063616e206e6f7420616363657074206368616e676500600082015250565b6000615146601f83613d7e565b915061515182615110565b602082019050919050565b6000602082019050818103600083015261517581615139565b9050919050565b7f21494e56414c49445f5349474e41545552452100000000000000000000000000600082015250565b60006151b2601383613d7e565b91506151bd8261517c565b602082019050919050565b600060208201905081810360008301526151e1816151a5565b9050919050565b7f21414c52454144595f5553454421000000000000000000000000000000000000600082015250565b600061521e600e83613d7e565b9150615229826151e8565b602082019050919050565b6000602082019050818103600083015261524d81615211565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006152b9601c83614d84565b91506152c482615283565b601c82019050919050565b6000819050919050565b6152ea6152e582613f25565b6152cf565b82525050565b60006152fb826152ac565b915061530782846152d9565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061533d82615316565b6153478185615321565b9350615357818560208601613d8f565b61536081613dc2565b840191505092915050565b60006080820190506153806000830187613ebb565b61538d6020830186613ebb565b61539a6040830185613e91565b81810360608301526153ac8184615332565b905095945050505050565b6000815190506153c681613ce4565b92915050565b6000602082840312156153e2576153e1613c23565b5b60006153f0848285016153b7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061545e601883613d7e565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006154ca601f83613d7e565b91506154d582615494565b602082019050919050565b600060208201905081810360008301526154f9816154bd565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061555c602283613d7e565b915061556782615500565b604082019050919050565b6000602082019050818103600083015261558b8161554f565b9050919050565b600060ff82169050919050565b6155a881615592565b82525050565b60006080820190506155c3600083018761442a565b6155d0602083018661559f565b6155dd604083018561442a565b6155ea606083018461442a565b9594505050505056fea26469706673582212204ce690ba844eda3b9b61018a09691db4dd2d68052faf1840abb6dd2c404a091c64736f6c634300080e0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b4c6f636f6d6f746f72617300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034c4d5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Locomotoras
Arg [1] : _symbol (string): LMT
Arg [2] : _myBase (string): ipfs://

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 4c6f636f6d6f746f726173000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4c4d540000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [8] : 697066733a2f2f00000000000000000000000000000000000000000000000000


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.