ETH Price: $3,265.25 (-0.30%)
Gas: 2 Gwei

Token

Spookie Squiggle (BOO)
 

Overview

Max Total Supply

198 BOO

Holders

50

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
vitruvion.eth
Balance
3 BOO
0xba170814de4a24d0efe4e753f7ca75b10f96c0f9
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:
Spooks

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-10
*/

// File: contracts/common/meta-transactions/Initializable.sol



pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

// File: contracts/common/meta-transactions/EIP712Base.sol



pragma solidity ^0.8.0;


contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}
// File: contracts/common/meta-transactions/ContentMixin.sol



pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

// File: openzeppelin-solidity/contracts/utils/math/SafeMath.sol



pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: contracts/common/meta-transactions/NativeMetaTransaction.sol



pragma solidity ^0.8.0;



contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

// File: openzeppelin-solidity/contracts/utils/Strings.sol



pragma solidity ^0.8.0;

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

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

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

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

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

// File: openzeppelin-solidity/contracts/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: openzeppelin-solidity/contracts/access/Ownable.sol



pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: openzeppelin-solidity/contracts/utils/Address.sol



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721Receiver.sol



pragma solidity ^0.8.0;

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

// File: openzeppelin-solidity/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.0;

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

// File: openzeppelin-solidity/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721.sol



pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: openzeppelin-solidity/contracts/token/ERC721/extensions/IERC721Enumerable.sol



pragma solidity ^0.8.0;


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

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

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

// File: openzeppelin-solidity/contracts/token/ERC721/extensions/IERC721Metadata.sol



pragma solidity ^0.8.0;


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

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

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

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721.sol



pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

// File: openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol



pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/ERC721Tradable.sol



pragma solidity ^0.8.0;








contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC721Tradable
 * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality.
 */
abstract contract ERC721Tradable is ContextMixin, ERC721Enumerable, NativeMetaTransaction, Ownable {
    using SafeMath for uint256;

    uint256 private _currentTokenId = 0;

    constructor(
        string memory _name,
        string memory _symbol
    ) ERC721(_name, _symbol) {
        _initializeEIP712(_name);
    }

    /**
     * @dev Mints a token to an address with a tokenURI.
     * @param _to address of the future owner of the token
     */
    function mintTo(address _to) internal {
        uint256 newTokenId = _getNextTokenId();
        _mint(_to, newTokenId);
        _incrementTokenId();
    }

    /**
     * @dev calculates the next token ID based on value of _currentTokenId
     * @return uint256 for the next token ID
     */
    function _getNextTokenId() private view returns (uint256) {
        return _currentTokenId.add(1);
    }

    /**
     * @dev increments the value of _currentTokenId
     */
    function _incrementTokenId() private {
        _currentTokenId++;
    }

    function baseTokenURI() virtual public pure returns (string memory);

    function tokenURI(uint256 _tokenId) override public pure returns (string memory) {
        return string(abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId)));
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        // ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        // if (address(proxyRegistry.proxies(owner)) == operator) {
        //     return true;
        // }

        return super.isApprovedForAll(owner, operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }
}

// File: contracts/Spooks.sol



pragma solidity ^0.8.0;


/**
 * @title Synesthetic
 * Synesthetic - a contract for my non-fungible creatures.
 */
