ETH Price: $3,865.41 (-1.43%)

Contract

0x01f55bE815FbD10B1770B008b8960931a30e7f65
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...189084692023-12-31 22:34:47349 days ago1704062087IN
0x01f55bE8...1a30e7f65
0 ETH0.0003364512.76537577
Set Approval For...189084692023-12-31 22:34:47349 days ago1704062087IN
0x01f55bE8...1a30e7f65
0 ETH0.0003364512.76537577
Set Approval For...189084682023-12-31 22:34:35349 days ago1704062075IN
0x01f55bE8...1a30e7f65
0 ETH0.0003538913.42715451
Set Approval For...189084682023-12-31 22:34:35349 days ago1704062075IN
0x01f55bE8...1a30e7f65
0 ETH0.0003538913.42715451
Set Approval For...189084672023-12-31 22:34:23349 days ago1704062063IN
0x01f55bE8...1a30e7f65
0 ETH0.0003387612.85294193
Set Approval For...189084672023-12-31 22:34:23349 days ago1704062063IN
0x01f55bE8...1a30e7f65
0 ETH0.0005945312.85294193
Set Approval For...185531872023-11-12 3:35:11399 days ago1699760111IN
0x01f55bE8...1a30e7f65
0 ETH0.0009276220.09020249
Set Approval For...180536992023-09-03 4:51:23469 days ago1693716683IN
0x01f55bE8...1a30e7f65
0 ETH0.0005540712
Redeem Admin180440012023-09-01 20:12:11470 days ago1693599131IN
0x01f55bE8...1a30e7f65
0 ETH0.000807717.32237196
Set Approval For...179219402023-08-15 18:11:11487 days ago1692123071IN
0x01f55bE8...1a30e7f65
0 ETH0.0015852634.33320679
Redeem Admin177297452023-07-19 20:54:11514 days ago1689800051IN
0x01f55bE8...1a30e7f65
0 ETH0.0017750838.06901232
Set Approval For...175569542023-06-25 14:00:47538 days ago1687701647IN
0x01f55bE8...1a30e7f65
0 ETH0.0007324515.8632088
Mint Reserve174450832023-06-09 20:37:35554 days ago1686343055IN
0x01f55bE8...1a30e7f65
0 ETH0.0291956445
Redeem Admin172181562023-05-08 20:30:35586 days ago1683577835IN
0x01f55bE8...1a30e7f65
0 ETH0.00487556104.56298258
Mint Reserve171263712023-04-25 22:54:11599 days ago1682463251IN
0x01f55bE8...1a30e7f65
0 ETH0.0278419945
Withdraw171263602023-04-25 22:51:59599 days ago1682463119IN
0x01f55bE8...1a30e7f65
0 ETH0.0010923835.04381016
Mint Reserve167852312023-03-08 18:11:11647 days ago1678299071IN
0x01f55bE8...1a30e7f65
0 ETH0.0538472440
Set Reserve Supp...167802272023-03-08 1:18:23648 days ago1678238303IN
0x01f55bE8...1a30e7f65
0 ETH0.0020257370
Redeem Admin167329972023-03-01 9:51:23654 days ago1677664283IN
0x01f55bE8...1a30e7f65
0 ETH0.0015380522.23237164
Redeem Admin167188282023-02-27 10:06:11656 days ago1677492371IN
0x01f55bE8...1a30e7f65
0 ETH0.000815117.48098802
Redeem Admin166969792023-02-24 8:20:11659 days ago1677226811IN
0x01f55bE8...1a30e7f65
0 ETH0.0035444838.63871569
Redeem Admin166917602023-02-23 14:42:23660 days ago1677163343IN
0x01f55bE8...1a30e7f65
0 ETH0.0031680467.94303735
Mint166854472023-02-22 17:25:47661 days ago1677086747IN
0x01f55bE8...1a30e7f65
0.05 ETH0.0046235239.79349832
Redeem Admin166746482023-02-21 4:57:35663 days ago1676955455IN
0x01f55bE8...1a30e7f65
0 ETH0.0011637324.95789988
Redeem Admin165649042023-02-05 20:14:59678 days ago1675628099IN
0x01f55bE8...1a30e7f65
0 ETH0.0018430520.09133485
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
171263602023-04-25 22:51:59599 days ago1682463119
0x01f55bE8...1a30e7f65
0.68 ETH
158576332022-10-30 1:36:59777 days ago1667093819
0x01f55bE8...1a30e7f65
5.9 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GalleryMerch

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-18
*/

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

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

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId)
        internal
        view
        returns (TokenOwnership memory)
    {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        override
        returns (address)
    {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        if (operator == _msgSender()) revert ApproveToCaller();

        _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 {
        _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 {
        _transfer(from, to, tokenId);
        if (
            to.isContract() &&
            !_checkContractOnERC721Received(from, to, tokenId, _data)
        ) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (
                        !_checkContractOnERC721Received(
                            address(0),
                            to,
                            updatedIndex++,
                            _data
                        )
                    ) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try
            IERC721Receiver(to).onERC721Received(
                _msgSender(),
                from,
                tokenId,
                _data
            )
        returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256 id,
        uint256 value
    );

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(
        address indexed account,
        address indexed operator,
        bool approved
    );

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id)
        external
        view
        returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator)
        external
        view
        returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

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

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

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

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", domainSeparator, structHash)
            );
    }
}

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(
            typeHash,
            hashedName,
            hashedVersion
        );
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return
                _buildDomainSeparator(
                    _TYPE_HASH,
                    _HASHED_NAME,
                    _HASHED_VERSION
                );
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    typeHash,
                    nameHash,
                    versionHash,
                    block.chainid,
                    address(this)
                )
            );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash)
        internal
        view
        virtual
        returns (bytes32)
    {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

contract GalleryMerch is ERC721A, Ownable, EIP712 {
    using Address for address payable;

    struct MerchType {
        uint256 price;
        uint256 maxPerWallet;
        uint256 usedPublicSupply;
        uint256 publicSupply;
        uint256 usedReserveSupply;
        uint256 reserveSupply;
        bytes32 allowlistMerkleRoot;
        string uri;
        string redeemedURI;
    }

    bool private canMint;

    string public description;

    mapping(uint256 => bool) private _redeemed;

    mapping(uint256 => MerchType) private _merchTypes;
    mapping(uint256 => mapping(address => uint256)) private _merchOwners;
    mapping(uint256 => uint256) private _tokenIDToMerchType;
    mapping(address => uint256) private _transferNonces;

    constructor(string memory _description)
        ERC721A("Gallery Merch", "GM")
        EIP712("GalleryMerch", "0")
    {
        description = _description;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (_redeemed[tokenId]) {
            return _merchTypes[_tokenIDToMerchType[tokenId]].redeemedURI;
        } else {
            return _merchTypes[_tokenIDToMerchType[tokenId]].uri;
        }
    }

    function setMerchType(
        uint256 id,
        uint256 price,
        uint256 maxPerWallet,
        uint256 maxPublicSupply,
        uint256 maxReserveSupply,
        bytes32 allowListMerkleRoot,
        string calldata uri,
        string calldata redeemedURI
    ) public onlyOwner {
        _merchTypes[id] = MerchType(
            price,
            maxPerWallet,
            _merchTypes[id].usedPublicSupply,
            maxPublicSupply,
            _merchTypes[id].usedReserveSupply,
            maxReserveSupply,
            allowListMerkleRoot,
            uri,
            redeemedURI
        );
    }

    function setDescription(string calldata _description) public onlyOwner {
        description = _description;
    }

    function isRedeemed(uint256 tokenId) public view returns (bool) {
        return _redeemed[tokenId];
    }

    function getPublicSupply(uint256 merchType) public view returns (uint256) {
        return _merchTypes[merchType].publicSupply;
    }

    function getReserveSupply(uint256 merchType) public view returns (uint256) {
        return _merchTypes[merchType].reserveSupply;
    }

    function getUsedPublicSupply(uint256 merchType)
        public
        view
        returns (uint256)
    {
        return _merchTypes[merchType].usedPublicSupply;
    }

    function getPrice(uint256 merchType) public view returns (uint256) {
        return _merchTypes[merchType].price;
    }

    function balanceOfType(uint256 merchType, address owner)
        public
        view
        returns (uint256)
    {
        return _merchOwners[merchType][owner];
    }

    function isAllowlistOnly(uint256 merchType) public view returns (bool) {
        return _merchTypes[merchType].allowlistMerkleRoot != 0;
    }

    function getUsedReserveSupply(uint256 merchType)
        public
        view
        returns (uint256)
    {
        return _merchTypes[merchType].usedReserveSupply;
    }

    function setCanMint(bool _canMint) public onlyOwner {
        canMint = _canMint;
    }

    function setMaxPerWallet(uint256 merchType, uint256 _maxPerWallet)
        public
        onlyOwner
    {
        _merchTypes[merchType].maxPerWallet = _maxPerWallet;
    }

    function setPrice(uint256 merchType, uint256 price) public onlyOwner {
        _merchTypes[merchType].price = price;
    }

    function setAllowlist(uint256 merchType, bytes32 merkleRoot)
        external
        onlyOwner
    {
        _merchTypes[merchType].allowlistMerkleRoot = merkleRoot;
    }

    function setPublicSupply(uint256 merchType, uint256 supply)
        public
        onlyOwner
    {
        _merchTypes[merchType].publicSupply = supply;
    }

    function setReserveSupply(uint256 merchType, uint256 supply)
        public
        onlyOwner
    {
        _merchTypes[merchType].reserveSupply = supply;
    }

    function getTransferNonce(address owner) public view returns (uint256) {
        return _transferNonces[owner];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        require(!_redeemed[tokenId], "Cannot transfer a redeemed token");
        super.transferFrom(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        require(!_redeemed[tokenId], "Cannot transfer a redeemed token");
        super.safeTransferFrom(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(!_redeemed[tokenId], "Cannot transfer a redeemed token");
        super.safeTransferFrom(from, to, tokenId, _data);
    }

    function approvedTransfer(
        address to,
        uint256 tokenId,
        bytes memory signature,
        uint256 deadline
    ) public virtual {
        bytes32 digest = _hashTypedDataV4(
            keccak256(
                abi.encode(
                    keccak256(
                        "ApprovedTransfer(address from,uint256 tokenId,uint256 nonce,uint256 deadline)"
                    ),
                    msg.sender,
                    tokenId,
                    _transferNonces[msg.sender],
                    deadline
                )
            )
        );

        address signer = ECDSA.recover(digest, signature);
        require(signer == to, "ApprovedTransfer: invalid signature");
        require(signer != address(0), "ECDSA: invalid signature");

        require(
            block.timestamp < deadline,
            "ApprovedTransfer: signed transaction expired"
        );
        _transferNonces[msg.sender]++;

        super.safeTransferFrom(msg.sender, to, tokenId);
    }

    function mint(
        address to,
        uint256 merchType,
        uint256 amount,
        bytes32[] calldata merkleProof
    ) external payable {
        require(canMint, "Merch: minting is disabled");

        require(
            _merchTypes[merchType].allowlistMerkleRoot == bytes32(0) ||
                MerkleProof.verify(
                    merkleProof,
                    _merchTypes[merchType].allowlistMerkleRoot,
                    keccak256(abi.encodePacked(msg.sender))
                ),
            "Merch: not allowlisted"
        );

        require(
            _merchOwners[merchType][to] + amount <=
                _merchTypes[merchType].maxPerWallet ||
                _merchTypes[merchType].maxPerWallet == 0,
            "Merch: already owns max per wallet"
        );
        require(
            _merchTypes[merchType].usedPublicSupply + amount <=
                _merchTypes[merchType].publicSupply,
            "Merch: max supply reached"
        );

        _merchOwners[merchType][to] += amount;
        _merchTypes[merchType].usedPublicSupply += amount;
        for (uint256 i = 0; i < amount; i++) {
            _tokenIDToMerchType[_currentIndex + i] = merchType;
        }

        require(
            msg.value == _merchTypes[merchType].price * amount,
            "Merch: incorrect price"
        );

        _mint(to, amount, "", true);
    }

    function mintReserve(
        address[] calldata to,
        uint256[] calldata merchType,
        uint256[] calldata amount,
        bool redeemedOnMint
    ) external payable onlyOwner {
        require(
            to.length == merchType.length && to.length == amount.length,
            "Merch: invalid parameters"
        );

        for (uint256 i = 0; i < to.length; i++) {
            require(
                _merchOwners[merchType[i]][to[i]] + amount[i] <=
                    _merchTypes[merchType[i]].maxPerWallet ||
                    _merchTypes[merchType[i]].maxPerWallet == 0,
                "Merch: already owns max per wallet"
            );
            require(
                _merchTypes[merchType[i]].usedReserveSupply + amount[i] <=
                    _merchTypes[merchType[i]].reserveSupply,
                "Merch: max supply reached"
            );
            _merchOwners[merchType[i]][to[i]] += amount[i];
            _merchTypes[merchType[i]].usedReserveSupply += amount[i];
            for (uint256 j = 0; j < amount[i]; j++) {
                _tokenIDToMerchType[_currentIndex + j] = merchType[i];
                if (redeemedOnMint) {
                    _redeemed[_currentIndex + j] = true;
                }
            }

            _mint(to[i], amount[i], "", true);
        }
    }

    function redeem(uint256[] calldata tokenIDs) external {
        for (uint256 i = 0; i < tokenIDs.length; i++) {
            require(ownerOf(tokenIDs[i]) == msg.sender, "Merch: not owner");
            _redeemed[tokenIDs[i]] = true;
        }
    }

    function redeemAdmin(uint256[] calldata tokenIDs) external onlyOwner {
        for (uint256 i = 0; i < tokenIDs.length; i++) {
            _redeemed[tokenIDs[i]] = true;
        }
    }

    function withdraw(uint256 amount, address payable to) external onlyOwner {
        require(address(this).balance >= amount, "Merch: not enough balance");
        if (amount == 0) {
            amount = address(this).balance;
        }
        if (to == address(0)) {
            to = payable(msg.sender);
        }
        to.sendValue(amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_description","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"approvedTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOfType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"}],"name":"getPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"}],"name":"getReserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getTransferNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"}],"name":"getUsedPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"}],"name":"getUsedReserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"}],"name":"isAllowlistOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isRedeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"merchType","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"merchType","type":"uint256[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"},{"internalType":"bool","name":"redeemedOnMint","type":"bool"}],"name":"mintReserve","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":[{"internalType":"uint256[]","name":"tokenIDs","type":"uint256[]"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIDs","type":"uint256[]"}],"name":"redeemAdmin","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"merchType","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setAllowlist","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":"bool","name":"_canMint","type":"bool"}],"name":"setCanMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_description","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPublicSupply","type":"uint256"},{"internalType":"uint256","name":"maxReserveSupply","type":"uint256"},{"internalType":"bytes32","name":"allowListMerkleRoot","type":"bytes32"},{"internalType":"string","name":"uri","type":"string"},{"internalType":"string","name":"redeemedURI","type":"string"}],"name":"setMerchType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setPublicSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"merchType","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setReserveSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040523480156200001257600080fd5b5060405162003877380380620038778339810160408190526200003591620002a5565b6040518060400160405280600c81526020016b08ec2d8d8cae4f29acae4c6d60a31b815250604051806040016040528060018152602001600360fc1b8152506040518060400160405280600d81526020016c08ec2d8d8cae4f2409acae4c6d609b1b81525060405180604001604052806002815260200161474d60f01b8152508160029080519060200190620000cd929190620001e9565b508051620000e3906003906020840190620001e9565b50506000805550620000f53362000197565b815160209283012081519183019190912060c082815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8189018190528183019790975260608101959095526080808601939093523085830152805180860390920182529390920190925280519084012090526101005281516200018f9160099190840190620001e9565b5050620003be565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001f79062000381565b90600052602060002090601f0160209004810192826200021b576000855562000266565b82601f106200023657805160ff191683800117855562000266565b8280016001018555821562000266579182015b828111156200026657825182559160200191906001019062000249565b506200027492915062000278565b5090565b5b8082111562000274576000815560010162000279565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620002b957600080fd5b82516001600160401b0380821115620002d157600080fd5b818501915085601f830112620002e657600080fd5b815181811115620002fb57620002fb6200028f565b604051601f8201601f19908116603f011681019083821181831017156200032657620003266200028f565b8160405282815288868487010111156200033f57600080fd5b600093505b8284101562000363578484018601518185018701529285019262000344565b82841115620003755760008684830101525b98975050505050505050565b600181811c908216806200039657607f821691505b60208210811415620003b857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051613474620004036000396000612668015260006126b701526000612692015260006126160152600061263f01526134746000f3fe6080604052600436106102555760003560e01c806370a0823111610149578063ac9acee6116100c6578063e75722301161008a578063f7d9757711610064578063f7d97577146107d0578063f9afb26a146107f0578063fcf50bbb1461081057600080fd5b8063e75722301461073a578063e985e9c514610767578063f2fde38b146107b057600080fd5b8063ac9acee614610697578063b88d4fde146106c7578063bda1a0b6146106e7578063c87b56dd146106fa578063cc649bd71461071a57600080fd5b806390c3f38f1161010d57806390c3f38f1461060257806395d89b41146106225780639a57829a146106375780639fbd295214610657578063a22cb4651461067757600080fd5b806370a082311461056a578063715018a61461058a5780637284e4161461059f57806380540f78146105b45780638da5cb5b146105e457600080fd5b806323b872dd116101d75780634db7f70a1161019b5780634db7f70a146104c557806356ad15f6146104e5578063597d78e114610505578063627118e5146105185780636352211e1461054a57600080fd5b806323b872dd1461041557806332d33cd014610435578063412c52ae1461046557806342842e0e146104855780634d02bf92146104a557600080fd5b8063095ea7b31161021e578063095ea7b31461032b5780630a5bee661461034b57806318160ddd1461039c5780631dfba85f146103b557806321c89a07146103e557600080fd5b8062f714ce1461025a57806301ffc9a71461027c57806306fdde03146102b1578063081812fc146102d357806308feacb01461030b575b600080fd5b34801561026657600080fd5b5061027a610275366004612c51565b610846565b005b34801561028857600080fd5b5061029c610297366004612c97565b6108fa565b60405190151581526020015b60405180910390f35b3480156102bd57600080fd5b506102c661094c565b6040516102a89190612d08565b3480156102df57600080fd5b506102f36102ee366004612d1b565b6109de565b6040516001600160a01b0390911681526020016102a8565b34801561031757600080fd5b5061027a610326366004612d34565b610a22565b34801561033757600080fd5b5061027a610346366004612d56565b610a61565b34801561035757600080fd5b5061038e610366366004612c51565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205490565b6040519081526020016102a8565b3480156103a857600080fd5b506001546000540361038e565b3480156103c157600080fd5b5061038e6103d0366004612d1b565b6000908152600b602052604090206005015490565b3480156103f157600080fd5b5061038e610400366004612d1b565b6000908152600b602052604090206003015490565b34801561042157600080fd5b5061027a610430366004612d82565b610aef565b34801561044157600080fd5b5061029c610450366004612d1b565b6000908152600a602052604090205460ff1690565b34801561047157600080fd5b5061027a610480366004612e05565b610b59565b34801561049157600080fd5b5061027a6104a0366004612d82565b610cdd565b3480156104b157600080fd5b5061027a6104c0366004612d34565b610d47565b3480156104d157600080fd5b5061027a6104e0366004612f55565b610d86565b3480156104f157600080fd5b5061027a610500366004612d34565b610f62565b61027a610513366004612ffb565b610fa1565b34801561052457600080fd5b5061029c610533366004612d1b565b6000908152600b6020526040902060060154151590565b34801561055657600080fd5b506102f3610565366004612d1b565b6112fa565b34801561057657600080fd5b5061038e610585366004613065565b61130c565b34801561059657600080fd5b5061027a61135b565b3480156105ab57600080fd5b506102c6611391565b3480156105c057600080fd5b5061038e6105cf366004612d1b565b6000908152600b602052604090206002015490565b3480156105f057600080fd5b506008546001600160a01b03166102f3565b34801561060e57600080fd5b5061027a61061d366004613082565b61141f565b34801561062e57600080fd5b506102c6611455565b34801561064357600080fd5b5061027a6106523660046130d4565b611464565b34801561066357600080fd5b5061027a6106723660046130ef565b6114ac565b34801561068357600080fd5b5061027a610692366004613125565b611538565b3480156106a357600080fd5b5061038e6106b2366004612d1b565b6000908152600b602052604090206004015490565b3480156106d357600080fd5b5061027a6106e236600461315a565b6115ce565b61027a6106f53660046131c6565b61163f565b34801561070657600080fd5b506102c6610715366004612d1b565b611adb565b34801561072657600080fd5b5061027a610735366004612d34565b611bd1565b34801561074657600080fd5b5061038e610755366004612d1b565b6000908152600b602052604090205490565b34801561077357600080fd5b5061029c610782366004613271565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107bc57600080fd5b5061027a6107cb366004613065565b611c10565b3480156107dc57600080fd5b5061027a6107eb366004612d34565b611cab565b3480156107fc57600080fd5b5061027a61080b3660046130ef565b611ce7565b34801561081c57600080fd5b5061038e61082b366004613065565b6001600160a01b03166000908152600e602052604090205490565b6008546001600160a01b031633146108795760405162461bcd60e51b81526004016108709061329f565b60405180910390fd5b814710156108c95760405162461bcd60e51b815260206004820152601960248201527f4d657263683a206e6f7420656e6f7567682062616c616e6365000000000000006044820152606401610870565b816108d2574791505b6001600160a01b0381166108e35750335b6108f66001600160a01b03821683611db4565b5050565b60006001600160e01b031982166380ac58cd60e01b148061092b57506001600160e01b03198216635b5e139f60e01b145b8061094657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461095b906132d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610987906132d4565b80156109d45780601f106109a9576101008083540402835291602001916109d4565b820191906000526020600020905b8154815290600101906020018083116109b757829003601f168201915b5050505050905090565b60006109e982611ecd565b610a06576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b03163314610a4c5760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912060030155565b6000610a6c826112fa565b9050806001600160a01b0316836001600160a01b03161415610aa15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610ac15750610abf8133610782565b155b15610adf576040516367d9dca160e11b815260040160405180910390fd5b610aea838383611ef8565b505050565b6000818152600a602052604090205460ff1615610b4e5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207472616e7366657220612072656465656d656420746f6b656e6044820152606401610870565b610aea838383611f54565b6008546001600160a01b03163314610b835760405162461bcd60e51b81526004016108709061329f565b60408051610120810182528a815260208082018b905260008d8152600b808352848220600281015485870152606085018d9052918f9052825260040154608083015260a0820189905260c082018890528251601f8701829004820281018201909352858352909160e08301918790879081908401838280828437600092019190915250505090825250604080516020601f86018190048102820181019092528481529181019190859085908190840183828082843760009201829052509390945250508c8152600b602090815260409182902084518155848201516001820155918401516002830155606084015160038301556080840151600483015560a0840151600583015560c0840151600683015560e08401518051929350610cb19260078501929190910190612b2f565b506101008201518051610cce916008840191602090910190612b2f565b50505050505050505050505050565b6000818152600a602052604090205460ff1615610d3c5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207472616e7366657220612072656465656d656420746f6b656e6044820152606401610870565b610aea838383611f5f565b6008546001600160a01b03163314610d715760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912060060155565b336000818152600e602090815260408083205481517fcac900524aae1c568fff0c4511c4708289c7c95d77fd37ebca8b1c109f3fa138818501528083019590955260608501889052608085015260a08085018690528151808603909101815260c090940190528251920191909120610dfd90611f7a565b90506000610e0b8285611fc8565b9050856001600160a01b0316816001600160a01b031614610e7a5760405162461bcd60e51b815260206004820152602360248201527f417070726f7665645472616e736665723a20696e76616c6964207369676e617460448201526275726560e81b6064820152608401610870565b6001600160a01b038116610ecb5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610870565b824210610f2f5760405162461bcd60e51b815260206004820152602c60248201527f417070726f7665645472616e736665723a207369676e6564207472616e73616360448201526b1d1a5bdb88195e1c1a5c995960a21b6064820152608401610870565b336000908152600e60205260408120805491610f4a83613325565b9190505550610f5a338787611f5f565b505050505050565b6008546001600160a01b03163314610f8c5760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912060010155565b600854600160a01b900460ff16610ffa5760405162461bcd60e51b815260206004820152601a60248201527f4d657263683a206d696e74696e672069732064697361626c65640000000000006044820152606401610870565b6000848152600b6020526040902060060154158061109f575061109f8282808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250898152600b602090815260409182902060060154915191945061108493503392500160609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405280519060200120611fec565b6110eb5760405162461bcd60e51b815260206004820152601660248201527f4d657263683a206e6f7420616c6c6f776c6973746564000000000000000000006044820152606401610870565b6000848152600b6020908152604080832060010154600c83528184206001600160a01b038a16855290925290912054611125908590613340565b11158061114157506000848152600b6020526040902060010154155b61115d5760405162461bcd60e51b815260040161087090613358565b6000848152600b602052604090206003810154600290910154611181908590613340565b11156111cf5760405162461bcd60e51b815260206004820152601960248201527f4d657263683a206d617820737570706c792072656163686564000000000000006044820152606401610870565b6000848152600c602090815260408083206001600160a01b038916845290915281208054859290611201908490613340565b90915550506000848152600b602052604081206002018054859290611227908490613340565b90915550600090505b8381101561126e5784600d60008360005461124b9190613340565b81526020810191909152604001600020558061126681613325565b915050611230565b506000848152600b602052604090205461128990849061339a565b34146112d75760405162461bcd60e51b815260206004820152601660248201527f4d657263683a20696e636f7272656374207072696365000000000000000000006044820152606401610870565b6112f3858460405180602001604052806000815250600161209b565b5050505050565b60006113058261226c565b5192915050565b60006001600160a01b038216611335576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146113855760405162461bcd60e51b81526004016108709061329f565b61138f6000612388565b565b6009805461139e906132d4565b80601f01602080910402602001604051908101604052809291908181526020018280546113ca906132d4565b80156114175780601f106113ec57610100808354040283529160200191611417565b820191906000526020600020905b8154815290600101906020018083116113fa57829003601f168201915b505050505081565b6008546001600160a01b031633146114495760405162461bcd60e51b81526004016108709061329f565b610aea60098383612bb3565b60606003805461095b906132d4565b6008546001600160a01b0316331461148e5760405162461bcd60e51b81526004016108709061329f565b60088054911515600160a01b0260ff60a01b19909216919091179055565b6008546001600160a01b031633146114d65760405162461bcd60e51b81526004016108709061329f565b60005b81811015610aea576001600a60008585858181106114f9576114f96133b9565b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061153090613325565b9150506114d9565b6001600160a01b0382163314156115625760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000828152600a602052604090205460ff161561162d5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207472616e7366657220612072656465656d656420746f6b656e6044820152606401610870565b611639848484846123da565b50505050565b6008546001600160a01b031633146116695760405162461bcd60e51b81526004016108709061329f565b858414801561167757508582145b6116c35760405162461bcd60e51b815260206004820152601960248201527f4d657263683a20696e76616c696420706172616d6574657273000000000000006044820152606401610870565b60005b86811015611ad157600b60008787848181106116e4576116e46133b9565b9050602002013581526020019081526020016000206001015484848381811061170f5761170f6133b9565b90506020020135600c600089898681811061172c5761172c6133b9565b90506020020135815260200190815260200160002060008b8b86818110611755576117556133b9565b905060200201602081019061176a9190613065565b6001600160a01b03166001600160a01b03168152602001908152602001600020546117959190613340565b1115806117d05750600b60008787848181106117b3576117b36133b9565b905060200201358152602001908152602001600020600101546000145b6117ec5760405162461bcd60e51b815260040161087090613358565b600b6000878784818110611802576118026133b9565b9050602002013581526020019081526020016000206005015484848381811061182d5761182d6133b9565b90506020020135600b600089898681811061184a5761184a6133b9565b9050602002013581526020019081526020016000206004015461186d9190613340565b11156118bb5760405162461bcd60e51b815260206004820152601960248201527f4d657263683a206d617820737570706c792072656163686564000000000000006044820152606401610870565b8383828181106118cd576118cd6133b9565b90506020020135600c60008888858181106118ea576118ea6133b9565b90506020020135815260200190815260200160002060008a8a85818110611913576119136133b9565b90506020020160208101906119289190613065565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546119579190613340565b90915550849050838281811061196f5761196f6133b9565b90506020020135600b600088888581811061198c5761198c6133b9565b90506020020135815260200190815260200160002060040160008282546119b39190613340565b90915550600090505b8484838181106119ce576119ce6133b9565b90506020020135811015611a64578686838181106119ee576119ee6133b9565b90506020020135600d600083600054611a079190613340565b81526020810191909152604001600020558215611a52576001600a600083600054611a329190613340565b81526020810191909152604001600020805460ff19169115159190911790555b80611a5c81613325565b9150506119bc565b50611abf888883818110611a7a57611a7a6133b9565b9050602002016020810190611a8f9190613065565b858584818110611aa157611aa16133b9565b9050602002013560405180602001604052806000815250600161209b565b80611ac981613325565b9150506116c6565b5050505050505050565b6000818152600a602052604090205460609060ff1615611ba3576000828152600d60209081526040808320548352600b90915290206008018054611b1e906132d4565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4a906132d4565b8015611b975780601f10611b6c57610100808354040283529160200191611b97565b820191906000526020600020905b815481529060010190602001808311611b7a57829003601f168201915b50505050509050919050565b6000828152600d60209081526040808320548352600b90915290206007018054611b1e906132d4565b919050565b6008546001600160a01b03163314611bfb5760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912060050155565b6008546001600160a01b03163314611c3a5760405162461bcd60e51b81526004016108709061329f565b6001600160a01b038116611c9f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610870565b611ca881612388565b50565b6008546001600160a01b03163314611cd55760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912055565b60005b81811015610aea5733611d14848484818110611d0857611d086133b9565b905060200201356112fa565b6001600160a01b031614611d5d5760405162461bcd60e51b815260206004820152601060248201526f26b2b931b41d103737ba1037bbb732b960811b6044820152606401610870565b6001600a6000858585818110611d7557611d756133b9565b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611dac90613325565b915050611cea565b80471015611e045760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610870565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e51576040519150601f19603f3d011682016040523d82523d6000602084013e611e56565b606091505b5050905080610aea5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610870565b6000805482108015610946575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610aea838383612425565b610aea838383604051806020016040528060008152506115ce565b6000610946611f87612612565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611fd78585612705565b91509150611fe481612775565b509392505050565b600081815b855181101561209057600086828151811061200e5761200e6133b9565b6020026020010151905080831161205057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061207d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061208881613325565b915050611ff1565b509092149392505050565b6000546001600160a01b0385166120c457604051622e076360e81b815260040160405180910390fd5b836120e25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561219457506001600160a01b0387163b15155b1561221d575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46121e5600088848060010195508861292b565b612202576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561219a57826000541461221857600080fd5b612263565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561221e575b506000556112f3565b60408051606081018252600080825260208201819052918101919091528160005481101561236f57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061236d5780516001600160a01b031615612303579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215612368579392505050565b612303565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6123e5848484612425565b6001600160a01b0383163b1515801561240757506124058484848461292b565b155b15611639576040516368d2bf6b60e11b815260040160405180910390fd5b60006124308261226c565b9050836001600160a01b031681600001516001600160a01b0316146124675760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061248557506124858533610782565b806124a0575033612495846109de565b6001600160a01b0316145b9050806124c057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166124e757604051633a954ecd60e21b815260040160405180910390fd5b6124f360008487611ef8565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166125c95760005482146125c9578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112f3565b60007f000000000000000000000000000000000000000000000000000000000000000046141561266157507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b60008082516041141561273c5760208301516040840151606085015160001a61273087828585612a13565b9450945050505061276e565b825160401415612766576020830151604084015161275b868383612b00565b93509350505061276e565b506000905060025b9250929050565b6000816004811115612789576127896133cf565b14156127925750565b60018160048111156127a6576127a66133cf565b14156127ef5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610870565b6002816004811115612803576128036133cf565b14156128515760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610870565b6003816004811115612865576128656133cf565b14156128be5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610870565b60048160048111156128d2576128d26133cf565b1415611ca85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610870565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906129609033908990889088906004016133e5565b6020604051808303816000875af192505050801561299b575060408051601f3d908101601f1916820190925261299891810190613421565b60015b6129f6573d8080156129c9576040519150601f19603f3d011682016040523d82523d6000602084013e6129ce565b606091505b5080516129ee576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612a4a5750600090506003612af7565b8460ff16601b14158015612a6257508460ff16601c14155b15612a735750600090506004612af7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612ac7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612af057600060019250925050612af7565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01612b2187828885612a13565b935093505050935093915050565b828054612b3b906132d4565b90600052602060002090601f016020900481019282612b5d5760008555612ba3565b82601f10612b7657805160ff1916838001178555612ba3565b82800160010185558215612ba3579182015b82811115612ba3578251825591602001919060010190612b88565b50612baf929150612c27565b5090565b828054612bbf906132d4565b90600052602060002090601f016020900481019282612be15760008555612ba3565b82601f10612bfa5782800160ff19823516178555612ba3565b82800160010185558215612ba3579182015b82811115612ba3578235825591602001919060010190612c0c565b5b80821115612baf5760008155600101612c28565b6001600160a01b0381168114611ca857600080fd5b60008060408385031215612c6457600080fd5b823591506020830135612c7681612c3c565b809150509250929050565b6001600160e01b031981168114611ca857600080fd5b600060208284031215612ca957600080fd5b8135612cb481612c81565b9392505050565b6000815180845260005b81811015612ce157602081850181015186830182015201612cc5565b81811115612cf3576000602083870101525b50601f01601f19169290920160200192915050565b602081526000612cb46020830184612cbb565b600060208284031215612d2d57600080fd5b5035919050565b60008060408385031215612d4757600080fd5b50508035926020909101359150565b60008060408385031215612d6957600080fd5b8235612d7481612c3c565b946020939093013593505050565b600080600060608486031215612d9757600080fd5b8335612da281612c3c565b92506020840135612db281612c3c565b929592945050506040919091013590565b60008083601f840112612dd557600080fd5b50813567ffffffffffffffff811115612ded57600080fd5b60208301915083602082850101111561276e57600080fd5b6000806000806000806000806000806101008b8d031215612e2557600080fd5b8a35995060208b0135985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b013567ffffffffffffffff80821115612e6757600080fd5b612e738e838f01612dc3565b909650945060e08d0135915080821115612e8c57600080fd5b50612e998d828e01612dc3565b915080935050809150509295989b9194979a5092959850565b634e487b7160e01b600052604160045260246000fd5b600082601f830112612ed957600080fd5b813567ffffffffffffffff80821115612ef457612ef4612eb2565b604051601f8301601f19908116603f01168101908282118183101715612f1c57612f1c612eb2565b81604052838152866020858801011115612f3557600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215612f6b57600080fd5b8435612f7681612c3c565b935060208501359250604085013567ffffffffffffffff811115612f9957600080fd5b612fa587828801612ec8565b949793965093946060013593505050565b60008083601f840112612fc857600080fd5b50813567ffffffffffffffff811115612fe057600080fd5b6020830191508360208260051b850101111561276e57600080fd5b60008060008060006080868803121561301357600080fd5b853561301e81612c3c565b94506020860135935060408601359250606086013567ffffffffffffffff81111561304857600080fd5b61305488828901612fb6565b969995985093965092949392505050565b60006020828403121561307757600080fd5b8135612cb481612c3c565b6000806020838503121561309557600080fd5b823567ffffffffffffffff8111156130ac57600080fd5b6130b885828601612dc3565b90969095509350505050565b80358015158114611bcc57600080fd5b6000602082840312156130e657600080fd5b612cb4826130c4565b6000806020838503121561310257600080fd5b823567ffffffffffffffff81111561311957600080fd5b6130b885828601612fb6565b6000806040838503121561313857600080fd5b823561314381612c3c565b9150613151602084016130c4565b90509250929050565b6000806000806080858703121561317057600080fd5b843561317b81612c3c565b9350602085013561318b81612c3c565b925060408501359150606085013567ffffffffffffffff8111156131ae57600080fd5b6131ba87828801612ec8565b91505092959194509250565b60008060008060008060006080888a0312156131e157600080fd5b873567ffffffffffffffff808211156131f957600080fd5b6132058b838c01612fb6565b909950975060208a013591508082111561321e57600080fd5b61322a8b838c01612fb6565b909750955060408a013591508082111561324357600080fd5b506132508a828b01612fb6565b90945092506132639050606089016130c4565b905092959891949750929550565b6000806040838503121561328457600080fd5b823561328f81612c3c565b91506020830135612c7681612c3c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806132e857607f821691505b6020821081141561330957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156133395761333961330f565b5060010190565b600082198211156133535761335361330f565b500190565b60208082526022908201527f4d657263683a20616c7265616479206f776e73206d6178207065722077616c6c604082015261195d60f21b606082015260800190565b60008160001904831182151516156133b4576133b461330f565b500290565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b60006001600160a01b038087168352808616602084015250836040830152608060608301526134176080830184612cbb565b9695505050505050565b60006020828403121561343357600080fd5b8151612cb481612c8156fea2646970667358221220b5e3f316106526757749747ff3cecfd8309a286ec4077455a59ba722ff4d5f5c64736f6c634300080b00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000024547616c6c6572792070726573656e747320697473206669727374206d6572636820636f6c6c656374696f6e3a20e2809c284f424a4543545329e2809d0a0a54686973206973206120636f6c6c656374696f6e206f66206f626a6563747320696e7370697265642062792047616c6c657279e28099732073696d706c6520616e6420726566696e65642064657369676e206c616e67756167652e0a0a45616368206f626a6563742065786973747320696e206469676974616c20616e6420706879736963616c20666f726d2c20656e61626c696e67206f776e65727320746f2065787072657373207468656972206d656d6265727368697020696e207468652047616c6c65727920636f6d6d756e69747920616e7977686572652e0a0a45616368204e46542063616e206265207573656420746f20636c61696d2069747320706879736963616c20636f756e7465727061727420647572696e672074686520726564656d7074696f6e20706572696f642c206f6e63652070657220746f6b656e2e20496620796f75206172652070757263686173696e67206120746f6b656e206f6e20746865207365636f6e64617279206d61726b657420776974682074686520696e74656e74206f662072656465656d696e67206120706879736963616c206f626a6563742c206265207375726520746f20646f75626c6520636865636b207468617420746f6b656ee2809973206d6574616461746120616e6420636f6e6669726d207468617420697420686173206e6f74206265656e2072656465656d6564207965742e000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102555760003560e01c806370a0823111610149578063ac9acee6116100c6578063e75722301161008a578063f7d9757711610064578063f7d97577146107d0578063f9afb26a146107f0578063fcf50bbb1461081057600080fd5b8063e75722301461073a578063e985e9c514610767578063f2fde38b146107b057600080fd5b8063ac9acee614610697578063b88d4fde146106c7578063bda1a0b6146106e7578063c87b56dd146106fa578063cc649bd71461071a57600080fd5b806390c3f38f1161010d57806390c3f38f1461060257806395d89b41146106225780639a57829a146106375780639fbd295214610657578063a22cb4651461067757600080fd5b806370a082311461056a578063715018a61461058a5780637284e4161461059f57806380540f78146105b45780638da5cb5b146105e457600080fd5b806323b872dd116101d75780634db7f70a1161019b5780634db7f70a146104c557806356ad15f6146104e5578063597d78e114610505578063627118e5146105185780636352211e1461054a57600080fd5b806323b872dd1461041557806332d33cd014610435578063412c52ae1461046557806342842e0e146104855780634d02bf92146104a557600080fd5b8063095ea7b31161021e578063095ea7b31461032b5780630a5bee661461034b57806318160ddd1461039c5780631dfba85f146103b557806321c89a07146103e557600080fd5b8062f714ce1461025a57806301ffc9a71461027c57806306fdde03146102b1578063081812fc146102d357806308feacb01461030b575b600080fd5b34801561026657600080fd5b5061027a610275366004612c51565b610846565b005b34801561028857600080fd5b5061029c610297366004612c97565b6108fa565b60405190151581526020015b60405180910390f35b3480156102bd57600080fd5b506102c661094c565b6040516102a89190612d08565b3480156102df57600080fd5b506102f36102ee366004612d1b565b6109de565b6040516001600160a01b0390911681526020016102a8565b34801561031757600080fd5b5061027a610326366004612d34565b610a22565b34801561033757600080fd5b5061027a610346366004612d56565b610a61565b34801561035757600080fd5b5061038e610366366004612c51565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205490565b6040519081526020016102a8565b3480156103a857600080fd5b506001546000540361038e565b3480156103c157600080fd5b5061038e6103d0366004612d1b565b6000908152600b602052604090206005015490565b3480156103f157600080fd5b5061038e610400366004612d1b565b6000908152600b602052604090206003015490565b34801561042157600080fd5b5061027a610430366004612d82565b610aef565b34801561044157600080fd5b5061029c610450366004612d1b565b6000908152600a602052604090205460ff1690565b34801561047157600080fd5b5061027a610480366004612e05565b610b59565b34801561049157600080fd5b5061027a6104a0366004612d82565b610cdd565b3480156104b157600080fd5b5061027a6104c0366004612d34565b610d47565b3480156104d157600080fd5b5061027a6104e0366004612f55565b610d86565b3480156104f157600080fd5b5061027a610500366004612d34565b610f62565b61027a610513366004612ffb565b610fa1565b34801561052457600080fd5b5061029c610533366004612d1b565b6000908152600b6020526040902060060154151590565b34801561055657600080fd5b506102f3610565366004612d1b565b6112fa565b34801561057657600080fd5b5061038e610585366004613065565b61130c565b34801561059657600080fd5b5061027a61135b565b3480156105ab57600080fd5b506102c6611391565b3480156105c057600080fd5b5061038e6105cf366004612d1b565b6000908152600b602052604090206002015490565b3480156105f057600080fd5b506008546001600160a01b03166102f3565b34801561060e57600080fd5b5061027a61061d366004613082565b61141f565b34801561062e57600080fd5b506102c6611455565b34801561064357600080fd5b5061027a6106523660046130d4565b611464565b34801561066357600080fd5b5061027a6106723660046130ef565b6114ac565b34801561068357600080fd5b5061027a610692366004613125565b611538565b3480156106a357600080fd5b5061038e6106b2366004612d1b565b6000908152600b602052604090206004015490565b3480156106d357600080fd5b5061027a6106e236600461315a565b6115ce565b61027a6106f53660046131c6565b61163f565b34801561070657600080fd5b506102c6610715366004612d1b565b611adb565b34801561072657600080fd5b5061027a610735366004612d34565b611bd1565b34801561074657600080fd5b5061038e610755366004612d1b565b6000908152600b602052604090205490565b34801561077357600080fd5b5061029c610782366004613271565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107bc57600080fd5b5061027a6107cb366004613065565b611c10565b3480156107dc57600080fd5b5061027a6107eb366004612d34565b611cab565b3480156107fc57600080fd5b5061027a61080b3660046130ef565b611ce7565b34801561081c57600080fd5b5061038e61082b366004613065565b6001600160a01b03166000908152600e602052604090205490565b6008546001600160a01b031633146108795760405162461bcd60e51b81526004016108709061329f565b60405180910390fd5b814710156108c95760405162461bcd60e51b815260206004820152601960248201527f4d657263683a206e6f7420656e6f7567682062616c616e6365000000000000006044820152606401610870565b816108d2574791505b6001600160a01b0381166108e35750335b6108f66001600160a01b03821683611db4565b5050565b60006001600160e01b031982166380ac58cd60e01b148061092b57506001600160e01b03198216635b5e139f60e01b145b8061094657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461095b906132d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610987906132d4565b80156109d45780601f106109a9576101008083540402835291602001916109d4565b820191906000526020600020905b8154815290600101906020018083116109b757829003601f168201915b5050505050905090565b60006109e982611ecd565b610a06576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b03163314610a4c5760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912060030155565b6000610a6c826112fa565b9050806001600160a01b0316836001600160a01b03161415610aa15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610ac15750610abf8133610782565b155b15610adf576040516367d9dca160e11b815260040160405180910390fd5b610aea838383611ef8565b505050565b6000818152600a602052604090205460ff1615610b4e5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207472616e7366657220612072656465656d656420746f6b656e6044820152606401610870565b610aea838383611f54565b6008546001600160a01b03163314610b835760405162461bcd60e51b81526004016108709061329f565b60408051610120810182528a815260208082018b905260008d8152600b808352848220600281015485870152606085018d9052918f9052825260040154608083015260a0820189905260c082018890528251601f8701829004820281018201909352858352909160e08301918790879081908401838280828437600092019190915250505090825250604080516020601f86018190048102820181019092528481529181019190859085908190840183828082843760009201829052509390945250508c8152600b602090815260409182902084518155848201516001820155918401516002830155606084015160038301556080840151600483015560a0840151600583015560c0840151600683015560e08401518051929350610cb19260078501929190910190612b2f565b506101008201518051610cce916008840191602090910190612b2f565b50505050505050505050505050565b6000818152600a602052604090205460ff1615610d3c5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207472616e7366657220612072656465656d656420746f6b656e6044820152606401610870565b610aea838383611f5f565b6008546001600160a01b03163314610d715760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912060060155565b336000818152600e602090815260408083205481517fcac900524aae1c568fff0c4511c4708289c7c95d77fd37ebca8b1c109f3fa138818501528083019590955260608501889052608085015260a08085018690528151808603909101815260c090940190528251920191909120610dfd90611f7a565b90506000610e0b8285611fc8565b9050856001600160a01b0316816001600160a01b031614610e7a5760405162461bcd60e51b815260206004820152602360248201527f417070726f7665645472616e736665723a20696e76616c6964207369676e617460448201526275726560e81b6064820152608401610870565b6001600160a01b038116610ecb5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610870565b824210610f2f5760405162461bcd60e51b815260206004820152602c60248201527f417070726f7665645472616e736665723a207369676e6564207472616e73616360448201526b1d1a5bdb88195e1c1a5c995960a21b6064820152608401610870565b336000908152600e60205260408120805491610f4a83613325565b9190505550610f5a338787611f5f565b505050505050565b6008546001600160a01b03163314610f8c5760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912060010155565b600854600160a01b900460ff16610ffa5760405162461bcd60e51b815260206004820152601a60248201527f4d657263683a206d696e74696e672069732064697361626c65640000000000006044820152606401610870565b6000848152600b6020526040902060060154158061109f575061109f8282808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250898152600b602090815260409182902060060154915191945061108493503392500160609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405280519060200120611fec565b6110eb5760405162461bcd60e51b815260206004820152601660248201527f4d657263683a206e6f7420616c6c6f776c6973746564000000000000000000006044820152606401610870565b6000848152600b6020908152604080832060010154600c83528184206001600160a01b038a16855290925290912054611125908590613340565b11158061114157506000848152600b6020526040902060010154155b61115d5760405162461bcd60e51b815260040161087090613358565b6000848152600b602052604090206003810154600290910154611181908590613340565b11156111cf5760405162461bcd60e51b815260206004820152601960248201527f4d657263683a206d617820737570706c792072656163686564000000000000006044820152606401610870565b6000848152600c602090815260408083206001600160a01b038916845290915281208054859290611201908490613340565b90915550506000848152600b602052604081206002018054859290611227908490613340565b90915550600090505b8381101561126e5784600d60008360005461124b9190613340565b81526020810191909152604001600020558061126681613325565b915050611230565b506000848152600b602052604090205461128990849061339a565b34146112d75760405162461bcd60e51b815260206004820152601660248201527f4d657263683a20696e636f7272656374207072696365000000000000000000006044820152606401610870565b6112f3858460405180602001604052806000815250600161209b565b5050505050565b60006113058261226c565b5192915050565b60006001600160a01b038216611335576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146113855760405162461bcd60e51b81526004016108709061329f565b61138f6000612388565b565b6009805461139e906132d4565b80601f01602080910402602001604051908101604052809291908181526020018280546113ca906132d4565b80156114175780601f106113ec57610100808354040283529160200191611417565b820191906000526020600020905b8154815290600101906020018083116113fa57829003601f168201915b505050505081565b6008546001600160a01b031633146114495760405162461bcd60e51b81526004016108709061329f565b610aea60098383612bb3565b60606003805461095b906132d4565b6008546001600160a01b0316331461148e5760405162461bcd60e51b81526004016108709061329f565b60088054911515600160a01b0260ff60a01b19909216919091179055565b6008546001600160a01b031633146114d65760405162461bcd60e51b81526004016108709061329f565b60005b81811015610aea576001600a60008585858181106114f9576114f96133b9565b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061153090613325565b9150506114d9565b6001600160a01b0382163314156115625760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000828152600a602052604090205460ff161561162d5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207472616e7366657220612072656465656d656420746f6b656e6044820152606401610870565b611639848484846123da565b50505050565b6008546001600160a01b031633146116695760405162461bcd60e51b81526004016108709061329f565b858414801561167757508582145b6116c35760405162461bcd60e51b815260206004820152601960248201527f4d657263683a20696e76616c696420706172616d6574657273000000000000006044820152606401610870565b60005b86811015611ad157600b60008787848181106116e4576116e46133b9565b9050602002013581526020019081526020016000206001015484848381811061170f5761170f6133b9565b90506020020135600c600089898681811061172c5761172c6133b9565b90506020020135815260200190815260200160002060008b8b86818110611755576117556133b9565b905060200201602081019061176a9190613065565b6001600160a01b03166001600160a01b03168152602001908152602001600020546117959190613340565b1115806117d05750600b60008787848181106117b3576117b36133b9565b905060200201358152602001908152602001600020600101546000145b6117ec5760405162461bcd60e51b815260040161087090613358565b600b6000878784818110611802576118026133b9565b9050602002013581526020019081526020016000206005015484848381811061182d5761182d6133b9565b90506020020135600b600089898681811061184a5761184a6133b9565b9050602002013581526020019081526020016000206004015461186d9190613340565b11156118bb5760405162461bcd60e51b815260206004820152601960248201527f4d657263683a206d617820737570706c792072656163686564000000000000006044820152606401610870565b8383828181106118cd576118cd6133b9565b90506020020135600c60008888858181106118ea576118ea6133b9565b90506020020135815260200190815260200160002060008a8a85818110611913576119136133b9565b90506020020160208101906119289190613065565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546119579190613340565b90915550849050838281811061196f5761196f6133b9565b90506020020135600b600088888581811061198c5761198c6133b9565b90506020020135815260200190815260200160002060040160008282546119b39190613340565b90915550600090505b8484838181106119ce576119ce6133b9565b90506020020135811015611a64578686838181106119ee576119ee6133b9565b90506020020135600d600083600054611a079190613340565b81526020810191909152604001600020558215611a52576001600a600083600054611a329190613340565b81526020810191909152604001600020805460ff19169115159190911790555b80611a5c81613325565b9150506119bc565b50611abf888883818110611a7a57611a7a6133b9565b9050602002016020810190611a8f9190613065565b858584818110611aa157611aa16133b9565b9050602002013560405180602001604052806000815250600161209b565b80611ac981613325565b9150506116c6565b5050505050505050565b6000818152600a602052604090205460609060ff1615611ba3576000828152600d60209081526040808320548352600b90915290206008018054611b1e906132d4565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4a906132d4565b8015611b975780601f10611b6c57610100808354040283529160200191611b97565b820191906000526020600020905b815481529060010190602001808311611b7a57829003601f168201915b50505050509050919050565b6000828152600d60209081526040808320548352600b90915290206007018054611b1e906132d4565b919050565b6008546001600160a01b03163314611bfb5760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912060050155565b6008546001600160a01b03163314611c3a5760405162461bcd60e51b81526004016108709061329f565b6001600160a01b038116611c9f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610870565b611ca881612388565b50565b6008546001600160a01b03163314611cd55760405162461bcd60e51b81526004016108709061329f565b6000918252600b602052604090912055565b60005b81811015610aea5733611d14848484818110611d0857611d086133b9565b905060200201356112fa565b6001600160a01b031614611d5d5760405162461bcd60e51b815260206004820152601060248201526f26b2b931b41d103737ba1037bbb732b960811b6044820152606401610870565b6001600a6000858585818110611d7557611d756133b9565b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611dac90613325565b915050611cea565b80471015611e045760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610870565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e51576040519150601f19603f3d011682016040523d82523d6000602084013e611e56565b606091505b5050905080610aea5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610870565b6000805482108015610946575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610aea838383612425565b610aea838383604051806020016040528060008152506115ce565b6000610946611f87612612565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611fd78585612705565b91509150611fe481612775565b509392505050565b600081815b855181101561209057600086828151811061200e5761200e6133b9565b6020026020010151905080831161205057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061207d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061208881613325565b915050611ff1565b509092149392505050565b6000546001600160a01b0385166120c457604051622e076360e81b815260040160405180910390fd5b836120e25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561219457506001600160a01b0387163b15155b1561221d575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46121e5600088848060010195508861292b565b612202576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561219a57826000541461221857600080fd5b612263565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561221e575b506000556112f3565b60408051606081018252600080825260208201819052918101919091528160005481101561236f57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061236d5780516001600160a01b031615612303579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215612368579392505050565b612303565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6123e5848484612425565b6001600160a01b0383163b1515801561240757506124058484848461292b565b155b15611639576040516368d2bf6b60e11b815260040160405180910390fd5b60006124308261226c565b9050836001600160a01b031681600001516001600160a01b0316146124675760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061248557506124858533610782565b806124a0575033612495846109de565b6001600160a01b0316145b9050806124c057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166124e757604051633a954ecd60e21b815260040160405180910390fd5b6124f360008487611ef8565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166125c95760005482146125c9578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112f3565b60007f000000000000000000000000000000000000000000000000000000000000000146141561266157507ff8b832c5aed639fbff39915e30f9f6e3fba5b35d0886d53116e79d46a29711da90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f35377fecae818bdc4d9fc290a81c0ba93ab3b3b31af9e1aa30937d30ba891a04828401527f044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d60608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b60008082516041141561273c5760208301516040840151606085015160001a61273087828585612a13565b9450945050505061276e565b825160401415612766576020830151604084015161275b868383612b00565b93509350505061276e565b506000905060025b9250929050565b6000816004811115612789576127896133cf565b14156127925750565b60018160048111156127a6576127a66133cf565b14156127ef5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610870565b6002816004811115612803576128036133cf565b14156128515760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610870565b6003816004811115612865576128656133cf565b14156128be5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610870565b60048160048111156128d2576128d26133cf565b1415611ca85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610870565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906129609033908990889088906004016133e5565b6020604051808303816000875af192505050801561299b575060408051601f3d908101601f1916820190925261299891810190613421565b60015b6129f6573d8080156129c9576040519150601f19603f3d011682016040523d82523d6000602084013e6129ce565b606091505b5080516129ee576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612a4a5750600090506003612af7565b8460ff16601b14158015612a6257508460ff16601c14155b15612a735750600090506004612af7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612ac7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612af057600060019250925050612af7565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01612b2187828885612a13565b935093505050935093915050565b828054612b3b906132d4565b90600052602060002090601f016020900481019282612b5d5760008555612ba3565b82601f10612b7657805160ff1916838001178555612ba3565b82800160010185558215612ba3579182015b82811115612ba3578251825591602001919060010190612b88565b50612baf929150612c27565b5090565b828054612bbf906132d4565b90600052602060002090601f016020900481019282612be15760008555612ba3565b82601f10612bfa5782800160ff19823516178555612ba3565b82800160010185558215612ba3579182015b82811115612ba3578235825591602001919060010190612c0c565b5b80821115612baf5760008155600101612c28565b6001600160a01b0381168114611ca857600080fd5b60008060408385031215612c6457600080fd5b823591506020830135612c7681612c3c565b809150509250929050565b6001600160e01b031981168114611ca857600080fd5b600060208284031215612ca957600080fd5b8135612cb481612c81565b9392505050565b6000815180845260005b81811015612ce157602081850181015186830182015201612cc5565b81811115612cf3576000602083870101525b50601f01601f19169290920160200192915050565b602081526000612cb46020830184612cbb565b600060208284031215612d2d57600080fd5b5035919050565b60008060408385031215612d4757600080fd5b50508035926020909101359150565b60008060408385031215612d6957600080fd5b8235612d7481612c3c565b946020939093013593505050565b600080600060608486031215612d9757600080fd5b8335612da281612c3c565b92506020840135612db281612c3c565b929592945050506040919091013590565b60008083601f840112612dd557600080fd5b50813567ffffffffffffffff811115612ded57600080fd5b60208301915083602082850101111561276e57600080fd5b6000806000806000806000806000806101008b8d031215612e2557600080fd5b8a35995060208b0135985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b013567ffffffffffffffff80821115612e6757600080fd5b612e738e838f01612dc3565b909650945060e08d0135915080821115612e8c57600080fd5b50612e998d828e01612dc3565b915080935050809150509295989b9194979a5092959850565b634e487b7160e01b600052604160045260246000fd5b600082601f830112612ed957600080fd5b813567ffffffffffffffff80821115612ef457612ef4612eb2565b604051601f8301601f19908116603f01168101908282118183101715612f1c57612f1c612eb2565b81604052838152866020858801011115612f3557600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215612f6b57600080fd5b8435612f7681612c3c565b935060208501359250604085013567ffffffffffffffff811115612f9957600080fd5b612fa587828801612ec8565b949793965093946060013593505050565b60008083601f840112612fc857600080fd5b50813567ffffffffffffffff811115612fe057600080fd5b6020830191508360208260051b850101111561276e57600080fd5b60008060008060006080868803121561301357600080fd5b853561301e81612c3c565b94506020860135935060408601359250606086013567ffffffffffffffff81111561304857600080fd5b61305488828901612fb6565b969995985093965092949392505050565b60006020828403121561307757600080fd5b8135612cb481612c3c565b6000806020838503121561309557600080fd5b823567ffffffffffffffff8111156130ac57600080fd5b6130b885828601612dc3565b90969095509350505050565b80358015158114611bcc57600080fd5b6000602082840312156130e657600080fd5b612cb4826130c4565b6000806020838503121561310257600080fd5b823567ffffffffffffffff81111561311957600080fd5b6130b885828601612fb6565b6000806040838503121561313857600080fd5b823561314381612c3c565b9150613151602084016130c4565b90509250929050565b6000806000806080858703121561317057600080fd5b843561317b81612c3c565b9350602085013561318b81612c3c565b925060408501359150606085013567ffffffffffffffff8111156131ae57600080fd5b6131ba87828801612ec8565b91505092959194509250565b60008060008060008060006080888a0312156131e157600080fd5b873567ffffffffffffffff808211156131f957600080fd5b6132058b838c01612fb6565b909950975060208a013591508082111561321e57600080fd5b61322a8b838c01612fb6565b909750955060408a013591508082111561324357600080fd5b506132508a828b01612fb6565b90945092506132639050606089016130c4565b905092959891949750929550565b6000806040838503121561328457600080fd5b823561328f81612c3c565b91506020830135612c7681612c3c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806132e857607f821691505b6020821081141561330957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156133395761333961330f565b5060010190565b600082198211156133535761335361330f565b500190565b60208082526022908201527f4d657263683a20616c7265616479206f776e73206d6178207065722077616c6c604082015261195d60f21b606082015260800190565b60008160001904831182151516156133b4576133b461330f565b500290565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b60006001600160a01b038087168352808616602084015250836040830152608060608301526134176080830184612cbb565b9695505050505050565b60006020828403121561343357600080fd5b8151612cb481612c8156fea2646970667358221220b5e3f316106526757749747ff3cecfd8309a286ec4077455a59ba722ff4d5f5c64736f6c634300080b0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000024547616c6c6572792070726573656e747320697473206669727374206d6572636820636f6c6c656374696f6e3a20e2809c284f424a4543545329e2809d0a0a54686973206973206120636f6c6c656374696f6e206f66206f626a6563747320696e7370697265642062792047616c6c657279e28099732073696d706c6520616e6420726566696e65642064657369676e206c616e67756167652e0a0a45616368206f626a6563742065786973747320696e206469676974616c20616e6420706879736963616c20666f726d2c20656e61626c696e67206f776e65727320746f2065787072657373207468656972206d656d6265727368697020696e207468652047616c6c65727920636f6d6d756e69747920616e7977686572652e0a0a45616368204e46542063616e206265207573656420746f20636c61696d2069747320706879736963616c20636f756e7465727061727420647572696e672074686520726564656d7074696f6e20706572696f642c206f6e63652070657220746f6b656e2e20496620796f75206172652070757263686173696e67206120746f6b656e206f6e20746865207365636f6e64617279206d61726b657420776974682074686520696e74656e74206f662072656465656d696e67206120706879736963616c206f626a6563742c206265207375726520746f20646f75626c6520636865636b207468617420746f6b656ee2809973206d6574616461746120616e6420636f6e6669726d207468617420697420686173206e6f74206265656e2072656465656d6564207965742e000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _description (string): Gallery presents its first merch collection: “(OBJECTS)” This is a collection of objects inspired by Gallery’s simple and refined design language. Each object exists in digital and physical form, enabling owners to express their membership in the Gallery community anywhere. Each NFT can be used to claim its physical counterpart during the redemption period, once per token. If you are purchasing a token on the secondary market with the intent of redeeming a physical object, be sure to double check that token’s metadata and confirm that it has not been redeemed yet.

