ETH Price: $3,411.48 (+1.61%)
Gas: 8.37 Gwei

Token

 

Overview

Max Total Supply

0

Holders

327

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
game.trickey.eth
0x05a2f0eef8c2b4c68e5c0b5801d8fcc1b42b6cb9
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PunkPacks

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-08-16
*/

// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

/**
 * @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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/ERC1155.sol)

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol)

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

/**
 * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    ) public view virtual override returns (uint256[] memory) {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `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 memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - 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[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address to, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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 _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address from, uint256 id, uint256 amount) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(address account, uint256 id, uint256 value) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(address account, uint256[] memory ids, uint256[] memory values) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );

        _burnBatch(account, ids, values);
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)

// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

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

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

// OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol)

// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol)

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

struct Pack {
  uint256 tokenId;
  string name;
  uint256 amountAvailable;
  uint256 onSaleAt;
  uint256 saleEndsAt;
  bool isClaimable;
  uint256 price;
  uint8 traitsPerPack;
  string uri;
}

error MaxPerTransactionExceeded();
error IncorrectAmountSent();
error PackSoldOut();
error SaleNotActive();
error ZeroBalance();
error PackNotClaimable();
error InvalidSignature();
error UnauthorizedSigner();
error AlreadyClaimed();
error NotValidOwner();

pragma solidity ^0.8.19;

contract PunkPacks is DefaultOperatorFilterer, ERC2981, ERC1155Burnable, Ownable {
  using ECDSA for bytes32;

  mapping (uint256 => Pack) public packs;
  uint256 public constant MAX_PER_TRANSACTION = 5;
  address public approvedBurningContract;
  mapping (uint256 => mapping(uint256 => bool)) public packClaims;
  address public authorizedSigner;

  constructor() ERC1155("https://punks2023.com/api/metadata/packs/") { }

  /* ADMIN FUNCTIONS */
  function addPack(
    uint256 _tokenId,
    string memory _name,
    uint256 _amountAvailable,
    uint256 _onSaleAt,
    uint256 _saleEndsAt,
    bool _isClaimable,
    uint256 _price,
    uint8 _traitsPerPack,
    string memory _uri
  ) external onlyOwner {
    packs[_tokenId] = Pack({tokenId: _tokenId, name: _name, amountAvailable: _amountAvailable, onSaleAt: _onSaleAt, saleEndsAt: _saleEndsAt, isClaimable: _isClaimable, price: _price, traitsPerPack: _traitsPerPack, uri: _uri});
  }

  function setBurningContract(address _contract) external onlyOwner {
    approvedBurningContract = _contract;
  }

  function adminMint(address _wallet, uint256 _count, uint256 _tokenId) external onlyOwner {
    Pack storage pack = packs[_tokenId];

    if (pack.amountAvailable < _count) revert PackSoldOut();
    pack.amountAvailable -= _count;
    _mint(_wallet, _tokenId, _count, "");
  }

  function withdraw() external onlyOwner {
    uint256 balance = address(this).balance;
    if (balance == 0) revert ZeroBalance();
    address owner = payable(msg.sender);

    (bool ownerSuccess, ) = owner.call{value: address(this).balance}("");
    require(ownerSuccess, "Failed to send to Owner.");
  }

  function setAuthorizedSigner(address signer) external onlyOwner {
    authorizedSigner = signer;
  }
  /* END ADMIN FUNCTIONS */

  function mint(uint256 count, uint256 tokenId) payable external {
    Pack storage pack = packs[tokenId];
    if (count > MAX_PER_TRANSACTION) revert MaxPerTransactionExceeded();
    if (msg.value != (count * pack.price)) revert IncorrectAmountSent();
    if (pack.amountAvailable < count) revert PackSoldOut();
    if (block.timestamp < pack.onSaleAt || block.timestamp > pack.saleEndsAt) revert SaleNotActive();

    pack.amountAvailable -= count;
    _mint(msg.sender, tokenId, count, "");
  }

  function claim(uint256 _packId, bytes calldata callData, bytes memory signature) external {
    Pack storage pack = packs[_packId];
    if (block.timestamp < pack.onSaleAt) revert SaleNotActive();
    if (!pack.isClaimable) revert PackNotClaimable();
    (uint256[] memory token_ids, address wallet) = _signedTokenIds(callData, signature);
    if (wallet != msg.sender) revert NotValidOwner();

    for (uint8 i; i < token_ids.length; i++) {
      if (packClaims[_packId][token_ids[i]]) revert AlreadyClaimed();
      packClaims[_packId][token_ids[i]] = true;
    }

    _mint(msg.sender, _packId, token_ids.length, "");
  }

  function uri(uint256 _tokenId) public view override returns (string memory) {
    Pack memory pack = packs[_tokenId];
    return pack.uri;
  }

  function isApprovedForAll(address _owner, address operator) public view override returns (bool) {
    if (operator == approvedBurningContract) return true;
    return super.isApprovedForAll(_owner, operator);
  }

  function _signedTokenIds(bytes calldata callData, bytes memory signature) internal view returns (uint256[] memory, address) {
    address signer = keccak256(callData).toEthSignedMessageHash().recover(signature);
    if (signer == address(0)) revert InvalidSignature();
    if (signer != authorizedSigner) revert UnauthorizedSigner();
    (uint256[] memory token_ids, address wallet) = abi.decode(callData, (uint256[], address));

    return (token_ids, wallet);
  }

  function traitsPerPack(uint256 packId) public view returns (uint8) {
    return packs[packId].traitsPerPack;
  }

  function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
    super.setApprovalForAll(operator, approved);
  }

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

  function safeBatchTransferFrom(
    address from,
    address to,
    uint256[] memory ids,
    uint256[] memory amounts,
    bytes memory data
  ) public virtual override onlyAllowedOperator(from) {
    super.safeBatchTransferFrom(from, to, ids, amounts, data);
  }

  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, ERC2981) returns (bool) {
    return ERC1155.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"IncorrectAmountSent","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MaxPerTransactionExceeded","type":"error"},{"inputs":[],"name":"NotValidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"PackNotClaimable","type":"error"},{"inputs":[],"name":"PackSoldOut","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"UnauthorizedSigner","type":"error"},{"inputs":[],"name":"ZeroBalance","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_PER_TRANSACTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_amountAvailable","type":"uint256"},{"internalType":"uint256","name":"_onSaleAt","type":"uint256"},{"internalType":"uint256","name":"_saleEndsAt","type":"uint256"},{"internalType":"bool","name":"_isClaimable","type":"bool"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint8","name":"_traitsPerPack","type":"uint8"},{"internalType":"string","name":"_uri","type":"string"}],"name":"addPack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approvedBurningContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"authorizedSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_packId","type":"uint256"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":"count","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"packClaims","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"packs","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"amountAvailable","type":"uint256"},{"internalType":"uint256","name":"onSaleAt","type":"uint256"},{"internalType":"uint256","name":"saleEndsAt","type":"uint256"},{"internalType":"bool","name":"isClaimable","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint8","name":"traitsPerPack","type":"uint8"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","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":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setAuthorizedSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setBurningContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"packId","type":"uint256"}],"name":"traitsPerPack","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051806060016040528060298152602001620032f760299139733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b1562000188578015620000d657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000b757600080fd5b505af1158015620000cc573d6000803e3d6000fd5b5050505062000188565b6001600160a01b03821615620001275760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200009c565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200016e57600080fd5b505af115801562000183573d6000803e3d6000fd5b505050505b5062000196905081620001a8565b50620001a233620001ba565b6200037d565b6004620001b68282620002b1565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200023757607f821691505b6020821081036200025857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002ac57600081815260208120601f850160051c81016020861015620002875750805b601f850160051c820191505b81811015620002a85782815560010162000293565b5050505b505050565b81516001600160401b03811115620002cd57620002cd6200020c565b620002e581620002de845462000222565b846200025e565b602080601f8311600181146200031d5760008415620003045750858301515b600019600386901b1c1916600185901b178555620002a8565b600085815260208120601f198616915b828110156200034e578886015182559484019460019091019084016200032d565b50858210156200036d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612f6a806200038d6000396000f3fe6080604052600436106101b55760003560e01c80636b20c454116100ec578063cb14eb871161008a578063f242432a11610064578063f242432a14610557578063f2fde38b14610577578063f5298aca14610597578063fa143317146105b757600080fd5b8063cb14eb8714610502578063d279b0ca14610517578063e985e9c51461053757600080fd5b8063a1cb69df116100c6578063a1cb69df1461046d578063a22cb4651461048d578063b84c1392146104ad578063c771909c146104e257600080fd5b80636b20c4541461041a578063715018a61461043a5780638da5cb5b1461044f57600080fd5b80632a55205a1161015957806341119a941161013357806341119a941461034e57806341f434341461036e5780634e1273f4146103a857806354a54d63146103d557600080fd5b80632a55205a146102da5780632eb2c2d6146103195780633ccfd60b1461033957600080fd5b806308aa325f1161019557806308aa325f1461023f5780630bba33a31461025f5780630e89341c1461029a5780631b2ef1ca146102c757600080fd5b80624a84cb146101ba578062fdd58e146101dc57806301ffc9a71461020f575b600080fd5b3480156101c657600080fd5b506101da6101d53660046121b0565b6105d7565b005b3480156101e857600080fd5b506101fc6101f73660046121e5565b61064e565b6040519081526020015b60405180910390f35b34801561021b57600080fd5b5061022f61022a366004612227565b6106e9565b6040519015158152602001610206565b34801561024b57600080fd5b506101da61025a3660046122f9565b610703565b34801561026b57600080fd5b5061022f61027a366004612399565b600860209081526000928352604080842090915290825290205460ff1681565b3480156102a657600080fd5b506102ba6102b53660046123bb565b61089b565b604051610206919061241a565b6101da6102d5366004612399565b610a3a565b3480156102e657600080fd5b506102fa6102f5366004612399565b610b2b565b604080516001600160a01b039093168352602083019190915201610206565b34801561032557600080fd5b506101da6103343660046124c1565b610bd9565b34801561034557600080fd5b506101da610c08565b34801561035a57600080fd5b506101da61036936600461256e565b610ccd565b34801561037a57600080fd5b506103906daaeb6d7670e522a718067333cd4e81565b6040516001600160a01b039091168152602001610206565b3480156103b457600080fd5b506103c86103c336600461258b565b610cf7565b6040516102069190612692565b3480156103e157600080fd5b506104086103f03660046123bb565b60009081526006602052604090206007015460ff1690565b60405160ff9091168152602001610206565b34801561042657600080fd5b506101da6104353660046126a5565b610e20565b34801561044657600080fd5b506101da610e63565b34801561045b57600080fd5b506005546001600160a01b0316610390565b34801561047957600080fd5b506101da610488366004612728565b610e77565b34801561049957600080fd5b506101da6104a83660046127eb565b610f69565b3480156104b957600080fd5b506104cd6104c83660046123bb565b610f7d565b60405161020699989796959493929190612824565b3480156104ee57600080fd5b50600954610390906001600160a01b031681565b34801561050e57600080fd5b506101fc600581565b34801561052357600080fd5b506101da61053236600461256e565b6110e2565b34801561054357600080fd5b5061022f61055236600461288c565b61110c565b34801561056357600080fd5b506101da6105723660046128ba565b61115e565b34801561058357600080fd5b506101da61059236600461256e565b611185565b3480156105a357600080fd5b506101da6105b23660046121b0565b6111fe565b3480156105c357600080fd5b50600754610390906001600160a01b031681565b6105df611241565b600081815260066020526040902060028101548311156106125760405163fe1523d160e01b815260040160405180910390fd5b828160020160008282546106269190612938565b925050819055506106488483856040518060200160405280600081525061129b565b50505050565b60006001600160a01b0383166106be5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b60006106f4826113a8565b806106e357506106e3826113e3565b600084815260066020526040902060038101544210156107365760405163b7b2409760e01b815260040160405180910390fd5b600581015460ff1661075b57604051631fbaf43160e21b815260040160405180910390fd5b600080610769868686611418565b90925090506001600160a01b03811633146107975760405163912ecce760e01b815260040160405180910390fd5b60005b82518160ff16101561087557600860008981526020019081526020016000206000848360ff16815181106107d0576107d061294b565b60209081029190910181015182528101919091526040016000205460ff161561080c57604051630c8d9eab60e31b815260040160405180910390fd5b6000888152600860205260408120845160019290869060ff86169081106108355761083561294b565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061086d90612961565b91505061079a565b50610892338884516040518060200160405280600081525061129b565b50505050505050565b6000818152600660209081526040808320815161012081019092528054825260018101805460609594840191906108d190612980565b80601f01602080910402602001604051908101604052809291908181526020018280546108fd90612980565b801561094a5780601f1061091f5761010080835404028352916020019161094a565b820191906000526020600020905b81548152906001019060200180831161092d57829003601f168201915b5050509183525050600282015460208201526003820154604082015260048201546060820152600582015460ff90811615156080830152600683015460a083015260078301541660c082015260088201805460e0909201916109ab90612980565b80601f01602080910402602001604051908101604052809291908181526020018280546109d790612980565b8015610a245780601f106109f957610100808354040283529160200191610a24565b820191906000526020600020905b815481529060010190602001808311610a0757829003601f168201915b5050509190925250505061010001519392505050565b60008181526006602052604090206005831115610a6a57604051639782cdff60e01b815260040160405180910390fd5b6006810154610a7990846129ba565b3414610a98576040516319a6bd0f60e01b815260040160405180910390fd5b8281600201541015610abd5760405163fe1523d160e01b815260040160405180910390fd5b8060030154421080610ad25750806004015442115b15610af05760405163b7b2409760e01b815260040160405180910390fd5b82816002016000828254610b049190612938565b92505081905550610b263383856040518060200160405280600081525061129b565b505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610ba05750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610bbf906001600160601b0316876129ba565b610bc991906129d1565b91519350909150505b9250929050565b846001600160a01b0381163314610bf357610bf3336114ea565b610c0086868686866115a3565b505050505050565b610c10611241565b476000819003610c335760405163334ab3f560e11b815260040160405180910390fd5b6040513390600090829047908381818185875af1925050503d8060008114610c77576040519150601f19603f3d011682016040523d82523d6000602084013e610c7c565b606091505b5050905080610b265760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f204f776e65722e000000000000000060448201526064016106b5565b610cd5611241565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60608151835114610d5c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016106b5565b600083516001600160401b03811115610d7757610d77612244565b604051908082528060200260200182016040528015610da0578160200160208202803683370190505b50905060005b8451811015610e1857610deb858281518110610dc457610dc461294b565b6020026020010151858381518110610dde57610dde61294b565b602002602001015161064e565b828281518110610dfd57610dfd61294b565b6020908102919091010152610e11816129f3565b9050610da6565b509392505050565b6001600160a01b038316331480610e3c5750610e3c833361110c565b610e585760405162461bcd60e51b81526004016106b590612a0c565b610b268383836115ef565b610e6b611241565b610e75600061177c565b565b610e7f611241565b60408051610120810182528a815260208082018b81528284018b9052606083018a90526080830189905287151560a084015260c0830187905260ff861660e0840152610100830185905260008d815260069092529290208151815591519091906001820190610eee9082612aa0565b5060408201516002820155606082015160038201556080820151600482015560a082015160058201805491151560ff1992831617905560c0830151600683015560e083015160078301805460ff92909216919092161790556101008201516008820190610f5b9082612aa0565b505050505050505050505050565b81610f73816114ea565b610b2683836117ce565b60066020526000908152604090208054600182018054919291610f9f90612980565b80601f0160208091040260200160405190810160405280929190818152602001828054610fcb90612980565b80156110185780601f10610fed57610100808354040283529160200191611018565b820191906000526020600020905b815481529060010190602001808311610ffb57829003601f168201915b50505060028401546003850154600486015460058701546006880154600789015460088a018054999a969995985093965060ff928316959194921692909161105f90612980565b80601f016020809104026020016040519081016040528092919081815260200182805461108b90612980565b80156110d85780601f106110ad576101008083540402835291602001916110d8565b820191906000526020600020905b8154815290600101906020018083116110bb57829003601f168201915b5050505050905089565b6110ea611241565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6007546000906001600160a01b039081169083160361112d575060016106e3565b6001600160a01b0380841660009081526003602090815260408083209386168352929052205460ff165b9392505050565b846001600160a01b038116331461117857611178336114ea565b610c0086868686866117dd565b61118d611241565b6001600160a01b0381166111f25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b5565b6111fb8161177c565b50565b6001600160a01b03831633148061121a575061121a833361110c565b6112365760405162461bcd60e51b81526004016106b590612a0c565b610b26838383611822565b6005546001600160a01b03163314610e755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6001600160a01b0384166112fb5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106b5565b33600061130785611929565b9050600061131485611929565b905060008681526002602090815260408083206001600160a01b038b16845290915281208054879290611348908490612b5f565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461089283600089898989611974565b60006001600160e01b03198216636cdb3d1360e11b14806106f457506001600160e01b031982166303a24d0760e21b14806106e357506106e3825b60006001600160e01b0319821663152a902d60e11b14806106e357506301ffc9a760e01b6001600160e01b03198316146106e3565b60606000806114758461146f8888604051611434929190612b72565b60405180910390207f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b90611acf565b90506001600160a01b03811661149e57604051638baa579f60e01b815260040160405180910390fd5b6009546001600160a01b038281169116146114cc57604051636518c33d60e11b815260040160405180910390fd5b6000806114db87890189612b82565b90999098509650505050505050565b6daaeb6d7670e522a718067333cd4e3b156111fb57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157b9190612bc8565b6111fb57604051633b79c77360e21b81526001600160a01b03821660048201526024016106b5565b6001600160a01b0385163314806115bf57506115bf853361110c565b6115db5760405162461bcd60e51b81526004016106b590612a0c565b6115e88585858585611aeb565b5050505050565b6001600160a01b0383166116155760405162461bcd60e51b81526004016106b590612be5565b80518251146116365760405162461bcd60e51b81526004016106b590612c28565b604080516020810190915260009081905233905b835181101561170f5760008482815181106116675761166761294b565b6020026020010151905060008483815181106116855761168561294b565b60209081029190910181015160008481526002835260408082206001600160a01b038c1683529093529190912054909150818110156116d65760405162461bcd60e51b81526004016106b590612c70565b60009283526002602090815260408085206001600160a01b038b1686529091529092209103905580611707816129f3565b91505061164a565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611760929190612cb4565b60405180910390a4604080516020810190915260009052610648565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6117d9338383611c82565b5050565b6001600160a01b0385163314806117f957506117f9853361110c565b6118155760405162461bcd60e51b81526004016106b590612a0c565b6115e88585858585611d62565b6001600160a01b0383166118485760405162461bcd60e51b81526004016106b590612be5565b33600061185484611929565b9050600061186184611929565b6040805160208082018352600091829052888252600281528282206001600160a01b038b16835290522054909150848110156118af5760405162461bcd60e51b81526004016106b590612c70565b60008681526002602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610892565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106119635761196361294b565b602090810291909101015292915050565b6001600160a01b0384163b15610c005760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906119b89089908990889088908890600401612ce2565b6020604051808303816000875af19250505080156119f3575060408051601f3d908101601f191682019092526119f091810190612d27565b60015b611a9f576119ff612d44565b806308c379a003611a385750611a13612d60565b80611a1e5750611a3a565b8060405162461bcd60e51b81526004016106b5919061241a565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016106b5565b6001600160e01b0319811663f23a6e6160e01b146108925760405162461bcd60e51b81526004016106b590612de9565b6000806000611ade8585611e90565b91509150610e1881611ed2565b8151835114611b0c5760405162461bcd60e51b81526004016106b590612c28565b6001600160a01b038416611b325760405162461bcd60e51b81526004016106b590612e31565b3360005b8451811015611c1c576000858281518110611b5357611b5361294b565b602002602001015190506000858381518110611b7157611b7161294b565b60209081029190910181015160008481526002835260408082206001600160a01b038e168352909352919091205490915081811015611bc25760405162461bcd60e51b81526004016106b590612e76565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611c01908490612b5f565b9250508190555050505080611c15906129f3565b9050611b36565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611c6c929190612cb4565b60405180910390a4610c0081878787878761201c565b816001600160a01b0316836001600160a01b031603611cf55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016106b5565b6001600160a01b03838116600081815260036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611d885760405162461bcd60e51b81526004016106b590612e31565b336000611d9485611929565b90506000611da185611929565b905060008681526002602090815260408083206001600160a01b038c16845290915290205485811015611de65760405162461bcd60e51b81526004016106b590612e76565b60008781526002602090815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611e25908490612b5f565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e85848a8a8a8a8a611974565b505050505050505050565b6000808251604103611ec65760208301516040840151606085015160001a611eba878285856120d7565b94509450505050610bd2565b50600090506002610bd2565b6000816004811115611ee657611ee6612ec0565b03611eee5750565b6001816004811115611f0257611f02612ec0565b03611f4f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106b5565b6002816004811115611f6357611f63612ec0565b03611fb05760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106b5565b6003816004811115611fc457611fc4612ec0565b036111fb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106b5565b6001600160a01b0384163b15610c005760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906120609089908990889088908890600401612ed6565b6020604051808303816000875af192505050801561209b575060408051601f3d908101601f1916820190925261209891810190612d27565b60015b6120a7576119ff612d44565b6001600160e01b0319811663bc197c8160e01b146108925760405162461bcd60e51b81526004016106b590612de9565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561210e5750600090506003612192565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612162573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661218b57600060019250925050612192565b9150600090505b94509492505050565b6001600160a01b03811681146111fb57600080fd5b6000806000606084860312156121c557600080fd5b83356121d08161219b565b95602085013595506040909401359392505050565b600080604083850312156121f857600080fd5b82356122038161219b565b946020939093013593505050565b6001600160e01b0319811681146111fb57600080fd5b60006020828403121561223957600080fd5b813561115781612211565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b038111828210171561227f5761227f612244565b6040525050565b600082601f83011261229757600080fd5b81356001600160401b038111156122b0576122b0612244565b6040516122c7601f8301601f19166020018261225a565b8181528460208386010111156122dc57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806060858703121561230f57600080fd5b8435935060208501356001600160401b038082111561232d57600080fd5b818701915087601f83011261234157600080fd5b81358181111561235057600080fd5b88602082850101111561236257600080fd5b60208301955080945050604087013591508082111561238057600080fd5b5061238d87828801612286565b91505092959194509250565b600080604083850312156123ac57600080fd5b50508035926020909101359150565b6000602082840312156123cd57600080fd5b5035919050565b6000815180845260005b818110156123fa576020818501810151868301820152016123de565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061115760208301846123d4565b60006001600160401b0382111561244657612446612244565b5060051b60200190565b600082601f83011261246157600080fd5b8135602061246e8261242d565b60405161247b828261225a565b83815260059390931b850182019282810191508684111561249b57600080fd5b8286015b848110156124b6578035835291830191830161249f565b509695505050505050565b600080600080600060a086880312156124d957600080fd5b85356124e48161219b565b945060208601356124f48161219b565b935060408601356001600160401b038082111561251057600080fd5b61251c89838a01612450565b9450606088013591508082111561253257600080fd5b61253e89838a01612450565b9350608088013591508082111561255457600080fd5b5061256188828901612286565b9150509295509295909350565b60006020828403121561258057600080fd5b81356111578161219b565b6000806040838503121561259e57600080fd5b82356001600160401b03808211156125b557600080fd5b818501915085601f8301126125c957600080fd5b813560206125d68261242d565b6040516125e3828261225a565b83815260059390931b850182019282810191508984111561260357600080fd5b948201945b8386101561262a57853561261b8161219b565b82529482019490820190612608565b9650508601359250508082111561264057600080fd5b5061264d85828601612450565b9150509250929050565b600081518084526020808501945080840160005b838110156126875781518752958201959082019060010161266b565b509495945050505050565b6020815260006111576020830184612657565b6000806000606084860312156126ba57600080fd5b83356126c58161219b565b925060208401356001600160401b03808211156126e157600080fd5b6126ed87838801612450565b9350604086013591508082111561270357600080fd5b5061271086828701612450565b9150509250925092565b80151581146111fb57600080fd5b60008060008060008060008060006101208a8c03121561274757600080fd5b8935985060208a01356001600160401b038082111561276557600080fd5b6127718d838e01612286565b995060408c0135985060608c0135975060808c0135965060a08c013591506127988261271a565b90945060c08b0135935060e08b01359060ff821682146127b757600080fd5b9092506101008b013590808211156127ce57600080fd5b506127db8c828d01612286565b9150509295985092959850929598565b600080604083850312156127fe57600080fd5b82356128098161219b565b915060208301356128198161271a565b809150509250929050565b60006101208b835280602084015261283e8184018c6123d4565b905089604084015288606084015287608084015286151560a08401528560c084015260ff851660e084015282810361010084015261287c81856123d4565b9c9b505050505050505050505050565b6000806040838503121561289f57600080fd5b82356128aa8161219b565b915060208301356128198161219b565b600080600080600060a086880312156128d257600080fd5b85356128dd8161219b565b945060208601356128ed8161219b565b9350604086013592506060860135915060808601356001600160401b0381111561291657600080fd5b61256188828901612286565b634e487b7160e01b600052601160045260246000fd5b818103818111156106e3576106e3612922565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff810361297757612977612922565b60010192915050565b600181811c9082168061299457607f821691505b6020821081036129b457634e487b7160e01b600052602260045260246000fd5b50919050565b80820281158282048414176106e3576106e3612922565b6000826129ee57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201612a0557612a05612922565b5060010190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b601f821115610b2657600081815260208120601f850160051c81016020861015612a815750805b601f850160051c820191505b81811015610c0057828155600101612a8d565b81516001600160401b03811115612ab957612ab9612244565b612acd81612ac78454612980565b84612a5a565b602080601f831160018114612b025760008415612aea5750858301515b600019600386901b1c1916600185901b178555610c00565b600085815260208120601f198616915b82811015612b3157888601518255948401946001909101908401612b12565b5085821015612b4f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156106e3576106e3612922565b8183823760009101908152919050565b60008060408385031215612b9557600080fd5b82356001600160401b03811115612bab57600080fd5b612bb785828601612450565b92505060208301356128198161219b565b600060208284031215612bda57600080fd5b81516111578161271a565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b604081526000612cc76040830185612657565b8281036020840152612cd98185612657565b95945050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612d1c908301846123d4565b979650505050505050565b600060208284031215612d3957600080fd5b815161115781612211565b600060033d1115612d5d5760046000803e5060005160e01c5b90565b600060443d1015612d6e5790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612d9d57505050505090565b8285019150815181811115612db55750505050505090565b843d8701016020828501011115612dcf5750505050505090565b612dde6020828601018761225a565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b0386811682528516602082015260a060408201819052600090612f0290830186612657565b8281036060840152612f148186612657565b90508281036080840152612f2881856123d4565b9897505050505050505056fea264697066735822122008c344c3f87a3fdc1461efbed8ab8d13d7075d888a60f838038d5d6b319368b264736f6c6343000813003368747470733a2f2f70756e6b73323032332e636f6d2f6170692f6d657461646174612f7061636b732f

Deployed Bytecode

0x6080604052600436106101b55760003560e01c80636b20c454116100ec578063cb14eb871161008a578063f242432a11610064578063f242432a14610557578063f2fde38b14610577578063f5298aca14610597578063fa143317146105b757600080fd5b8063cb14eb8714610502578063d279b0ca14610517578063e985e9c51461053757600080fd5b8063a1cb69df116100c6578063a1cb69df1461046d578063a22cb4651461048d578063b84c1392146104ad578063c771909c146104e257600080fd5b80636b20c4541461041a578063715018a61461043a5780638da5cb5b1461044f57600080fd5b80632a55205a1161015957806341119a941161013357806341119a941461034e57806341f434341461036e5780634e1273f4146103a857806354a54d63146103d557600080fd5b80632a55205a146102da5780632eb2c2d6146103195780633ccfd60b1461033957600080fd5b806308aa325f1161019557806308aa325f1461023f5780630bba33a31461025f5780630e89341c1461029a5780631b2ef1ca146102c757600080fd5b80624a84cb146101ba578062fdd58e146101dc57806301ffc9a71461020f575b600080fd5b3480156101c657600080fd5b506101da6101d53660046121b0565b6105d7565b005b3480156101e857600080fd5b506101fc6101f73660046121e5565b61064e565b6040519081526020015b60405180910390f35b34801561021b57600080fd5b5061022f61022a366004612227565b6106e9565b6040519015158152602001610206565b34801561024b57600080fd5b506101da61025a3660046122f9565b610703565b34801561026b57600080fd5b5061022f61027a366004612399565b600860209081526000928352604080842090915290825290205460ff1681565b3480156102a657600080fd5b506102ba6102b53660046123bb565b61089b565b604051610206919061241a565b6101da6102d5366004612399565b610a3a565b3480156102e657600080fd5b506102fa6102f5366004612399565b610b2b565b604080516001600160a01b039093168352602083019190915201610206565b34801561032557600080fd5b506101da6103343660046124c1565b610bd9565b34801561034557600080fd5b506101da610c08565b34801561035a57600080fd5b506101da61036936600461256e565b610ccd565b34801561037a57600080fd5b506103906daaeb6d7670e522a718067333cd4e81565b6040516001600160a01b039091168152602001610206565b3480156103b457600080fd5b506103c86103c336600461258b565b610cf7565b6040516102069190612692565b3480156103e157600080fd5b506104086103f03660046123bb565b60009081526006602052604090206007015460ff1690565b60405160ff9091168152602001610206565b34801561042657600080fd5b506101da6104353660046126a5565b610e20565b34801561044657600080fd5b506101da610e63565b34801561045b57600080fd5b506005546001600160a01b0316610390565b34801561047957600080fd5b506101da610488366004612728565b610e77565b34801561049957600080fd5b506101da6104a83660046127eb565b610f69565b3480156104b957600080fd5b506104cd6104c83660046123bb565b610f7d565b60405161020699989796959493929190612824565b3480156104ee57600080fd5b50600954610390906001600160a01b031681565b34801561050e57600080fd5b506101fc600581565b34801561052357600080fd5b506101da61053236600461256e565b6110e2565b34801561054357600080fd5b5061022f61055236600461288c565b61110c565b34801561056357600080fd5b506101da6105723660046128ba565b61115e565b34801561058357600080fd5b506101da61059236600461256e565b611185565b3480156105a357600080fd5b506101da6105b23660046121b0565b6111fe565b3480156105c357600080fd5b50600754610390906001600160a01b031681565b6105df611241565b600081815260066020526040902060028101548311156106125760405163fe1523d160e01b815260040160405180910390fd5b828160020160008282546106269190612938565b925050819055506106488483856040518060200160405280600081525061129b565b50505050565b60006001600160a01b0383166106be5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b60006106f4826113a8565b806106e357506106e3826113e3565b600084815260066020526040902060038101544210156107365760405163b7b2409760e01b815260040160405180910390fd5b600581015460ff1661075b57604051631fbaf43160e21b815260040160405180910390fd5b600080610769868686611418565b90925090506001600160a01b03811633146107975760405163912ecce760e01b815260040160405180910390fd5b60005b82518160ff16101561087557600860008981526020019081526020016000206000848360ff16815181106107d0576107d061294b565b60209081029190910181015182528101919091526040016000205460ff161561080c57604051630c8d9eab60e31b815260040160405180910390fd5b6000888152600860205260408120845160019290869060ff86169081106108355761083561294b565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061086d90612961565b91505061079a565b50610892338884516040518060200160405280600081525061129b565b50505050505050565b6000818152600660209081526040808320815161012081019092528054825260018101805460609594840191906108d190612980565b80601f01602080910402602001604051908101604052809291908181526020018280546108fd90612980565b801561094a5780601f1061091f5761010080835404028352916020019161094a565b820191906000526020600020905b81548152906001019060200180831161092d57829003601f168201915b5050509183525050600282015460208201526003820154604082015260048201546060820152600582015460ff90811615156080830152600683015460a083015260078301541660c082015260088201805460e0909201916109ab90612980565b80601f01602080910402602001604051908101604052809291908181526020018280546109d790612980565b8015610a245780601f106109f957610100808354040283529160200191610a24565b820191906000526020600020905b815481529060010190602001808311610a0757829003601f168201915b5050509190925250505061010001519392505050565b60008181526006602052604090206005831115610a6a57604051639782cdff60e01b815260040160405180910390fd5b6006810154610a7990846129ba565b3414610a98576040516319a6bd0f60e01b815260040160405180910390fd5b8281600201541015610abd5760405163fe1523d160e01b815260040160405180910390fd5b8060030154421080610ad25750806004015442115b15610af05760405163b7b2409760e01b815260040160405180910390fd5b82816002016000828254610b049190612938565b92505081905550610b263383856040518060200160405280600081525061129b565b505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610ba05750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610bbf906001600160601b0316876129ba565b610bc991906129d1565b91519350909150505b9250929050565b846001600160a01b0381163314610bf357610bf3336114ea565b610c0086868686866115a3565b505050505050565b610c10611241565b476000819003610c335760405163334ab3f560e11b815260040160405180910390fd5b6040513390600090829047908381818185875af1925050503d8060008114610c77576040519150601f19603f3d011682016040523d82523d6000602084013e610c7c565b606091505b5050905080610b265760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f204f776e65722e000000000000000060448201526064016106b5565b610cd5611241565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60608151835114610d5c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016106b5565b600083516001600160401b03811115610d7757610d77612244565b604051908082528060200260200182016040528015610da0578160200160208202803683370190505b50905060005b8451811015610e1857610deb858281518110610dc457610dc461294b565b6020026020010151858381518110610dde57610dde61294b565b602002602001015161064e565b828281518110610dfd57610dfd61294b565b6020908102919091010152610e11816129f3565b9050610da6565b509392505050565b6001600160a01b038316331480610e3c5750610e3c833361110c565b610e585760405162461bcd60e51b81526004016106b590612a0c565b610b268383836115ef565b610e6b611241565b610e75600061177c565b565b610e7f611241565b60408051610120810182528a815260208082018b81528284018b9052606083018a90526080830189905287151560a084015260c0830187905260ff861660e0840152610100830185905260008d815260069092529290208151815591519091906001820190610eee9082612aa0565b5060408201516002820155606082015160038201556080820151600482015560a082015160058201805491151560ff1992831617905560c0830151600683015560e083015160078301805460ff92909216919092161790556101008201516008820190610f5b9082612aa0565b505050505050505050505050565b81610f73816114ea565b610b2683836117ce565b60066020526000908152604090208054600182018054919291610f9f90612980565b80601f0160208091040260200160405190810160405280929190818152602001828054610fcb90612980565b80156110185780601f10610fed57610100808354040283529160200191611018565b820191906000526020600020905b815481529060010190602001808311610ffb57829003601f168201915b50505060028401546003850154600486015460058701546006880154600789015460088a018054999a969995985093965060ff928316959194921692909161105f90612980565b80601f016020809104026020016040519081016040528092919081815260200182805461108b90612980565b80156110d85780601f106110ad576101008083540402835291602001916110d8565b820191906000526020600020905b8154815290600101906020018083116110bb57829003601f168201915b5050505050905089565b6110ea611241565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6007546000906001600160a01b039081169083160361112d575060016106e3565b6001600160a01b0380841660009081526003602090815260408083209386168352929052205460ff165b9392505050565b846001600160a01b038116331461117857611178336114ea565b610c0086868686866117dd565b61118d611241565b6001600160a01b0381166111f25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b5565b6111fb8161177c565b50565b6001600160a01b03831633148061121a575061121a833361110c565b6112365760405162461bcd60e51b81526004016106b590612a0c565b610b26838383611822565b6005546001600160a01b03163314610e755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6001600160a01b0384166112fb5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106b5565b33600061130785611929565b9050600061131485611929565b905060008681526002602090815260408083206001600160a01b038b16845290915281208054879290611348908490612b5f565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461089283600089898989611974565b60006001600160e01b03198216636cdb3d1360e11b14806106f457506001600160e01b031982166303a24d0760e21b14806106e357506106e3825b60006001600160e01b0319821663152a902d60e11b14806106e357506301ffc9a760e01b6001600160e01b03198316146106e3565b60606000806114758461146f8888604051611434929190612b72565b60405180910390207f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b90611acf565b90506001600160a01b03811661149e57604051638baa579f60e01b815260040160405180910390fd5b6009546001600160a01b038281169116146114cc57604051636518c33d60e11b815260040160405180910390fd5b6000806114db87890189612b82565b90999098509650505050505050565b6daaeb6d7670e522a718067333cd4e3b156111fb57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157b9190612bc8565b6111fb57604051633b79c77360e21b81526001600160a01b03821660048201526024016106b5565b6001600160a01b0385163314806115bf57506115bf853361110c565b6115db5760405162461bcd60e51b81526004016106b590612a0c565b6115e88585858585611aeb565b5050505050565b6001600160a01b0383166116155760405162461bcd60e51b81526004016106b590612be5565b80518251146116365760405162461bcd60e51b81526004016106b590612c28565b604080516020810190915260009081905233905b835181101561170f5760008482815181106116675761166761294b565b6020026020010151905060008483815181106116855761168561294b565b60209081029190910181015160008481526002835260408082206001600160a01b038c1683529093529190912054909150818110156116d65760405162461bcd60e51b81526004016106b590612c70565b60009283526002602090815260408085206001600160a01b038b1686529091529092209103905580611707816129f3565b91505061164a565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611760929190612cb4565b60405180910390a4604080516020810190915260009052610648565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6117d9338383611c82565b5050565b6001600160a01b0385163314806117f957506117f9853361110c565b6118155760405162461bcd60e51b81526004016106b590612a0c565b6115e88585858585611d62565b6001600160a01b0383166118485760405162461bcd60e51b81526004016106b590612be5565b33600061185484611929565b9050600061186184611929565b6040805160208082018352600091829052888252600281528282206001600160a01b038b16835290522054909150848110156118af5760405162461bcd60e51b81526004016106b590612c70565b60008681526002602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610892565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106119635761196361294b565b602090810291909101015292915050565b6001600160a01b0384163b15610c005760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906119b89089908990889088908890600401612ce2565b6020604051808303816000875af19250505080156119f3575060408051601f3d908101601f191682019092526119f091810190612d27565b60015b611a9f576119ff612d44565b806308c379a003611a385750611a13612d60565b80611a1e5750611a3a565b8060405162461bcd60e51b81526004016106b5919061241a565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016106b5565b6001600160e01b0319811663f23a6e6160e01b146108925760405162461bcd60e51b81526004016106b590612de9565b6000806000611ade8585611e90565b91509150610e1881611ed2565b8151835114611b0c5760405162461bcd60e51b81526004016106b590612c28565b6001600160a01b038416611b325760405162461bcd60e51b81526004016106b590612e31565b3360005b8451811015611c1c576000858281518110611b5357611b5361294b565b602002602001015190506000858381518110611b7157611b7161294b565b60209081029190910181015160008481526002835260408082206001600160a01b038e168352909352919091205490915081811015611bc25760405162461bcd60e51b81526004016106b590612e76565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611c01908490612b5f565b9250508190555050505080611c15906129f3565b9050611b36565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611c6c929190612cb4565b60405180910390a4610c0081878787878761201c565b816001600160a01b0316836001600160a01b031603611cf55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016106b5565b6001600160a01b03838116600081815260036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611d885760405162461bcd60e51b81526004016106b590612e31565b336000611d9485611929565b90506000611da185611929565b905060008681526002602090815260408083206001600160a01b038c16845290915290205485811015611de65760405162461bcd60e51b81526004016106b590612e76565b60008781526002602090815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611e25908490612b5f565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e85848a8a8a8a8a611974565b505050505050505050565b6000808251604103611ec65760208301516040840151606085015160001a611eba878285856120d7565b94509450505050610bd2565b50600090506002610bd2565b6000816004811115611ee657611ee6612ec0565b03611eee5750565b6001816004811115611f0257611f02612ec0565b03611f4f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106b5565b6002816004811115611f6357611f63612ec0565b03611fb05760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106b5565b6003816004811115611fc457611fc4612ec0565b036111fb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106b5565b6001600160a01b0384163b15610c005760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906120609089908990889088908890600401612ed6565b6020604051808303816000875af192505050801561209b575060408051601f3d908101601f1916820190925261209891810190612d27565b60015b6120a7576119ff612d44565b6001600160e01b0319811663bc197c8160e01b146108925760405162461bcd60e51b81526004016106b590612de9565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561210e5750600090506003612192565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612162573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661218b57600060019250925050612192565b9150600090505b94509492505050565b6001600160a01b03811681146111fb57600080fd5b6000806000606084860312156121c557600080fd5b83356121d08161219b565b95602085013595506040909401359392505050565b600080604083850312156121f857600080fd5b82356122038161219b565b946020939093013593505050565b6001600160e01b0319811681146111fb57600080fd5b60006020828403121561223957600080fd5b813561115781612211565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b038111828210171561227f5761227f612244565b6040525050565b600082601f83011261229757600080fd5b81356001600160401b038111156122b0576122b0612244565b6040516122c7601f8301601f19166020018261225a565b8181528460208386010111156122dc57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806060858703121561230f57600080fd5b8435935060208501356001600160401b038082111561232d57600080fd5b818701915087601f83011261234157600080fd5b81358181111561235057600080fd5b88602082850101111561236257600080fd5b60208301955080945050604087013591508082111561238057600080fd5b5061238d87828801612286565b91505092959194509250565b600080604083850312156123ac57600080fd5b50508035926020909101359150565b6000602082840312156123cd57600080fd5b5035919050565b6000815180845260005b818110156123fa576020818501810151868301820152016123de565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061115760208301846123d4565b60006001600160401b0382111561244657612446612244565b5060051b60200190565b600082601f83011261246157600080fd5b8135602061246e8261242d565b60405161247b828261225a565b83815260059390931b850182019282810191508684111561249b57600080fd5b8286015b848110156124b6578035835291830191830161249f565b509695505050505050565b600080600080600060a086880312156124d957600080fd5b85356124e48161219b565b945060208601356124f48161219b565b935060408601356001600160401b038082111561251057600080fd5b61251c89838a01612450565b9450606088013591508082111561253257600080fd5b61253e89838a01612450565b9350608088013591508082111561255457600080fd5b5061256188828901612286565b9150509295509295909350565b60006020828403121561258057600080fd5b81356111578161219b565b6000806040838503121561259e57600080fd5b82356001600160401b03808211156125b557600080fd5b818501915085601f8301126125c957600080fd5b813560206125d68261242d565b6040516125e3828261225a565b83815260059390931b850182019282810191508984111561260357600080fd5b948201945b8386101561262a57853561261b8161219b565b82529482019490820190612608565b9650508601359250508082111561264057600080fd5b5061264d85828601612450565b9150509250929050565b600081518084526020808501945080840160005b838110156126875781518752958201959082019060010161266b565b509495945050505050565b6020815260006111576020830184612657565b6000806000606084860312156126ba57600080fd5b83356126c58161219b565b925060208401356001600160401b03808211156126e157600080fd5b6126ed87838801612450565b9350604086013591508082111561270357600080fd5b5061271086828701612450565b9150509250925092565b80151581146111fb57600080fd5b60008060008060008060008060006101208a8c03121561274757600080fd5b8935985060208a01356001600160401b038082111561276557600080fd5b6127718d838e01612286565b995060408c0135985060608c0135975060808c0135965060a08c013591506127988261271a565b90945060c08b0135935060e08b01359060ff821682146127b757600080fd5b9092506101008b013590808211156127ce57600080fd5b506127db8c828d01612286565b9150509295985092959850929598565b600080604083850312156127fe57600080fd5b82356128098161219b565b915060208301356128198161271a565b809150509250929050565b60006101208b835280602084015261283e8184018c6123d4565b905089604084015288606084015287608084015286151560a08401528560c084015260ff851660e084015282810361010084015261287c81856123d4565b9c9b505050505050505050505050565b6000806040838503121561289f57600080fd5b82356128aa8161219b565b915060208301356128198161219b565b600080600080600060a086880312156128d257600080fd5b85356128dd8161219b565b945060208601356128ed8161219b565b9350604086013592506060860135915060808601356001600160401b0381111561291657600080fd5b61256188828901612286565b634e487b7160e01b600052601160045260246000fd5b818103818111156106e3576106e3612922565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff810361297757612977612922565b60010192915050565b600181811c9082168061299457607f821691505b6020821081036129b457634e487b7160e01b600052602260045260246000fd5b50919050565b80820281158282048414176106e3576106e3612922565b6000826129ee57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201612a0557612a05612922565b5060010190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b601f821115610b2657600081815260208120601f850160051c81016020861015612a815750805b601f850160051c820191505b81811015610c0057828155600101612a8d565b81516001600160401b03811115612ab957612ab9612244565b612acd81612ac78454612980565b84612a5a565b602080601f831160018114612b025760008415612aea5750858301515b600019600386901b1c1916600185901b178555610c00565b600085815260208120601f198616915b82811015612b3157888601518255948401946001909101908401612b12565b5085821015612b4f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156106e3576106e3612922565b8183823760009101908152919050565b60008060408385031215612b9557600080fd5b82356001600160401b03811115612bab57600080fd5b612bb785828601612450565b92505060208301356128198161219b565b600060208284031215612bda57600080fd5b81516111578161271a565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b604081526000612cc76040830185612657565b8281036020840152612cd98185612657565b95945050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612d1c908301846123d4565b979650505050505050565b600060208284031215612d3957600080fd5b815161115781612211565b600060033d1115612d5d5760046000803e5060005160e01c5b90565b600060443d1015612d6e5790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612d9d57505050505090565b8285019150815181811115612db55750505050505090565b843d8701016020828501011115612dcf5750505050505090565b612dde6020828601018761225a565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b0386811682528516602082015260a060408201819052600090612f0290830186612657565b8281036060840152612f148186612657565b90508281036080840152612f2881856123d4565b9897505050505050505056fea264697066735822122008c344c3f87a3fdc1461efbed8ab8d13d7075d888a60f838038d5d6b319368b264736f6c63430008130033

Deployed Bytecode Sourcemap

82455:4859:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83544:281;;;;;;;;;;-1:-1:-1;83544:281:0;;;;;:::i;:::-;;:::i;:::-;;23879:230;;;;;;;;;;-1:-1:-1;23879:230:0;;;;;:::i;:::-;;:::i;:::-;;;1004:25:1;;;992:2;977:18;23879:230:0;;;;;;;;87102:209;;;;;;;;;;-1:-1:-1;87102:209:0;;;;;:::i;:::-;;:::i;:::-;;;1591:14:1;;1584:22;1566:41;;1554:2;1539:18;87102:209:0;1426:187:1;84795:637:0;;;;;;;;;;-1:-1:-1;84795:637:0;;;;;:::i;:::-;;:::i;82709:63::-;;;;;;;;;;-1:-1:-1;82709:63:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;85438:145;;;;;;;;;;-1:-1:-1;85438:145:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;84285:504::-;;;;;;:::i;:::-;;:::i;79494:438::-;;;;;;;;;;-1:-1:-1;79494:438:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4709:32:1;;;4691:51;;4773:2;4758:18;;4751:34;;;;4664:18;79494:438:0;4517:274:1;86822::0;;;;;;;;;;-1:-1:-1;86822:274:0;;;;;:::i;:::-;;:::i;83831:311::-;;;;;;;;;;;;;:::i;83424:114::-;;;;;;;;;;-1:-1:-1;83424:114:0;;;;;:::i;:::-;;:::i;73875:143::-;;;;;;;;;;;;72771:42;73875:143;;;;;-1:-1:-1;;;;;7237:32:1;;;7219:51;;7207:2;7192:18;73875:143:0;7041:235:1;24275:499:0;;;;;;;;;;-1:-1:-1;24275:499:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;86288:114::-;;;;;;;;;;-1:-1:-1;86288:114:0;;;;;:::i;:::-;86348:5;86369:13;;;:5;:13;;;;;:27;;;;;;86288:114;;;;9441:4:1;9429:17;;;9411:36;;9399:2;9384:18;86288:114:0;9269:184:1;39770:324:0;;;;;;;;;;-1:-1:-1;39770:324:0;;;;;:::i;:::-;;:::i;2600:103::-;;;;;;;;;;;;;:::i;1959:87::-;;;;;;;;;;-1:-1:-1;2032:6:0;;-1:-1:-1;;;;;2032:6:0;1959:87;;82916:502;;;;;;;;;;-1:-1:-1;82916:502:0;;;;;:::i;:::-;;:::i;86408:170::-;;;;;;;;;;-1:-1:-1;86408:170:0;;;;;:::i;:::-;;:::i;82571:38::-;;;;;;;;;;-1:-1:-1;82571:38:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::i;82777:31::-;;;;;;;;;;-1:-1:-1;82777:31:0;;;;-1:-1:-1;;;;;82777:31:0;;;82614:47;;;;;;;;;;;;82660:1;82614:47;;84148:102;;;;;;;;;;-1:-1:-1;84148:102:0;;;;;:::i;:::-;;:::i;85589:215::-;;;;;;;;;;-1:-1:-1;85589:215:0;;;;;:::i;:::-;;:::i;86584:232::-;;;;;;;;;;-1:-1:-1;86584:232:0;;;;;:::i;:::-;;:::i;2858:201::-;;;;;;;;;;-1:-1:-1;2858:201:0;;;;;:::i;:::-;;:::i;39470:292::-;;;;;;;;;;-1:-1:-1;39470:292:0;;;;;:::i;:::-;;:::i;82666:38::-;;;;;;;;;;-1:-1:-1;82666:38:0;;;;-1:-1:-1;;;;;82666:38:0;;;83544:281;1845:13;:11;:13::i;:::-;83640:17:::1;83660:15:::0;;;:5:::1;:15;::::0;;;;83688:20:::1;::::0;::::1;::::0;:29;-1:-1:-1;83684:55:0::1;;;83726:13;;-1:-1:-1::0;;;83726:13:0::1;;;;;;;;;;;83684:55;83770:6;83746:4;:20;;;:30;;;;;;;:::i;:::-;;;;;;;;83783:36;83789:7;83798:8;83808:6;83783:36;;;;;;;;;;;::::0;:5:::1;:36::i;:::-;83633:192;83544:281:::0;;;:::o;23879:230::-;23965:7;-1:-1:-1;;;;;23993:21:0;;23985:76;;;;-1:-1:-1;;;23985:76:0;;14625:2:1;23985:76:0;;;14607:21:1;14664:2;14644:18;;;14637:30;14703:34;14683:18;;;14676:62;-1:-1:-1;;;14754:18:1;;;14747:40;14804:19;;23985:76:0;;;;;;;;;-1:-1:-1;24079:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;24079:22:0;;;;;;;;;;23879:230;;;;;:::o;87102:209::-;87205:4;87225:38;87251:11;87225:25;:38::i;:::-;:80;;;;87267:38;87293:11;87267:25;:38::i;84795:637::-;84892:17;84912:14;;;:5;:14;;;;;84955:13;;;;84937:15;:31;84933:59;;;84977:15;;-1:-1:-1;;;84977:15:0;;;;;;;;;;;84933:59;85004:16;;;;;;84999:48;;85029:18;;-1:-1:-1;;;85029:18:0;;;;;;;;;;;84999:48;85055:26;85083:14;85101:36;85117:8;;85127:9;85101:15;:36::i;:::-;85054:83;;-1:-1:-1;85054:83:0;-1:-1:-1;;;;;;85148:20:0;;85158:10;85148:20;85144:48;;85177:15;;-1:-1:-1;;;85177:15:0;;;;;;;;;;;85144:48;85206:7;85201:169;85219:9;:16;85215:1;:20;;;85201:169;;;85255:10;:19;85266:7;85255:19;;;;;;;;;;;:33;85275:9;85285:1;85275:12;;;;;;;;;;:::i;:::-;;;;;;;;;;;;85255:33;;;;;;;;;;-1:-1:-1;85255:33:0;;;;85251:62;;;85297:16;;-1:-1:-1;;;85297:16:0;;;;;;;;;;;85251:62;85322:19;;;;:10;:19;;;;;85342:12;;85358:4;;85322:19;85342:9;;:12;;;;;;;;;;:::i;:::-;;;;;;;85322:33;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;85237:3;;;;;:::i;:::-;;;;85201:169;;;;85378:48;85384:10;85396:7;85405:9;:16;85378:48;;;;;;;;;;;;:5;:48::i;:::-;84885:547;;;84795:637;;;;:::o;85438:145::-;85521:16;85540:15;;;:5;:15;;;;;;;;85521:34;;;;;;;;;;;;;;;;;85499:13;;85521:16;:34;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;85521:34:0;;;-1:-1:-1;;85521:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;85521:34:0;;;;-1:-1:-1;;;85569:8:0;;;;85438:145;-1:-1:-1;;;85438:145:0:o;84285:504::-;84355:17;84375:14;;;:5;:14;;;;;82660:1;84400:27;;84396:67;;;84436:27;;-1:-1:-1;;;84436:27:0;;;;;;;;;;;84396:67;84496:10;;;;84488:18;;:5;:18;:::i;:::-;84474:9;:33;84470:67;;84516:21;;-1:-1:-1;;;84516:21:0;;;;;;;;;;;84470:67;84571:5;84548:4;:20;;;:28;84544:54;;;84585:13;;-1:-1:-1;;;84585:13:0;;;;;;;;;;;84544:54;84627:4;:13;;;84609:15;:31;:68;;;;84662:4;:15;;;84644;:33;84609:68;84605:96;;;84686:15;;-1:-1:-1;;;84686:15:0;;;;;;;;;;;84605:96;84734:5;84710:4;:20;;;:29;;;;;;;:::i;:::-;;;;;;;;84746:37;84752:10;84764:7;84773:5;84746:37;;;;;;;;;;;;:5;:37::i;:::-;84348:441;84285:504;;:::o;79494:438::-;79589:7;79647:26;;;:17;:26;;;;;;;;79618:55;;;;;;;;;-1:-1:-1;;;;;79618:55:0;;;;;-1:-1:-1;;;79618:55:0;;;-1:-1:-1;;;;;79618:55:0;;;;;;;;79589:7;;79686:92;;-1:-1:-1;79737:29:0;;;;;;;;;-1:-1:-1;79737:29:0;-1:-1:-1;;;;;79737:29:0;;;;-1:-1:-1;;;79737:29:0;;-1:-1:-1;;;;;79737:29:0;;;;;79686:92;79827:23;;;;79790:21;;80298:5;;79815:35;;-1:-1:-1;;;;;79815:35:0;:9;:35;:::i;:::-;79814:57;;;;:::i;:::-;79892:16;;;-1:-1:-1;79790:81:0;;-1:-1:-1;;79494:438:0;;;;;;:::o;86822:274::-;87020:4;-1:-1:-1;;;;;75383:18:0;;75391:10;75383:18;75379:83;;75418:32;75439:10;75418:20;:32::i;:::-;87033:57:::1;87061:4;87067:2;87071:3;87076:7;87085:4;87033:27;:57::i;:::-;86822:274:::0;;;;;;:::o;83831:311::-;1845:13;:11;:13::i;:::-;83895:21:::1;83877:15;83927:12:::0;;;83923:38:::1;;83948:13;;-1:-1:-1::0;;;83948:13:0::1;;;;;;;;;;;83923:38;84036:44;::::0;83992:10:::1;::::0;83968:13:::1;::::0;83992:10;;84054:21:::1;::::0;83968:13;84036:44;83968:13;84036:44;84054:21;83992:10;84036:44:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84012:68;;;84095:12;84087:49;;;::::0;-1:-1:-1;;;84087:49:0;;16338:2:1;84087:49:0::1;::::0;::::1;16320:21:1::0;16377:2;16357:18;;;16350:30;16416:26;16396:18;;;16389:54;16460:18;;84087:49:0::1;16136:348:1::0;83424:114:0;1845:13;:11;:13::i;:::-;83497:23:::1;:35:::0;;-1:-1:-1;;;;;;83497:35:0::1;-1:-1:-1::0;;;;;83497:35:0;;;::::1;::::0;;;::::1;::::0;;83424:114::o;24275:499::-;24411:16;24467:3;:10;24448:8;:15;:29;24440:83;;;;-1:-1:-1;;;24440:83:0;;16691:2:1;24440:83:0;;;16673:21:1;16730:2;16710:18;;;16703:30;16769:34;16749:18;;;16742:62;-1:-1:-1;;;16820:18:1;;;16813:39;16869:19;;24440:83:0;16489:405:1;24440:83:0;24536:30;24583:8;:15;-1:-1:-1;;;;;24569:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24569:30:0;;24536:63;;24617:9;24612:122;24636:8;:15;24632:1;:19;24612:122;;;24692:30;24702:8;24711:1;24702:11;;;;;;;;:::i;:::-;;;;;;;24715:3;24719:1;24715:6;;;;;;;;:::i;:::-;;;;;;;24692:9;:30::i;:::-;24673:13;24687:1;24673:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;24653:3;;;:::i;:::-;;;24612:122;;;-1:-1:-1;24753:13:0;24275:499;-1:-1:-1;;;24275:499:0:o;39770:324::-;-1:-1:-1;;;;;39901:23:0;;748:10;39901:23;;:66;;-1:-1:-1;39928:39:0;39945:7;748:10;85589:215;:::i;39928:39::-;39879:162;;;;-1:-1:-1;;;39879:162:0;;;;;;;:::i;:::-;40054:32;40065:7;40074:3;40079:6;40054:10;:32::i;2600:103::-;1845:13;:11;:13::i;:::-;2665:30:::1;2692:1;2665:18;:30::i;:::-;2600:103::o:0;82916:502::-;1845:13;:11;:13::i;:::-;83209:203:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;::::1;;::::0;;;;;;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;-1:-1:-1;83191:15:0;;;:5:::1;:15:::0;;;;;;:221;;;;;;83209:203;;83191:15;:221:::1;::::0;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;83191:221: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;;-1:-1:-1::0;;83191:221: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;:::i;:::-;-1:-1:-1::0;;;;;;;;;;;;82916:502:0:o;86408:170::-;86512:8;75657:30;75678:8;75657:20;:30::i;:::-;86529:43:::1;86553:8;86563;86529:23;:43::i;82571:38::-:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;82571:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82571:38:0;;-1:-1:-1;82571:38:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;84148:102::-;1845:13;:11;:13::i;:::-;84219:16:::1;:25:::0;;-1:-1:-1;;;;;;84219:25:0::1;-1:-1:-1::0;;;;;84219:25:0;;;::::1;::::0;;;::::1;::::0;;84148:102::o;85589:215::-;85708:23;;85679:4;;-1:-1:-1;;;;;85708:23:0;;;85696:35;;;;85692:52;;-1:-1:-1;85740:4:0;85733:11;;85692:52;-1:-1:-1;;;;;25197:27:0;;;25173:4;25197:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;85758:40;85751:47;85589:215;-1:-1:-1;;;85589:215:0:o;86584:232::-;86739:4;-1:-1:-1;;;;;75383:18:0;;75391:10;75383:18;75379:83;;75418:32;75439:10;75418:20;:32::i;:::-;86755:55:::1;86778:4;86784:2;86788:7;86797:6;86805:4;86755:22;:55::i;2858:201::-:0;1845:13;:11;:13::i;:::-;-1:-1:-1;;;;;2947:22:0;::::1;2939:73;;;::::0;-1:-1:-1;;;2939:73:0;;19860:2:1;2939:73:0::1;::::0;::::1;19842:21:1::0;19899:2;19879:18;;;19872:30;19938:34;19918:18;;;19911:62;-1:-1:-1;;;19989:18:1;;;19982:36;20035:19;;2939:73:0::1;19658:402:1::0;2939:73:0::1;3023:28;3042:8;3023:18;:28::i;:::-;2858:201:::0;:::o;39470:292::-;-1:-1:-1;;;;;39576:23:0;;748:10;39576:23;;:66;;-1:-1:-1;39603:39:0;39620:7;748:10;85589:215;:::i;39603:39::-;39554:162;;;;-1:-1:-1;;;39554:162:0;;;;;;;:::i;:::-;39729:25;39735:7;39744:2;39748:5;39729;:25::i;2124:132::-;2032:6;;-1:-1:-1;;;;;2032:6:0;748:10;2188:23;2180:68;;;;-1:-1:-1;;;2180:68:0;;20267:2:1;2180:68:0;;;20249:21:1;;;20286:18;;;20279:30;20345:34;20325:18;;;20318:62;20397:18;;2180:68:0;20065:356:1;30495:686:0;-1:-1:-1;;;;;30605:16:0;;30597:62;;;;-1:-1:-1;;;30597:62:0;;20628:2:1;30597:62:0;;;20610:21:1;20667:2;20647:18;;;20640:30;20706:34;20686:18;;;20679:62;-1:-1:-1;;;20757:18:1;;;20750:31;20798:19;;30597:62:0;20426:397:1;30597:62:0;748:10;30672:16;30737:21;30755:2;30737:17;:21::i;:::-;30714:44;;30769:24;30796:25;30814:6;30796:17;:25::i;:::-;30769:52;;30913:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;30913:17:0;;;;;;;;;:27;;30934:6;;30913:13;:27;;30934:6;;30913:27;:::i;:::-;;;;-1:-1:-1;;30956:52:0;;;21132:25:1;;;21188:2;21173:18;;21166:34;;;-1:-1:-1;;;;;30956:52:0;;;;30989:1;;30956:52;;;;;;21105:18:1;30956:52:0;;;;;;;31099:74;31130:8;31148:1;31152:2;31156;31160:6;31168:4;31099:30;:74::i;22902:310::-;23004:4;-1:-1:-1;;;;;;23041:41:0;;-1:-1:-1;;;23041:41:0;;:110;;-1:-1:-1;;;;;;;23099:52:0;;-1:-1:-1;;;23099:52:0;23041:163;;;;23168:36;23192:11;79224:215;79326:4;-1:-1:-1;;;;;;79350:41:0;;-1:-1:-1;;;79350:41:0;;:81;;-1:-1:-1;;;;;;;;;;21937:40:0;;;79395:36;21828:157;85810:472;85907:16;85925:7;85941:14;85958:63;86011:9;85958:44;85968:8;;85958:19;;;;;;;:::i;:::-;;;;;;;;64630:34;64425:15;64617:48;;;64686:4;64679:18;;;;64738:4;64722:21;;;64356:405;85958:44;:52;;:63::i;:::-;85941:80;-1:-1:-1;;;;;;86032:20:0;;86028:51;;86061:18;;-1:-1:-1;;;86061:18:0;;;;;;;;;;;86028:51;86100:16;;-1:-1:-1;;;;;86090:26:0;;;86100:16;;86090:26;86086:59;;86125:20;;-1:-1:-1;;;86125:20:0;;;;;;;;;;;86086:59;86153:26;;86199:42;;;;86210:8;86199:42;:::i;:::-;86152:89;;;;-1:-1:-1;85810:472:0;-1:-1:-1;;;;;;;85810:472:0:o;75800:647::-;72771:42;75991:45;:49;75987:453;;76290:67;;-1:-1:-1;;;76290:67:0;;76341:4;76290:67;;;22195:34:1;-1:-1:-1;;;;;22265:15:1;;22245:18;;;22238:43;72771:42:0;;76290;;22130:18:1;;76290:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;76285:144;;76385:28;;-1:-1:-1;;;76385:28:0;;-1:-1:-1;;;;;7237:32:1;;76385:28:0;;;7219:51:1;7192:18;;76385:28:0;7041:235:1;25797:438:0;-1:-1:-1;;;;;26030:20:0;;748:10;26030:20;;:60;;-1:-1:-1;26054:36:0;26071:4;748:10;85589:215;:::i;26054:36::-;26008:156;;;;-1:-1:-1;;;26008:156:0;;;;;;;:::i;:::-;26175:52;26198:4;26204:2;26208:3;26213:7;26222:4;26175:22;:52::i;:::-;25797:438;;;;;:::o;33719:935::-;-1:-1:-1;;;;;33837:18:0;;33829:66;;;;-1:-1:-1;;;33829:66:0;;;;;;;:::i;:::-;33928:7;:14;33914:3;:10;:28;33906:81;;;;-1:-1:-1;;;33906:81:0;;;;;;;:::i;:::-;34044:66;;;;;;;;;34000:16;34044:66;;;;748:10;;34123:373;34147:3;:10;34143:1;:14;34123:373;;;34179:10;34192:3;34196:1;34192:6;;;;;;;;:::i;:::-;;;;;;;34179:19;;34213:14;34230:7;34238:1;34230:10;;;;;;;;:::i;:::-;;;;;;;;;;;;34257:19;34279:13;;;:9;:13;;;;;;-1:-1:-1;;;;;34279:19:0;;;;;;;;;;;;34230:10;;-1:-1:-1;34321:21:0;;;;34313:70;;;;-1:-1:-1;;;34313:70:0;;;;;;;:::i;:::-;34427:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;34427:19:0;;;;;;;;;;34449:20;;34427:42;;34159:3;;;;:::i;:::-;;;;34123:373;;;;34551:1;-1:-1:-1;;;;;34513:55:0;34537:4;-1:-1:-1;;;;;34513:55:0;34527:8;-1:-1:-1;;;;;34513:55:0;;34555:3;34560:7;34513:55;;;;;;;:::i;:::-;;;;;;;;34581:65;;;;;;;;;34625:1;34581:65;;;86822:274;3219:191;3312:6;;;-1:-1:-1;;;;;3329:17:0;;;-1:-1:-1;;;;;;3329:17:0;;;;;;;3362:40;;3312:6;;;3329:17;3312:6;;3362:40;;3293:16;;3362:40;3282:128;3219:191;:::o;24847:155::-;24942:52;748:10;24975:8;24985;24942:18;:52::i;:::-;24847:155;;:::o;25314:406::-;-1:-1:-1;;;;;25522:20:0;;748:10;25522:20;;:60;;-1:-1:-1;25546:36:0;25563:4;748:10;85589:215;:::i;25546:36::-;25500:156;;;;-1:-1:-1;;;25500:156:0;;;;;;;:::i;:::-;25667:45;25685:4;25691:2;25695;25699:6;25707:4;25667:17;:45::i;32695:774::-;-1:-1:-1;;;;;32788:18:0;;32780:66;;;;-1:-1:-1;;;32780:66:0;;;;;;;:::i;:::-;748:10;32859:16;32924:21;32942:2;32924:17;:21::i;:::-;32901:44;;32956:24;32983:25;33001:6;32983:17;:25::i;:::-;33021:66;;;;;;;;;-1:-1:-1;33021:66:0;;;;33122:13;;;:9;:13;;;;;-1:-1:-1;;;;;33122:19:0;;;;;;;;32956:52;;-1:-1:-1;33160:21:0;;;;33152:70;;;;-1:-1:-1;;;33152:70:0;;;;;;;:::i;:::-;33258:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;33258:19:0;;;;;;;;;;;;33280:20;;;33258:42;;33329:54;;21132:25:1;;;21173:18;;;21166:34;;;33258:19:0;;33329:54;;;;;;21105:18:1;33329:54:0;;;;;;;33396:65;;;;;;;;;33440:1;33396:65;;;86822:274;39029:198;39149:16;;;39163:1;39149:16;;;;;;;;;39095;;39124:22;;39149:16;;;;;;;;;;;;-1:-1:-1;39149:16:0;39124:41;;39187:7;39176:5;39182:1;39176:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;39214:5;39029:198;-1:-1:-1;;39029:198:0:o;37456:744::-;-1:-1:-1;;;;;37671:13:0;;13197:19;:23;37667:526;;37707:72;;-1:-1:-1;;;37707:72:0;;-1:-1:-1;;;;;37707:38:0;;;;;:72;;37746:8;;37756:4;;37762:2;;37766:6;;37774:4;;37707:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37707:72:0;;;;;;;;-1:-1:-1;;37707:72:0;;;;;;;;;;;;:::i;:::-;;;37703:479;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;38055:6;38048:14;;-1:-1:-1;;;38048:14:0;;;;;;;;:::i;37703:479::-;;;38104:62;;-1:-1:-1;;;38104:62:0;;26112:2:1;38104:62:0;;;26094:21:1;26151:2;26131:18;;;26124:30;26190:34;26170:18;;;26163:62;-1:-1:-1;;;26241:18:1;;;26234:50;26301:19;;38104:62:0;25910:416:1;37703:479:0;-1:-1:-1;;;;;;37829:55:0;;-1:-1:-1;;;37829:55:0;37825:154;;37909:50;;-1:-1:-1;;;37909:50:0;;;;;;;:::i;60820:231::-;60898:7;60919:17;60938:18;60960:27;60971:4;60977:9;60960:10;:27::i;:::-;60918:69;;;;60998:18;61010:5;60998:11;:18::i;28031:1146::-;28258:7;:14;28244:3;:10;:28;28236:81;;;;-1:-1:-1;;;28236:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28336:16:0;;28328:66;;;;-1:-1:-1;;;28328:66:0;;;;;;;:::i;:::-;748:10;28407:16;28524:421;28548:3;:10;28544:1;:14;28524:421;;;28580:10;28593:3;28597:1;28593:6;;;;;;;;:::i;:::-;;;;;;;28580:19;;28614:14;28631:7;28639:1;28631:10;;;;;;;;:::i;:::-;;;;;;;;;;;;28658:19;28680:13;;;:9;:13;;;;;;-1:-1:-1;;;;;28680:19:0;;;;;;;;;;;;28631:10;;-1:-1:-1;28722:21:0;;;;28714:76;;;;-1:-1:-1;;;28714:76:0;;;;;;;:::i;:::-;28834:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;28834:19:0;;;;;;;;;;28856:20;;;28834:42;;28906:17;;;;;;;:27;;28856:20;;28834:13;28906:27;;28856:20;;28906:27;:::i;:::-;;;;;;;;28565:380;;;28560:3;;;;:::i;:::-;;;28524:421;;;;28992:2;-1:-1:-1;;;;;28962:47:0;28986:4;-1:-1:-1;;;;;28962:47:0;28976:8;-1:-1:-1;;;;;28962:47:0;;28996:3;29001:7;28962:47;;;;;;;:::i;:::-;;;;;;;;29094:75;29130:8;29140:4;29146:2;29150:3;29155:7;29164:4;29094:35;:75::i;34797:297::-;34918:8;-1:-1:-1;;;;;34909:17:0;:5;-1:-1:-1;;;;;34909:17:0;;34901:71;;;;-1:-1:-1;;;34901:71:0;;27759:2:1;34901:71:0;;;27741:21:1;27798:2;27778:18;;;27771:30;27837:34;27817:18;;;27810:62;-1:-1:-1;;;27888:18:1;;;27881:39;27937:19;;34901:71:0;27557:405:1;34901:71:0;-1:-1:-1;;;;;34983:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;34983:46:0;;;;;;;;;;35045:41;;1566::1;;;35045::0;;1539:18:1;35045:41:0;;;;;;;34797:297;;;:::o;26699:974::-;-1:-1:-1;;;;;26887:16:0;;26879:66;;;;-1:-1:-1;;;26879:66:0;;;;;;;:::i;:::-;748:10;26958:16;27023:21;27041:2;27023:17;:21::i;:::-;27000:44;;27055:24;27082:25;27100:6;27082:17;:25::i;:::-;27055:52;;27193:19;27215:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;27215:19:0;;;;;;;;;;27253:21;;;;27245:76;;;;-1:-1:-1;;;27245:76:0;;;;;;;:::i;:::-;27357:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;27357:19:0;;;;;;;;;;27379:20;;;27357:42;;27421:17;;;;;;;:27;;27379:20;;27357:13;27421:27;;27379:20;;27421:27;:::i;:::-;;;;-1:-1:-1;;27466:46:0;;;21132:25:1;;;21188:2;21173:18;;21166:34;;;-1:-1:-1;;;;;27466:46:0;;;;;;;;;;;;;;21105:18:1;27466:46:0;;;;;;;27597:68;27628:8;27638:4;27644:2;27648;27652:6;27660:4;27597:30;:68::i;:::-;26868:805;;;;26699:974;;;;;:::o;59271:747::-;59352:7;59361:12;59390:9;:16;59410:2;59390:22;59386:625;;59734:4;59719:20;;59713:27;59784:4;59769:20;;59763:27;59842:4;59827:20;;59821:27;59429:9;59813:36;59885:25;59896:4;59813:36;59713:27;59763;59885:10;:25::i;:::-;59878:32;;;;;;;;;59386:625;-1:-1:-1;59959:1:0;;-1:-1:-1;59963:35:0;59943:56;;57664:521;57742:20;57733:5;:29;;;;;;;;:::i;:::-;;57729:449;;57664:521;:::o;57729:449::-;57840:29;57831:5;:38;;;;;;;;:::i;:::-;;57827:351;;57886:34;;-1:-1:-1;;;57886:34:0;;28301:2:1;57886:34:0;;;28283:21:1;28340:2;28320:18;;;28313:30;28379:26;28359:18;;;28352:54;28423:18;;57886:34:0;28099:348:1;57827:351:0;57951:35;57942:5;:44;;;;;;;;:::i;:::-;;57938:240;;58003:41;;-1:-1:-1;;;58003:41:0;;28654:2:1;58003:41:0;;;28636:21:1;28693:2;28673:18;;;28666:30;28732:33;28712:18;;;28705:61;28783:18;;58003:41:0;28452:355:1;57938:240:0;58075:30;58066:5;:39;;;;;;;;:::i;:::-;;58062:116;;58122:44;;-1:-1:-1;;;58122:44:0;;29014:2:1;58122:44:0;;;28996:21:1;29053:2;29033:18;;;29026:30;29092:34;29072:18;;;29065:62;-1:-1:-1;;;29143:18:1;;;29136:32;29185:19;;58122:44:0;28812:398:1;38208:813:0;-1:-1:-1;;;;;38448:13:0;;13197:19;:23;38444:570;;38484:79;;-1:-1:-1;;;38484:79:0;;-1:-1:-1;;;;;38484:43:0;;;;;:79;;38528:8;;38538:4;;38544:3;;38549:7;;38558:4;;38484:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38484:79:0;;;;;;;;-1:-1:-1;;38484:79:0;;;;;;;;;;;;:::i;:::-;;;38480:523;;;;:::i;:::-;-1:-1:-1;;;;;;38645:60:0;;-1:-1:-1;;;38645:60:0;38641:159;;38730:50;;-1:-1:-1;;;38730:50:0;;;;;;;:::i;62204:1477::-;62292:7;;63226:66;63213:79;;63209:163;;;-1:-1:-1;63325:1:0;;-1:-1:-1;63329:30:0;63309:51;;63209:163;63486:24;;;63469:14;63486:24;;;;;;;;;30274:25:1;;;30347:4;30335:17;;30315:18;;;30308:45;;;;30369:18;;;30362:34;;;30412:18;;;30405:34;;;63486:24:0;;30246:19:1;;63486:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63486:24:0;;-1:-1:-1;;63486:24:0;;;-1:-1:-1;;;;;;;63525:20:0;;63521:103;;63578:1;63582:29;63562:50;;;;;;;63521:103;63644:6;-1:-1:-1;63652:20:0;;-1:-1:-1;62204:1477:0;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:383;227:6;235;243;296:2;284:9;275:7;271:23;267:32;264:52;;;312:1;309;302:12;264:52;351:9;338:23;370:31;395:5;370:31;:::i;:::-;420:5;472:2;457:18;;444:32;;-1:-1:-1;523:2:1;508:18;;;495:32;;150:383;-1:-1:-1;;;150:383:1:o;538:315::-;606:6;614;667:2;655:9;646:7;642:23;638:32;635:52;;;683:1;680;673:12;635:52;722:9;709:23;741:31;766:5;741:31;:::i;:::-;791:5;843:2;828:18;;;;815:32;;-1:-1:-1;;;538:315:1:o;1040:131::-;-1:-1:-1;;;;;;1114:32:1;;1104:43;;1094:71;;1161:1;1158;1151:12;1176:245;1234:6;1287:2;1275:9;1266:7;1262:23;1258:32;1255:52;;;1303:1;1300;1293:12;1255:52;1342:9;1329:23;1361:30;1385:5;1361:30;:::i;1618:127::-;1679:10;1674:3;1670:20;1667:1;1660:31;1710:4;1707:1;1700:15;1734:4;1731:1;1724:15;1750:249;1860:2;1841:13;;-1:-1:-1;;1837:27:1;1825:40;;-1:-1:-1;;;;;1880:34:1;;1916:22;;;1877:62;1874:88;;;1942:18;;:::i;:::-;1978:2;1971:22;-1:-1:-1;;1750:249:1:o;2004:555::-;2046:5;2099:3;2092:4;2084:6;2080:17;2076:27;2066:55;;2117:1;2114;2107:12;2066:55;2153:6;2140:20;-1:-1:-1;;;;;2175:2:1;2172:26;2169:52;;;2201:18;;:::i;:::-;2250:2;2244:9;2262:67;2317:2;2298:13;;-1:-1:-1;;2294:27:1;2323:4;2290:38;2244:9;2262:67;:::i;:::-;2353:2;2345:6;2338:18;2399:3;2392:4;2387:2;2379:6;2375:15;2371:26;2368:35;2365:55;;;2416:1;2413;2406:12;2365:55;2480:2;2473:4;2465:6;2461:17;2454:4;2446:6;2442:17;2429:54;2527:1;2503:15;;;2520:4;2499:26;2492:37;;;;2507:6;2004:555;-1:-1:-1;;;2004:555:1:o;2564:857::-;2661:6;2669;2677;2685;2738:2;2726:9;2717:7;2713:23;2709:32;2706:52;;;2754:1;2751;2744:12;2706:52;2790:9;2777:23;2767:33;;2851:2;2840:9;2836:18;2823:32;-1:-1:-1;;;;;2915:2:1;2907:6;2904:14;2901:34;;;2931:1;2928;2921:12;2901:34;2969:6;2958:9;2954:22;2944:32;;3014:7;3007:4;3003:2;2999:13;2995:27;2985:55;;3036:1;3033;3026:12;2985:55;3076:2;3063:16;3102:2;3094:6;3091:14;3088:34;;;3118:1;3115;3108:12;3088:34;3163:7;3158:2;3149:6;3145:2;3141:15;3137:24;3134:37;3131:57;;;3184:1;3181;3174:12;3131:57;3215:2;3211;3207:11;3197:21;;3237:6;3227:16;;;3296:2;3285:9;3281:18;3268:32;3252:48;;3325:2;3315:8;3312:16;3309:36;;;3341:1;3338;3331:12;3309:36;;3364:51;3407:7;3396:8;3385:9;3381:24;3364:51;:::i;:::-;3354:61;;;2564:857;;;;;;;:::o;3426:248::-;3494:6;3502;3555:2;3543:9;3534:7;3530:23;3526:32;3523:52;;;3571:1;3568;3561:12;3523:52;-1:-1:-1;;3594:23:1;;;3664:2;3649:18;;;3636:32;;-1:-1:-1;3426:248:1:o;3679:180::-;3738:6;3791:2;3779:9;3770:7;3766:23;3762:32;3759:52;;;3807:1;3804;3797:12;3759:52;-1:-1:-1;3830:23:1;;3679:180;-1:-1:-1;3679:180:1:o;3864:423::-;3906:3;3944:5;3938:12;3971:6;3966:3;3959:19;3996:1;4006:162;4020:6;4017:1;4014:13;4006:162;;;4082:4;4138:13;;;4134:22;;4128:29;4110:11;;;4106:20;;4099:59;4035:12;4006:162;;;4010:3;4213:1;4206:4;4197:6;4192:3;4188:16;4184:27;4177:38;4276:4;4269:2;4265:7;4260:2;4252:6;4248:15;4244:29;4239:3;4235:39;4231:50;4224:57;;;3864:423;;;;:::o;4292:220::-;4441:2;4430:9;4423:21;4404:4;4461:45;4502:2;4491:9;4487:18;4479:6;4461:45;:::i;4796:183::-;4856:4;-1:-1:-1;;;;;4881:6:1;4878:30;4875:56;;;4911:18;;:::i;:::-;-1:-1:-1;4956:1:1;4952:14;4968:4;4948:25;;4796:183::o;4984:724::-;5038:5;5091:3;5084:4;5076:6;5072:17;5068:27;5058:55;;5109:1;5106;5099:12;5058:55;5145:6;5132:20;5171:4;5194:43;5234:2;5194:43;:::i;:::-;5266:2;5260:9;5278:31;5306:2;5298:6;5278:31;:::i;:::-;5344:18;;;5436:1;5432:10;;;;5420:23;;5416:32;;;5378:15;;;;-1:-1:-1;5460:15:1;;;5457:35;;;5488:1;5485;5478:12;5457:35;5524:2;5516:6;5512:15;5536:142;5552:6;5547:3;5544:15;5536:142;;;5618:17;;5606:30;;5656:12;;;;5569;;5536:142;;;-1:-1:-1;5696:6:1;4984:724;-1:-1:-1;;;;;;4984:724:1:o;5713:1071::-;5867:6;5875;5883;5891;5899;5952:3;5940:9;5931:7;5927:23;5923:33;5920:53;;;5969:1;5966;5959:12;5920:53;6008:9;5995:23;6027:31;6052:5;6027:31;:::i;:::-;6077:5;-1:-1:-1;6134:2:1;6119:18;;6106:32;6147:33;6106:32;6147:33;:::i;:::-;6199:7;-1:-1:-1;6257:2:1;6242:18;;6229:32;-1:-1:-1;;;;;6310:14:1;;;6307:34;;;6337:1;6334;6327:12;6307:34;6360:61;6413:7;6404:6;6393:9;6389:22;6360:61;:::i;:::-;6350:71;;6474:2;6463:9;6459:18;6446:32;6430:48;;6503:2;6493:8;6490:16;6487:36;;;6519:1;6516;6509:12;6487:36;6542:63;6597:7;6586:8;6575:9;6571:24;6542:63;:::i;:::-;6532:73;;6658:3;6647:9;6643:19;6630:33;6614:49;;6688:2;6678:8;6675:16;6672:36;;;6704:1;6701;6694:12;6672:36;;6727:51;6770:7;6759:8;6748:9;6744:24;6727:51;:::i;:::-;6717:61;;;5713:1071;;;;;;;;:::o;6789:247::-;6848:6;6901:2;6889:9;6880:7;6876:23;6872:32;6869:52;;;6917:1;6914;6907:12;6869:52;6956:9;6943:23;6975:31;7000:5;6975:31;:::i;7281:1277::-;7399:6;7407;7460:2;7448:9;7439:7;7435:23;7431:32;7428:52;;;7476:1;7473;7466:12;7428:52;7516:9;7503:23;-1:-1:-1;;;;;7586:2:1;7578:6;7575:14;7572:34;;;7602:1;7599;7592:12;7572:34;7640:6;7629:9;7625:22;7615:32;;7685:7;7678:4;7674:2;7670:13;7666:27;7656:55;;7707:1;7704;7697:12;7656:55;7743:2;7730:16;7765:4;7788:43;7828:2;7788:43;:::i;:::-;7860:2;7854:9;7872:31;7900:2;7892:6;7872:31;:::i;:::-;7938:18;;;8026:1;8022:10;;;;8014:19;;8010:28;;;7972:15;;;;-1:-1:-1;8050:19:1;;;8047:39;;;8082:1;8079;8072:12;8047:39;8106:11;;;;8126:217;8142:6;8137:3;8134:15;8126:217;;;8222:3;8209:17;8239:31;8264:5;8239:31;:::i;:::-;8283:18;;8159:12;;;;8321;;;;8126:217;;;8362:6;-1:-1:-1;;8406:18:1;;8393:32;;-1:-1:-1;;8437:16:1;;;8434:36;;;8466:1;8463;8456:12;8434:36;;8489:63;8544:7;8533:8;8522:9;8518:24;8489:63;:::i;:::-;8479:73;;;7281:1277;;;;;:::o;8563:435::-;8616:3;8654:5;8648:12;8681:6;8676:3;8669:19;8707:4;8736:2;8731:3;8727:12;8720:19;;8773:2;8766:5;8762:14;8794:1;8804:169;8818:6;8815:1;8812:13;8804:169;;;8879:13;;8867:26;;8913:12;;;;8948:15;;;;8840:1;8833:9;8804:169;;;-1:-1:-1;8989:3:1;;8563:435;-1:-1:-1;;;;;8563:435:1:o;9003:261::-;9182:2;9171:9;9164:21;9145:4;9202:56;9254:2;9243:9;9239:18;9231:6;9202:56;:::i;9458:730::-;9585:6;9593;9601;9654:2;9642:9;9633:7;9629:23;9625:32;9622:52;;;9670:1;9667;9660:12;9622:52;9709:9;9696:23;9728:31;9753:5;9728:31;:::i;:::-;9778:5;-1:-1:-1;9834:2:1;9819:18;;9806:32;-1:-1:-1;;;;;9887:14:1;;;9884:34;;;9914:1;9911;9904:12;9884:34;9937:61;9990:7;9981:6;9970:9;9966:22;9937:61;:::i;:::-;9927:71;;10051:2;10040:9;10036:18;10023:32;10007:48;;10080:2;10070:8;10067:16;10064:36;;;10096:1;10093;10086:12;10064:36;;10119:63;10174:7;10163:8;10152:9;10148:24;10119:63;:::i;:::-;10109:73;;;9458:730;;;;;:::o;10401:118::-;10487:5;10480:13;10473:21;10466:5;10463:32;10453:60;;10509:1;10506;10499:12;10524:1181;10670:6;10678;10686;10694;10702;10710;10718;10726;10734;10787:3;10775:9;10766:7;10762:23;10758:33;10755:53;;;10804:1;10801;10794:12;10755:53;10840:9;10827:23;10817:33;;10901:2;10890:9;10886:18;10873:32;-1:-1:-1;;;;;10965:2:1;10957:6;10954:14;10951:34;;;10981:1;10978;10971:12;10951:34;11004:49;11045:7;11036:6;11025:9;11021:22;11004:49;:::i;:::-;10994:59;;11100:2;11089:9;11085:18;11072:32;11062:42;;11151:2;11140:9;11136:18;11123:32;11113:42;;11202:3;11191:9;11187:19;11174:33;11164:43;;11257:3;11246:9;11242:19;11229:33;11216:46;;11271:28;11293:5;11271:28;:::i;:::-;11318:5;;-1:-1:-1;11370:3:1;11355:19;;11342:33;;-1:-1:-1;11427:3:1;11412:19;;11399:33;;11476:4;11463:18;;11451:31;;11441:59;;11496:1;11493;11486:12;11441:59;11519:7;;-1:-1:-1;11579:3:1;11564:19;;11551:33;;11596:16;;;11593:36;;;11625:1;11622;11615:12;11593:36;;11648:51;11691:7;11680:8;11669:9;11665:24;11648:51;:::i;:::-;11638:61;;;10524:1181;;;;;;;;;;;:::o;11710:382::-;11775:6;11783;11836:2;11824:9;11815:7;11811:23;11807:32;11804:52;;;11852:1;11849;11842:12;11804:52;11891:9;11878:23;11910:31;11935:5;11910:31;:::i;:::-;11960:5;-1:-1:-1;12017:2:1;12002:18;;11989:32;12030:30;11989:32;12030:30;:::i;:::-;12079:7;12069:17;;;11710:382;;;;;:::o;12097:924::-;12443:4;12472:3;12502:6;12491:9;12484:25;12545:2;12540;12529:9;12525:18;12518:30;12571:45;12612:2;12601:9;12597:18;12589:6;12571:45;:::i;:::-;12557:59;;12652:6;12647:2;12636:9;12632:18;12625:34;12695:6;12690:2;12679:9;12675:18;12668:34;12739:6;12733:3;12722:9;12718:19;12711:35;12797:6;12790:14;12783:22;12777:3;12766:9;12762:19;12755:51;12843:6;12837:3;12826:9;12822:19;12815:35;12899:4;12891:6;12887:17;12881:3;12870:9;12866:19;12859:46;12954:9;12946:6;12942:22;12936:3;12925:9;12921:19;12914:51;12982:33;13008:6;13000;12982:33;:::i;:::-;12974:41;12097:924;-1:-1:-1;;;;;;;;;;;;12097:924:1:o;13026:388::-;13094:6;13102;13155:2;13143:9;13134:7;13130:23;13126:32;13123:52;;;13171:1;13168;13161:12;13123:52;13210:9;13197:23;13229:31;13254:5;13229:31;:::i;:::-;13279:5;-1:-1:-1;13336:2:1;13321:18;;13308:32;13349:33;13308:32;13349:33;:::i;13419:734::-;13523:6;13531;13539;13547;13555;13608:3;13596:9;13587:7;13583:23;13579:33;13576:53;;;13625:1;13622;13615:12;13576:53;13664:9;13651:23;13683:31;13708:5;13683:31;:::i;:::-;13733:5;-1:-1:-1;13790:2:1;13775:18;;13762:32;13803:33;13762:32;13803:33;:::i;:::-;13855:7;-1:-1:-1;13909:2:1;13894:18;;13881:32;;-1:-1:-1;13960:2:1;13945:18;;13932:32;;-1:-1:-1;14015:3:1;14000:19;;13987:33;-1:-1:-1;;;;;14032:30:1;;14029:50;;;14075:1;14072;14065:12;14029:50;14098:49;14139:7;14130:6;14119:9;14115:22;14098:49;:::i;14158:127::-;14219:10;14214:3;14210:20;14207:1;14200:31;14250:4;14247:1;14240:15;14274:4;14271:1;14264:15;14290:128;14357:9;;;14378:11;;;14375:37;;;14392:18;;:::i;14834:127::-;14895:10;14890:3;14886:20;14883:1;14876:31;14926:4;14923:1;14916:15;14950:4;14947:1;14940:15;14966:175;15003:3;15047:4;15040:5;15036:16;15076:4;15067:7;15064:17;15061:43;;15084:18;;:::i;:::-;15133:1;15120:15;;14966:175;-1:-1:-1;;14966:175:1:o;15146:380::-;15225:1;15221:12;;;;15268;;;15289:61;;15343:4;15335:6;15331:17;15321:27;;15289:61;15396:2;15388:6;15385:14;15365:18;15362:38;15359:161;;15442:10;15437:3;15433:20;15430:1;15423:31;15477:4;15474:1;15467:15;15505:4;15502:1;15495:15;15359:161;;15146:380;;;:::o;15531:168::-;15604:9;;;15635;;15652:15;;;15646:22;;15632:37;15622:71;;15673:18;;:::i;15704:217::-;15744:1;15770;15760:132;;15814:10;15809:3;15805:20;15802:1;15795:31;15849:4;15846:1;15839:15;15877:4;15874:1;15867:15;15760:132;-1:-1:-1;15906:9:1;;15704:217::o;16899:135::-;16938:3;16959:17;;;16956:43;;16979:18;;:::i;:::-;-1:-1:-1;17026:1:1;17015:13;;16899:135::o;17039:410::-;17241:2;17223:21;;;17280:2;17260:18;;;17253:30;17319:34;17314:2;17299:18;;17292:62;-1:-1:-1;;;17385:2:1;17370:18;;17363:44;17439:3;17424:19;;17039:410::o;17580:545::-;17682:2;17677:3;17674:11;17671:448;;;17718:1;17743:5;17739:2;17732:17;17788:4;17784:2;17774:19;17858:2;17846:10;17842:19;17839:1;17835:27;17829:4;17825:38;17894:4;17882:10;17879:20;17876:47;;;-1:-1:-1;17917:4:1;17876:47;17972:2;17967:3;17963:12;17960:1;17956:20;17950:4;17946:31;17936:41;;18027:82;18045:2;18038:5;18035:13;18027:82;;;18090:17;;;18071:1;18060:13;18027:82;;18301:1352;18427:3;18421:10;-1:-1:-1;;;;;18446:6:1;18443:30;18440:56;;;18476:18;;:::i;:::-;18505:97;18595:6;18555:38;18587:4;18581:11;18555:38;:::i;:::-;18549:4;18505:97;:::i;:::-;18657:4;;18721:2;18710:14;;18738:1;18733:663;;;;19440:1;19457:6;19454:89;;;-1:-1:-1;19509:19:1;;;19503:26;19454:89;-1:-1:-1;;18258:1:1;18254:11;;;18250:24;18246:29;18236:40;18282:1;18278:11;;;18233:57;19556:81;;18703:944;;18733:663;17527:1;17520:14;;;17564:4;17551:18;;-1:-1:-1;;18769:20:1;;;18887:236;18901:7;18898:1;18895:14;18887:236;;;18990:19;;;18984:26;18969:42;;19082:27;;;;19050:1;19038:14;;;;18917:19;;18887:236;;;18891:3;19151:6;19142:7;19139:19;19136:201;;;19212:19;;;19206:26;-1:-1:-1;;19295:1:1;19291:14;;;19307:3;19287:24;19283:37;19279:42;19264:58;19249:74;;19136:201;-1:-1:-1;;;;;19383:1:1;19367:14;;;19363:22;19350:36;;-1:-1:-1;18301:1352:1:o;20828:125::-;20893:9;;;20914:10;;;20911:36;;;20927:18;;:::i;21211:271::-;21394:6;21386;21381:3;21368:33;21350:3;21420:16;;21445:13;;;21420:16;21211:271;-1:-1:-1;21211:271:1:o;21487:491::-;21588:6;21596;21649:2;21637:9;21628:7;21624:23;21620:32;21617:52;;;21665:1;21662;21655:12;21617:52;21705:9;21692:23;-1:-1:-1;;;;;21730:6:1;21727:30;21724:50;;;21770:1;21767;21760:12;21724:50;21793:61;21846:7;21837:6;21826:9;21822:22;21793:61;:::i;:::-;21783:71;;;21904:2;21893:9;21889:18;21876:32;21917:31;21942:5;21917:31;:::i;22292:245::-;22359:6;22412:2;22400:9;22391:7;22387:23;22383:32;22380:52;;;22428:1;22425;22418:12;22380:52;22460:9;22454:16;22479:28;22501:5;22479:28;:::i;22542:399::-;22744:2;22726:21;;;22783:2;22763:18;;;22756:30;22822:34;22817:2;22802:18;;22795:62;-1:-1:-1;;;22888:2:1;22873:18;;22866:33;22931:3;22916:19;;22542:399::o;22946:404::-;23148:2;23130:21;;;23187:2;23167:18;;;23160:30;23226:34;23221:2;23206:18;;23199:62;-1:-1:-1;;;23292:2:1;23277:18;;23270:38;23340:3;23325:19;;22946:404::o;23355:400::-;23557:2;23539:21;;;23596:2;23576:18;;;23569:30;23635:34;23630:2;23615:18;;23608:62;-1:-1:-1;;;23701:2:1;23686:18;;23679:34;23745:3;23730:19;;23355:400::o;23760:465::-;24017:2;24006:9;23999:21;23980:4;24043:56;24095:2;24084:9;24080:18;24072:6;24043:56;:::i;:::-;24147:9;24139:6;24135:22;24130:2;24119:9;24115:18;24108:50;24175:44;24212:6;24204;24175:44;:::i;:::-;24167:52;23760:465;-1:-1:-1;;;;;23760:465:1:o;24230:561::-;-1:-1:-1;;;;;24527:15:1;;;24509:34;;24579:15;;24574:2;24559:18;;24552:43;24626:2;24611:18;;24604:34;;;24669:2;24654:18;;24647:34;;;24489:3;24712;24697:19;;24690:32;;;24452:4;;24739:46;;24765:19;;24757:6;24739:46;:::i;:::-;24731:54;24230:561;-1:-1:-1;;;;;;;24230:561:1:o;24796:249::-;24865:6;24918:2;24906:9;24897:7;24893:23;24889:32;24886:52;;;24934:1;24931;24924:12;24886:52;24966:9;24960:16;24985:30;25009:5;24985:30;:::i;25050:179::-;25085:3;25127:1;25109:16;25106:23;25103:120;;;25173:1;25170;25167;25152:23;-1:-1:-1;25210:1:1;25204:8;25199:3;25195:18;25103:120;25050:179;:::o;25234:671::-;25273:3;25315:4;25297:16;25294:26;25291:39;;;25234:671;:::o;25291:39::-;25357:2;25351:9;-1:-1:-1;;25422:16:1;25418:25;;25415:1;25351:9;25394:50;25473:4;25467:11;25497:16;-1:-1:-1;;;;;25603:2:1;25596:4;25588:6;25584:17;25581:25;25576:2;25568:6;25565:14;25562:45;25559:58;;;25610:5;;;;;25234:671;:::o;25559:58::-;25647:6;25641:4;25637:17;25626:28;;25683:3;25677:10;25710:2;25702:6;25699:14;25696:27;;;25716:5;;;;;;25234:671;:::o;25696:27::-;25800:2;25781:16;25775:4;25771:27;25767:36;25760:4;25751:6;25746:3;25742:16;25738:27;25735:69;25732:82;;;25807:5;;;;;;25234:671;:::o;25732:82::-;25823:57;25874:4;25865:6;25857;25853:19;25849:30;25843:4;25823:57;:::i;:::-;-1:-1:-1;25896:3:1;;25234:671;-1:-1:-1;;;;;25234:671:1:o;26331:404::-;26533:2;26515:21;;;26572:2;26552:18;;;26545:30;26611:34;26606:2;26591:18;;26584:62;-1:-1:-1;;;26677:2:1;26662:18;;26655:38;26725:3;26710:19;;26331:404::o;26740:401::-;26942:2;26924:21;;;26981:2;26961:18;;;26954:30;27020:34;27015:2;27000:18;;26993:62;-1:-1:-1;;;27086:2:1;27071:18;;27064:35;27131:3;27116:19;;26740:401::o;27146:406::-;27348:2;27330:21;;;27387:2;27367:18;;;27360:30;27426:34;27421:2;27406:18;;27399:62;-1:-1:-1;;;27492:2:1;27477:18;;27470:40;27542:3;27527:19;;27146:406::o;27967:127::-;28028:10;28023:3;28019:20;28016:1;28009:31;28059:4;28056:1;28049:15;28083:4;28080:1;28073:15;29215:827;-1:-1:-1;;;;;29612:15:1;;;29594:34;;29664:15;;29659:2;29644:18;;29637:43;29574:3;29711:2;29696:18;;29689:31;;;29537:4;;29743:57;;29780:19;;29772:6;29743:57;:::i;:::-;29848:9;29840:6;29836:22;29831:2;29820:9;29816:18;29809:50;29882:44;29919:6;29911;29882:44;:::i;:::-;29868:58;;29975:9;29967:6;29963:22;29957:3;29946:9;29942:19;29935:51;30003:33;30029:6;30021;30003:33;:::i;:::-;29995:41;29215:827;-1:-1:-1;;;;;;;;29215:827:1:o

Swarm Source

ipfs://08c344c3f87a3fdc1461efbed8ab8d13d7075d888a60f838038d5d6b319368b2
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.