contract Spooks is ERC721Tradable {

    uint256 SUPPLY = 9999;
    uint256 PRICE = 30000000000000000;

    constructor()
        ERC721Tradable("Spookie Squiggle", "BOO")
    {}

    function mint(uint256 n_items) public payable {
        require(canMint(n_items));
        require(msg.value >= PRICE * n_items, "Not enough eth sent");

        for (uint256 i = 0; i < n_items; i++) {
            mintTo(msg.sender);
        }
    }

    function canMint(uint256 n_items) public view returns (bool) {
        return totalSupply() <= SUPPLY - n_items;
    }

    function baseTokenURI() override public pure returns (string memory) {
        return "https://spookie-squiggle.s3.us-west-1.amazonaws.com/metadata/";
    }

    function contractURI() public pure returns (string memory) {
        return "https://spookie-squiggle.s3.us-west-1.amazonaws.com/contract_metadata";
    }
    
    function withdrawAmount(address payable wallet, uint256 amount) public onlyOwner {
         require(amount <= address(this).balance);
         wallet.transfer(amount);
         emit Transfer(address(this), wallet, amount);
     }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"n_items","type":"uint256"}],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","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":"uint256","name":"n_items","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawAmount","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a805460ff191690556000600e5561270f600f55666a94d74f4300006010553480156200003157600080fd5b50604080518082018252601081526f53706f6f6b6965205371756967676c6560801b602080830191825283518085019094526003845262424f4f60e81b908401528151919291839183916200008991600091620002a2565b5080516200009f906001906020840190620002a2565b505050620000bc620000b6620000cf60201b60201c565b620000eb565b620000c7826200013d565b505062000385565b6000620000e6620001a160201b620010bc1760201c565b905090565b600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a5460ff1615620001865760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b620001918162000200565b50600a805460ff19166001179055565b600033301415620001fa57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620001fd9050565b50335b90565b6040518060800160405280604f815260200162002770604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600b55565b828054620002b09062000348565b90600052602060002090601f016020900481019282620002d457600085556200031f565b82601f10620002ef57805160ff19168380011785556200031f565b828001600101855582156200031f579182015b828111156200031f57825182559160200191906001019062000302565b506200032d92915062000331565b5090565b5b808211156200032d576000815560010162000332565b600181811c908216806200035d57607f821691505b602082108114156200037f57634e487b7160e01b600052602260045260246000fd5b50919050565b6123db80620003956000396000f3fe6080604052600436106101c25760003560e01c80635dd871a3116100f7578063a0712d6811610095578063d547cfb711610064578063d547cfb7146104f0578063e8a3d48514610505578063e985e9c51461051a578063f2fde38b1461053a57600080fd5b8063a0712d681461047d578063a22cb46514610490578063b88d4fde146104b0578063c87b56dd146104d057600080fd5b8063715018a6116100d1578063715018a614610415578063736fe5651461042a5780638da5cb5b1461044a57806395d89b411461046857600080fd5b80635dd871a3146103b55780636352211e146103d557806370a08231146103f557600080fd5b806320379ee5116101645780632f745c591161013e5780632f745c59146103425780633408e4701461036257806342842e0e146103755780634f6ccce71461039557600080fd5b806320379ee5146102d757806323b872dd146102ec5780632d0335ab1461030c57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630c53c51c146102785780630f7e59701461028b57806318160ddd146102b857600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611ef1565b61055a565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610585565b6040516101f39190612064565b34801561022a57600080fd5b5061023e610239366004611f2b565b610617565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611d2e565b6106b1565b005b610211610286366004611e73565b6107d9565b34801561029757600080fd5b50610211604051806040016040528060018152602001603160f81b81525081565b3480156102c457600080fd5b506008545b6040519081526020016101f3565b3480156102e357600080fd5b50600b546102c9565b3480156102f857600080fd5b50610276610307366004611d93565b6109c3565b34801561031857600080fd5b506102c9610327366004611d11565b6001600160a01b03166000908152600c602052604090205490565b34801561034e57600080fd5b506102c961035d366004611d2e565b6109fb565b34801561036e57600080fd5b50466102c9565b34801561038157600080fd5b50610276610390366004611d93565b610a91565b3480156103a157600080fd5b506102c96103b0366004611f2b565b610aac565b3480156103c157600080fd5b506101e76103d0366004611f2b565b610b3f565b3480156103e157600080fd5b5061023e6103f0366004611f2b565b610b5a565b34801561040157600080fd5b506102c9610410366004611d11565b610bd1565b34801561042157600080fd5b50610276610c58565b34801561043657600080fd5b50610276610445366004611d2e565b610cad565b34801561045657600080fd5b50600d546001600160a01b031661023e565b34801561047457600080fd5b50610211610d76565b61027661048b366004611f2b565b610d85565b34801561049c57600080fd5b506102766104ab366004611e40565b610e14565b3480156104bc57600080fd5b506102766104cb366004611dd4565b610f16565b3480156104dc57600080fd5b506102116104eb366004611f2b565b610f55565b3480156104fc57600080fd5b50610211610f8f565b34801561051157600080fd5b50610211610faf565b34801561052657600080fd5b506101e7610535366004611d5a565b610fcf565b34801561054657600080fd5b50610276610555366004611d11565b611002565b60006001600160e01b0319821663780e9d6360e01b148061057f575061057f82611119565b92915050565b606060008054610594906121dd565b80601f01602080910402602001604051908101604052809291908181526020018280546105c0906121dd565b801561060d5780601f106105e25761010080835404028352916020019161060d565b820191906000526020600020905b8154815290600101906020018083116105f057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106955760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106bc82610b5a565b9050806001600160a01b0316836001600160a01b0316141561072a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161068c565b806001600160a01b031661073c611169565b6001600160a01b03161480610758575061075881610535611169565b6107ca5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161068c565b6107d48383611178565b505050565b60408051606081810183526001600160a01b0388166000818152600c60209081529085902054845283015291810186905261081787828787876111e6565b61086d5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b606482015260840161068c565b6001600160a01b0387166000908152600c60205260409020546108919060016112d6565b6001600160a01b0388166000908152600c60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906108e190899033908a90611ff2565b60405180910390a1600080306001600160a01b0316888a604051602001610909929190611f8c565b60408051601f198184030181529082905261092391611f70565b6000604051808303816000865af19150503d8060008114610960576040519150601f19603f3d011682016040523d82523d6000602084013e610965565b606091505b5091509150816109b75760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015260640161068c565b98975050505050505050565b6109d46109ce611169565b826112e2565b6109f05760405162461bcd60e51b815260040161068c906120fe565b6107d48383836113b9565b6000610a0683610bd1565b8210610a685760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161068c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6107d483838360405180602001604052806000815250610f16565b6000610ab760085490565b8210610b1a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161068c565b60088281548110610b2d57610b2d612289565b90600052602060002001549050919050565b600081600f54610b4f919061219a565b600854111592915050565b6000818152600260205260408120546001600160a01b03168061057f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161068c565b60006001600160a01b038216610c3c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161068c565b506001600160a01b031660009081526003602052604090205490565b610c60611169565b6001600160a01b0316610c7b600d546001600160a01b031690565b6001600160a01b031614610ca15760405162461bcd60e51b815260040161068c906120c9565b610cab6000611564565b565b610cb5611169565b6001600160a01b0316610cd0600d546001600160a01b031690565b6001600160a01b031614610cf65760405162461bcd60e51b815260040161068c906120c9565b47811115610d0357600080fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610d39573d6000803e3d6000fd5b5060405181906001600160a01b0384169030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a45050565b606060018054610594906121dd565b610d8e81610b3f565b610d9757600080fd5b80601054610da5919061217b565b341015610dea5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b604482015260640161068c565b60005b81811015610e1057610dfe336115b6565b80610e0881612218565b915050610ded565b5050565b610e1c611169565b6001600160a01b0316826001600160a01b03161415610e7d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161068c565b8060056000610e8a611169565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610ece611169565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f0a911515815260200190565b60405180910390a35050565b610f27610f21611169565b836112e2565b610f435760405162461bcd60e51b815260040161068c906120fe565b610f4f848484846115d4565b50505050565b6060610f5f610f8f565b610f6883611607565b604051602001610f79929190611fc3565b6040516020818303038152906040529050919050565b60606040518060600160405280603d81526020016122e1603d9139905090565b606060405180608001604052806045815260200161236160459139905090565b6001600160a01b03808316600090815260056020908152604080832093851683529290529081205460ff165b9392505050565b61100a611169565b6001600160a01b0316611025600d546001600160a01b031690565b6001600160a01b03161461104b5760405162461bcd60e51b815260040161068c906120c9565b6001600160a01b0381166110b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161068c565b6110b981611564565b50565b60003330141561111357600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506111169050565b50335b90565b60006001600160e01b031982166380ac58cd60e01b148061114a57506001600160e01b03198216635b5e139f60e01b145b8061057f57506301ffc9a760e01b6001600160e01b031983161461057f565b60006111736110bc565b905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111ad82610b5a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661124c5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b606482015260840161068c565b600161125f61125a87611705565b611782565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156112ad573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000610ffb828461214f565b6000818152600260205260408120546001600160a01b031661135b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161068c565b600061136683610b5a565b9050806001600160a01b0316846001600160a01b031614806113a15750836001600160a01b031661139684610617565b6001600160a01b0316145b806113b157506113b18185610fcf565b949350505050565b826001600160a01b03166113cc82610b5a565b6001600160a01b0316146114345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161068c565b6001600160a01b0382166114965760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161068c565b6114a18383836117b2565b6114ac600082611178565b6001600160a01b03831660009081526003602052604081208054600192906114d590849061219a565b90915550506001600160a01b038216600090815260036020526040812080546001929061150390849061214f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006115c061186a565b90506115cc828261187b565b610e106119c9565b6115df8484846113b9565b6115eb848484846119e0565b610f4f5760405162461bcd60e51b815260040161068c90612077565b60608161162b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611655578061163f81612218565b915061164e9050600a83612167565b915061162f565b60008167ffffffffffffffff8111156116705761167061229f565b6040519080825280601f01601f19166020018201604052801561169a576020820181803683370190505b5090505b84156113b1576116af60018361219a565b91506116bc600a86612233565b6116c790603061214f565b60f81b8183815181106116dc576116dc612289565b60200101906001600160f81b031916908160001a9053506116fe600a86612167565b945061169e565b600060405180608001604052806043815260200161231e6043913980516020918201208351848301516040808701518051908601209051611765950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b600061178d600b5490565b60405161190160f01b6020820152602281019190915260428101839052606201611765565b6001600160a01b03831661180d5761180881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611830565b816001600160a01b0316836001600160a01b031614611830576118308382611af4565b6001600160a01b038216611847576107d481611b91565b826001600160a01b0316826001600160a01b0316146107d4576107d48282611c40565b600e546000906111739060016112d6565b6001600160a01b0382166118d15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161068c565b6000818152600260205260409020546001600160a01b0316156119365760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161068c565b611942600083836117b2565b6001600160a01b038216600090815260036020526040812080546001929061196b90849061214f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600e80549060006119d983612218565b9190505550565b60006001600160a01b0384163b15611ae957836001600160a01b031663150b7a02611a09611169565b8786866040518563ffffffff1660e01b8152600401611a2b9493929190612027565b602060405180830381600087803b158015611a4557600080fd5b505af1925050508015611a75575060408051601f3d908101601f19168201909252611a7291810190611f0e565b60015b611acf573d808015611aa3576040519150601f19603f3d011682016040523d82523d6000602084013e611aa8565b606091505b508051611ac75760405162461bcd60e51b815260040161068c90612077565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113b1565b506001949350505050565b60006001611b0184610bd1565b611b0b919061219a565b600083815260076020526040902054909150808214611b5e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611ba39060019061219a565b60008381526009602052604081205460088054939450909284908110611bcb57611bcb612289565b906000526020600020015490508060088381548110611bec57611bec612289565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c2457611c24612273565b6001900381819060005260206000200160009055905550505050565b6000611c4b83610bd1565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b600082601f830112611c9557600080fd5b813567ffffffffffffffff80821115611cb057611cb061229f565b604051601f8301601f19908116603f01168101908282118183101715611cd857611cd861229f565b81604052838152866020858801011115611cf157600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611d2357600080fd5b8135610ffb816122b5565b60008060408385031215611d4157600080fd5b8235611d4c816122b5565b946020939093013593505050565b60008060408385031215611d6d57600080fd5b8235611d78816122b5565b91506020830135611d88816122b5565b809150509250929050565b600080600060608486031215611da857600080fd5b8335611db3816122b5565b92506020840135611dc3816122b5565b929592945050506040919091013590565b60008060008060808587031215611dea57600080fd5b8435611df5816122b5565b93506020850135611e05816122b5565b925060408501359150606085013567ffffffffffffffff811115611e2857600080fd5b611e3487828801611c84565b91505092959194509250565b60008060408385031215611e5357600080fd5b8235611e5e816122b5565b915060208301358015158114611d8857600080fd5b600080600080600060a08688031215611e8b57600080fd5b8535611e96816122b5565b9450602086013567ffffffffffffffff811115611eb257600080fd5b611ebe88828901611c84565b9450506040860135925060608601359150608086013560ff81168114611ee357600080fd5b809150509295509295909350565b600060208284031215611f0357600080fd5b8135610ffb816122ca565b600060208284031215611f2057600080fd5b8151610ffb816122ca565b600060208284031215611f3d57600080fd5b5035919050565b60008151808452611f5c8160208601602086016121b1565b601f01601f19169290920160200192915050565b60008251611f828184602087016121b1565b9190910192915050565b60008351611f9e8184602088016121b1565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008351611fd58184602088016121b1565b835190830190611fe98183602088016121b1565b01949350505050565b6001600160a01b0384811682528316602082015260606040820181905260009061201e90830184611f44565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061205a90830184611f44565b9695505050505050565b602081526000610ffb6020830184611f44565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561216257612162612247565b500190565b6000826121765761217661225d565b500490565b600081600019048311821515161561219557612195612247565b500290565b6000828210156121ac576121ac612247565b500390565b60005b838110156121cc5781810151838201526020016121b4565b83811115610f4f5750506000910152565b600181811c908216806121f157607f821691505b6020821081141561221257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561222c5761222c612247565b5060010190565b6000826122425761224261225d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110b957600080fd5b6001600160e01b0319811681146110b957600080fdfe68747470733a2f2f73706f6f6b69652d7371756967676c652e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f6d657461646174612f4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f73706f6f6b69652d7371756967676c652e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f636f6e74726163745f6d65746164617461a2646970667358221220963f860c0be79619fc6531c546137e1773565ed90f470f6149f4e1f6dc4a2ddc64736f6c63430008070033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80635dd871a3116100f7578063a0712d6811610095578063d547cfb711610064578063d547cfb7146104f0578063e8a3d48514610505578063e985e9c51461051a578063f2fde38b1461053a57600080fd5b8063a0712d681461047d578063a22cb46514610490578063b88d4fde146104b0578063c87b56dd146104d057600080fd5b8063715018a6116100d1578063715018a614610415578063736fe5651461042a5780638da5cb5b1461044a57806395d89b411461046857600080fd5b80635dd871a3146103b55780636352211e146103d557806370a08231146103f557600080fd5b806320379ee5116101645780632f745c591161013e5780632f745c59146103425780633408e4701461036257806342842e0e146103755780634f6ccce71461039557600080fd5b806320379ee5146102d757806323b872dd146102ec5780632d0335ab1461030c57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630c53c51c146102785780630f7e59701461028b57806318160ddd146102b857600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611ef1565b61055a565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610585565b6040516101f39190612064565b34801561022a57600080fd5b5061023e610239366004611f2b565b610617565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611d2e565b6106b1565b005b610211610286366004611e73565b6107d9565b34801561029757600080fd5b50610211604051806040016040528060018152602001603160f81b81525081565b3480156102c457600080fd5b506008545b6040519081526020016101f3565b3480156102e357600080fd5b50600b546102c9565b3480156102f857600080fd5b50610276610307366004611d93565b6109c3565b34801561031857600080fd5b506102c9610327366004611d11565b6001600160a01b03166000908152600c602052604090205490565b34801561034e57600080fd5b506102c961035d366004611d2e565b6109fb565b34801561036e57600080fd5b50466102c9565b34801561038157600080fd5b50610276610390366004611d93565b610a91565b3480156103a157600080fd5b506102c96103b0366004611f2b565b610aac565b3480156103c157600080fd5b506101e76103d0366004611f2b565b610b3f565b3480156103e157600080fd5b5061023e6103f0366004611f2b565b610b5a565b34801561040157600080fd5b506102c9610410366004611d11565b610bd1565b34801561042157600080fd5b50610276610c58565b34801561043657600080fd5b50610276610445366004611d2e565b610cad565b34801561045657600080fd5b50600d546001600160a01b031661023e565b34801561047457600080fd5b50610211610d76565b61027661048b366004611f2b565b610d85565b34801561049c57600080fd5b506102766104ab366004611e40565b610e14565b3480156104bc57600080fd5b506102766104cb366004611dd4565b610f16565b3480156104dc57600080fd5b506102116104eb366004611f2b565b610f55565b3480156104fc57600080fd5b50610211610f8f565b34801561051157600080fd5b50610211610faf565b34801561052657600080fd5b506101e7610535366004611d5a565b610fcf565b34801561054657600080fd5b50610276610555366004611d11565b611002565b60006001600160e01b0319821663780e9d6360e01b148061057f575061057f82611119565b92915050565b606060008054610594906121dd565b80601f01602080910402602001604051908101604052809291908181526020018280546105c0906121dd565b801561060d5780601f106105e25761010080835404028352916020019161060d565b820191906000526020600020905b8154815290600101906020018083116105f057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106955760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106bc82610b5a565b9050806001600160a01b0316836001600160a01b0316141561072a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161068c565b806001600160a01b031661073c611169565b6001600160a01b03161480610758575061075881610535611169565b6107ca5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161068c565b6107d48383611178565b505050565b60408051606081810183526001600160a01b0388166000818152600c60209081529085902054845283015291810186905261081787828787876111e6565b61086d5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b606482015260840161068c565b6001600160a01b0387166000908152600c60205260409020546108919060016112d6565b6001600160a01b0388166000908152600c60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906108e190899033908a90611ff2565b60405180910390a1600080306001600160a01b0316888a604051602001610909929190611f8c565b60408051601f198184030181529082905261092391611f70565b6000604051808303816000865af19150503d8060008114610960576040519150601f19603f3d011682016040523d82523d6000602084013e610965565b606091505b5091509150816109b75760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015260640161068c565b98975050505050505050565b6109d46109ce611169565b826112e2565b6109f05760405162461bcd60e51b815260040161068c906120fe565b6107d48383836113b9565b6000610a0683610bd1565b8210610a685760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161068c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6107d483838360405180602001604052806000815250610f16565b6000610ab760085490565b8210610b1a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161068c565b60088281548110610b2d57610b2d612289565b90600052602060002001549050919050565b600081600f54610b4f919061219a565b600854111592915050565b6000818152600260205260408120546001600160a01b03168061057f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161068c565b60006001600160a01b038216610c3c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161068c565b506001600160a01b031660009081526003602052604090205490565b610c60611169565b6001600160a01b0316610c7b600d546001600160a01b031690565b6001600160a01b031614610ca15760405162461bcd60e51b815260040161068c906120c9565b610cab6000611564565b565b610cb5611169565b6001600160a01b0316610cd0600d546001600160a01b031690565b6001600160a01b031614610cf65760405162461bcd60e51b815260040161068c906120c9565b47811115610d0357600080fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610d39573d6000803e3d6000fd5b5060405181906001600160a01b0384169030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a45050565b606060018054610594906121dd565b610d8e81610b3f565b610d9757600080fd5b80601054610da5919061217b565b341015610dea5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b604482015260640161068c565b60005b81811015610e1057610dfe336115b6565b80610e0881612218565b915050610ded565b5050565b610e1c611169565b6001600160a01b0316826001600160a01b03161415610e7d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161068c565b8060056000610e8a611169565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610ece611169565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f0a911515815260200190565b60405180910390a35050565b610f27610f21611169565b836112e2565b610f435760405162461bcd60e51b815260040161068c906120fe565b610f4f848484846115d4565b50505050565b6060610f5f610f8f565b610f6883611607565b604051602001610f79929190611fc3565b6040516020818303038152906040529050919050565b60606040518060600160405280603d81526020016122e1603d9139905090565b606060405180608001604052806045815260200161236160459139905090565b6001600160a01b03808316600090815260056020908152604080832093851683529290529081205460ff165b9392505050565b61100a611169565b6001600160a01b0316611025600d546001600160a01b031690565b6001600160a01b03161461104b5760405162461bcd60e51b815260040161068c906120c9565b6001600160a01b0381166110b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161068c565b6110b981611564565b50565b60003330141561111357600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506111169050565b50335b90565b60006001600160e01b031982166380ac58cd60e01b148061114a57506001600160e01b03198216635b5e139f60e01b145b8061057f57506301ffc9a760e01b6001600160e01b031983161461057f565b60006111736110bc565b905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111ad82610b5a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661124c5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b606482015260840161068c565b600161125f61125a87611705565b611782565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156112ad573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000610ffb828461214f565b6000818152600260205260408120546001600160a01b031661135b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161068c565b600061136683610b5a565b9050806001600160a01b0316846001600160a01b031614806113a15750836001600160a01b031661139684610617565b6001600160a01b0316145b806113b157506113b18185610fcf565b949350505050565b826001600160a01b03166113cc82610b5a565b6001600160a01b0316146114345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161068c565b6001600160a01b0382166114965760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161068c565b6114a18383836117b2565b6114ac600082611178565b6001600160a01b03831660009081526003602052604081208054600192906114d590849061219a565b90915550506001600160a01b038216600090815260036020526040812080546001929061150390849061214f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006115c061186a565b90506115cc828261187b565b610e106119c9565b6115df8484846113b9565b6115eb848484846119e0565b610f4f5760405162461bcd60e51b815260040161068c90612077565b60608161162b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611655578061163f81612218565b915061164e9050600a83612167565b915061162f565b60008167ffffffffffffffff8111156116705761167061229f565b6040519080825280601f01601f19166020018201604052801561169a576020820181803683370190505b5090505b84156113b1576116af60018361219a565b91506116bc600a86612233565b6116c790603061214f565b60f81b8183815181106116dc576116dc612289565b60200101906001600160f81b031916908160001a9053506116fe600a86612167565b945061169e565b600060405180608001604052806043815260200161231e6043913980516020918201208351848301516040808701518051908601209051611765950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b600061178d600b5490565b60405161190160f01b6020820152602281019190915260428101839052606201611765565b6001600160a01b03831661180d5761180881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611830565b816001600160a01b0316836001600160a01b031614611830576118308382611af4565b6001600160a01b038216611847576107d481611b91565b826001600160a01b0316826001600160a01b0316146107d4576107d48282611c40565b600e546000906111739060016112d6565b6001600160a01b0382166118d15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161068c565b6000818152600260205260409020546001600160a01b0316156119365760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161068c565b611942600083836117b2565b6001600160a01b038216600090815260036020526040812080546001929061196b90849061214f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600e80549060006119d983612218565b9190505550565b60006001600160a01b0384163b15611ae957836001600160a01b031663150b7a02611a09611169565b8786866040518563ffffffff1660e01b8152600401611a2b9493929190612027565b602060405180830381600087803b158015611a4557600080fd5b505af1925050508015611a75575060408051601f3d908101601f19168201909252611a7291810190611f0e565b60015b611acf573d808015611aa3576040519150601f19603f3d011682016040523d82523d6000602084013e611aa8565b606091505b508051611ac75760405162461bcd60e51b815260040161068c90612077565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113b1565b506001949350505050565b60006001611b0184610bd1565b611b0b919061219a565b600083815260076020526040902054909150808214611b5e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611ba39060019061219a565b60008381526009602052604081205460088054939450909284908110611bcb57611bcb612289565b906000526020600020015490508060088381548110611bec57611bec612289565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c2457611c24612273565b6001900381819060005260206000200160009055905550505050565b6000611c4b83610bd1565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b600082601f830112611c9557600080fd5b813567ffffffffffffffff80821115611cb057611cb061229f565b604051601f8301601f19908116603f01168101908282118183101715611cd857611cd861229f565b81604052838152866020858801011115611cf157600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611d2357600080fd5b8135610ffb816122b5565b60008060408385031215611d4157600080fd5b8235611d4c816122b5565b946020939093013593505050565b60008060408385031215611d6d57600080fd5b8235611d78816122b5565b91506020830135611d88816122b5565b809150509250929050565b600080600060608486031215611da857600080fd5b8335611db3816122b5565b92506020840135611dc3816122b5565b929592945050506040919091013590565b60008060008060808587031215611dea57600080fd5b8435611df5816122b5565b93506020850135611e05816122b5565b925060408501359150606085013567ffffffffffffffff811115611e2857600080fd5b611e3487828801611c84565b91505092959194509250565b60008060408385031215611e5357600080fd5b8235611e5e816122b5565b915060208301358015158114611d8857600080fd5b600080600080600060a08688031215611e8b57600080fd5b8535611e96816122b5565b9450602086013567ffffffffffffffff811115611eb257600080fd5b611ebe88828901611c84565b9450506040860135925060608601359150608086013560ff81168114611ee357600080fd5b809150509295509295909350565b600060208284031215611f0357600080fd5b8135610ffb816122ca565b600060208284031215611f2057600080fd5b8151610ffb816122ca565b600060208284031215611f3d57600080fd5b5035919050565b60008151808452611f5c8160208601602086016121b1565b601f01601f19169290920160200192915050565b60008251611f828184602087016121b1565b9190910192915050565b60008351611f9e8184602088016121b1565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008351611fd58184602088016121b1565b835190830190611fe98183602088016121b1565b01949350505050565b6001600160a01b0384811682528316602082015260606040820181905260009061201e90830184611f44565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061205a90830184611f44565b9695505050505050565b602081526000610ffb6020830184611f44565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561216257612162612247565b500190565b6000826121765761217661225d565b500490565b600081600019048311821515161561219557612195612247565b500290565b6000828210156121ac576121ac612247565b500390565b60005b838110156121cc5781810151838201526020016121b4565b83811115610f4f5750506000910152565b600181811c908216806121f157607f821691505b6020821081141561221257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561222c5761222c612247565b5060010190565b6000826122425761224261225d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110b957600080fd5b6001600160e01b0319811681146110b957600080fdfe68747470733a2f2f73706f6f6b69652d7371756967676c652e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f6d657461646174612f4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f73706f6f6b69652d7371756967676c652e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f636f6e74726163745f6d65746164617461a2646970667358221220963f860c0be79619fc6531c546137e1773565ed90f470f6149f4e1f6dc4a2ddc64736f6c63430008070033