-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000245
Arg [2] : 47616c6c6572792070726573656e747320697473206669727374206d65726368
Arg [3] : 20636f6c6c656374696f6e3a20e2809c284f424a4543545329e2809d0a0a5468
Arg [4] : 6973206973206120636f6c6c656374696f6e206f66206f626a6563747320696e
Arg [5] : 7370697265642062792047616c6c657279e28099732073696d706c6520616e64
Arg [6] : 20726566696e65642064657369676e206c616e67756167652e0a0a4561636820
Arg [7] : 6f626a6563742065786973747320696e206469676974616c20616e6420706879
Arg [8] : 736963616c20666f726d2c20656e61626c696e67206f776e65727320746f2065
Arg [9] : 787072657373207468656972206d656d6265727368697020696e207468652047
Arg [10] : 616c6c65727920636f6d6d756e69747920616e7977686572652e0a0a45616368
Arg [11] : 204e46542063616e206265207573656420746f20636c61696d20697473207068
Arg [12] : 79736963616c20636f756e7465727061727420647572696e6720746865207265
Arg [13] : 64656d7074696f6e20706572696f642c206f6e63652070657220746f6b656e2e
Arg [14] : 20496620796f75206172652070757263686173696e67206120746f6b656e206f
Arg [15] : 6e20746865207365636f6e64617279206d61726b657420776974682074686520
Arg [16] : 696e74656e74206f662072656465656d696e67206120706879736963616c206f
Arg [17] : 626a6563742c206265207375726520746f20646f75626c6520636865636b2074
Arg [18] : 68617420746f6b656ee2809973206d6574616461746120616e6420636f6e6669
Arg [19] : 726d207468617420697420686173206e6f74206265656e2072656465656d6564
Arg [20] : 207965742e000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