Deployed Bytecode Sourcemap

59259:1155:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50398:224;;;;;;;;;;-1:-1:-1;50398:224:0;;;;;:::i;:::-;;:::i;:::-;;;8169:14:1;;8162:22;8144:41;;8132:2;8117:18;50398:224:0;;;;;;;;38282:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;39841:221::-;;;;;;;;;;-1:-1:-1;39841:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7031:32:1;;;7013:51;;7001:2;6986:18;39841:221:0;6867:203:1;39364:411:0;;;;;;;;;;-1:-1:-1;39364:411:0;;;;;:::i;:::-;;:::i;:::-;;11150:1151;;;;;;:::i;:::-;;:::i;554:43::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;554:43:0;;;;;51038:113;;;;;;;;;;-1:-1:-1;51126:10:0;:17;51038:113;;;8342:25:1;;;8330:2;8315:18;51038:113:0;8196:177:1;1563:101:0;;;;;;;;;;-1:-1:-1;1641:15:0;;1563:101;;40731:339;;;;;;;;;;-1:-1:-1;40731:339:0;;;;;:::i;:::-;;:::i;12727:107::-;;;;;;;;;;-1:-1:-1;12727:107:0;;;;;:::i;:::-;-1:-1:-1;;;;;12814:12:0;12780:13;12814:12;;;:6;:12;;;;;;;12727:107;50706:256;;;;;;;;;;-1:-1:-1;50706:256:0;;;;;:::i;:::-;;:::i;1672:161::-;;;;;;;;;;-1:-1:-1;1786:9:0;1672:161;;41141:185;;;;;;;;;;-1:-1:-1;41141:185:0;;;;;:::i;:::-;;:::i;51228:233::-;;;;;;;;;;-1:-1:-1;51228:233:0;;;;;:::i;:::-;;:::i;59716:120::-;;;;;;;;;;-1:-1:-1;59716:120:0;;;;;:::i;:::-;;:::i;37976:239::-;;;;;;;;;;-1:-1:-1;37976:239:0;;;;;:::i;:::-;;:::i;37706:208::-;;;;;;;;;;-1:-1:-1;37706:208:0;;;;;:::i;:::-;;:::i;17917:94::-;;;;;;;;;;;;;:::i;60178:233::-;;;;;;;;;;-1:-1:-1;60178:233:0;;;;;:::i;:::-;;:::i;17266:87::-;;;;;;;;;;-1:-1:-1;17339:6:0;;-1:-1:-1;;;;;17339:6:0;17266:87;;38451:104;;;;;;;;;;;;;:::i;59452:256::-;;;;;;:::i;:::-;;:::i;40134:295::-;;;;;;;;;;-1:-1:-1;40134:295:0;;;;;:::i;:::-;;:::i;41397:328::-;;;;;;;;;;-1:-1:-1;41397:328:0;;;;;:::i;:::-;;:::i;58024:175::-;;;;;;;;;;-1:-1:-1;58024:175:0;;;;;:::i;:::-;;:::i;59844:158::-;;;;;;;;;;;;;:::i;60010:156::-;;;;;;;;;;;;;:::i;58331:457::-;;;;;;;;;;-1:-1:-1;58331:457:0;;;;;:::i;:::-;;:::i;18166:192::-;;;;;;;;;;-1:-1:-1;18166:192:0;;;;;:::i;:::-;;:::i;50398:224::-;50500:4;-1:-1:-1;;;;;;50524:50:0;;-1:-1:-1;;;50524:50:0;;:90;;;50578:36;50602:11;50578:23;:36::i;:::-;50517:97;50398:224;-1:-1:-1;;50398:224:0:o;38282:100::-;38336:13;38369:5;38362:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38282:100;:::o;39841:221::-;39917:7;43324:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43324:16:0;39937:73;;;;-1:-1:-1;;;39937:73:0;;14988:2:1;39937:73:0;;;14970:21:1;15027:2;15007:18;;;15000:30;15066:34;15046:18;;;15039:62;-1:-1:-1;;;15117:18:1;;;15110:42;15169:19;;39937:73:0;;;;;;;;;-1:-1:-1;40030:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;40030:24:0;;39841:221::o;39364:411::-;39445:13;39461:23;39476:7;39461:14;:23::i;:::-;39445:39;;39509:5;-1:-1:-1;;;;;39503:11:0;:2;-1:-1:-1;;;;;39503:11:0;;;39495:57;;;;-1:-1:-1;;;39495:57:0;;16922:2:1;39495:57:0;;;16904:21:1;16961:2;16941:18;;;16934:30;17000:34;16980:18;;;16973:62;-1:-1:-1;;;17051:18:1;;;17044:31;17092:19;;39495:57:0;16720:397:1;39495:57:0;39603:5;-1:-1:-1;;;;;39587:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;39587:21:0;;:62;;;;39612:37;39629:5;39636:12;:10;:12::i;39612:37::-;39565:168;;;;-1:-1:-1;;;39565:168:0;;13381:2:1;39565:168:0;;;13363:21:1;13420:2;13400:18;;;13393:30;13459:34;13439:18;;;13432:62;13530:26;13510:18;;;13503:54;13574:19;;39565:168:0;13179:420:1;39565:168:0;39746:21;39755:2;39759:7;39746:8;:21::i;:::-;39434:341;39364:411;;:::o;11150:1151::-;11408:152;;;11351:12;11408:152;;;;;-1:-1:-1;;;;;11446:19:0;;11376:29;11446:19;;;:6;:19;;;;;;;;;11408:152;;;;;;;;;;;11595:45;11453:11;11408:152;11623:4;11629;11635;11595:6;:45::i;:::-;11573:128;;;;-1:-1:-1;;;11573:128:0;;16520:2:1;11573:128:0;;;16502:21:1;16559:2;16539:18;;;16532:30;16598:34;16578:18;;;16571:62;-1:-1:-1;;;16649:18:1;;;16642:31;16690:19;;11573:128:0;16318:397:1;11573:128:0;-1:-1:-1;;;;;11790:19:0;;;;;;:6;:19;;;;;;:26;;11814:1;11790:23;:26::i;:::-;-1:-1:-1;;;;;11768:19:0;;;;;;:6;:19;;;;;;;:48;;;;11834:126;;;;;11775:11;;11906:10;;11932:17;;11834:126;:::i;:::-;;;;;;;;12071:12;12085:23;12120:4;-1:-1:-1;;;;;12112:18:0;12162:17;12181:11;12145:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;12145:48:0;;;;;;;;;;12112:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12070:134;;;;12223:7;12215:48;;;;-1:-1:-1;;;12215:48:0;;11089:2:1;12215:48:0;;;11071:21:1;11128:2;11108:18;;;11101:30;11167;11147:18;;;11140:58;11215:18;;12215:48:0;10887:352:1;12215:48:0;12283:10;11150:1151;-1:-1:-1;;;;;;;;11150:1151:0:o;40731:339::-;40926:41;40945:12;:10;:12::i;:::-;40959:7;40926:18;:41::i;:::-;40918:103;;;;-1:-1:-1;;;40918:103:0;;;;;;;:::i;:::-;41034:28;41044:4;41050:2;41054:7;41034:9;:28::i;50706:256::-;50803:7;50839:23;50856:5;50839:16;:23::i;:::-;50831:5;:31;50823:87;;;;-1:-1:-1;;;50823:87:0;;9851:2:1;50823:87:0;;;9833:21:1;9890:2;9870:18;;;9863:30;9929:34;9909:18;;;9902:62;-1:-1:-1;;;9980:18:1;;;9973:41;10031:19;;50823:87:0;9649:407:1;50823:87:0;-1:-1:-1;;;;;;50928:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;50706:256::o;41141:185::-;41279:39;41296:4;41302:2;41306:7;41279:39;;;;;;;;;;;;:16;:39::i;51228:233::-;51303:7;51339:30;51126:10;:17;;51038:113;51339:30;51331:5;:38;51323:95;;;;-1:-1:-1;;;51323:95:0;;17742:2:1;51323:95:0;;;17724:21:1;17781:2;17761:18;;;17754:30;17820:34;17800:18;;;17793:62;-1:-1:-1;;;17871:18:1;;;17864:42;17923:19;;51323:95:0;17540:408:1;51323:95:0;51436:10;51447:5;51436:17;;;;;;;;:::i;:::-;;;;;;;;;51429:24;;51228:233;;;:::o;59716:120::-;59771:4;59821:7;59812:6;;:16;;;;:::i;:::-;51126:10;:17;59795:33;;;59716:120;-1:-1:-1;;59716:120:0:o;37976:239::-;38048:7;38084:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38084:16:0;38119:19;38111:73;;;;-1:-1:-1;;;38111:73:0;;14217:2:1;38111:73:0;;;14199:21:1;14256:2;14236:18;;;14229:30;14295:34;14275:18;;;14268:62;-1:-1:-1;;;14346:18:1;;;14339:39;14395:19;;38111:73:0;14015:405:1;37706:208:0;37778:7;-1:-1:-1;;;;;37806:19:0;;37798:74;;;;-1:-1:-1;;;37798:74:0;;13806:2:1;37798:74:0;;;13788:21:1;13845:2;13825:18;;;13818:30;13884:34;13864:18;;;13857:62;-1:-1:-1;;;13935:18:1;;;13928:40;13985:19;;37798:74:0;13604:406:1;37798:74:0;-1:-1:-1;;;;;;37890:16:0;;;;;:9;:16;;;;;;;37706:208::o;17917:94::-;17497:12;:10;:12::i;:::-;-1:-1:-1;;;;;17486:23:0;:7;17339:6;;-1:-1:-1;;;;;17339:6:0;;17266:87;17486:7;-1:-1:-1;;;;;17486:23:0;;17478:68;;;;-1:-1:-1;;;17478:68:0;;;;;;;:::i;:::-;17982:21:::1;18000:1;17982:9;:21::i;:::-;17917:94::o:0;60178:233::-;17497:12;:10;:12::i;:::-;-1:-1:-1;;;;;17486:23:0;:7;17339:6;;-1:-1:-1;;;;;17339:6:0;;17266:87;17486:7;-1:-1:-1;;;;;17486:23:0;;17478:68;;;;-1:-1:-1;;;17478:68:0;;;;;;;:::i;:::-;60289:21:::1;60279:6;:31;;60271:40;;;::::0;::::1;;60323:23;::::0;-1:-1:-1;;;;;60323:15:0;::::1;::::0;:23;::::1;;;::::0;60339:6;;60323:23:::1;::::0;;;60339:6;60323:15;:23;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;60363:39:0::1;::::0;60395:6;;-1:-1:-1;;;;;60363:39:0;::::1;::::0;60380:4:::1;::::0;60363:39:::1;::::0;;;::::1;60178:233:::0;;:::o;38451:104::-;38507:13;38540:7;38533:14;;;;;:::i;59452:256::-;59517:16;59525:7;59517;:16::i;:::-;59509:25;;;;;;59574:7;59566:5;;:15;;;;:::i;:::-;59553:9;:28;;59545:60;;;;-1:-1:-1;;;59545:60:0;;16172:2:1;59545:60:0;;;16154:21:1;16211:2;16191:18;;;16184:30;-1:-1:-1;;;16230:18:1;;;16223:49;16289:18;;59545:60:0;15970:343:1;59545:60:0;59623:9;59618:83;59642:7;59638:1;:11;59618:83;;;59671:18;59678:10;59671:6;:18::i;:::-;59651:3;;;;:::i;:::-;;;;59618:83;;;;59452:256;:::o;40134:295::-;40249:12;:10;:12::i;:::-;-1:-1:-1;;;;;40237:24:0;:8;-1:-1:-1;;;;;40237:24:0;;;40229:62;;;;-1:-1:-1;;;40229:62:0;;12208:2:1;40229:62:0;;;12190:21:1;12247:2;12227:18;;;12220:30;12286:27;12266:18;;;12259:55;12331:18;;40229:62:0;12006:349:1;40229:62:0;40349:8;40304:18;:32;40323:12;:10;:12::i;:::-;-1:-1:-1;;;;;40304:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;40304:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;40304:53:0;;;;;;;;;;;40388:12;:10;:12::i;:::-;-1:-1:-1;;;;;40373:48:0;;40412:8;40373:48;;;;8169:14:1;8162:22;8144:41;;8132:2;8117:18;;8004:187;40373:48:0;;;;;;;;40134:295;;:::o;41397:328::-;41572:41;41591:12;:10;:12::i;:::-;41605:7;41572:18;:41::i;:::-;41564:103;;;;-1:-1:-1;;;41564:103:0;;;;;;;:::i;:::-;41678:39;41692:4;41698:2;41702:7;41711:5;41678:13;:39::i;:::-;41397:328;;;;:::o;58024:175::-;58090:13;58147:14;:12;:14::i;:::-;58163:26;58180:8;58163:16;:26::i;:::-;58130:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58116:75;;58024:175;;;:::o;59844:158::-;59898:13;59924:70;;;;;;;;;;;;;;;;;;;59844:158;:::o;60010:156::-;60054:13;60080:78;;;;;;;;;;;;;;;;;;;60010:156;:::o;58331:457::-;-1:-1:-1;;;;;40621:25:0;;;58456:4;40621:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;58741:39;58734:46;58331:457;-1:-1:-1;;;58331:457:0:o;18166:192::-;17497:12;:10;:12::i;:::-;-1:-1:-1;;;;;17486:23:0;:7;17339:6;;-1:-1:-1;;;;;17339:6:0;;17266:87;17486:7;-1:-1:-1;;;;;17486:23:0;;17478:68;;;;-1:-1:-1;;;17478:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;18255:22:0;::::1;18247:73;;;::::0;-1:-1:-1;;;18247:73:0;;10682:2:1;18247:73:0::1;::::0;::::1;10664:21:1::0;10721:2;10701:18;;;10694:30;10760:34;10740:18;;;10733:62;-1:-1:-1;;;10811:18:1;;;10804:36;10857:19;;18247:73:0::1;10480:402:1::0;18247:73:0::1;18331:19;18341:8;18331:9;:19::i;:::-;18166:192:::0;:::o;2598:650::-;2669:22;2713:10;2735:4;2713:27;2709:508;;;2757:18;2778:8;;2757:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2817:8:0;3028:17;3022:24;-1:-1:-1;;;;;2996:134:0;;-1:-1:-1;2709:508:0;;-1:-1:-1;2709:508:0;;-1:-1:-1;3194:10:0;2709:508;2598:650;:::o;37337:305::-;37439:4;-1:-1:-1;;;;;;37476:40:0;;-1:-1:-1;;;37476:40:0;;:105;;-1:-1:-1;;;;;;;37533:48:0;;-1:-1:-1;;;37533:48:0;37476:105;:158;;;-1:-1:-1;;;;;;;;;;29393:40:0;;;37598:36;29284:157;58932:161;59022:14;59061:24;:22;:24::i;:::-;59054:31;;58932:161;:::o;47217:174::-;47292:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;47292:29:0;-1:-1:-1;;;;;47292:29:0;;;;;;;;:24;;47346:23;47292:24;47346:14;:23::i;:::-;-1:-1:-1;;;;;47337:46:0;;;;;;;;;;;47217:174;;:::o;12842:486::-;13020:4;-1:-1:-1;;;;;13045:20:0;;13037:70;;;;-1:-1:-1;;;13037:70:0;;12975:2:1;13037:70:0;;;12957:21:1;13014:2;12994:18;;;12987:30;13053:34;13033:18;;;13026:62;-1:-1:-1;;;13104:18:1;;;13097:35;13149:19;;13037:70:0;12773:401:1;13037:70:0;13161:159;13189:47;13208:27;13228:6;13208:19;:27::i;:::-;13189:18;:47::i;:::-;13161:159;;;;;;;;;;;;9027:25:1;;;;9100:4;9088:17;;9068:18;;;9061:45;9122:18;;;9115:34;;;9165:18;;;9158:34;;;8999:19;;13161:159:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13138:182:0;:6;-1:-1:-1;;;;;13138:182:0;;13118:202;;12842:486;;;;;;;:::o;6055:98::-;6113:7;6140:5;6144:1;6140;:5;:::i;43529:348::-;43622:4;43324:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43324:16:0;43639:73;;;;-1:-1:-1;;;43639:73:0;;12562:2:1;43639:73:0;;;12544:21:1;12601:2;12581:18;;;12574:30;12640:34;12620:18;;;12613:62;-1:-1:-1;;;12691:18:1;;;12684:42;12743:19;;43639:73:0;12360:408:1;43639:73:0;43723:13;43739:23;43754:7;43739:14;:23::i;:::-;43723:39;;43792:5;-1:-1:-1;;;;;43781:16:0;:7;-1:-1:-1;;;;;43781:16:0;;:51;;;;43825:7;-1:-1:-1;;;;;43801:31:0;:20;43813:7;43801:11;:20::i;:::-;-1:-1:-1;;;;;43801:31:0;;43781:51;:87;;;;43836:32;43853:5;43860:7;43836:16;:32::i;:::-;43773:96;43529:348;-1:-1:-1;;;;43529:348:0:o;46521:578::-;46680:4;-1:-1:-1;;;;;46653:31:0;:23;46668:7;46653:14;:23::i;:::-;-1:-1:-1;;;;;46653:31:0;;46645:85;;;;-1:-1:-1;;;46645:85:0;;15762:2:1;46645:85:0;;;15744:21:1;15801:2;15781:18;;;15774:30;15840:34;15820:18;;;15813:62;-1:-1:-1;;;15891:18:1;;;15884:39;15940:19;;46645:85:0;15560:405:1;46645:85:0;-1:-1:-1;;;;;46749:16:0;;46741:65;;;;-1:-1:-1;;;46741:65:0;;11803:2:1;46741:65:0;;;11785:21:1;11842:2;11822:18;;;11815:30;11881:34;11861:18;;;11854:62;-1:-1:-1;;;11932:18:1;;;11925:34;11976:19;;46741:65:0;11601:400:1;46741:65:0;46819:39;46840:4;46846:2;46850:7;46819:20;:39::i;:::-;46923:29;46940:1;46944:7;46923:8;:29::i;:::-;-1:-1:-1;;;;;46965:15:0;;;;;;:9;:15;;;;;:20;;46984:1;;46965:15;:20;;46984:1;;46965:20;:::i;:::-;;;;-1:-1:-1;;;;;;;46996:13:0;;;;;;:9;:13;;;;;:18;;47013:1;;46996:13;:18;;47013:1;;46996:18;:::i;:::-;;;;-1:-1:-1;;47025:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;47025:21:0;-1:-1:-1;;;;;47025:21:0;;;;;;;;;47064:27;;47025:16;;47064:27;;;;;;;46521:578;;;:::o;18366:173::-;18441:6;;;-1:-1:-1;;;;;18458:17:0;;;-1:-1:-1;;;;;;18458:17:0;;;;;;;18491:40;;18441:6;;;18458:17;18441:6;;18491:40;;18422:16;;18491:40;18411:128;18366:173;:::o;57376:158::-;57425:18;57446:17;:15;:17::i;:::-;57425:38;;57474:22;57480:3;57485:10;57474:5;:22::i;:::-;57507:19;:17;:19::i;42607:315::-;42764:28;42774:4;42780:2;42784:7;42764:9;:28::i;:::-;42811:48;42834:4;42840:2;42844:7;42853:5;42811:22;:48::i;:::-;42803:111;;;;-1:-1:-1;;;42803:111:0;;;;;;;:::i;13654:723::-;13710:13;13931:10;13927:53;;-1:-1:-1;;13958:10:0;;;;;;;;;;;;-1:-1:-1;;;13958:10:0;;;;;13654:723::o;13927:53::-;14005:5;13990:12;14046:78;14053:9;;14046:78;;14079:8;;;;:::i;:::-;;-1:-1:-1;14102:10:0;;-1:-1:-1;14110:2:0;14102:10;;:::i;:::-;;;14046:78;;;14134:19;14166:6;14156:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14156:17:0;;14134:39;;14184:154;14191:10;;14184:154;;14218:11;14228:1;14218:11;;:::i;:::-;;-1:-1:-1;14287:10:0;14295:2;14287:5;:10;:::i;:::-;14274:24;;:2;:24;:::i;:::-;14261:39;;14244:6;14251;14244:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;14244:56:0;;;;;;;;-1:-1:-1;14315:11:0;14324:2;14315:11;;:::i;:::-;;;14184:154;;12309:410;12419:7;10486:100;;;;;;;;;;;;;;;;;10466:127;;;;;;;12573:12;;12608:11;;;;12652:24;;;;;12642:35;;;;;;12492:204;;;;;8609:25:1;;;8665:2;8650:18;;8643:34;;;;-1:-1:-1;;;;;8713:32:1;8708:2;8693:18;;8686:60;8777:2;8762:18;;8755:34;8596:3;8581:19;;8378:417;12492:204:0;;;;;;;;;;;;;12464:247;;;;;;12444:267;;12309:410;;;:::o;2202:258::-;2301:7;2403:20;1641:15;;;1563:101;2403:20;2374:63;;-1:-1:-1;;;2374:63:0;;;6728:27:1;6771:11;;;6764:27;;;;6807:12;;;6800:28;;;6844:12;;2374:63:0;6470:392:1;52074:589:0;-1:-1:-1;;;;;52280:18:0;;52276:187;;52315:40;52347:7;53490:10;:17;;53463:24;;;;:15;:24;;;;;:44;;;53518:24;;;;;;;;;;;;53386:164;52315:40;52276:187;;;52385:2;-1:-1:-1;;;;;52377:10:0;:4;-1:-1:-1;;;;;52377:10:0;;52373:90;;52404:47;52437:4;52443:7;52404:32;:47::i;:::-;-1:-1:-1;;;;;52477:16:0;;52473:183;;52510:45;52547:7;52510:36;:45::i;52473:183::-;52583:4;-1:-1:-1;;;;;52577:10:0;:2;-1:-1:-1;;;;;52577:10:0;;52573:83;;52604:40;52632:2;52636:7;52604:27;:40::i;57682:106::-;57758:15;;57731:7;;57758:22;;57778:1;57758:19;:22::i;45213:382::-;-1:-1:-1;;;;;45293:16:0;;45285:61;;;;-1:-1:-1;;;45285:61:0;;14627:2:1;45285:61:0;;;14609:21:1;;;14646:18;;;14639:30;14705:34;14685:18;;;14678:62;14757:18;;45285:61:0;14425:356:1;45285:61:0;43300:4;43324:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43324:16:0;:30;45357:58;;;;-1:-1:-1;;;45357:58:0;;11446:2:1;45357:58:0;;;11428:21:1;11485:2;11465:18;;;11458:30;11524;11504:18;;;11497:58;11572:18;;45357:58:0;11244:352:1;45357:58:0;45428:45;45457:1;45461:2;45465:7;45428:20;:45::i;:::-;-1:-1:-1;;;;;45486:13:0;;;;;;:9;:13;;;;;:18;;45503:1;;45486:13;:18;;45503:1;;45486:18;:::i;:::-;;;;-1:-1:-1;;45515:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45515:21:0;-1:-1:-1;;;;;45515:21:0;;;;;;;;45554:33;;45515:16;;;45554:33;;45515:16;;45554:33;45213:382;;:::o;57867:73::-;57915:15;:17;;;:15;:17;;;:::i;:::-;;;;;;57867:73::o;47956:799::-;48111:4;-1:-1:-1;;;;;48132:13:0;;19643:20;19691:8;48128:620;;48184:2;-1:-1:-1;;;;;48168:36:0;;48205:12;:10;:12::i;:::-;48219:4;48225:7;48234:5;48168:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48168:72:0;;;;;;;;-1:-1:-1;;48168:72:0;;;;;;;;;;;;:::i;:::-;;;48164:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48410:13:0;;48406:272;;48453:60;;-1:-1:-1;;;48453:60:0;;;;;;;:::i;48406:272::-;48628:6;48622:13;48613:6;48609:2;48605:15;48598:38;48164:529;-1:-1:-1;;;;;;48291:51:0;-1:-1:-1;;;48291:51:0;;-1:-1:-1;48284:58:0;;48128:620;-1:-1:-1;48732:4:0;47956:799;;;;;;:::o;54177:988::-;54443:22;54493:1;54468:22;54485:4;54468:16;:22::i;:::-;:26;;;;:::i;:::-;54505:18;54526:26;;;:17;:26;;;;;;54443:51;;-1:-1:-1;54659:28:0;;;54655:328;;-1:-1:-1;;;;;54726:18:0;;54704:19;54726:18;;;:12;:18;;;;;;;;:34;;;;;;;;;54777:30;;;;;;:44;;;54894:30;;:17;:30;;;;;:43;;;54655:328;-1:-1:-1;55079:26:0;;;;:17;:26;;;;;;;;55072:33;;;-1:-1:-1;;;;;55123:18:0;;;;;:12;:18;;;;;:34;;;;;;;55116:41;54177:988::o;55460:1079::-;55738:10;:17;55713:22;;55738:21;;55758:1;;55738:21;:::i;:::-;55770:18;55791:24;;;:15;:24;;;;;;56164:10;:26;;55713:46;;-1:-1:-1;55791:24:0;;55713:46;;56164:26;;;;;;:::i;:::-;;;;;;;;;56142:48;;56228:11;56203:10;56214;56203:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;56308:28;;;:15;:28;;;;;;;:41;;;56480:24;;;;;56473:31;56515:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;55531:1008;;;55460:1079;:::o;52964:221::-;53049:14;53066:20;53083:2;53066:16;:20::i;:::-;-1:-1:-1;;;;;53097:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;53142:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;52964:221:0:o;14:718:1:-;56:5;109:3;102:4;94:6;90:17;86:27;76:55;;127:1;124;117:12;76:55;163:6;150:20;189:18;226:2;222;219:10;216:36;;;232:18;;:::i;:::-;307:2;301:9;275:2;361:13;;-1:-1:-1;;357:22:1;;;381:2;353:31;349:40;337:53;;;405:18;;;425:22;;;402:46;399:72;;;451:18;;:::i;:::-;491:10;487:2;480:22;526:2;518:6;511:18;572:3;565:4;560:2;552:6;548:15;544:26;541:35;538:55;;;589:1;586;579:12;538:55;653:2;646:4;638:6;634:17;627:4;619:6;615:17;602:54;700:1;693:4;688:2;680:6;676:15;672:26;665:37;720:6;711:15;;;;;;14:718;;;;:::o;737:247::-;796:6;849:2;837:9;828:7;824:23;820:32;817:52;;;865:1;862;855:12;817:52;904:9;891:23;923:31;948:5;923:31;:::i;989:323::-;1065:6;1073;1126:2;1114:9;1105:7;1101:23;1097:32;1094:52;;;1142:1;1139;1132:12;1094:52;1181:9;1168:23;1200:31;1225:5;1200:31;:::i;:::-;1250:5;1302:2;1287:18;;;;1274:32;;-1:-1:-1;;;989:323:1:o;1317:388::-;1385:6;1393;1446:2;1434:9;1425:7;1421:23;1417:32;1414:52;;;1462:1;1459;1452:12;1414:52;1501:9;1488:23;1520:31;1545:5;1520:31;:::i;:::-;1570:5;-1:-1:-1;1627:2:1;1612:18;;1599:32;1640:33;1599:32;1640:33;:::i;:::-;1692:7;1682:17;;;1317:388;;;;;:::o;1710:456::-;1787:6;1795;1803;1856:2;1844:9;1835:7;1831:23;1827:32;1824:52;;;1872:1;1869;1862:12;1824:52;1911:9;1898:23;1930:31;1955:5;1930:31;:::i;:::-;1980:5;-1:-1:-1;2037:2:1;2022:18;;2009:32;2050:33;2009:32;2050:33;:::i;:::-;1710:456;;2102:7;;-1:-1:-1;;;2156:2:1;2141:18;;;;2128:32;;1710:456::o;2171:665::-;2266:6;2274;2282;2290;2343:3;2331:9;2322:7;2318:23;2314:33;2311:53;;;2360:1;2357;2350:12;2311:53;2399:9;2386:23;2418:31;2443:5;2418:31;:::i;:::-;2468:5;-1:-1:-1;2525:2:1;2510:18;;2497:32;2538:33;2497:32;2538:33;:::i;:::-;2590:7;-1:-1:-1;2644:2:1;2629:18;;2616:32;;-1:-1:-1;2699:2:1;2684:18;;2671:32;2726:18;2715:30;;2712:50;;;2758:1;2755;2748:12;2712:50;2781:49;2822:7;2813:6;2802:9;2798:22;2781:49;:::i;:::-;2771:59;;;2171:665;;;;;;;:::o;2841:416::-;2906:6;2914;2967:2;2955:9;2946:7;2942:23;2938:32;2935:52;;;2983:1;2980;2973:12;2935:52;3022:9;3009:23;3041:31;3066:5;3041:31;:::i;:::-;3091:5;-1:-1:-1;3148:2:1;3133:18;;3120:32;3190:15;;3183:23;3171:36;;3161:64;;3221:1;3218;3211:12;3262:758;3364:6;3372;3380;3388;3396;3449:3;3437:9;3428:7;3424:23;3420:33;3417:53;;;3466:1;3463;3456:12;3417:53;3505:9;3492:23;3524:31;3549:5;3524:31;:::i;:::-;3574:5;-1:-1:-1;3630:2:1;3615:18;;3602:32;3657:18;3646:30;;3643:50;;;3689:1;3686;3679:12;3643:50;3712:49;3753:7;3744:6;3733:9;3729:22;3712:49;:::i;:::-;3702:59;;;3808:2;3797:9;3793:18;3780:32;3770:42;;3859:2;3848:9;3844:18;3831:32;3821:42;;3915:3;3904:9;3900:19;3887:33;3964:4;3955:7;3951:18;3942:7;3939:31;3929:59;;3984:1;3981;3974:12;3929:59;4007:7;3997:17;;;3262:758;;;;;;;;:::o;4345:245::-;4403:6;4456:2;4444:9;4435:7;4431:23;4427:32;4424:52;;;4472:1;4469;4462:12;4424:52;4511:9;4498:23;4530:30;4554:5;4530:30;:::i;4595:249::-;4664:6;4717:2;4705:9;4696:7;4692:23;4688:32;4685:52;;;4733:1;4730;4723:12;4685:52;4765:9;4759:16;4784:30;4808:5;4784:30;:::i;4849:180::-;4908:6;4961:2;4949:9;4940:7;4936:23;4932:32;4929:52;;;4977:1;4974;4967:12;4929:52;-1:-1:-1;5000:23:1;;4849:180;-1:-1:-1;4849:180:1:o;5034:257::-;5075:3;5113:5;5107:12;5140:6;5135:3;5128:19;5156:63;5212:6;5205:4;5200:3;5196:14;5189:4;5182:5;5178:16;5156:63;:::i;:::-;5273:2;5252:15;-1:-1:-1;;5248:29:1;5239:39;;;;5280:4;5235:50;;5034:257;-1:-1:-1;;5034:257:1:o;5296:274::-;5425:3;5463:6;5457:13;5479:53;5525:6;5520:3;5513:4;5505:6;5501:17;5479:53;:::i;:::-;5548:16;;;;;5296:274;-1:-1:-1;;5296:274:1:o;5575:415::-;5732:3;5770:6;5764:13;5786:53;5832:6;5827:3;5820:4;5812:6;5808:17;5786:53;:::i;:::-;5908:2;5904:15;;;;-1:-1:-1;;5900:53:1;5861:16;;;;5886:68;;;5981:2;5970:14;;5575:415;-1:-1:-1;;5575:415:1:o;5995:470::-;6174:3;6212:6;6206:13;6228:53;6274:6;6269:3;6262:4;6254:6;6250:17;6228:53;:::i;:::-;6344:13;;6303:16;;;;6366:57;6344:13;6303:16;6400:4;6388:17;;6366:57;:::i;:::-;6439:20;;5995:470;-1:-1:-1;;;;5995:470:1:o;7075:431::-;-1:-1:-1;;;;;7332:15:1;;;7314:34;;7384:15;;7379:2;7364:18;;7357:43;7436:2;7431;7416:18;;7409:30;;;7257:4;;7456:44;;7481:18;;7473:6;7456:44;:::i;:::-;7448:52;7075:431;-1:-1:-1;;;;;7075:431:1:o;7511:488::-;-1:-1:-1;;;;;7780:15:1;;;7762:34;;7832:15;;7827:2;7812:18;;7805:43;7879:2;7864:18;;7857:34;;;7927:3;7922:2;7907:18;;7900:31;;;7705:4;;7948:45;;7973:19;;7965:6;7948:45;:::i;:::-;7940:53;7511:488;-1:-1:-1;;;;;;7511:488:1:o;9203:217::-;9350:2;9339:9;9332:21;9313:4;9370:44;9410:2;9399:9;9395:18;9387:6;9370:44;:::i;10061:414::-;10263:2;10245:21;;;10302:2;10282:18;;;10275:30;10341:34;10336:2;10321:18;;10314:62;-1:-1:-1;;;10407:2:1;10392:18;;10385:48;10465:3;10450:19;;10061:414::o;15199:356::-;15401:2;15383:21;;;15420:18;;;15413:30;15479:34;15474:2;15459:18;;15452:62;15546:2;15531:18;;15199:356::o;17122:413::-;17324:2;17306:21;;;17363:2;17343:18;;;17336:30;17402:34;17397:2;17382:18;;17375:62;-1:-1:-1;;;17468:2:1;17453:18;;17446:47;17525:3;17510:19;;17122:413::o;18135:128::-;18175:3;18206:1;18202:6;18199:1;18196:13;18193:39;;;18212:18;;:::i;:::-;-1:-1:-1;18248:9:1;;18135:128::o;18268:120::-;18308:1;18334;18324:35;;18339:18;;:::i;:::-;-1:-1:-1;18373:9:1;;18268:120::o;18393:168::-;18433:7;18499:1;18495;18491:6;18487:14;18484:1;18481:21;18476:1;18469:9;18462:17;18458:45;18455:71;;;18506:18;;:::i;:::-;-1:-1:-1;18546:9:1;;18393:168::o;18566:125::-;18606:4;18634:1;18631;18628:8;18625:34;;;18639:18;;:::i;:::-;-1:-1:-1;18676:9:1;;18566:125::o;18696:258::-;18768:1;18778:113;18792:6;18789:1;18786:13;18778:113;;;18868:11;;;18862:18;18849:11;;;18842:39;18814:2;18807:10;18778:113;;;18909:6;18906:1;18903:13;18900:48;;;-1:-1:-1;;18944:1:1;18926:16;;18919:27;18696:258::o;18959:380::-;19038:1;19034:12;;;;19081;;;19102:61;;19156:4;19148:6;19144:17;19134:27;;19102:61;19209:2;19201:6;19198:14;19178:18;19175:38;19172:161;;;19255:10;19250:3;19246:20;19243:1;19236:31;19290:4;19287:1;19280:15;19318:4;19315:1;19308:15;19172:161;;18959:380;;;:::o;19344:135::-;19383:3;-1:-1:-1;;19404:17:1;;19401:43;;;19424:18;;:::i;:::-;-1:-1:-1;19471:1:1;19460:13;;19344:135::o;19484:112::-;19516:1;19542;19532:35;;19547:18;;:::i;:::-;-1:-1:-1;19581:9:1;;19484:112::o;19601:127::-;19662:10;19657:3;19653:20;19650:1;19643:31;19693:4;19690:1;19683:15;19717:4;19714:1;19707:15;19733:127;19794:10;19789:3;19785:20;19782:1;19775:31;19825:4;19822:1;19815:15;19849:4;19846:1;19839:15;19865:127;19926:10;19921:3;19917:20;19914:1;19907:31;19957:4;19954:1;19947:15;19981:4;19978:1;19971:15;19997:127;20058:10;20053:3;20049:20;20046:1;20039:31;20089:4;20086:1;20079:15;20113:4;20110:1;20103:15;20129:127;20190:10;20185:3;20181:20;20178:1;20171:31;20221:4;20218:1;20211:15;20245:4;20242:1;20235:15;20261:131;-1:-1:-1;;;;;20336:31:1;;20326:42;;20316:70;;20382:1;20379;20372:12;20397:131;-1:-1:-1;;;;;;20471:32:1;;20461:43;;20451:71;;20518:1;20515;20508:12

Swarm Source

ipfs://963f860c0be79619fc6531c546137e1773565ed90f470f6149f4e1f6dc4a2ddc
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.