67581:10078:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77297:359;;;;;;;;;;-1:-1:-1;77297:359:0;;;;;:::i;:::-;;:::i;:::-;;26621:355;;;;;;;;;;-1:-1:-1;26621:355:0;;;;;:::i;:::-;;:::i;:::-;;;1068:14:1;;1061:22;1043:41;;1031:2;1016:18;26621:355:0;;;;;;;;29816:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31416:245::-;;;;;;;;;;-1:-1:-1;31416:245:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2146:55:1;;;2128:74;;2116:2;2101:18;31416:245:0;1982:226:1;71494:163:0;;;;;;;;;;-1:-1:-1;71494:163:0;;;;;:::i;:::-;;:::i;30979:371::-;;;;;;;;;;-1:-1:-1;30979:371:0;;;;;:::i;:::-;;:::i;70375:175::-;;;;;;;;;;-1:-1:-1;70375:175:0;;;;;:::i;:::-;70480:7;70512:23;;;:12;:23;;;;;;;;-1:-1:-1;;;;;70512:30:0;;;;;;;;;;;;;70375:175;;;;3268:25:1;;;3256:2;3241:18;70375:175:0;3122:177:1;25870:303:0;;;;;;;;;;-1:-1:-1;26124:12:0;;25914:7;26108:13;:28;25870:303;;69918:137;;;;;;;;;;-1:-1:-1;69918:137:0;;;;;:::i;:::-;69984:7;70011:22;;;:11;:22;;;;;:36;;;;69918:137;69775:135;;;;;;;;;;-1:-1:-1;69775:135:0;;;;;:::i;:::-;69840:7;69867:22;;;:11;:22;;;;;:35;;;;69775:135;72024:254;;;;;;;;;;-1:-1:-1;72024:254:0;;;;;:::i;:::-;;:::i;69659:108::-;;;;;;;;;;-1:-1:-1;69659:108:0;;;;;:::i;:::-;69717:4;69741:18;;;:9;:18;;;;;;;;;69659:108;68892:635;;;;;;;;;;-1:-1:-1;68892:635:0;;;;;:::i;:::-;;:::i;72349:262::-;;;;;;;;;;-1:-1:-1;72349:262:0;;;;;:::i;:::-;;:::i;71309:177::-;;;;;;;;;;-1:-1:-1;71309:177:0;;;;;:::i;:::-;;:::i;72988:1044::-;;;;;;;;;;-1:-1:-1;72988:1044:0;;;;;:::i;:::-;;:::i;70992:177::-;;;;;;;;;;-1:-1:-1;70992:177:0;;;;;:::i;:::-;;:::i;74040:1427::-;;;;;;:::i;:::-;;:::i;70558:144::-;;;;;;;;;;-1:-1:-1;70558:144:0;;;;;:::i;:::-;70623:4;70647:22;;;:11;:22;;;;;:42;;;:47;;;70558:144;29624:125;;;;;;;;;;-1:-1:-1;29624:125:0;;;;;:::i;:::-;;:::i;27040:206::-;;;;;;;;;;-1:-1:-1;27040:206:0;;;;;:::i;:::-;;:::i;10818:94::-;;;;;;;;;;;;;:::i;68019:25::-;;;;;;;;;;;;;:::i;70063:175::-;;;;;;;;;;-1:-1:-1;70063:175:0;;;;;:::i;:::-;70159:7;70191:22;;;:11;:22;;;;;:39;;;;70063:175;10167:87;;;;;;;;;;-1:-1:-1;10240:6:0;;-1:-1:-1;;;;;10240:6:0;10167:87;;69535:116;;;;;;;;;;-1:-1:-1;69535:116:0;;;;;:::i;:::-;;:::i;29985:104::-;;;;;;;;;;;;;:::i;70895:89::-;;;;;;;;;;-1:-1:-1;70895:89:0;;;;;:::i;:::-;;:::i;77100:189::-;;;;;;;;;;-1:-1:-1;77100:189:0;;;;;:::i;:::-;;:::i;31733:319::-;;;;;;;;;;-1:-1:-1;31733:319:0;;;;;:::i;:::-;;:::i;70710:177::-;;;;;;;;;;-1:-1:-1;70710:177:0;;;;;:::i;:::-;70807:7;70839:22;;;:11;:22;;;;;:40;;;;70710:177;72682:298;;;;;;;;;;-1:-1:-1;72682:298:0;;;;;:::i;:::-;;:::i;75475:1357::-;;;;;;:::i;:::-;;:::i;68532:352::-;;;;;;;;;;-1:-1:-1;68532:352:0;;;;;:::i;:::-;;:::i;71665:165::-;;;;;;;;;;-1:-1:-1;71665:165:0;;;;;:::i;:::-;;:::i;70246:121::-;;;;;;;;;;-1:-1:-1;70246:121:0;;;;;:::i;:::-;70304:7;70331:22;;;:11;:22;;;;;:28;;70246:121;32123:214;;;;;;;;;;-1:-1:-1;32123:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;32294:25:0;;;32265:4;32294:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32123:214;11067:229;;;;;;;;;;-1:-1:-1;11067:229:0;;;;;:::i;:::-;;:::i;71177:124::-;;;;;;;;;;-1:-1:-1;71177:124:0;;;;;:::i;:::-;;:::i;76840:252::-;;;;;;;;;;-1:-1:-1;76840:252:0;;;;;:::i;:::-;;:::i;71838:119::-;;;;;;;;;;-1:-1:-1;71838:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;71927:22:0;71900:7;71927:22;;;:15;:22;;;;;;;71838:119;77297:359;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;;;;;;;;;77414:6:::1;77389:21;:31;;77381:69;;;::::0;-1:-1:-1;;;77381:69:0;;12696:2:1;77381:69:0::1;::::0;::::1;12678:21:1::0;12735:2;12715:18;;;12708:30;12774:27;12754:18;;;12747:55;12819:18;;77381:69:0::1;12494:349:1::0;77381:69:0::1;77465:11:::0;77461:74:::1;;77502:21;77493:30;;77461:74;-1:-1:-1::0;;;;;77549:16:0;::::1;77545:73;;-1:-1:-1::0;77595:10:0::1;77545:73;77628:20;-1:-1:-1::0;;;;;77628:12:0;::::1;77641:6:::0;77628:12:::1;:20::i;:::-;77297:359:::0;;:::o;26621:355::-;26768:4;-1:-1:-1;;;;;;26810:40:0;;-1:-1:-1;;;26810:40:0;;:105;;-1:-1:-1;;;;;;;26867:48:0;;-1:-1:-1;;;26867:48:0;26810:105;:158;;;-1:-1:-1;;;;;;;;;;22837:40:0;;;26932:36;26790:178;26621:355;-1:-1:-1;;26621:355:0:o;29816:100::-;29870:13;29903:5;29896:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29816:100;:::o;31416:245::-;31520:7;31550:16;31558:7;31550;:16::i;:::-;31545:64;;31575:34;;-1:-1:-1;;;31575:34:0;;;;;;;;;;;31545:64;-1:-1:-1;31629:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31629:24:0;;31416:245::o;71494:163::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;71605:22:::1;::::0;;;:11:::1;:22;::::0;;;;;:35:::1;;:44:::0;71494:163::o;30979:371::-;31052:13;31068:24;31084:7;31068:15;:24::i;:::-;31052:40;;31113:5;-1:-1:-1;;;;;31107:11:0;:2;-1:-1:-1;;;;;31107:11:0;;31103:48;;;31127:24;;-1:-1:-1;;;31127:24:0;;;;;;;;;;;31103:48;9098:10;-1:-1:-1;;;;;31168:21:0;;;;;;:63;;-1:-1:-1;31194:37:0;31211:5;9098:10;32123:214;:::i;31194:37::-;31193:38;31168:63;31164:138;;;31255:35;;-1:-1:-1;;;31255:35:0;;;;;;;;;;;31164:138;31314:28;31323:2;31327:7;31336:5;31314:8;:28::i;:::-;31041:309;30979:371;;:::o;72024:254::-;72167:18;;;;:9;:18;;;;;;;;72166:19;72158:64;;;;-1:-1:-1;;;72158:64:0;;13435:2:1;72158:64:0;;;13417:21:1;;;13454:18;;;13447:30;13513:34;13493:18;;;13486:62;13565:18;;72158:64:0;13233:356:1;72158:64:0;72233:37;72252:4;72258:2;72262:7;72233:18;:37::i;68892:635::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;69218:301:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;69289:15:0;;;:11:::1;:15:::0;;;;;;:32:::1;::::0;::::1;::::0;69218:301;;;;;;;;;;69366:15;;;;;;:33:::1;;::::0;69218:301;;;;;;;;;;;;;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;69479:3;;;;;;69218:301;::::1;69479:3:::0;;;;69218:301;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;69218:301:0;;;-1:-1:-1;69218:301:0::1;::::0;;::::1;;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;::::1;::::0;;69497:11;;;;;;69218:301;::::1;69497:11:::0;;;;69218:301;::::1;;::::0;::::1;::::0;;;-1:-1:-1;69218:301:0;;;;-1:-1:-1;;69200:15:0;;;:11:::1;:15;::::0;;;;;;;;:319;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;:15;;-1:-1:-1;69200:319:0::1;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;69200:319:0::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;;;;;;;;;68892:635:0:o;72349:262::-;72496:18;;;;:9;:18;;;;;;;;72495:19;72487:64;;;;-1:-1:-1;;;72487:64:0;;13435:2:1;72487:64:0;;;13417:21:1;;;13454:18;;;13447:30;13513:34;13493:18;;;13486:62;13565:18;;72487:64:0;13233:356:1;72487:64:0;72562:41;72585:4;72591:2;72595:7;72562:22;:41::i;71309:177::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;71423:22:::1;::::0;;;:11:::1;:22;::::0;;;;;:42:::1;;:55:::0;71309:177::o;72988:1044::-;73424:10;73154:14;73487:27;;;:15;:27;;;;;;;;;73230:334;;73263:138;73230:334;;;13853:25:1;13894:18;;;13887:83;;;;13986:18;;;13979:34;;;14029:18;;;14022:34;14072:19;;;;14065:35;;;73230:334:0;;;;;;;;;;13825:19:1;;;;73230:334:0;;73202:377;;;;;;;;73171:419;;:16;:419::i;:::-;73154:436;;73603:14;73620:32;73634:6;73642:9;73620:13;:32::i;:::-;73603:49;;73681:2;-1:-1:-1;;;;;73671:12:0;:6;-1:-1:-1;;;;;73671:12:0;;73663:60;;;;-1:-1:-1;;;73663:60:0;;14313:2:1;73663:60:0;;;14295:21:1;14352:2;14332:18;;;14325:30;14391:34;14371:18;;;14364:62;-1:-1:-1;;;14442:18:1;;;14435:33;14485:19;;73663:60:0;14111:399:1;73663:60:0;-1:-1:-1;;;;;73742:20:0;;73734:57;;;;-1:-1:-1;;;73734:57:0;;14717:2:1;73734:57:0;;;14699:21:1;14756:2;14736:18;;;14729:30;-1:-1:-1;;;14775:18:1;;;14768:54;14839:18;;73734:57:0;14515:348:1;73734:57:0;73844:8;73826:15;:26;73804:120;;;;-1:-1:-1;;;73804:120:0;;15070:2:1;73804:120:0;;;15052:21:1;15109:2;15089:18;;;15082:30;15148:34;15128:18;;;15121:62;-1:-1:-1;;;15199:18:1;;;15192:42;15251:19;;73804:120:0;14868:408:1;73804:120:0;73951:10;73935:27;;;;:15;:27;;;;;:29;;;;;;:::i;:::-;;;;;;73977:47;74000:10;74012:2;74016:7;73977:22;:47::i;:::-;73143:889;;72988:1044;;;;:::o;70992:177::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;71110:22:::1;::::0;;;:11:::1;:22;::::0;;;;;:35:::1;;:51:::0;70992:177::o;74040:1427::-;74212:7;;-1:-1:-1;;;74212:7:0;;;;74204:46;;;;-1:-1:-1;;;74204:46:0;;15755:2:1;74204:46:0;;;15737:21:1;15794:2;15774:18;;;15767:30;15833:28;15813:18;;;15806:56;15879:18;;74204:46:0;15553:350:1;74204:46:0;74339:1;74285:22;;;:11;:22;;;;;:42;;;:56;;:275;;;74362:198;74403:11;;74362:198;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74437:22:0;;;:11;:22;;;;;;;;;:42;;;74512:28;;74437:42;;-1:-1:-1;74512:28:0;;-1:-1:-1;74529:10:0;;-1:-1:-1;74512:28:0;16057:2:1;16053:15;;;;-1:-1:-1;;16049:53:1;16037:66;;16128:2;16119:12;;15908:229;74512:28:0;;;;;;;;;;;;;74502:39;;;;;;74362:18;:198::i;:::-;74263:347;;;;-1:-1:-1;;;74263:347:0;;16344:2:1;74263:347:0;;;16326:21:1;16383:2;16363:18;;;16356:30;16422:24;16402:18;;;16395:52;16464:18;;74263:347:0;16142:346:1;74263:347:0;74702:22;;;;:11;:22;;;;;;;;:35;;;74645:12;:23;;;;;-1:-1:-1;;;;;74645:27:0;;;;;;;;;;;:36;;74675:6;;74645:36;:::i;:::-;:92;;:153;;;-1:-1:-1;74758:22:0;;;;:11;:22;;;;;:35;;;:40;74645:153;74623:237;;;;-1:-1:-1;;;74623:237:0;;;;;;;:::i;:::-;74962:22;;;;:11;:22;;;;;:35;;;;74893:39;;;;;:48;;74935:6;;74893:48;:::i;:::-;:104;;74871:179;;;;-1:-1:-1;;;74871:179:0;;17231:2:1;74871:179:0;;;17213:21:1;17270:2;17250:18;;;17243:30;17309:27;17289:18;;;17282:55;17354:18;;74871:179:0;17029:349:1;74871:179:0;75063:23;;;;:12;:23;;;;;;;;-1:-1:-1;;;;;75063:27:0;;;;;;;;;:37;;75094:6;;75063:23;:37;;75094:6;;75063:37;:::i;:::-;;;;-1:-1:-1;;75111:22:0;;;;:11;:22;;;;;:39;;:49;;75154:6;;75111:22;:49;;75154:6;;75111:49;:::i;:::-;;;;-1:-1:-1;75176:9:0;;-1:-1:-1;75171:114:0;75195:6;75191:1;:10;75171:114;;;75264:9;75223:19;:38;75259:1;75243:13;;:17;;;;:::i;:::-;75223:38;;;;;;;;;;;-1:-1:-1;75223:38:0;:50;75203:3;;;;:::i;:::-;;;;75171:114;;;-1:-1:-1;75332:22:0;;;;:11;:22;;;;;:28;:37;;75363:6;;75332:37;:::i;:::-;75319:9;:50;75297:122;;;;-1:-1:-1;;;75297:122:0;;17758:2:1;75297:122:0;;;17740:21:1;17797:2;17777:18;;;17770:30;17836:24;17816:18;;;17809:52;17878:18;;75297:122:0;17556:346:1;75297:122:0;75432:27;75438:2;75442:6;75432:27;;;;;;;;;;;;75454:4;75432:5;:27::i;:::-;74040:1427;;;;;:::o;29624:125::-;29688:7;29715:21;29728:7;29715:12;:21::i;:::-;:26;;29624:125;-1:-1:-1;;29624:125:0:o;27040:206::-;27104:7;-1:-1:-1;;;;;27128:19:0;;27124:60;;27156:28;;-1:-1:-1;;;27156:28:0;;;;;;;;;;;27124:60;-1:-1:-1;;;;;;27210:19:0;;;;;:12;:19;;;;;:27;;;;27040:206::o;10818:94::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;10883:21:::1;10901:1;10883:9;:21::i;:::-;10818:94::o:0;68019:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;69535:116::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;69617:26:::1;:11;69631:12:::0;;69617:26:::1;:::i;29985:104::-:0;30041:13;30074:7;30067:14;;;;;:::i;70895:89::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;70958:7:::1;:18:::0;;;::::1;;-1:-1:-1::0;;;70958:18:0::1;-1:-1:-1::0;;;;70958:18:0;;::::1;::::0;;;::::1;::::0;;70895:89::o;77100:189::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;77185:9:::1;77180:102;77200:19:::0;;::::1;77180:102;;;77266:4;77241:9;:22;77251:8;;77260:1;77251:11;;;;;;;:::i;:::-;;;;;;;77241:22;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;77221:3;;;;;:::i;:::-;;;;77180:102;;31733:319:::0;-1:-1:-1;;;;;31864:24:0;;9098:10;31864:24;31860:54;;;31897:17;;-1:-1:-1;;;31897:17:0;;;;;;;;;;;31860:54;9098:10;31927:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31927:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31927:53:0;;;;;;;;;;31996:48;;1043:41:1;;;31927:42:0;;9098:10;31996:48;;1016:18:1;31996:48:0;;;;;;;31733:319;;:::o;72682:298::-;72858:18;;;;:9;:18;;;;;;;;72857:19;72849:64;;;;-1:-1:-1;;;72849:64:0;;13435:2:1;72849:64:0;;;13417:21:1;;;13454:18;;;13447:30;13513:34;13493:18;;;13486:62;13565:18;;72849:64:0;13233:356:1;72849:64:0;72924:48;72947:4;72953:2;72957:7;72966:5;72924:22;:48::i;:::-;72682:298;;;;:::o;75475:1357::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;75700:29;;::::1;:59:::0;::::1;;;-1:-1:-1::0;75733:26:0;;::::1;75700:59;75678:134;;;::::0;-1:-1:-1;;;75678:134:0;;18241:2:1;75678:134:0::1;::::0;::::1;18223:21:1::0;18280:2;18260:18;;;18253:30;18319:27;18299:18;;;18292:55;18364:18;;75678:134:0::1;18039:349:1::0;75678:134:0::1;75830:9;75825:1000;75845:13:::0;;::::1;75825:1000;;;75976:11;:25;75988:9;;75998:1;75988:12;;;;;;;:::i;:::-;;;;;;;75976:25;;;;;;;;;;;:38;;;75942:6;;75949:1;75942:9;;;;;;;:::i;:::-;;;;;;;75906:12;:26;75919:9;;75929:1;75919:12;;;;;;;:::i;:::-;;;;;;;75906:26;;;;;;;;;;;:33;75933:2;;75936:1;75933:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;75906:33:0::1;-1:-1:-1::0;;;;;75906:33:0::1;;;;;;;;;;;;;:45;;;;:::i;:::-;:108;;:176;;;;76039:11;:25;76051:9;;76061:1;76051:12;;;;;;;:::i;:::-;;;;;;;76039:25;;;;;;;;;;;:38;;;76081:1;76039:43;75906:176;75880:272;;;;-1:-1:-1::0;;;75880:272:0::1;;;;;;;:::i;:::-;76273:11;:25;76285:9;;76295:1;76285:12;;;;;;;:::i;:::-;;;;;;;76273:25;;;;;;;;;;;:39;;;76239:6;;76246:1;76239:9;;;;;;;:::i;:::-;;;;;;;76193:11;:25;76205:9;;76215:1;76205:12;;;;;;;:::i;:::-;;;;;;;76193:25;;;;;;;;;;;:43;;;:55;;;;:::i;:::-;:119;;76167:206;;;::::0;-1:-1:-1;;;76167:206:0;;17231:2:1;76167:206:0::1;::::0;::::1;17213:21:1::0;17270:2;17250:18;;;17243:30;17309:27;17289:18;;;17282:55;17354:18;;76167:206:0::1;17029:349:1::0;76167:206:0::1;76425:6;;76432:1;76425:9;;;;;;;:::i;:::-;;;;;;;76388:12;:26;76401:9;;76411:1;76401:12;;;;;;;:::i;:::-;;;;;;;76388:26;;;;;;;;;;;:33;76415:2;;76418:1;76415:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;76388:33:0::1;-1:-1:-1::0;;;;;76388:33:0::1;;;;;;;;;;;;;:46;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;76496:6:0;;-1:-1:-1;76496:6:0;76503:1;76496:9;;::::1;;;;;:::i;:::-;;;;;;;76449:11;:25;76461:9;;76471:1;76461:12;;;;;;;:::i;:::-;;;;;;;76449:25;;;;;;;;;;;:43;;;:56;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;76525:9:0::1;::::0;-1:-1:-1;76520:244:0::1;76544:6;;76551:1;76544:9;;;;;;;:::i;:::-;;;;;;;76540:1;:13;76520:244;;;76620:9;;76630:1;76620:12;;;;;;;:::i;:::-;;;;;;;76579:19;:38;76615:1;76599:13;;:17;;;;:::i;:::-;76579:38:::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;76579:38:0;:53;76651:98;::::1;;;76725:4;76694:9;:28;76720:1;76704:13;;:17;;;;:::i;:::-;76694:28:::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;76694:28:0;:35;;-1:-1:-1;;76694:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;76651:98:::1;76555:3:::0;::::1;::::0;::::1;:::i;:::-;;;;76520:244;;;;76780:33;76786:2;;76789:1;76786:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;76793:6;;76800:1;76793:9;;;;;;;:::i;:::-;;;;;;;76780:33;;;;;;;;;;;::::0;76808:4:::1;76780:5;:33::i;:::-;75860:3:::0;::::1;::::0;::::1;:::i;:::-;;;;75825:1000;;;;75475:1357:::0;;;;;;;:::o;68532:352::-;68685:18;;;;:9;:18;;;;;;68650:13;;68685:18;;68681:196;;;68727:41;68739:28;;;:19;:28;;;;;;;;;68727:41;;:11;:41;;;;;:53;;68720:60;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68532:352;;;:::o;68681:196::-;68820:41;68832:28;;;:19;:28;;;;;;;;;68820:41;;:11;:41;;;;;:45;;68813:52;;;;;:::i;68681:196::-;68532:352;;;:::o;71665:165::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;71777:22:::1;::::0;;;:11:::1;:22;::::0;;;;;:36:::1;;:45:::0;71665:165::o;11067:229::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11170:22:0;::::1;11148:110;;;::::0;-1:-1:-1;;;11148:110:0;;18595:2:1;11148:110:0::1;::::0;::::1;18577:21:1::0;18634:2;18614:18;;;18607:30;18673:34;18653:18;;;18646:62;-1:-1:-1;;;18724:18:1;;;18717:36;18770:19;;11148:110:0::1;18393:402:1::0;11148:110:0::1;11269:19;11279:8;11269:9;:19::i;:::-;11067:229:::0;:::o;71177:124::-;10240:6;;-1:-1:-1;;;;;10240:6:0;9098:10;10387:23;10379:68;;;;-1:-1:-1;;;10379:68:0;;;;;;;:::i;:::-;71257:22:::1;::::0;;;:11:::1;:22;::::0;;;;;:36;71177:124::o;76840:252::-;76910:9;76905:180;76925:19;;;76905:180;;;76998:10;76974:20;76982:8;;76991:1;76982:11;;;;;;;:::i;:::-;;;;;;;76974:7;:20::i;:::-;-1:-1:-1;;;;;76974:34:0;;76966:63;;;;-1:-1:-1;;;76966:63:0;;19002:2:1;76966:63:0;;;18984:21:1;19041:2;19021:18;;;19014:30;-1:-1:-1;;;19060:18:1;;;19053:46;19116:18;;76966:63:0;18800:340:1;76966:63:0;77069:4;77044:9;:22;77054:8;;77063:1;77054:11;;;;;;;:::i;:::-;;;;;;;77044:22;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;76946:3;;;;;:::i;:::-;;;;76905:180;;13487:391;13616:6;13591:21;:31;;13569:110;;;;-1:-1:-1;;;13569:110:0;;19347:2:1;13569:110:0;;;19329:21:1;19386:2;19366:18;;;19359:30;19425:31;19405:18;;;19398:59;19474:18;;13569:110:0;19145:353:1;13569:110:0;13693:12;13711:9;-1:-1:-1;;;;;13711:14:0;13733:6;13711:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13692:52;;;13777:7;13755:115;;;;-1:-1:-1;;;13755:115:0;;19915:2:1;13755:115:0;;;19897:21:1;19954:2;19934:18;;;19927:30;19993:34;19973:18;;;19966:62;20064:28;20044:18;;;20037:56;20110:19;;13755:115:0;19713:422:1;33562:213:0;33619:4;33709:13;;33699:7;:23;33656:111;;;;-1:-1:-1;;33740:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;33740:27:0;;;;33739:28;;33562:213::o;41949:196::-;42064:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;42064:29:0;-1:-1:-1;;;;;42064:29:0;;;;;;;;;42109:28;;42064:24;;42109:28;;;;;;;41949:196;;;:::o;32404:170::-;32538:28;32548:4;32554:2;32558:7;32538:9;:28::i;32645:185::-;32783:39;32800:4;32806:2;32810:7;32783:39;;;;;;;;;;;;:16;:39::i;67366:208::-;67479:7;67511:55;67533:20;:18;:20::i;:::-;67555:10;62798:57;;-1:-1:-1;;;62798:57:0;;;20650:27:1;20693:11;;;20686:27;;;20729:12;;;20722:28;;;62725:7:0;;20766:12:1;;62798:57:0;;;;;;;;;;;;62770:100;;;;;;62750:120;;62605:273;;;;;57942:263;58047:7;58073:17;58092:18;58114:27;58125:4;58131:9;58114:10;:27::i;:::-;58072:69;;;;58152:18;58164:5;58152:11;:18::i;:::-;-1:-1:-1;58188:9:0;57942:263;-1:-1:-1;;;57942:263:0:o;52754:910::-;52879:4;52919;52879;52936:605;52960:5;:12;52956:1;:16;52936:605;;;52994:20;53017:5;53023:1;53017:8;;;;;;;;:::i;:::-;;;;;;;52994:31;;53062:12;53046;:28;53042:488;;53221:44;;;;;;20297:19:1;;;20332:12;;;20325:28;;;20369:12;;53221:44:0;;;;;;;;;;;;53189:95;;;;;;53174:110;;53042:488;;;53451:44;;;;;;20297:19:1;;;20332:12;;;20325:28;;;20369:12;;53451:44:0;;;;;;;;;;;;53419:95;;;;;;53404:110;;53042:488;-1:-1:-1;52974:3:0;;;;:::i;:::-;;;;52936:605;;;-1:-1:-1;53636:20:0;;;;52754:910;-1:-1:-1;;;52754:910:0:o;34672:1966::-;34811:20;34834:13;-1:-1:-1;;;;;34862:16:0;;34858:48;;34887:19;;-1:-1:-1;;;34887:19:0;;;;;;;;;;;34858:48;34921:13;34917:44;;34943:18;;-1:-1:-1;;;34943:18:0;;;;;;;;;;;34917:44;-1:-1:-1;;;;;35312:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;35371:49:0;;35312:44;;;;;;;;35371:49;;;;-1:-1:-1;;35312:44:0;;;;;;35371:49;;;;;;;;;;;;;;;;35437:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;35487:66:0;;;;-1:-1:-1;;;35537:15:0;35487:66;;;;;;;;;;35437:25;35634:23;;;35678:4;:23;;;;-1:-1:-1;;;;;;35686:13:0;;12488:20;12536:8;;35686:15;35674:832;;;35722:505;35753:38;;35778:12;;-1:-1:-1;;;;;35753:38:0;;;35770:1;;35753:38;;35770:1;;35753:38;35845:212;35914:1;35947:2;35980:14;;;;;;36025:5;35845:30;:212::i;:::-;35814:365;;36115:40;;-1:-1:-1;;;36115:40:0;;;;;;;;;;;35814:365;36222:3;36206:12;:19;;35722:505;;36308:12;36291:13;;:29;36287:43;;36322:8;;;36287:43;35674:832;;;36371:120;36402:40;;36427:14;;;;;-1:-1:-1;;;;;36402:40:0;;;36419:1;;36402:40;;36419:1;;36402:40;36486:3;36470:12;:19;;36371:120;;35674:832;-1:-1:-1;36520:13:0;:28;36570:60;72682:298;28421:1141;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;28564:7:0;28647:13;;28640:4;:20;28609:886;;;28681:31;28715:17;;;:11;:17;;;;;;;;;28681:51;;;;;;;;;-1:-1:-1;;;;;28681:51:0;;;;-1:-1:-1;;;28681:51:0;;;;;;;;;;;-1:-1:-1;;;28681:51:0;;;;;;;;;;;;;;28751:729;;28801:14;;-1:-1:-1;;;;;28801:28:0;;28797:101;;28865:9;28421:1141;-1:-1:-1;;;28421:1141:0:o;28797:101::-;-1:-1:-1;;;29240:6:0;29285:17;;;;:11;:17;;;;;;;;;29273:29;;;;;;;;;-1:-1:-1;;;;;29273:29:0;;;;;-1:-1:-1;;;29273:29:0;;;;;;;;;;;-1:-1:-1;;;29273:29:0;;;;;;;;;;;;;29333:28;29329:109;;29401:9;28421:1141;-1:-1:-1;;;28421:1141:0:o;29329:109::-;29200:261;;;28662:833;28609:886;29523:31;;-1:-1:-1;;;29523:31:0;;;;;;;;;;;11304:173;11379:6;;;-1:-1:-1;;;;;11396:17:0;;;-1:-1:-1;;;;;;11396:17:0;;;;;;;11429:40;;11379:6;;;11396:17;11379:6;;11429:40;;11360:16;;11429:40;11349:128;11304:173;:::o;32901:406::-;33068:28;33078:4;33084:2;33088:7;33068:9;:28::i;:::-;-1:-1:-1;;;;;33125:13:0;;12488:20;12536:8;;33125:89;;;;;33158:56;33189:4;33195:2;33199:7;33208:5;33158:30;:56::i;:::-;33157:57;33125:89;33107:193;;;33248:40;;-1:-1:-1;;;33248:40:0;;;;;;;;;;;36892:2130;37007:35;37045:21;37058:7;37045:12;:21::i;:::-;37007:59;;37105:4;-1:-1:-1;;;;;37083:26:0;:13;:18;;;-1:-1:-1;;;;;37083:26:0;;37079:67;;37118:28;;-1:-1:-1;;;37118:28:0;;;;;;;;;;;37079:67;37159:22;9098:10;-1:-1:-1;;;;;37185:20:0;;;;:73;;-1:-1:-1;37222:36:0;37239:4;9098:10;32123:214;:::i;37222:36::-;37185:126;;;-1:-1:-1;9098:10:0;37275:20;37287:7;37275:11;:20::i;:::-;-1:-1:-1;;;;;37275:36:0;;37185:126;37159:153;;37330:17;37325:66;;37356:35;;-1:-1:-1;;;37356:35:0;;;;;;;;;;;37325:66;-1:-1:-1;;;;;37406:16:0;;37402:52;;37431:23;;-1:-1:-1;;;37431:23:0;;;;;;;;;;;37402:52;37575:35;37592:1;37596:7;37605:4;37575:8;:35::i;:::-;-1:-1:-1;;;;;37906:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;37906:31:0;;;;;;;-1:-1:-1;;37906:31:0;;;;;;;37952:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;37952:29:0;;;;;;;;;;;38032:20;;;:11;:20;;;;;;38067:18;;-1:-1:-1;;;;;;38100:49:0;;;;-1:-1:-1;;;38133:15:0;38100:49;;;;;;;;;;38423:11;;38483:24;;;;;38526:13;;38032:20;;38483:24;;38526:13;38522:384;;38736:13;;38721:11;:28;38717:174;;38774:20;;38843:28;;;;38817:54;;-1:-1:-1;;;38817:54:0;-1:-1:-1;;;;;;38817:54:0;;;-1:-1:-1;;;;;38774:20:0;;38817:54;;;;38717:174;37881:1036;;;38953:7;38949:2;-1:-1:-1;;;;;38934:27:0;38943:4;-1:-1:-1;;;;;38934:27:0;;;;;;;;;;;38972:42;72682:298;65904:380;65957:7;65998:16;65981:13;:33;65977:300;;;-1:-1:-1;66038:24:0;;65904:380::o;65977:300::-;-1:-1:-1;66504:197:0;;;66163:10;66504:197;;;;23117:25:1;;;;66196:12:0;23158:18:1;;;23151:34;66231:15:0;23201:18:1;;;23194:34;66633:13:0;23244:18:1;;;23237:34;66677:4:0;23287:19:1;;;;23280:84;;;;66504:197:0;;;;;;;;;;23089:19:1;;;;66504:197:0;;;66476:240;;;;;;65904:380::o;55800:1340::-;55908:7;55917:12;56147:9;:16;56167:2;56147:22;56143:990;;;56443:4;56428:20;;56422:27;56493:4;56478:20;;56472:27;56551:4;56536:20;;56530:27;56186:9;56522:36;56594:25;56605:4;56522:36;56422:27;56472;56594:10;:25::i;:::-;56587:32;;;;;;;;;56143:990;56641:9;:16;56661:2;56641:22;56637:496;;;56916:4;56901:20;;56895:27;56967:4;56952:20;;56946:27;57009:23;57020:4;56895:27;56946;57009:10;:23::i;:::-;57002:30;;;;;;;;56637:496;-1:-1:-1;57081:1:0;;-1:-1:-1;57085:35:0;56637:496;55800:1340;;;;;:::o;54071:643::-;54149:20;54140:5;:29;;;;;;;;:::i;:::-;;54136:571;;;54071:643;:::o;54136:571::-;54247:29;54238:5;:38;;;;;;;;:::i;:::-;;54234:473;;;54293:34;;-1:-1:-1;;;54293:34:0;;14717:2:1;54293:34:0;;;14699:21:1;14756:2;14736:18;;;14729:30;-1:-1:-1;;;14775:18:1;;;14768:54;14839:18;;54293:34:0;14515:348:1;54234:473:0;54358:35;54349:5;:44;;;;;;;;:::i;:::-;;54345:362;;;54410:41;;-1:-1:-1;;;54410:41:0;;21123:2:1;54410:41:0;;;21105:21:1;21162:2;21142:18;;;21135:30;21201:33;21181:18;;;21174:61;21252:18;;54410:41:0;20921:355:1;54345:362:0;54482:30;54473:5;:39;;;;;;;;:::i;:::-;;54469:238;;;54529:44;;-1:-1:-1;;;54529:44:0;;21483:2:1;54529:44:0;;;21465:21:1;21522:2;21502:18;;;21495:30;21561:34;21541:18;;;21534:62;-1:-1:-1;;;21612:18:1;;;21605:32;21654:19;;54529:44:0;21281:398:1;54469:238:0;54604:30;54595:5;:39;;;;;;;;:::i;:::-;;54591:116;;;54651:44;;-1:-1:-1;;;54651:44:0;;21886:2:1;54651:44:0;;;21868:21:1;21925:2;21905:18;;;21898:30;21964:34;21944:18;;;21937:62;-1:-1:-1;;;22015:18:1;;;22008:32;22057:19;;54651:44:0;21684:398:1;42637:772:0;42834:155;;-1:-1:-1;;;42834:155:0;;42800:4;;-1:-1:-1;;;;;42834:36:0;;;;;:155;;9098:10;;42920:4;;42943:7;;42969:5;;42834:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42834:155:0;;;;;;;;-1:-1:-1;;42834:155:0;;;;;;;;;;;;:::i;:::-;;;42817:585;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43160:13:0;;43156:235;;43206:40;;-1:-1:-1;;;43206:40:0;;;;;;;;;;;43156:235;43349:6;43343:13;43334:6;43330:2;43326:15;43319:38;42817:585;-1:-1:-1;;;;;;43045:55:0;-1:-1:-1;;;43045:55:0;;-1:-1:-1;42637:772:0;;;;;;:::o;59522:1669::-;59653:7;;60614:66;60588:92;;60570:200;;;-1:-1:-1;60723:1:0;;-1:-1:-1;60727:30:0;60707:51;;60570:200;60784:1;:7;;60789:2;60784:7;;:18;;;;;60795:1;:7;;60800:2;60795:7;;60784:18;60780:102;;;-1:-1:-1;60835:1:0;;-1:-1:-1;60839:30:0;60819:51;;60780:102;60996:24;;;60979:14;60996:24;;;;;;;;;23602:25:1;;;23675:4;23663:17;;23643:18;;;23636:45;;;;23697:18;;;23690:34;;;23740:18;;;23733:34;;;60996:24:0;;23574:19:1;;60996:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60996:24:0;;-1:-1:-1;;60996:24:0;;;-1:-1:-1;;;;;;;61035:20:0;;61031:103;;61088:1;61092:29;61072:50;;;;;;;61031:103;61154:6;-1:-1:-1;61162:20:0;;-1:-1:-1;59522:1669:0;;;;;;;;:::o;58468:440::-;58582:7;;-1:-1:-1;;;;;58683:124:0;;58834:3;58830:12;;;58844:2;58826:21;58875:25;58886:4;58826:21;58895:1;58683:124;58875:10;:25::i;:::-;58868:32;;;;;;58468:440;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:162:1;-1:-1:-1;;;;;101:5:1;97:54;90:5;87:65;77:93;;166:1;163;156:12;181:331;257:6;265;318:2;306:9;297:7;293:23;289:32;286:52;;;334:1;331;324:12;286:52;370:9;357:23;347:33;;430:2;419:9;415:18;402:32;443:39;476:5;443:39;:::i;:::-;501:5;491:15;;;181:331;;;;;:::o;517:131::-;-1:-1:-1;;;;;;591:32:1;;581:43;;571:71;;638:1;635;628:12;653:245;711:6;764:2;752:9;743:7;739:23;735:32;732:52;;;780:1;777;770:12;732:52;819:9;806:23;838:30;862:5;838:30;:::i;:::-;887:5;653:245;-1:-1:-1;;;653:245:1:o;1095:472::-;1137:3;1175:5;1169:12;1202:6;1197:3;1190:19;1227:1;1237:162;1251:6;1248:1;1245:13;1237:162;;;1313:4;1369:13;;;1365:22;;1359:29;1341:11;;;1337:20;;1330:59;1266:12;1237:162;;;1417:6;1414:1;1411:13;1408:87;;;1483:1;1476:4;1467:6;1462:3;1458:16;1454:27;1447:38;1408:87;-1:-1:-1;1549:2:1;1528:15;-1:-1:-1;;1524:29:1;1515:39;;;;1556:4;1511:50;;1095:472;-1:-1:-1;;1095:472:1:o;1572:220::-;1721:2;1710:9;1703:21;1684:4;1741:45;1782:2;1771:9;1767:18;1759:6;1741:45;:::i;1797:180::-;1856:6;1909:2;1897:9;1888:7;1884:23;1880:32;1877:52;;;1925:1;1922;1915:12;1877:52;-1:-1:-1;1948:23:1;;1797:180;-1:-1:-1;1797:180:1:o;2213:248::-;2281:6;2289;2342:2;2330:9;2321:7;2317:23;2313:32;2310:52;;;2358:1;2355;2348:12;2310:52;-1:-1:-1;;2381:23:1;;;2451:2;2436:18;;;2423:32;;-1:-1:-1;2213:248:1:o;2466:323::-;2534:6;2542;2595:2;2583:9;2574:7;2570:23;2566:32;2563:52;;;2611:1;2608;2601:12;2563:52;2650:9;2637:23;2669:39;2702:5;2669:39;:::i;:::-;2727:5;2779:2;2764:18;;;;2751:32;;-1:-1:-1;;;2466:323:1:o;3304:472::-;3381:6;3389;3397;3450:2;3438:9;3429:7;3425:23;3421:32;3418:52;;;3466:1;3463;3456:12;3418:52;3505:9;3492:23;3524:39;3557:5;3524:39;:::i;:::-;3582:5;-1:-1:-1;3639:2:1;3624:18;;3611:32;3652:41;3611:32;3652:41;:::i;:::-;3304:472;;3712:7;;-1:-1:-1;;;3766:2:1;3751:18;;;;3738:32;;3304:472::o;3781:348::-;3833:8;3843:6;3897:3;3890:4;3882:6;3878:17;3874:27;3864:55;;3915:1;3912;3905:12;3864:55;-1:-1:-1;3938:20:1;;3981:18;3970:30;;3967:50;;;4013:1;4010;4003:12;3967:50;4050:4;4042:6;4038:17;4026:29;;4102:3;4095:4;4086:6;4078;4074:19;4070:30;4067:39;4064:59;;;4119:1;4116;4109:12;4134:1134;4280:6;4288;4296;4304;4312;4320;4328;4336;4344;4352;4405:3;4393:9;4384:7;4380:23;4376:33;4373:53;;;4422:1;4419;4412:12;4373:53;4458:9;4445:23;4435:33;;4515:2;4504:9;4500:18;4487:32;4477:42;;4566:2;4555:9;4551:18;4538:32;4528:42;;4617:2;4606:9;4602:18;4589:32;4579:42;;4668:3;4657:9;4653:19;4640:33;4630:43;;4720:3;4709:9;4705:19;4692:33;4682:43;;4776:3;4765:9;4761:19;4748:33;4800:18;4841:2;4833:6;4830:14;4827:34;;;4857:1;4854;4847:12;4827:34;4896:59;4947:7;4938:6;4927:9;4923:22;4896:59;:::i;:::-;4974:8;;-1:-1:-1;4870:85:1;-1:-1:-1;5062:3:1;5047:19;;5034:33;;-1:-1:-1;5079:16:1;;;5076:36;;;5108:1;5105;5098:12;5076:36;;5147:61;5200:7;5189:8;5178:9;5174:24;5147:61;:::i;:::-;5121:87;;5227:8;5217:18;;;5254:8;5244:18;;;4134:1134;;;;;;;;;;;;;:::o;5526:127::-;5587:10;5582:3;5578:20;5575:1;5568:31;5618:4;5615:1;5608:15;5642:4;5639:1;5632:15;5658:718;5700:5;5753:3;5746:4;5738:6;5734:17;5730:27;5720:55;;5771:1;5768;5761:12;5720:55;5807:6;5794:20;5833:18;5870:2;5866;5863:10;5860:36;;;5876:18;;:::i;:::-;5951:2;5945:9;5919:2;6005:13;;-1:-1:-1;;6001:22:1;;;6025:2;5997:31;5993:40;5981:53;;;6049:18;;;6069:22;;;6046:46;6043:72;;;6095:18;;:::i;:::-;6135:10;6131:2;6124:22;6170:2;6162:6;6155:18;6216:3;6209:4;6204:2;6196:6;6192:15;6188:26;6185:35;6182:55;;;6233:1;6230;6223:12;6182:55;6297:2;6290:4;6282:6;6278:17;6271:4;6263:6;6259:17;6246:54;6344:1;6337:4;6332:2;6324:6;6320:15;6316:26;6309:37;6364:6;6355:15;;;;;;5658:718;;;;:::o;6381:600::-;6476:6;6484;6492;6500;6553:3;6541:9;6532:7;6528:23;6524:33;6521:53;;;6570:1;6567;6560:12;6521:53;6609:9;6596:23;6628:39;6661:5;6628:39;:::i;:::-;6686:5;-1:-1:-1;6738:2:1;6723:18;;6710:32;;-1:-1:-1;6793:2:1;6778:18;;6765:32;6820:18;6809:30;;6806:50;;;6852:1;6849;6842:12;6806:50;6875:49;6916:7;6907:6;6896:9;6892:22;6875:49;:::i;:::-;6381:600;;;;-1:-1:-1;6865:59:1;;6971:2;6956:18;6943:32;;-1:-1:-1;;;6381:600:1:o;6986:367::-;7049:8;7059:6;7113:3;7106:4;7098:6;7094:17;7090:27;7080:55;;7131:1;7128;7121:12;7080:55;-1:-1:-1;7154:20:1;;7197:18;7186:30;;7183:50;;;7229:1;7226;7219:12;7183:50;7266:4;7258:6;7254:17;7242:29;;7326:3;7319:4;7309:6;7306:1;7302:14;7294:6;7290:27;7286:38;7283:47;7280:67;;;7343:1;7340;7333:12;7358:717;7471:6;7479;7487;7495;7503;7556:3;7544:9;7535:7;7531:23;7527:33;7524:53;;;7573:1;7570;7563:12;7524:53;7612:9;7599:23;7631:39;7664:5;7631:39;:::i;:::-;7689:5;-1:-1:-1;7741:2:1;7726:18;;7713:32;;-1:-1:-1;7792:2:1;7777:18;;7764:32;;-1:-1:-1;7847:2:1;7832:18;;7819:32;7874:18;7863:30;;7860:50;;;7906:1;7903;7896:12;7860:50;7945:70;8007:7;7998:6;7987:9;7983:22;7945:70;:::i;:::-;7358:717;;;;-1:-1:-1;7358:717:1;;-1:-1:-1;8034:8:1;;7919:96;7358:717;-1:-1:-1;;;7358:717:1:o;8080:255::-;8139:6;8192:2;8180:9;8171:7;8167:23;8163:32;8160:52;;;8208:1;8205;8198:12;8160:52;8247:9;8234:23;8266:39;8299:5;8266:39;:::i;8340:411::-;8411:6;8419;8472:2;8460:9;8451:7;8447:23;8443:32;8440:52;;;8488:1;8485;8478:12;8440:52;8528:9;8515:23;8561:18;8553:6;8550:30;8547:50;;;8593:1;8590;8583:12;8547:50;8632:59;8683:7;8674:6;8663:9;8659:22;8632:59;:::i;:::-;8710:8;;8606:85;;-1:-1:-1;8340:411:1;-1:-1:-1;;;;8340:411:1:o;8756:160::-;8821:20;;8877:13;;8870:21;8860:32;;8850:60;;8906:1;8903;8896:12;8921:180;8977:6;9030:2;9018:9;9009:7;9005:23;9001:32;8998:52;;;9046:1;9043;9036:12;8998:52;9069:26;9085:9;9069:26;:::i;9106:437::-;9192:6;9200;9253:2;9241:9;9232:7;9228:23;9224:32;9221:52;;;9269:1;9266;9259:12;9221:52;9309:9;9296:23;9342:18;9334:6;9331:30;9328:50;;;9374:1;9371;9364:12;9328:50;9413:70;9475:7;9466:6;9455:9;9451:22;9413:70;:::i;9548:323::-;9613:6;9621;9674:2;9662:9;9653:7;9649:23;9645:32;9642:52;;;9690:1;9687;9680:12;9642:52;9729:9;9716:23;9748:39;9781:5;9748:39;:::i;:::-;9806:5;-1:-1:-1;9830:35:1;9861:2;9846:18;;9830:35;:::i;:::-;9820:45;;9548:323;;;;;:::o;9876:681::-;9971:6;9979;9987;9995;10048:3;10036:9;10027:7;10023:23;10019:33;10016:53;;;10065:1;10062;10055:12;10016:53;10104:9;10091:23;10123:39;10156:5;10123:39;:::i;:::-;10181:5;-1:-1:-1;10238:2:1;10223:18;;10210:32;10251:41;10210:32;10251:41;:::i;:::-;10311:7;-1:-1:-1;10365:2:1;10350:18;;10337:32;;-1:-1:-1;10420:2:1;10405:18;;10392:32;10447:18;10436:30;;10433:50;;;10479:1;10476;10469:12;10433:50;10502:49;10543:7;10534:6;10523:9;10519:22;10502:49;:::i;:::-;10492:59;;;9876:681;;;;;;;:::o;10562:1157::-;10726:6;10734;10742;10750;10758;10766;10774;10827:3;10815:9;10806:7;10802:23;10798:33;10795:53;;;10844:1;10841;10834:12;10795:53;10884:9;10871:23;10913:18;10954:2;10946:6;10943:14;10940:34;;;10970:1;10967;10960:12;10940:34;11009:70;11071:7;11062:6;11051:9;11047:22;11009:70;:::i;:::-;11098:8;;-1:-1:-1;10983:96:1;-1:-1:-1;11186:2:1;11171:18;;11158:32;;-1:-1:-1;11202:16:1;;;11199:36;;;11231:1;11228;11221:12;11199:36;11270:72;11334:7;11323:8;11312:9;11308:24;11270:72;:::i;:::-;11361:8;;-1:-1:-1;11244:98:1;-1:-1:-1;11449:2:1;11434:18;;11421:32;;-1:-1:-1;11465:16:1;;;11462:36;;;11494:1;11491;11484:12;11462:36;;11533:72;11597:7;11586:8;11575:9;11571:24;11533:72;:::i;:::-;11624:8;;-1:-1:-1;11507:98:1;-1:-1:-1;11678:35:1;;-1:-1:-1;11709:2:1;11694:18;;11678:35;:::i;:::-;11668:45;;10562:1157;;;;;;;;;;:::o;11724:404::-;11792:6;11800;11853:2;11841:9;11832:7;11828:23;11824:32;11821:52;;;11869:1;11866;11859:12;11821:52;11908:9;11895:23;11927:39;11960:5;11927:39;:::i;:::-;11985:5;-1:-1:-1;12042:2:1;12027:18;;12014:32;12055:41;12014:32;12055:41;:::i;12133:356::-;12335:2;12317:21;;;12354:18;;;12347:30;12413:34;12408:2;12393:18;;12386:62;12480:2;12465:18;;12133:356::o;12848:380::-;12927:1;12923:12;;;;12970;;;12991:61;;13045:4;13037:6;13033:17;13023:27;;12991:61;13098:2;13090:6;13087:14;13067:18;13064:38;13061:161;;;13144:10;13139:3;13135:20;13132:1;13125:31;13179:4;13176:1;13169:15;13207:4;13204:1;13197:15;13061:161;;12848:380;;;:::o;15281:127::-;15342:10;15337:3;15333:20;15330:1;15323:31;15373:4;15370:1;15363:15;15397:4;15394:1;15387:15;15413:135;15452:3;-1:-1:-1;;15473:17:1;;15470:43;;;15493:18;;:::i;:::-;-1:-1:-1;15540:1:1;15529:13;;15413:135::o;16493:128::-;16533:3;16564:1;16560:6;16557:1;16554:13;16551:39;;;16570:18;;:::i;:::-;-1:-1:-1;16606:9:1;;16493:128::o;16626:398::-;16828:2;16810:21;;;16867:2;16847:18;;;16840:30;16906:34;16901:2;16886:18;;16879:62;-1:-1:-1;;;16972:2:1;16957:18;;16950:32;17014:3;16999:19;;16626:398::o;17383:168::-;17423:7;17489:1;17485;17481:6;17477:14;17474:1;17471:21;17466:1;17459:9;17452:17;17448:45;17445:71;;;17496:18;;:::i;:::-;-1:-1:-1;17536:9:1;;17383:168::o;17907:127::-;17968:10;17963:3;17959:20;17956:1;17949:31;17999:4;17996:1;17989:15;18023:4;18020:1;18013:15;20789:127;20850:10;20845:3;20841:20;20838:1;20831:31;20881:4;20878:1;20871:15;20905:4;20902:1;20895:15;22087:512;22281:4;-1:-1:-1;;;;;22391:2:1;22383:6;22379:15;22368:9;22361:34;22443:2;22435:6;22431:15;22426:2;22415:9;22411:18;22404:43;;22483:6;22478:2;22467:9;22463:18;22456:34;22526:3;22521:2;22510:9;22506:18;22499:31;22547:46;22588:3;22577:9;22573:19;22565:6;22547:46;:::i;:::-;22539:54;22087:512;-1:-1:-1;;;;;;22087:512:1:o;22604:249::-;22673:6;22726:2;22714:9;22705:7;22701:23;22697:32;22694:52;;;22742:1;22739;22732:12;22694:52;22774:9;22768:16;22793:30;22817:5;22793:30;:::i

Swarm Source

ipfs://b5e3f316106526757749747ff3cecfd8309a286ec4077455a59ba722ff4d5f5c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.