ETH Price: $3,399.94 (+1.96%)

Token

GeneralCards (GMC)
 

Overview

Max Total Supply

10,001 GMC

Holders

9,859

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
kuskusbear.eth
0x8c976eb9014def449a11d2c6f3f46354f02e740c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Your NFTs deserve a beautiful home. Curate your pieces, connect with other collectors, and express yourself through ownership.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GeneralCards

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-24
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Interface of the 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);
}

library StringUtils {
    /// @dev Does a byte-by-byte lexicographical comparison of two strings.
    /// @return a negative number if `_a` is smaller, zero if they are equal
    /// and a positive numbe if `_b` is smaller.
    function compare(string memory _a, string memory _b)
        internal
        pure
        returns (int256)
    {
        bytes memory a = bytes(_a);
        bytes memory b = bytes(_b);
        uint256 minLength = a.length;
        if (b.length < minLength) minLength = b.length;
        //@todo unroll the loop into increments of 32 and do full 32 byte comparisons
        for (uint256 i = 0; i < minLength; i++)
            if (a[i] < b[i]) return -1;
            else if (a[i] > b[i]) return 1;
        if (a.length < b.length) return -1;
        else if (a.length > b.length) return 1;
        else return 0;
    }

    /// @dev Compares two strings and returns true iff they are equal.
    function equal(string memory _a, string memory _b)
        internal
        pure
        returns (bool)
    {
        return compare(_a, _b) == 0;
    }

    /// @dev Finds the index of the first occurrence of _needle in _haystack
    function indexOf(string memory _haystack, string memory _needle)
        internal
        pure
        returns (int256)
    {
        bytes memory h = bytes(_haystack);
        bytes memory n = bytes(_needle);
        if (h.length < 1 || n.length < 1 || (n.length > h.length)) return -1;
        else if (h.length > (2**128 - 1))
            // since we have to be able to return -1 (if the char isn't found or input error), this function must return an "int" type with a max length of (2^128 - 1)
            return -1;
        else {
            uint256 subindex = 0;
            for (uint256 i = 0; i < h.length; i++) {
                if (h[i] == n[0]) // found the first char of b
                {
                    subindex = 1;
                    while (
                        subindex < n.length &&
                        (i + subindex) < h.length &&
                        h[i + subindex] == n[subindex] // search until the chars don't match or until we reach the end of a or b
                    ) {
                        subindex++;
                    }
                    if (subindex == n.length) return int256(i);
                }
            }
            return -1;
        }
    }
}

contract Whitelistable {
    using Address for address;
    using StringUtils for string;

    enum Specification {
        NONE,
        ERC721,
        ERC20
    }

    struct WhitelistCheck {
        Specification specification;
        address tokenAddress;
    }
    mapping(uint256 => WhitelistCheck) private whitelist;

    function setWhitelistCheck(
        string memory specification,
        address tokenAddress,
        uint256 _id
    ) public virtual {
        require(tokenAddress.isContract(), "Token address must be a contract");
        whitelist[_id].specification = specificationByValue(specification);
        whitelist[_id].tokenAddress = tokenAddress;
    }

    function isWhitelisted(address wallet, uint256 _id)
        internal
        view
        returns (bool)
    {
        if (whitelist[_id].specification == Specification.ERC721) {
            try IERC721(whitelist[_id].tokenAddress).balanceOf(wallet) {
                return
                    IERC721(whitelist[_id].tokenAddress).balanceOf(wallet) > 0;
            } catch Error(string memory) {
                return false;
            }
        } else if (whitelist[_id].specification == Specification.ERC20) {
            try IERC20(whitelist[_id].tokenAddress).balanceOf(wallet) {
                return
                    IERC20(whitelist[_id].tokenAddress).balanceOf(wallet) > 0;
            } catch Error(string memory) {
                return false;
            }
        } else {
            return false;
        }
    }

    function specificationByValue(string memory value)
        private
        pure
        returns (Specification)
    {
        if (value.equal("ERC721") || value.equal("ERC-721")) {
            return Specification.ERC721;
        } else if (value.equal("ERC20") || value.equal("ERC-20")) {
            return Specification.ERC20;
        } else {
            revert("Unknown specification");
        }
    }
}

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

    // Mapping from account to operator approvals
    mapping(address => mapping(address => bool)) internal 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: balance query for the zero address"
        );
        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
    {
        require(
            _msgSender() != operator,
            "ERC1155: setting approval status for self"
        );

        operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 owner nor 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: transfer caller is not owner nor 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();

        _beforeTokenTransfer(
            operator,
            from,
            to,
            _asSingletonArray(id),
            _asSingletonArray(amount),
            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);

        _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);

        _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 `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(
            operator,
            address(0),
            account,
            _asSingletonArray(id),
            _asSingletonArray(amount),
            data
        );

        balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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);

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(
            operator,
            account,
            address(0),
            _asSingletonArray(id),
            _asSingletonArray(amount),
            ""
        );

        uint256 accountBalance = balances[id][account];
        require(
            accountBalance >= amount,
            "ERC1155: burn amount exceeds balance"
        );
        unchecked {
            balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

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

        address operator = _msgSender();

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

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

            uint256 accountBalance = balances[id][account];
            require(
                accountBalance >= amount,
                "ERC1155: burn amount exceeds balance"
            );
            unchecked {
                balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @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 `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 _beforeTokenTransfer(
        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
    ) internal {
        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
    ) internal {
        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)
        internal
        pure
        returns (uint256[] memory)
    {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

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

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

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

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

contract GeneralCards is ERC1155, Ownable, ReentrancyGuard {
    using Address for address payable;

    struct TokenType {
        uint256 price;
        uint256 usedSupply;
        uint256 totalSupply;
        bytes32 allowListMerkleRoot;
        string uri;
    }

    bool private canMint;

    mapping(uint256 => TokenType) _tokenTypes;
    mapping(address => mapping(uint256 => bool)) private _hasMinted;

    string public constant name = "GeneralCards";
    string public constant symbol = "GMC";

    constructor() ERC1155("") {}

    function createType(
        uint256 _id,
        uint256 _price,
        uint256 _totalSupply,
        bytes32 _allowListMerkleRoot,
        string memory _uri
    ) public onlyOwner {
        require(
            _tokenTypes[_id].totalSupply == 0,
            "General: type already defined"
        );
        require(
            _totalSupply > 0,
            "General: must set an above zero total supply"
        );
        require(bytes(_uri).length > 0, "General: must set a URI");

        _tokenTypes[_id] = TokenType(
            _price,
            0,
            _totalSupply,
            _allowListMerkleRoot,
            _uri
        );
    }

    function uri(uint256 it)
        public
        view
        virtual
        override
        returns (string memory)
    {
        return _tokenTypes[it].uri;
    }

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

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

    function getUsedSupply(uint256 id) public view returns (uint256) {
        return _tokenTypes[id].usedSupply;
    }

    function getTotalSupply(uint256 id) public view returns (uint256) {
        return _tokenTypes[id].totalSupply;
    }

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

    function setMintApprovals(uint256 id, bytes32 merkleRoot)
        external
        onlyOwner
    {
        _tokenTypes[id].allowListMerkleRoot = merkleRoot;
    }

    function mintToMany(address[] calldata _to, uint256 _id)
        external
        onlyOwner
    {
        require(
            _tokenTypes[_id].usedSupply + _to.length <
                _tokenTypes[_id].totalSupply,
            "General: total supply used up"
        );
        for (uint256 i = 0; i < _to.length; ++i) {
            address to = _to[i];
            require(
                !_hasMinted[to][_id] && balanceOf(to, _id) == 0,
                "General: cannot own more than one of a General Card"
            );
            _tokenTypes[_id].usedSupply++;
            _hasMinted[to][_id] = true;
            _mint(to, _id, 1, "");
        }
    }

    function mint(
        address to,
        uint256 id,
        bytes32[] calldata merkleProof
    ) external payable nonReentrant {
        require(canMint, "General: minting is disabled");
        require(
            _tokenTypes[id].usedSupply < _tokenTypes[id].totalSupply ||
                _tokenTypes[id].allowListMerkleRoot == bytes32(0),
            "General: total supply used up"
        );
        require(
            balanceOf(to, id) == 0 && !_hasMinted[to][id],
            "General: cannot own more than one of a General Card"
        );

        bool allowlisted = MerkleProof.verify(
            merkleProof,
            _tokenTypes[id].allowListMerkleRoot,
            keccak256(abi.encodePacked(msg.sender))
        );

        bool isAbleToMint = _tokenTypes[id].allowListMerkleRoot == bytes32(0) ||
            allowlisted;

        if (_tokenTypes[id].price > 0) {
            require(
                msg.value >= _tokenTypes[id].price || allowlisted,
                "General: incorrect price or not approved"
            );
            isAbleToMint = true;
        } else {
            require(
                msg.value == 0,
                "General: sent value for non-payable token ID"
            );
        }

        require(isAbleToMint, "General: not approved to mint");

        _tokenTypes[id].usedSupply++;
        _hasMinted[to][id] = true;
        _mint(to, id, 1, bytes(""));
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"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":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"bytes32","name":"_allowListMerkleRoot","type":"bytes32"},{"internalType":"string","name":"_uri","type":"string"}],"name":"createType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getUsedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"mintToMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"id","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":"bool","name":"_canMint","type":"bool"}],"name":"setCanMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMintApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"it","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040805160208101909152600081526200002c8162000043565b5062000038336200005c565b600160045562000191565b805162000058906002906020840190620000ae565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000bc9062000154565b90600052602060002090601f016020900481019282620000e057600085556200012b565b82601f10620000fb57805160ff19168380011785556200012b565b828001600101855582156200012b579182015b828111156200012b5782518255916020019190600101906200010e565b50620001399291506200013d565b5090565b5b808211156200013957600081556001016200013e565b600181811c908216806200016957607f821691505b602082108114156200018b57634e487b7160e01b600052602260045260246000fd5b50919050565b6126fe80620001a16000396000f3fe60806040526004361061016e5760003560e01c80638a0b0360116100d6578063dd0d65401161007f578063f242432a11610059578063f242432a1461049f578063f2fde38b146104bf578063f7d97577146104df57600080fd5b8063dd0d6540146103f9578063e757223014610429578063e985e9c51461045657600080fd5b806395d89b41116100b057806395d89b411461038a5780639a57829a146103b9578063a22cb465146103d957600080fd5b80638a0b0360146103125780638da5cb5b1461033257806392ab723e1461035a57600080fd5b80632eb2c2d611610138578063641ce14011610112578063641ce140146102ca5780636686f3f6146102dd578063715018a6146102fd57600080fd5b80632eb2c2d61461025d5780634e1273f41461027d5780635451fea2146102aa57600080fd5b8062f714ce14610173578062fdd58e1461019557806301ffc9a7146101c857806306fdde03146101f85780630e89341c1461023d575b600080fd5b34801561017f57600080fd5b5061019361018e366004611c75565b6104ff565b005b3480156101a157600080fd5b506101b56101b0366004611ca5565b6105b3565b6040519081526020015b60405180910390f35b3480156101d457600080fd5b506101e86101e3366004611ce7565b610645565b60405190151581526020016101bf565b34801561020457600080fd5b506102306040518060400160405280600c81526020016b47656e6572616c436172647360a01b81525081565b6040516101bf9190611d58565b34801561024957600080fd5b50610230610258366004611d6b565b610697565b34801561026957600080fd5b50610193610278366004611eda565b61073c565b34801561028957600080fd5b5061029d610298366004611f88565b6107d3565b6040516101bf9190612090565b3480156102b657600080fd5b506101936102c53660046120a3565b6108fd565b6101936102d836600461215a565b610aac565b3480156102e957600080fd5b506101936102f83660046121b6565b610e99565b34801561030957600080fd5b50610193610ed8565b34801561031e57600080fd5b5061019361032d3660046121d8565b610f0e565b34801561033e57600080fd5b506003546040516001600160a01b0390911681526020016101bf565b34801561036657600080fd5b506101b5610375366004611d6b565b60009081526006602052604090206002015490565b34801561039657600080fd5b5061023060405180604001604052806003815260200162474d4360e81b81525081565b3480156103c557600080fd5b506101936103d4366004612239565b6110ba565b3480156103e557600080fd5b506101936103f4366004612254565b6110f7565b34801561040557600080fd5b506101b5610414366004611d6b565b60009081526006602052604090206001015490565b34801561043557600080fd5b506101b5610444366004611d6b565b60009081526006602052604090205490565b34801561046257600080fd5b506101e8610471366004612289565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156104ab57600080fd5b506101936104ba3660046122b7565b6111ce565b3480156104cb57600080fd5b506101936104da366004612320565b611255565b3480156104eb57600080fd5b506101936104fa3660046121b6565b6112f0565b6003546001600160a01b031633146105325760405162461bcd60e51b81526004016105299061233d565b60405180910390fd5b814710156105825760405162461bcd60e51b815260206004820152601b60248201527f47656e6572616c3a206e6f7420656e6f7567682062616c616e636500000000006044820152606401610529565b8161058b574791505b6001600160a01b03811661059c5750335b6105af6001600160a01b0382168361132c565b5050565b60006001600160a01b03831661061f5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610529565b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061067657506001600160e01b031982166303a24d0760e21b145b8061069157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008181526006602052604090206004018054606091906106b790612372565b80601f01602080910402602001604051908101604052809291908181526020018280546106e390612372565b80156107305780601f1061070557610100808354040283529160200191610730565b820191906000526020600020905b81548152906001019060200180831161071357829003601f168201915b50505050509050919050565b6001600160a01b03851633148061075857506107588533610471565b6107bf5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610529565b6107cc858585858561144a565b5050505050565b606081518351146108385760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610529565b6000835167ffffffffffffffff81111561085457610854611d84565b60405190808252806020026020018201604052801561087d578160200160208202803683370190505b50905060005b84518110156108f5576108c88582815181106108a1576108a16123ad565b60200260200101518583815181106108bb576108bb6123ad565b60200260200101516105b3565b8282815181106108da576108da6123ad565b60209081029190910101526108ee816123d9565b9050610883565b509392505050565b6003546001600160a01b031633146109275760405162461bcd60e51b81526004016105299061233d565b600085815260066020526040902060020154156109865760405162461bcd60e51b815260206004820152601d60248201527f47656e6572616c3a207479706520616c726561647920646566696e65640000006044820152606401610529565b600083116109eb5760405162461bcd60e51b815260206004820152602c60248201527f47656e6572616c3a206d7573742073657420616e2061626f7665207a65726f2060448201526b746f74616c20737570706c7960a01b6064820152608401610529565b6000815111610a3c5760405162461bcd60e51b815260206004820152601760248201527f47656e6572616c3a206d757374207365742061205552490000000000000000006044820152606401610529565b6040805160a0810182528581526000602080830182815283850188815260608501888152608086018881528c865260068552969094208551815591516001830155516002820155915160038301559251805192939192610aa29260048501920190611bc7565b5050505050505050565b60026004541415610aff5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610529565b600260045560055460ff16610b565760405162461bcd60e51b815260206004820152601c60248201527f47656e6572616c3a206d696e74696e672069732064697361626c6564000000006044820152606401610529565b600083815260066020526040902060028101546001909101541080610b8a5750600083815260066020526040902060030154155b610bd65760405162461bcd60e51b815260206004820152601d60248201527f47656e6572616c3a20746f74616c20737570706c7920757365642075700000006044820152606401610529565b610be084846105b3565b158015610c1157506001600160a01b038416600090815260076020908152604080832086845290915290205460ff16155b610c2d5760405162461bcd60e51b8152600401610529906123f4565b6000610cbb838380806020026020016040519081016040528093929190818152602001838360200280828437600092018290525089815260066020908152604091829020600301549151919450610ca093503392500160609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405280519060200120611627565b600085815260066020526040812060030154919250901580610cda5750815b60008681526006602052604090205490915015610d705760008581526006602052604090205434101580610d0b5750815b610d685760405162461bcd60e51b815260206004820152602860248201527f47656e6572616c3a20696e636f7272656374207072696365206f72206e6f7420604482015267185c1c1c9bdd995960c21b6064820152608401610529565b506001610dd3565b3415610dd35760405162461bcd60e51b815260206004820152602c60248201527f47656e6572616c3a2073656e742076616c756520666f72206e6f6e2d7061796160448201526b189b19481d1bdad95b88125160a21b6064820152608401610529565b80610e205760405162461bcd60e51b815260206004820152601d60248201527f47656e6572616c3a206e6f7420617070726f76656420746f206d696e740000006044820152606401610529565b6000858152600660205260408120600101805491610e3d836123d9565b90915550506001600160a01b03861660009081526007602090815260408083208884528252808320805460ff191660019081179091558151928301909152918152610e8c9188918891906116d6565b5050600160045550505050565b6003546001600160a01b03163314610ec35760405162461bcd60e51b81526004016105299061233d565b60009182526006602052604090912060030155565b6003546001600160a01b03163314610f025760405162461bcd60e51b81526004016105299061233d565b610f0c60006117e0565b565b6003546001600160a01b03163314610f385760405162461bcd60e51b81526004016105299061233d565b60008181526006602052604090206002810154600190910154610f5c908490612447565b10610fa95760405162461bcd60e51b815260206004820152601d60248201527f47656e6572616c3a20746f74616c20737570706c7920757365642075700000006044820152606401610529565b60005b828110156110b4576000848483818110610fc857610fc86123ad565b9050602002016020810190610fdd9190612320565b6001600160a01b038116600090815260076020908152604080832087845290915290205490915060ff1615801561101b575061101981846105b3565b155b6110375760405162461bcd60e51b8152600401610529906123f4565b6000838152600660205260408120600101805491611054836123d9565b90915550506001600160a01b03811660009081526007602090815260408083208684528252808320805460ff1916600190811790915581519283019091529181526110a39183918691906116d6565b506110ad816123d9565b9050610fac565b50505050565b6003546001600160a01b031633146110e45760405162461bcd60e51b81526004016105299061233d565b6005805460ff1916911515919091179055565b336001600160a01b03831614156111625760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610529565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b0385163314806111ea57506111ea8533610471565b6112485760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610529565b6107cc858585858561183f565b6003546001600160a01b0316331461127f5760405162461bcd60e51b81526004016105299061233d565b6001600160a01b0381166112e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610529565b6112ed816117e0565b50565b6003546001600160a01b0316331461131a5760405162461bcd60e51b81526004016105299061233d565b60009182526006602052604090912055565b8047101561137c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610529565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146113c9576040519150601f19603f3d011682016040523d82523d6000602084013e6113ce565b606091505b50509050806114455760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610529565b505050565b81518351146114ac5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610529565b6001600160a01b0384166114d25760405162461bcd60e51b81526004016105299061245f565b3360005b84518110156115b95760008582815181106114f3576114f36123ad565b602002602001015190506000858381518110611511576115116123ad565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156115615760405162461bcd60e51b8152600401610529906124a4565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061159e908490612447565b92505081905550505050806115b2906123d9565b90506114d6565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116099291906124ee565b60405180910390a461161f81878787878761195c565b505050505050565b600081815b85518110156116cb576000868281518110611649576116496123ad565b6020026020010151905080831161168b5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506116b8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806116c3816123d9565b91505061162c565b509092149392505050565b6001600160a01b0384166117365760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610529565b336117508160008761174788611ac1565b6107cc88611ac1565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611780908490612447565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46107cc81600087878787611b0c565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166118655760405162461bcd60e51b81526004016105299061245f565b3361187581878761174788611ac1565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156118b65760405162461bcd60e51b8152600401610529906124a4565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906118f3908490612447565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611953828888888888611b0c565b50505050505050565b6001600160a01b0384163b1561161f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906119a0908990899088908890889060040161251c565b6020604051808303816000875af19250505080156119db575060408051601f3d908101601f191682019092526119d89181019061257a565b60015b611a91576119e7612597565b806308c379a01415611a2157506119fc6125b3565b80611a075750611a23565b8060405162461bcd60e51b81526004016105299190611d58565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610529565b6001600160e01b0319811663bc197c8160e01b146119535760405162461bcd60e51b81526004016105299061263d565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611afb57611afb6123ad565b602090810291909101015292915050565b6001600160a01b0384163b1561161f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611b509089908990889088908890600401612685565b6020604051808303816000875af1925050508015611b8b575060408051601f3d908101601f19168201909252611b889181019061257a565b60015b611b97576119e7612597565b6001600160e01b0319811663f23a6e6160e01b146119535760405162461bcd60e51b81526004016105299061263d565b828054611bd390612372565b90600052602060002090601f016020900481019282611bf55760008555611c3b565b82601f10611c0e57805160ff1916838001178555611c3b565b82800160010185558215611c3b579182015b82811115611c3b578251825591602001919060010190611c20565b50611c47929150611c4b565b5090565b5b80821115611c475760008155600101611c4c565b6001600160a01b03811681146112ed57600080fd5b60008060408385031215611c8857600080fd5b823591506020830135611c9a81611c60565b809150509250929050565b60008060408385031215611cb857600080fd5b8235611cc381611c60565b946020939093013593505050565b6001600160e01b0319811681146112ed57600080fd5b600060208284031215611cf957600080fd5b8135611d0481611cd1565b9392505050565b6000815180845260005b81811015611d3157602081850181015186830182015201611d15565b81811115611d43576000602083870101525b50601f01601f19169290920160200192915050565b602081526000611d046020830184611d0b565b600060208284031215611d7d57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611dc057611dc0611d84565b6040525050565b600067ffffffffffffffff821115611de157611de1611d84565b5060051b60200190565b600082601f830112611dfc57600080fd5b81356020611e0982611dc7565b604051611e168282611d9a565b83815260059390931b8501820192828101915086841115611e3657600080fd5b8286015b84811015611e515780358352918301918301611e3a565b509695505050505050565b600067ffffffffffffffff831115611e7657611e76611d84565b604051611e8d601f8501601f191660200182611d9a565b809150838152848484011115611ea257600080fd5b83836020830137600060208583010152509392505050565b600082601f830112611ecb57600080fd5b611d0483833560208501611e5c565b600080600080600060a08688031215611ef257600080fd5b8535611efd81611c60565b94506020860135611f0d81611c60565b9350604086013567ffffffffffffffff80821115611f2a57600080fd5b611f3689838a01611deb565b94506060880135915080821115611f4c57600080fd5b611f5889838a01611deb565b93506080880135915080821115611f6e57600080fd5b50611f7b88828901611eba565b9150509295509295909350565b60008060408385031215611f9b57600080fd5b823567ffffffffffffffff80821115611fb357600080fd5b818501915085601f830112611fc757600080fd5b81356020611fd482611dc7565b604051611fe18282611d9a565b83815260059390931b850182019282810191508984111561200157600080fd5b948201945b8386101561202857853561201981611c60565b82529482019490820190612006565b9650508601359250508082111561203e57600080fd5b5061204b85828601611deb565b9150509250929050565b600081518084526020808501945080840160005b8381101561208557815187529582019590820190600101612069565b509495945050505050565b602081526000611d046020830184612055565b600080600080600060a086880312156120bb57600080fd5b85359450602086013593506040860135925060608601359150608086013567ffffffffffffffff8111156120ee57600080fd5b8601601f810188136120ff57600080fd5b611f7b88823560208401611e5c565b60008083601f84011261212057600080fd5b50813567ffffffffffffffff81111561213857600080fd5b6020830191508360208260051b850101111561215357600080fd5b9250929050565b6000806000806060858703121561217057600080fd5b843561217b81611c60565b935060208501359250604085013567ffffffffffffffff81111561219e57600080fd5b6121aa8782880161210e565b95989497509550505050565b600080604083850312156121c957600080fd5b50508035926020909101359150565b6000806000604084860312156121ed57600080fd5b833567ffffffffffffffff81111561220457600080fd5b6122108682870161210e565b909790965060209590950135949350505050565b8035801515811461223457600080fd5b919050565b60006020828403121561224b57600080fd5b611d0482612224565b6000806040838503121561226757600080fd5b823561227281611c60565b915061228060208401612224565b90509250929050565b6000806040838503121561229c57600080fd5b82356122a781611c60565b91506020830135611c9a81611c60565b600080600080600060a086880312156122cf57600080fd5b85356122da81611c60565b945060208601356122ea81611c60565b93506040860135925060608601359150608086013567ffffffffffffffff81111561231457600080fd5b611f7b88828901611eba565b60006020828403121561233257600080fd5b8135611d0481611c60565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061238657607f821691505b602082108114156123a757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156123ed576123ed6123c3565b5060010190565b60208082526033908201527f47656e6572616c3a2063616e6e6f74206f776e206d6f7265207468616e206f6e60408201527219481bd988184811d95b995c985b0810d85c99606a1b606082015260800190565b6000821982111561245a5761245a6123c3565b500190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006125016040830185612055565b82810360208401526125138185612055565b95945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261254860a0830186612055565b828103606084015261255a8186612055565b9050828103608084015261256e8185611d0b565b98975050505050505050565b60006020828403121561258c57600080fd5b8151611d0481611cd1565b600060033d11156125b05760046000803e5060005160e01c5b90565b600060443d10156125c15790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156125f157505050505090565b82850191508151818111156126095750505050505090565b843d87010160208285010111156126235750505050505090565b61263260208286010187611d9a565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a060808301526126bd60a0830184611d0b565b97965050505050505056fea2646970667358221220a33c282823ab180e4ef4d4a5493f101ddae76605fe89dda1780416c59f93b56464736f6c634300080b0033

Deployed Bytecode

0x60806040526004361061016e5760003560e01c80638a0b0360116100d6578063dd0d65401161007f578063f242432a11610059578063f242432a1461049f578063f2fde38b146104bf578063f7d97577146104df57600080fd5b8063dd0d6540146103f9578063e757223014610429578063e985e9c51461045657600080fd5b806395d89b41116100b057806395d89b411461038a5780639a57829a146103b9578063a22cb465146103d957600080fd5b80638a0b0360146103125780638da5cb5b1461033257806392ab723e1461035a57600080fd5b80632eb2c2d611610138578063641ce14011610112578063641ce140146102ca5780636686f3f6146102dd578063715018a6146102fd57600080fd5b80632eb2c2d61461025d5780634e1273f41461027d5780635451fea2146102aa57600080fd5b8062f714ce14610173578062fdd58e1461019557806301ffc9a7146101c857806306fdde03146101f85780630e89341c1461023d575b600080fd5b34801561017f57600080fd5b5061019361018e366004611c75565b6104ff565b005b3480156101a157600080fd5b506101b56101b0366004611ca5565b6105b3565b6040519081526020015b60405180910390f35b3480156101d457600080fd5b506101e86101e3366004611ce7565b610645565b60405190151581526020016101bf565b34801561020457600080fd5b506102306040518060400160405280600c81526020016b47656e6572616c436172647360a01b81525081565b6040516101bf9190611d58565b34801561024957600080fd5b50610230610258366004611d6b565b610697565b34801561026957600080fd5b50610193610278366004611eda565b61073c565b34801561028957600080fd5b5061029d610298366004611f88565b6107d3565b6040516101bf9190612090565b3480156102b657600080fd5b506101936102c53660046120a3565b6108fd565b6101936102d836600461215a565b610aac565b3480156102e957600080fd5b506101936102f83660046121b6565b610e99565b34801561030957600080fd5b50610193610ed8565b34801561031e57600080fd5b5061019361032d3660046121d8565b610f0e565b34801561033e57600080fd5b506003546040516001600160a01b0390911681526020016101bf565b34801561036657600080fd5b506101b5610375366004611d6b565b60009081526006602052604090206002015490565b34801561039657600080fd5b5061023060405180604001604052806003815260200162474d4360e81b81525081565b3480156103c557600080fd5b506101936103d4366004612239565b6110ba565b3480156103e557600080fd5b506101936103f4366004612254565b6110f7565b34801561040557600080fd5b506101b5610414366004611d6b565b60009081526006602052604090206001015490565b34801561043557600080fd5b506101b5610444366004611d6b565b60009081526006602052604090205490565b34801561046257600080fd5b506101e8610471366004612289565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156104ab57600080fd5b506101936104ba3660046122b7565b6111ce565b3480156104cb57600080fd5b506101936104da366004612320565b611255565b3480156104eb57600080fd5b506101936104fa3660046121b6565b6112f0565b6003546001600160a01b031633146105325760405162461bcd60e51b81526004016105299061233d565b60405180910390fd5b814710156105825760405162461bcd60e51b815260206004820152601b60248201527f47656e6572616c3a206e6f7420656e6f7567682062616c616e636500000000006044820152606401610529565b8161058b574791505b6001600160a01b03811661059c5750335b6105af6001600160a01b0382168361132c565b5050565b60006001600160a01b03831661061f5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610529565b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061067657506001600160e01b031982166303a24d0760e21b145b8061069157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008181526006602052604090206004018054606091906106b790612372565b80601f01602080910402602001604051908101604052809291908181526020018280546106e390612372565b80156107305780601f1061070557610100808354040283529160200191610730565b820191906000526020600020905b81548152906001019060200180831161071357829003601f168201915b50505050509050919050565b6001600160a01b03851633148061075857506107588533610471565b6107bf5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610529565b6107cc858585858561144a565b5050505050565b606081518351146108385760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610529565b6000835167ffffffffffffffff81111561085457610854611d84565b60405190808252806020026020018201604052801561087d578160200160208202803683370190505b50905060005b84518110156108f5576108c88582815181106108a1576108a16123ad565b60200260200101518583815181106108bb576108bb6123ad565b60200260200101516105b3565b8282815181106108da576108da6123ad565b60209081029190910101526108ee816123d9565b9050610883565b509392505050565b6003546001600160a01b031633146109275760405162461bcd60e51b81526004016105299061233d565b600085815260066020526040902060020154156109865760405162461bcd60e51b815260206004820152601d60248201527f47656e6572616c3a207479706520616c726561647920646566696e65640000006044820152606401610529565b600083116109eb5760405162461bcd60e51b815260206004820152602c60248201527f47656e6572616c3a206d7573742073657420616e2061626f7665207a65726f2060448201526b746f74616c20737570706c7960a01b6064820152608401610529565b6000815111610a3c5760405162461bcd60e51b815260206004820152601760248201527f47656e6572616c3a206d757374207365742061205552490000000000000000006044820152606401610529565b6040805160a0810182528581526000602080830182815283850188815260608501888152608086018881528c865260068552969094208551815591516001830155516002820155915160038301559251805192939192610aa29260048501920190611bc7565b5050505050505050565b60026004541415610aff5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610529565b600260045560055460ff16610b565760405162461bcd60e51b815260206004820152601c60248201527f47656e6572616c3a206d696e74696e672069732064697361626c6564000000006044820152606401610529565b600083815260066020526040902060028101546001909101541080610b8a5750600083815260066020526040902060030154155b610bd65760405162461bcd60e51b815260206004820152601d60248201527f47656e6572616c3a20746f74616c20737570706c7920757365642075700000006044820152606401610529565b610be084846105b3565b158015610c1157506001600160a01b038416600090815260076020908152604080832086845290915290205460ff16155b610c2d5760405162461bcd60e51b8152600401610529906123f4565b6000610cbb838380806020026020016040519081016040528093929190818152602001838360200280828437600092018290525089815260066020908152604091829020600301549151919450610ca093503392500160609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405280519060200120611627565b600085815260066020526040812060030154919250901580610cda5750815b60008681526006602052604090205490915015610d705760008581526006602052604090205434101580610d0b5750815b610d685760405162461bcd60e51b815260206004820152602860248201527f47656e6572616c3a20696e636f7272656374207072696365206f72206e6f7420604482015267185c1c1c9bdd995960c21b6064820152608401610529565b506001610dd3565b3415610dd35760405162461bcd60e51b815260206004820152602c60248201527f47656e6572616c3a2073656e742076616c756520666f72206e6f6e2d7061796160448201526b189b19481d1bdad95b88125160a21b6064820152608401610529565b80610e205760405162461bcd60e51b815260206004820152601d60248201527f47656e6572616c3a206e6f7420617070726f76656420746f206d696e740000006044820152606401610529565b6000858152600660205260408120600101805491610e3d836123d9565b90915550506001600160a01b03861660009081526007602090815260408083208884528252808320805460ff191660019081179091558151928301909152918152610e8c9188918891906116d6565b5050600160045550505050565b6003546001600160a01b03163314610ec35760405162461bcd60e51b81526004016105299061233d565b60009182526006602052604090912060030155565b6003546001600160a01b03163314610f025760405162461bcd60e51b81526004016105299061233d565b610f0c60006117e0565b565b6003546001600160a01b03163314610f385760405162461bcd60e51b81526004016105299061233d565b60008181526006602052604090206002810154600190910154610f5c908490612447565b10610fa95760405162461bcd60e51b815260206004820152601d60248201527f47656e6572616c3a20746f74616c20737570706c7920757365642075700000006044820152606401610529565b60005b828110156110b4576000848483818110610fc857610fc86123ad565b9050602002016020810190610fdd9190612320565b6001600160a01b038116600090815260076020908152604080832087845290915290205490915060ff1615801561101b575061101981846105b3565b155b6110375760405162461bcd60e51b8152600401610529906123f4565b6000838152600660205260408120600101805491611054836123d9565b90915550506001600160a01b03811660009081526007602090815260408083208684528252808320805460ff1916600190811790915581519283019091529181526110a39183918691906116d6565b506110ad816123d9565b9050610fac565b50505050565b6003546001600160a01b031633146110e45760405162461bcd60e51b81526004016105299061233d565b6005805460ff1916911515919091179055565b336001600160a01b03831614156111625760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610529565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b0385163314806111ea57506111ea8533610471565b6112485760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610529565b6107cc858585858561183f565b6003546001600160a01b0316331461127f5760405162461bcd60e51b81526004016105299061233d565b6001600160a01b0381166112e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610529565b6112ed816117e0565b50565b6003546001600160a01b0316331461131a5760405162461bcd60e51b81526004016105299061233d565b60009182526006602052604090912055565b8047101561137c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610529565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146113c9576040519150601f19603f3d011682016040523d82523d6000602084013e6113ce565b606091505b50509050806114455760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610529565b505050565b81518351146114ac5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610529565b6001600160a01b0384166114d25760405162461bcd60e51b81526004016105299061245f565b3360005b84518110156115b95760008582815181106114f3576114f36123ad565b602002602001015190506000858381518110611511576115116123ad565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156115615760405162461bcd60e51b8152600401610529906124a4565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061159e908490612447565b92505081905550505050806115b2906123d9565b90506114d6565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116099291906124ee565b60405180910390a461161f81878787878761195c565b505050505050565b600081815b85518110156116cb576000868281518110611649576116496123ad565b6020026020010151905080831161168b5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506116b8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806116c3816123d9565b91505061162c565b509092149392505050565b6001600160a01b0384166117365760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610529565b336117508160008761174788611ac1565b6107cc88611ac1565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611780908490612447565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46107cc81600087878787611b0c565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166118655760405162461bcd60e51b81526004016105299061245f565b3361187581878761174788611ac1565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156118b65760405162461bcd60e51b8152600401610529906124a4565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906118f3908490612447565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611953828888888888611b0c565b50505050505050565b6001600160a01b0384163b1561161f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906119a0908990899088908890889060040161251c565b6020604051808303816000875af19250505080156119db575060408051601f3d908101601f191682019092526119d89181019061257a565b60015b611a91576119e7612597565b806308c379a01415611a2157506119fc6125b3565b80611a075750611a23565b8060405162461bcd60e51b81526004016105299190611d58565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610529565b6001600160e01b0319811663bc197c8160e01b146119535760405162461bcd60e51b81526004016105299061263d565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611afb57611afb6123ad565b602090810291909101015292915050565b6001600160a01b0384163b1561161f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611b509089908990889088908890600401612685565b6020604051808303816000875af1925050508015611b8b575060408051601f3d908101601f19168201909252611b889181019061257a565b60015b611b97576119e7612597565b6001600160e01b0319811663f23a6e6160e01b146119535760405162461bcd60e51b81526004016105299061263d565b828054611bd390612372565b90600052602060002090601f016020900481019282611bf55760008555611c3b565b82601f10611c0e57805160ff1916838001178555611c3b565b82800160010185558215611c3b579182015b82811115611c3b578251825591602001919060010190611c20565b50611c47929150611c4b565b5090565b5b80821115611c475760008155600101611c4c565b6001600160a01b03811681146112ed57600080fd5b60008060408385031215611c8857600080fd5b823591506020830135611c9a81611c60565b809150509250929050565b60008060408385031215611cb857600080fd5b8235611cc381611c60565b946020939093013593505050565b6001600160e01b0319811681146112ed57600080fd5b600060208284031215611cf957600080fd5b8135611d0481611cd1565b9392505050565b6000815180845260005b81811015611d3157602081850181015186830182015201611d15565b81811115611d43576000602083870101525b50601f01601f19169290920160200192915050565b602081526000611d046020830184611d0b565b600060208284031215611d7d57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611dc057611dc0611d84565b6040525050565b600067ffffffffffffffff821115611de157611de1611d84565b5060051b60200190565b600082601f830112611dfc57600080fd5b81356020611e0982611dc7565b604051611e168282611d9a565b83815260059390931b8501820192828101915086841115611e3657600080fd5b8286015b84811015611e515780358352918301918301611e3a565b509695505050505050565b600067ffffffffffffffff831115611e7657611e76611d84565b604051611e8d601f8501601f191660200182611d9a565b809150838152848484011115611ea257600080fd5b83836020830137600060208583010152509392505050565b600082601f830112611ecb57600080fd5b611d0483833560208501611e5c565b600080600080600060a08688031215611ef257600080fd5b8535611efd81611c60565b94506020860135611f0d81611c60565b9350604086013567ffffffffffffffff80821115611f2a57600080fd5b611f3689838a01611deb565b94506060880135915080821115611f4c57600080fd5b611f5889838a01611deb565b93506080880135915080821115611f6e57600080fd5b50611f7b88828901611eba565b9150509295509295909350565b60008060408385031215611f9b57600080fd5b823567ffffffffffffffff80821115611fb357600080fd5b818501915085601f830112611fc757600080fd5b81356020611fd482611dc7565b604051611fe18282611d9a565b83815260059390931b850182019282810191508984111561200157600080fd5b948201945b8386101561202857853561201981611c60565b82529482019490820190612006565b9650508601359250508082111561203e57600080fd5b5061204b85828601611deb565b9150509250929050565b600081518084526020808501945080840160005b8381101561208557815187529582019590820190600101612069565b509495945050505050565b602081526000611d046020830184612055565b600080600080600060a086880312156120bb57600080fd5b85359450602086013593506040860135925060608601359150608086013567ffffffffffffffff8111156120ee57600080fd5b8601601f810188136120ff57600080fd5b611f7b88823560208401611e5c565b60008083601f84011261212057600080fd5b50813567ffffffffffffffff81111561213857600080fd5b6020830191508360208260051b850101111561215357600080fd5b9250929050565b6000806000806060858703121561217057600080fd5b843561217b81611c60565b935060208501359250604085013567ffffffffffffffff81111561219e57600080fd5b6121aa8782880161210e565b95989497509550505050565b600080604083850312156121c957600080fd5b50508035926020909101359150565b6000806000604084860312156121ed57600080fd5b833567ffffffffffffffff81111561220457600080fd5b6122108682870161210e565b909790965060209590950135949350505050565b8035801515811461223457600080fd5b919050565b60006020828403121561224b57600080fd5b611d0482612224565b6000806040838503121561226757600080fd5b823561227281611c60565b915061228060208401612224565b90509250929050565b6000806040838503121561229c57600080fd5b82356122a781611c60565b91506020830135611c9a81611c60565b600080600080600060a086880312156122cf57600080fd5b85356122da81611c60565b945060208601356122ea81611c60565b93506040860135925060608601359150608086013567ffffffffffffffff81111561231457600080fd5b611f7b88828901611eba565b60006020828403121561233257600080fd5b8135611d0481611c60565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061238657607f821691505b602082108114156123a757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156123ed576123ed6123c3565b5060010190565b60208082526033908201527f47656e6572616c3a2063616e6e6f74206f776e206d6f7265207468616e206f6e60408201527219481bd988184811d95b995c985b0810d85c99606a1b606082015260800190565b6000821982111561245a5761245a6123c3565b500190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006125016040830185612055565b82810360208401526125138185612055565b95945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261254860a0830186612055565b828103606084015261255a8186612055565b9050828103608084015261256e8185611d0b565b98975050505050505050565b60006020828403121561258c57600080fd5b8151611d0481611cd1565b600060033d11156125b05760046000803e5060005160e01c5b90565b600060443d10156125c15790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156125f157505050505090565b82850191508151818111156126095750505050505090565b843d87010160208285010111156126235750505050505090565b61263260208286010187611d9a565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a060808301526126bd60a0830184611d0b565b97965050505050505056fea2646970667358221220a33c282823ab180e4ef4d4a5493f101ddae76605fe89dda1780416c59f93b56464736f6c634300080b0033

Deployed Bytecode Sourcemap

55243:4715:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59594:361;;;;;;;;;;-1:-1:-1;59594:361:0;;;;;:::i;:::-;;:::i;:::-;;38897:317;;;;;;;;;;-1:-1:-1;38897:317:0;;;;;:::i;:::-;;:::i;:::-;;;991:25:1;;;979:2;964:18;38897:317:0;;;;;;;;37870:360;;;;;;;;;;-1:-1:-1;37870:360:0;;;;;:::i;:::-;;:::i;:::-;;;1578:14:1;;1571:22;1553:41;;1541:2;1526:18;37870:360:0;1413:187:1;55675:44:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;55675:44:0;;;;;;;;;;;;:::i;56497:173::-;;;;;;;;;;-1:-1:-1;56497:173:0;;;;;:::i;:::-;;:::i;41232:442::-;;;;;;;;;;-1:-1:-1;41232:442:0;;;;;:::i;:::-;;:::i;39380:561::-;;;;;;;;;;-1:-1:-1;39380:561:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;55808:681::-;;;;;;;;;;-1:-1:-1;55808:681:0;;;;;:::i;:::-;;:::i;58121:1465::-;;;;;;:::i;:::-;;:::i;57260:167::-;;;;;;;;;;-1:-1:-1;57260:167:0;;;;;:::i;:::-;;:::i;2402:94::-;;;;;;;;;;;;;:::i;57435:678::-;;;;;;;;;;-1:-1:-1;57435:678:0;;;;;:::i;:::-;;:::i;1751:87::-;;;;;;;;;;-1:-1:-1;1824:6:0;;1751:87;;-1:-1:-1;;;;;1824:6:0;;;10244:74:1;;10232:2;10217:18;1751:87:0;10098:226:1;57018:119:0;;;;;;;;;;-1:-1:-1;57018:119:0;;;;;:::i;:::-;57075:7;57102:15;;;:11;:15;;;;;:27;;;;57018:119;55726:37;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;55726:37:0;;;;;56678:89;;;;;;;;;;-1:-1:-1;56678:89:0;;;;;:::i;:::-;;:::i;40014:379::-;;;;;;;;;;-1:-1:-1;40014:379:0;;;;;:::i;:::-;;:::i;56893:117::-;;;;;;;;;;-1:-1:-1;56893:117:0;;;;;:::i;:::-;56949:7;56976:15;;;:11;:15;;;;;:26;;;;56893:117;57145:107;;;;;;;;;;-1:-1:-1;57145:107:0;;;;;:::i;:::-;57196:7;57223:15;;;:11;:15;;;;;:21;;57145:107;40465:217;;;;;;;;;;-1:-1:-1;40465:217:0;;;;;:::i;:::-;-1:-1:-1;;;;;40638:26:0;;;40609:4;40638:26;;;:17;:26;;;;;;;;:36;;;;;;;;;;;;;;;40465:217;40754:401;;;;;;;;;;-1:-1:-1;40754:401:0;;;;;:::i;:::-;;:::i;2651:229::-;;;;;;;;;;-1:-1:-1;2651:229:0;;;;;:::i;:::-;;:::i;56775:110::-;;;;;;;;;;-1:-1:-1;56775:110:0;;;;;:::i;:::-;;:::i;59594:361::-;1824:6;;-1:-1:-1;;;;;1824:6:0;682:10;1971:23;1963:68;;;;-1:-1:-1;;;1963:68:0;;;;;;;:::i;:::-;;;;;;;;;59711:6:::1;59686:21;:31;;59678:71;;;::::0;-1:-1:-1;;;59678:71:0;;13247:2:1;59678:71:0::1;::::0;::::1;13229:21:1::0;13286:2;13266:18;;;13259:30;13325:29;13305:18;;;13298:57;13372:18;;59678:71:0::1;13045:351:1::0;59678:71:0::1;59764:11:::0;59760:74:::1;;59801:21;59792:30;;59760:74;-1:-1:-1::0;;;;;59848:16:0;::::1;59844:73;;-1:-1:-1::0;59894:10:0::1;59844:73;59927:20;-1:-1:-1::0;;;;;59927:12:0;::::1;59940:6:::0;59927:12:::1;:20::i;:::-;59594:361:::0;;:::o;38897:317::-;39028:7;-1:-1:-1;;;;;39075:21:0;;39053:114;;;;-1:-1:-1;;;39053:114:0;;13603:2:1;39053:114:0;;;13585:21:1;13642:2;13622:18;;;13615:30;13681:34;13661:18;;;13654:62;-1:-1:-1;;;13732:18:1;;;13725:41;13783:19;;39053:114:0;13401:407:1;39053:114:0;-1:-1:-1;39185:8:0;:12;;;;;;;;;;;-1:-1:-1;;;;;39185:21:0;;;;;;;;;;;;38897:317::o;37870:360::-;38017:4;-1:-1:-1;;;;;;38059:41:0;;-1:-1:-1;;;38059:41:0;;:110;;-1:-1:-1;;;;;;;38117:52:0;;-1:-1:-1;;;38117:52:0;38059:110;:163;;;-1:-1:-1;;;;;;;;;;17767:40:0;;;38186:36;38039:183;37870:360;-1:-1:-1;;37870:360:0:o;56497:173::-;56643:15;;;;:11;:15;;;;;:19;;56636:26;;56605:13;;56643:19;56636:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56497:173;;;:::o;41232:442::-;-1:-1:-1;;;;;41465:20:0;;682:10;41465:20;;:60;;-1:-1:-1;41489:36:0;41506:4;682:10;40465:217;:::i;41489:36::-;41443:160;;;;-1:-1:-1;;;41443:160:0;;14400:2:1;41443:160:0;;;14382:21:1;14439:2;14419:18;;;14412:30;14478:34;14458:18;;;14451:62;-1:-1:-1;;;14529:18:1;;;14522:48;14587:19;;41443:160:0;14198:414:1;41443:160:0;41614:52;41637:4;41643:2;41647:3;41652:7;41661:4;41614:22;:52::i;:::-;41232:442;;;;;:::o;39380:561::-;39536:16;39611:3;:10;39592:8;:15;:29;39570:120;;;;-1:-1:-1;;;39570:120:0;;14819:2:1;39570:120:0;;;14801:21:1;14858:2;14838:18;;;14831:30;14897:34;14877:18;;;14870:62;-1:-1:-1;;;14948:18:1;;;14941:39;14997:19;;39570:120:0;14617:405:1;39570:120:0;39703:30;39750:8;:15;39736:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39736:30:0;;39703:63;;39784:9;39779:122;39803:8;:15;39799:1;:19;39779:122;;;39859:30;39869:8;39878:1;39869:11;;;;;;;;:::i;:::-;;;;;;;39882:3;39886:1;39882:6;;;;;;;;:::i;:::-;;;;;;;39859:9;:30::i;:::-;39840:13;39854:1;39840:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;39820:3;;;:::i;:::-;;;39779:122;;;-1:-1:-1;39920:13:0;39380:561;-1:-1:-1;;;39380:561:0:o;55808:681::-;1824:6;;-1:-1:-1;;;;;1824:6:0;682:10;1971:23;1963:68;;;;-1:-1:-1;;;1963:68:0;;;;;;;:::i;:::-;56031:16:::1;::::0;;;:11:::1;:16;::::0;;;;:28:::1;;::::0;:33;56009:112:::1;;;::::0;-1:-1:-1;;;56009:112:0;;15633:2:1;56009:112:0::1;::::0;::::1;15615:21:1::0;15672:2;15652:18;;;15645:30;15711:31;15691:18;;;15684:59;15760:18;;56009:112:0::1;15431:353:1::0;56009:112:0::1;56169:1;56154:12;:16;56132:110;;;::::0;-1:-1:-1;;;56132:110:0;;15991:2:1;56132:110:0::1;::::0;::::1;15973:21:1::0;16030:2;16010:18;;;16003:30;16069:34;16049:18;;;16042:62;-1:-1:-1;;;16120:18:1;;;16113:42;16172:19;;56132:110:0::1;15789:408:1::0;56132:110:0::1;56282:1;56267:4;56261:18;:22;56253:58;;;::::0;-1:-1:-1;;;56253:58:0;;16404:2:1;56253:58:0::1;::::0;::::1;16386:21:1::0;16443:2;16423:18;;;16416:30;16482:25;16462:18;;;16455:53;16525:18;;56253:58:0::1;16202:347:1::0;56253:58:0::1;56343:138;::::0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;56343:138:0::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;56324:16;;;:11:::1;:16:::0;;;;;;:157;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;56343:138;;56324:16;;:157:::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;;;;55808:681:0:o;58121:1465::-;15215:1;15811:7;;:19;;15803:63;;;;-1:-1:-1;;;15803:63:0;;16756:2:1;15803:63:0;;;16738:21:1;16795:2;16775:18;;;16768:30;16834:33;16814:18;;;16807:61;16885:18;;15803:63:0;16554:355:1;15803:63:0;15215:1;15944:7;:18;58274:7:::1;::::0;::::1;;58266:48;;;::::0;-1:-1:-1;;;58266:48:0;;17116:2:1;58266:48:0::1;::::0;::::1;17098:21:1::0;17155:2;17135:18;;;17128:30;17194;17174:18;;;17167:58;17242:18;;58266:48:0::1;16914:352:1::0;58266:48:0::1;58376:15;::::0;;;:11:::1;:15;::::0;;;;:27:::1;::::0;::::1;::::0;58347:26:::1;::::0;;::::1;::::0;:56:::1;::::0;:126:::1;;-1:-1:-1::0;58471:1:0::1;58424:15:::0;;;:11:::1;:15;::::0;;;;:35:::1;;::::0;:49;58347:126:::1;58325:205;;;::::0;-1:-1:-1;;;58325:205:0;;17473:2:1;58325:205:0::1;::::0;::::1;17455:21:1::0;17512:2;17492:18;;;17485:30;17551:31;17531:18;;;17524:59;17600:18;;58325:205:0::1;17271:353:1::0;58325:205:0::1;58563:17;58573:2;58577;58563:9;:17::i;:::-;:22:::0;:45;::::1;;;-1:-1:-1::0;;;;;;58590:14:0;::::1;;::::0;;;:10:::1;:14;::::0;;;;;;;:18;;;;;;;;;::::1;;58589:19;58563:45;58541:146;;;;-1:-1:-1::0;;;58541:146:0::1;;;;;;;:::i;:::-;58700:16;58719:159;58752:11;;58719:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;-1:-1:-1;58778:15:0;;;:11:::1;:15;::::0;;;;;;;;:35:::1;;::::0;58838:28;;58778:35;;-1:-1:-1;58838:28:0::1;::::0;-1:-1:-1;58855:10:0::1;::::0;-1:-1:-1;58838:28:0::1;18198:2:1::0;18194:15;;;;-1:-1:-1;;18190:53:1;18178:66;;18269:2;18260:12;;18049:229;58838:28:0::1;;;;;;;;;;;;;58828:39;;;;;;58719:18;:159::i;:::-;58891:17;58911:15:::0;;;:11:::1;:15;::::0;;;;:35:::1;;::::0;58700:178;;-1:-1:-1;58891:17:0;58911:49;;:77:::1;;;58977:11;58911:77;59029:1;59005:15:::0;;;:11:::1;:15;::::0;;;;:21;58891:97;;-1:-1:-1;59005:25:0;59001:396:::1;;59086:15;::::0;;;:11:::1;:15;::::0;;;;:21;59073:9:::1;:34;;::::0;:49:::1;;;59111:11;59073:49;59047:151;;;::::0;-1:-1:-1;;;59047:151:0;;18485:2:1;59047:151:0::1;::::0;::::1;18467:21:1::0;18524:2;18504:18;;;18497:30;18563:34;18543:18;;;18536:62;-1:-1:-1;;;18614:18:1;;;18607:38;18662:19;;59047:151:0::1;18283:404:1::0;59047:151:0::1;-1:-1:-1::0;59228:4:0::1;59001:396;;;59291:9;:14:::0;59265:120:::1;;;::::0;-1:-1:-1;;;59265:120:0;;18894:2:1;59265:120:0::1;::::0;::::1;18876:21:1::0;18933:2;18913:18;;;18906:30;18972:34;18952:18;;;18945:62;-1:-1:-1;;;19023:18:1;;;19016:42;19075:19;;59265:120:0::1;18692:408:1::0;59265:120:0::1;59417:12;59409:54;;;::::0;-1:-1:-1;;;59409:54:0;;19307:2:1;59409:54:0::1;::::0;::::1;19289:21:1::0;19346:2;19326:18;;;19319:30;19385:31;19365:18;;;19358:59;19434:18;;59409:54:0::1;19105:353:1::0;59409:54:0::1;59476:15;::::0;;;:11:::1;:15;::::0;;;;:26:::1;;:28:::0;;;::::1;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;59515:14:0;::::1;;::::0;;;:10:::1;:14;::::0;;;;;;;:18;;;;;;;;:25;;-1:-1:-1;;59515:25:0::1;59536:4;59515:25:::0;;::::1;::::0;;;59568:9;;;;::::1;::::0;;;;;;59551:27:::1;::::0;59526:2;;59530;;59536:4;59551:5:::1;:27::i;:::-;-1:-1:-1::0;;15171:1:0;16123:7;:22;-1:-1:-1;;;;58121:1465:0:o;57260:167::-;1824:6;;-1:-1:-1;;;;;1824:6:0;682:10;1971:23;1963:68;;;;-1:-1:-1;;;1963:68:0;;;;;;;:::i;:::-;57371:15:::1;::::0;;;:11:::1;:15;::::0;;;;;:35:::1;;:48:::0;57260:167::o;2402:94::-;1824:6;;-1:-1:-1;;;;;1824:6:0;682:10;1971:23;1963:68;;;;-1:-1:-1;;;1963:68:0;;;;;;;:::i;:::-;2467:21:::1;2485:1;2467:9;:21::i;:::-;2402:94::o:0;57435:678::-;1824:6;;-1:-1:-1;;;;;1824:6:0;682:10;1971:23;1963:68;;;;-1:-1:-1;;;1963:68:0;;;;;;;:::i;:::-;57627:16:::1;::::0;;;:11:::1;:16;::::0;;;;:28:::1;::::0;::::1;::::0;57567:27:::1;::::0;;::::1;::::0;:40:::1;::::0;57597:3;;57567:40:::1;:::i;:::-;:88;57545:167;;;::::0;-1:-1:-1;;;57545:167:0;;17473:2:1;57545:167:0::1;::::0;::::1;17455:21:1::0;17512:2;17492:18;;;17485:30;17551:31;17531:18;;;17524:59;17600:18;;57545:167:0::1;17271:353:1::0;57545:167:0::1;57728:9;57723:383;57743:14:::0;;::::1;57723:383;;;57779:10;57792:3;;57796:1;57792:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;57840:14:0;::::1;;::::0;;;:10:::1;:14;::::0;;;;;;;:19;;;;;;;;;57779;;-1:-1:-1;57840:19:0::1;;57839:20;:47:::0;::::1;;;;57863:18;57873:2;57877:3;57863:9;:18::i;:::-;:23:::0;57839:47:::1;57813:160;;;;-1:-1:-1::0;;;57813:160:0::1;;;;;;;:::i;:::-;57988:16;::::0;;;:11:::1;:16;::::0;;;;:27:::1;;:29:::0;;;::::1;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;58032:14:0;::::1;;::::0;;;:10:::1;:14;::::0;;;;;;;:19;;;;;;;;:26;;-1:-1:-1;;58032:26:0::1;58054:4;58032:26:::0;;::::1;::::0;;;58073:21;;;;::::1;::::0;;;;;;::::1;::::0;58043:2;;58047:3;;58054:4;58073:5:::1;:21::i;:::-;-1:-1:-1::0;57759:3:0::1;::::0;::::1;:::i;:::-;;;57723:383;;;;57435:678:::0;;;:::o;56678:89::-;1824:6;;-1:-1:-1;;;;;1824:6:0;682:10;1971:23;1963:68;;;;-1:-1:-1;;;1963:68:0;;;;;;;:::i;:::-;56741:7:::1;:18:::0;;-1:-1:-1;;56741:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;56678:89::o;40014:379::-;682:10;-1:-1:-1;;;;;40163:24:0;;;;40141:115;;;;-1:-1:-1;;;40141:115:0;;19798:2:1;40141:115:0;;;19780:21:1;19837:2;19817:18;;;19810:30;19876:34;19856:18;;;19849:62;-1:-1:-1;;;19927:18:1;;;19920:39;19976:19;;40141:115:0;19596:405:1;40141:115:0;682:10;40269:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;40269:41:0;;;;;;;;;;;;:52;;-1:-1:-1;;40269:52:0;;;;;;;;;;40337:48;;1553:41:1;;;40269::0;;682:10;40337:48;;1526:18:1;40337:48:0;;;;;;;40014:379;;:::o;40754:401::-;-1:-1:-1;;;;;40962:20:0;;682:10;40962:20;;:60;;-1:-1:-1;40986:36:0;41003:4;682:10;40465:217;:::i;40986:36::-;40940:151;;;;-1:-1:-1;;;40940:151:0;;20208:2:1;40940:151:0;;;20190:21:1;20247:2;20227:18;;;20220:30;20286:34;20266:18;;;20259:62;-1:-1:-1;;;20337:18:1;;;20330:39;20386:19;;40940:151:0;20006:405:1;40940:151:0;41102:45;41120:4;41126:2;41130;41134:6;41142:4;41102:17;:45::i;2651:229::-;1824:6;;-1:-1:-1;;;;;1824:6:0;682:10;1971:23;1963:68;;;;-1:-1:-1;;;1963:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2754:22:0;::::1;2732:110;;;::::0;-1:-1:-1;;;2732:110:0;;20618:2:1;2732:110:0::1;::::0;::::1;20600:21:1::0;20657:2;20637:18;;;20630:30;20696:34;20676:18;;;20669:62;-1:-1:-1;;;20747:18:1;;;20740:36;20793:19;;2732:110:0::1;20416:402:1::0;2732:110:0::1;2853:19;2863:8;2853:9;:19::i;:::-;2651:229:::0;:::o;56775:110::-;1824:6;;-1:-1:-1;;;;;1824:6:0;682:10;1971:23;1963:68;;;;-1:-1:-1;;;1963:68:0;;;;;;;:::i;:::-;56848:15:::1;::::0;;;:11:::1;:15;::::0;;;;;:29;56775:110::o;7088:391::-;7217:6;7192:21;:31;;7170:110;;;;-1:-1:-1;;;7170:110:0;;21025:2:1;7170:110:0;;;21007:21:1;21064:2;21044:18;;;21037:30;21103:31;21083:18;;;21076:59;21152:18;;7170:110:0;20823:353:1;7170:110:0;7294:12;7312:9;-1:-1:-1;;;;;7312:14:0;7334:6;7312:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7293:52;;;7378:7;7356:115;;;;-1:-1:-1;;;7356:115:0;;21593:2:1;7356:115:0;;;21575:21:1;21632:2;21612:18;;;21605:30;21671:34;21651:18;;;21644:62;21742:28;21722:18;;;21715:56;21788:19;;7356:115:0;21391:422:1;7356:115:0;7159:320;7088:391;;:::o;43441:1248::-;43682:7;:14;43668:3;:10;:28;43646:118;;;;-1:-1:-1;;;43646:118:0;;22020:2:1;43646:118:0;;;22002:21:1;22059:2;22039:18;;;22032:30;22098:34;22078:18;;;22071:62;-1:-1:-1;;;22149:18:1;;;22142:38;22197:19;;43646:118:0;21818:404:1;43646:118:0;-1:-1:-1;;;;;43783:16:0;;43775:66;;;;-1:-1:-1;;;43775:66:0;;;;;;;:::i;:::-;682:10;43854:16;43971:469;43995:3;:10;43991:1;:14;43971:469;;;44027:10;44040:3;44044:1;44040:6;;;;;;;;:::i;:::-;;;;;;;44027:19;;44061:14;44078:7;44086:1;44078:10;;;;;;;;:::i;:::-;;;;;;;;;;;;44105:19;44127:12;;;;;;;;;;-1:-1:-1;;;;;44127:18:0;;;;;;;;;;;;44078:10;;-1:-1:-1;44186:21:0;;;;44160:125;;;;-1:-1:-1;;;44160:125:0;;;;;;;:::i;:::-;44329:8;:12;;;;;;;;;;;-1:-1:-1;;;;;44329:18:0;;;;;;;;;;44350:20;;;44329:41;;44402:16;;;;;;;:26;;44350:20;;44329:8;44402:26;;44350:20;;44402:26;:::i;:::-;;;;;;;;44012:428;;;44007:3;;;;:::i;:::-;;;43971:469;;;;44487:2;-1:-1:-1;;;;;44457:47:0;44481:4;-1:-1:-1;;;;;44457:47:0;44471:8;-1:-1:-1;;;;;44457:47:0;;44491:3;44496:7;44457:47;;;;;;;:::i;:::-;;;;;;;;44517:164;44567:8;44590:4;44609:2;44626:3;44644:7;44666:4;44517:35;:164::i;:::-;43635:1054;43441:1248;;;;;:::o;54326:910::-;54451:4;54491;54451;54508:605;54532:5;:12;54528:1;:16;54508:605;;;54566:20;54589:5;54595:1;54589:8;;;;;;;;:::i;:::-;;;;;;;54566:31;;54634:12;54618;:28;54614:488;;54793:44;;;;;;23671:19:1;;;23706:12;;;23699:28;;;23743:12;;54793:44:0;;;;;;;;;;;;54761:95;;;;;;54746:110;;54614:488;;;55023:44;;;;;;23671:19:1;;;23706:12;;;23699:28;;;23743:12;;55023:44:0;;;;;;;;;;;;54991:95;;;;;;54976:110;;54614:488;-1:-1:-1;54546:3:0;;;;:::i;:::-;;;;54508:605;;;-1:-1:-1;55208:20:0;;;;54326:910;-1:-1:-1;;;54326:910:0:o;46022:776::-;-1:-1:-1;;;;;46180:21:0;;46172:67;;;;-1:-1:-1;;;46172:67:0;;23968:2:1;46172:67:0;;;23950:21:1;24007:2;23987:18;;;23980:30;24046:34;24026:18;;;24019:62;-1:-1:-1;;;24097:18:1;;;24090:31;24138:19;;46172:67:0;23766:397:1;46172:67:0;682:10;46296:196;682:10;46252:16;46379:7;46401:21;46419:2;46401:17;:21::i;:::-;46437:25;46455:6;46437:17;:25::i;46296:196::-;46505:8;:12;;;;;;;;;;;-1:-1:-1;;;;;46505:21:0;;;;;;;;;:31;;46530:6;;46505:8;:31;;46530:6;;46505:31;:::i;:::-;;;;-1:-1:-1;;46552:57:0;;;24342:25:1;;;24398:2;24383:18;;24376:34;;;-1:-1:-1;;;;;46552:57:0;;;;46585:1;;46552:57;;;;;;24315:18:1;46552:57:0;;;;;;;46622:168;46667:8;46698:1;46715:7;46737:2;46754:6;46775:4;46622:30;:168::i;2888:173::-;2963:6;;;-1:-1:-1;;;;;2980:17:0;;;-1:-1:-1;;2980:17:0;;;;;;;3013:40;;2963:6;;;2980:17;2963:6;;3013:40;;2944:16;;3013:40;2933:128;2888:173;:::o;42138:945::-;-1:-1:-1;;;;;42326:16:0;;42318:66;;;;-1:-1:-1;;;42318:66:0;;;;;;;:::i;:::-;682:10;42441:185;682:10;42499:4;42518:2;42535:21;42553:2;42535:17;:21::i;42441:185::-;42639:19;42661:12;;;;;;;;;;;-1:-1:-1;;;;;42661:18:0;;;;;;;;;;42712:21;;;;42690:113;;;;-1:-1:-1;;;42690:113:0;;;;;;;:::i;:::-;42839:8;:12;;;;;;;;;;;-1:-1:-1;;;;;42839:18:0;;;;;;;;;;42860:20;;;42839:41;;42904:16;;;;;;;:26;;42860:20;;42839:8;42904:26;;42860:20;;42904:26;:::i;:::-;;;;-1:-1:-1;;42948:46:0;;;24342:25:1;;;24398:2;24383:18;;24376:34;;;-1:-1:-1;;;;;42948:46:0;;;;;;;;;;;;;;24315:18:1;42948:46:0;;;;;;;43007:68;43038:8;43048:4;43054:2;43058;43062:6;43070:4;43007:30;:68::i;:::-;42307:776;;42138:945;;;;;:::o;52369:976::-;-1:-1:-1;;;;;52610:13:0;;6089:20;6137:8;52606:732;;52663:203;;-1:-1:-1;;;52663:203:0;;-1:-1:-1;;;;;52663:43:0;;;;;:203;;52729:8;;52760:4;;52787:3;;52813:7;;52843:4;;52663:203;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52663:203:0;;;;;;;;-1:-1:-1;;52663:203:0;;;;;;;;;;;;:::i;:::-;;;52642:685;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;53200:6;53193:14;;-1:-1:-1;;;53193:14:0;;;;;;;;:::i;52642:685::-;;;53249:62;;-1:-1:-1;;;53249:62:0;;26592:2:1;53249:62:0;;;26574:21:1;26631:2;26611:18;;;26604:30;26670:34;26650:18;;;26643:62;26741:22;26721:18;;;26714:50;26781:19;;53249:62:0;26390:416:1;52642:685:0;-1:-1:-1;;;;;;52951:60:0;;-1:-1:-1;;;52951:60:0;52925:199;;53054:50;;-1:-1:-1;;;53054:50:0;;;;;;;:::i;53353:231::-;53506:16;;;53520:1;53506:16;;;;;;;;;53447;;53481:22;;53506:16;;;;;;;;;;;;-1:-1:-1;53506:16:0;53481:41;;53544:7;53533:5;53539:1;53533:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;53571:5;53353:231;-1:-1:-1;;53353:231:0:o;51462:899::-;-1:-1:-1;;;;;51678:13:0;;6089:20;6137:8;51674:680;;51731:196;;-1:-1:-1;;;51731:196:0;;-1:-1:-1;;;;;51731:38:0;;;;;:196;;51792:8;;51823:4;;51850:2;;51875:6;;51904:4;;51731:196;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51731:196:0;;;;;;;;-1:-1:-1;;51731:196:0;;;;;;;;;;;;:::i;:::-;;;51710:633;;;;:::i;:::-;-1:-1:-1;;;;;;51990:55:0;;-1:-1:-1;;;51990:55:0;51986:154;;52070:50;;-1:-1:-1;;;52070:50:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:162:1;-1:-1:-1;;;;;101:5:1;97:54;90:5;87:65;77:93;;166:1;163;156:12;181:331;257:6;265;318:2;306:9;297:7;293:23;289:32;286:52;;;334:1;331;324:12;286:52;370:9;357:23;347:33;;430:2;419:9;415:18;402:32;443:39;476:5;443:39;:::i;:::-;501:5;491:15;;;181:331;;;;;:::o;517:323::-;585:6;593;646:2;634:9;625:7;621:23;617:32;614:52;;;662:1;659;652:12;614:52;701:9;688:23;720:39;753:5;720:39;:::i;:::-;778:5;830:2;815:18;;;;802:32;;-1:-1:-1;;;517:323:1:o;1027:131::-;-1:-1:-1;;;;;;1101:32:1;;1091:43;;1081:71;;1148:1;1145;1138:12;1163:245;1221:6;1274:2;1262:9;1253:7;1249:23;1245:32;1242:52;;;1290:1;1287;1280:12;1242:52;1329:9;1316:23;1348:30;1372:5;1348:30;:::i;:::-;1397:5;1163:245;-1:-1:-1;;;1163:245:1:o;1605:472::-;1647:3;1685:5;1679:12;1712:6;1707:3;1700:19;1737:1;1747:162;1761:6;1758:1;1755:13;1747:162;;;1823:4;1879:13;;;1875:22;;1869:29;1851:11;;;1847:20;;1840:59;1776:12;1747:162;;;1927:6;1924:1;1921:13;1918:87;;;1993:1;1986:4;1977:6;1972:3;1968:16;1964:27;1957:38;1918:87;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2025:39;;;;2066:4;2021:50;;1605:472;-1:-1:-1;;1605:472:1:o;2082:220::-;2231:2;2220:9;2213:21;2194:4;2251:45;2292:2;2281:9;2277:18;2269:6;2251:45;:::i;2307:180::-;2366:6;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;-1:-1:-1;2458:23:1;;2307:180;-1:-1:-1;2307:180:1:o;2492:127::-;2553:10;2548:3;2544:20;2541:1;2534:31;2584:4;2581:1;2574:15;2608:4;2605:1;2598:15;2624:249;2734:2;2715:13;;-1:-1:-1;;2711:27:1;2699:40;;2769:18;2754:34;;2790:22;;;2751:62;2748:88;;;2816:18;;:::i;:::-;2852:2;2845:22;-1:-1:-1;;2624:249:1:o;2878:183::-;2938:4;2971:18;2963:6;2960:30;2957:56;;;2993:18;;:::i;:::-;-1:-1:-1;3038:1:1;3034:14;3050:4;3030:25;;2878:183::o;3066:724::-;3120:5;3173:3;3166:4;3158:6;3154:17;3150:27;3140:55;;3191:1;3188;3181:12;3140:55;3227:6;3214:20;3253:4;3276:43;3316:2;3276:43;:::i;:::-;3348:2;3342:9;3360:31;3388:2;3380:6;3360:31;:::i;:::-;3426:18;;;3518:1;3514:10;;;;3502:23;;3498:32;;;3460:15;;;;-1:-1:-1;3542:15:1;;;3539:35;;;3570:1;3567;3560:12;3539:35;3606:2;3598:6;3594:15;3618:142;3634:6;3629:3;3626:15;3618:142;;;3700:17;;3688:30;;3738:12;;;;3651;;3618:142;;;-1:-1:-1;3778:6:1;3066:724;-1:-1:-1;;;;;;3066:724:1:o;3795:468::-;3859:5;3893:18;3885:6;3882:30;3879:56;;;3915:18;;:::i;:::-;3964:2;3958:9;3976:69;4033:2;4012:15;;-1:-1:-1;;4008:29:1;4039:4;4004:40;3958:9;3976:69;:::i;:::-;4063:6;4054:15;;4093:6;4085;4078:22;4133:3;4124:6;4119:3;4115:16;4112:25;4109:45;;;4150:1;4147;4140:12;4109:45;4200:6;4195:3;4188:4;4180:6;4176:17;4163:44;4255:1;4248:4;4239:6;4231;4227:19;4223:30;4216:41;;3795:468;;;;;:::o;4268:220::-;4310:5;4363:3;4356:4;4348:6;4344:17;4340:27;4330:55;;4381:1;4378;4371:12;4330:55;4403:79;4478:3;4469:6;4456:20;4449:4;4441:6;4437:17;4403:79;:::i;4493:1087::-;4647:6;4655;4663;4671;4679;4732:3;4720:9;4711:7;4707:23;4703:33;4700:53;;;4749:1;4746;4739:12;4700:53;4788:9;4775:23;4807:39;4840:5;4807:39;:::i;:::-;4865:5;-1:-1:-1;4922:2:1;4907:18;;4894:32;4935:41;4894:32;4935:41;:::i;:::-;4995:7;-1:-1:-1;5053:2:1;5038:18;;5025:32;5076:18;5106:14;;;5103:34;;;5133:1;5130;5123:12;5103:34;5156:61;5209:7;5200:6;5189:9;5185:22;5156:61;:::i;:::-;5146:71;;5270:2;5259:9;5255:18;5242:32;5226:48;;5299:2;5289:8;5286:16;5283:36;;;5315:1;5312;5305:12;5283:36;5338:63;5393:7;5382:8;5371:9;5367:24;5338:63;:::i;:::-;5328:73;;5454:3;5443:9;5439:19;5426:33;5410:49;;5484:2;5474:8;5471:16;5468:36;;;5500:1;5497;5490:12;5468:36;;5523:51;5566:7;5555:8;5544:9;5540:24;5523:51;:::i;:::-;5513:61;;;4493:1087;;;;;;;;:::o;5585:1285::-;5703:6;5711;5764:2;5752:9;5743:7;5739:23;5735:32;5732:52;;;5780:1;5777;5770:12;5732:52;5820:9;5807:23;5849:18;5890:2;5882:6;5879:14;5876:34;;;5906:1;5903;5896:12;5876:34;5944:6;5933:9;5929:22;5919:32;;5989:7;5982:4;5978:2;5974:13;5970:27;5960:55;;6011:1;6008;6001:12;5960:55;6047:2;6034:16;6069:4;6092:43;6132:2;6092:43;:::i;:::-;6164:2;6158:9;6176:31;6204:2;6196:6;6176:31;:::i;:::-;6242:18;;;6330:1;6326:10;;;;6318:19;;6314:28;;;6276:15;;;;-1:-1:-1;6354:19:1;;;6351:39;;;6386:1;6383;6376:12;6351:39;6410:11;;;;6430:225;6446:6;6441:3;6438:15;6430:225;;;6526:3;6513:17;6543:39;6576:5;6543:39;:::i;:::-;6595:18;;6463:12;;;;6633;;;;6430:225;;;6674:6;-1:-1:-1;;6718:18:1;;6705:32;;-1:-1:-1;;6749:16:1;;;6746:36;;;6778:1;6775;6768:12;6746:36;;6801:63;6856:7;6845:8;6834:9;6830:24;6801:63;:::i;:::-;6791:73;;;5585:1285;;;;;:::o;6875:435::-;6928:3;6966:5;6960:12;6993:6;6988:3;6981:19;7019:4;7048:2;7043:3;7039:12;7032:19;;7085:2;7078:5;7074:14;7106:1;7116:169;7130:6;7127:1;7124:13;7116:169;;;7191:13;;7179:26;;7225:12;;;;7260:15;;;;7152:1;7145:9;7116:169;;;-1:-1:-1;7301:3:1;;6875:435;-1:-1:-1;;;;;6875:435:1:o;7315:261::-;7494:2;7483:9;7476:21;7457:4;7514:56;7566:2;7555:9;7551:18;7543:6;7514:56;:::i;7581:724::-;7686:6;7694;7702;7710;7718;7771:3;7759:9;7750:7;7746:23;7742:33;7739:53;;;7788:1;7785;7778:12;7739:53;7824:9;7811:23;7801:33;;7881:2;7870:9;7866:18;7853:32;7843:42;;7932:2;7921:9;7917:18;7904:32;7894:42;;7983:2;7972:9;7968:18;7955:32;7945:42;;8038:3;8027:9;8023:19;8010:33;8066:18;8058:6;8055:30;8052:50;;;8098:1;8095;8088:12;8052:50;8121:22;;8174:4;8166:13;;8162:27;-1:-1:-1;8152:55:1;;8203:1;8200;8193:12;8152:55;8226:73;8291:7;8286:2;8273:16;8268:2;8264;8260:11;8226:73;:::i;8310:367::-;8373:8;8383:6;8437:3;8430:4;8422:6;8418:17;8414:27;8404:55;;8455:1;8452;8445:12;8404:55;-1:-1:-1;8478:20:1;;8521:18;8510:30;;8507:50;;;8553:1;8550;8543:12;8507:50;8590:4;8582:6;8578:17;8566:29;;8650:3;8643:4;8633:6;8630:1;8626:14;8618:6;8614:27;8610:38;8607:47;8604:67;;;8667:1;8664;8657:12;8604:67;8310:367;;;;;:::o;8682:648::-;8786:6;8794;8802;8810;8863:2;8851:9;8842:7;8838:23;8834:32;8831:52;;;8879:1;8876;8869:12;8831:52;8918:9;8905:23;8937:39;8970:5;8937:39;:::i;:::-;8995:5;-1:-1:-1;9047:2:1;9032:18;;9019:32;;-1:-1:-1;9102:2:1;9087:18;;9074:32;9129:18;9118:30;;9115:50;;;9161:1;9158;9151:12;9115:50;9200:70;9262:7;9253:6;9242:9;9238:22;9200:70;:::i;:::-;8682:648;;;;-1:-1:-1;9289:8:1;-1:-1:-1;;;;8682:648:1:o;9335:248::-;9403:6;9411;9464:2;9452:9;9443:7;9439:23;9435:32;9432:52;;;9480:1;9477;9470:12;9432:52;-1:-1:-1;;9503:23:1;;;9573:2;9558:18;;;9545:32;;-1:-1:-1;9335:248:1:o;9588:505::-;9683:6;9691;9699;9752:2;9740:9;9731:7;9727:23;9723:32;9720:52;;;9768:1;9765;9758:12;9720:52;9808:9;9795:23;9841:18;9833:6;9830:30;9827:50;;;9873:1;9870;9863:12;9827:50;9912:70;9974:7;9965:6;9954:9;9950:22;9912:70;:::i;:::-;10001:8;;9886:96;;-1:-1:-1;10083:2:1;10068:18;;;;10055:32;;9588:505;-1:-1:-1;;;;9588:505:1:o;10329:160::-;10394:20;;10450:13;;10443:21;10433:32;;10423:60;;10479:1;10476;10469:12;10423:60;10329:160;;;:::o;10494:180::-;10550:6;10603:2;10591:9;10582:7;10578:23;10574:32;10571:52;;;10619:1;10616;10609:12;10571:52;10642:26;10658:9;10642:26;:::i;10679:323::-;10744:6;10752;10805:2;10793:9;10784:7;10780:23;10776:32;10773:52;;;10821:1;10818;10811:12;10773:52;10860:9;10847:23;10879:39;10912:5;10879:39;:::i;:::-;10937:5;-1:-1:-1;10961:35:1;10992:2;10977:18;;10961:35;:::i;:::-;10951:45;;10679:323;;;;;:::o;11007:404::-;11075:6;11083;11136:2;11124:9;11115:7;11111:23;11107:32;11104:52;;;11152:1;11149;11142:12;11104:52;11191:9;11178:23;11210:39;11243:5;11210:39;:::i;:::-;11268:5;-1:-1:-1;11325:2:1;11310:18;;11297:32;11338:41;11297:32;11338:41;:::i;11416:750::-;11520:6;11528;11536;11544;11552;11605:3;11593:9;11584:7;11580:23;11576:33;11573:53;;;11622:1;11619;11612:12;11573:53;11661:9;11648:23;11680:39;11713:5;11680:39;:::i;:::-;11738:5;-1:-1:-1;11795:2:1;11780:18;;11767:32;11808:41;11767:32;11808:41;:::i;:::-;11868:7;-1:-1:-1;11922:2:1;11907:18;;11894:32;;-1:-1:-1;11973:2:1;11958:18;;11945:32;;-1:-1:-1;12028:3:1;12013:19;;12000:33;12056:18;12045:30;;12042:50;;;12088:1;12085;12078:12;12042:50;12111:49;12152:7;12143:6;12132:9;12128:22;12111:49;:::i;12171:255::-;12230:6;12283:2;12271:9;12262:7;12258:23;12254:32;12251:52;;;12299:1;12296;12289:12;12251:52;12338:9;12325:23;12357:39;12390:5;12357:39;:::i;12684:356::-;12886:2;12868:21;;;12905:18;;;12898:30;12964:34;12959:2;12944:18;;12937:62;13031:2;13016:18;;12684:356::o;13813:380::-;13892:1;13888:12;;;;13935;;;13956:61;;14010:4;14002:6;13998:17;13988:27;;13956:61;14063:2;14055:6;14052:14;14032:18;14029:38;14026:161;;;14109:10;14104:3;14100:20;14097:1;14090:31;14144:4;14141:1;14134:15;14172:4;14169:1;14162:15;14026:161;;13813:380;;;:::o;15027:127::-;15088:10;15083:3;15079:20;15076:1;15069:31;15119:4;15116:1;15109:15;15143:4;15140:1;15133:15;15159:127;15220:10;15215:3;15211:20;15208:1;15201:31;15251:4;15248:1;15241:15;15275:4;15272:1;15265:15;15291:135;15330:3;-1:-1:-1;;15351:17:1;;15348:43;;;15371:18;;:::i;:::-;-1:-1:-1;15418:1:1;15407:13;;15291:135::o;17629:415::-;17831:2;17813:21;;;17870:2;17850:18;;;17843:30;17909:34;17904:2;17889:18;;17882:62;-1:-1:-1;;;17975:2:1;17960:18;;17953:49;18034:3;18019:19;;17629:415::o;19463:128::-;19503:3;19534:1;19530:6;19527:1;19524:13;19521:39;;;19540:18;;:::i;:::-;-1:-1:-1;19576:9:1;;19463:128::o;22227:401::-;22429:2;22411:21;;;22468:2;22448:18;;;22441:30;22507:34;22502:2;22487:18;;22480:62;-1:-1:-1;;;22573:2:1;22558:18;;22551:35;22618:3;22603:19;;22227:401::o;22633:406::-;22835:2;22817:21;;;22874:2;22854:18;;;22847:30;22913:34;22908:2;22893:18;;22886:62;-1:-1:-1;;;22979:2:1;22964:18;;22957:40;23029:3;23014:19;;22633:406::o;23044:465::-;23301:2;23290:9;23283:21;23264:4;23327:56;23379:2;23368:9;23364:18;23356:6;23327:56;:::i;:::-;23431:9;23423:6;23419:22;23414:2;23403:9;23399:18;23392:50;23459:44;23496:6;23488;23459:44;:::i;:::-;23451:52;23044:465;-1:-1:-1;;;;;23044:465:1:o;24421:850::-;24743:4;-1:-1:-1;;;;;24853:2:1;24845:6;24841:15;24830:9;24823:34;24905:2;24897:6;24893:15;24888:2;24877:9;24873:18;24866:43;;24945:3;24940:2;24929:9;24925:18;24918:31;24972:57;25024:3;25013:9;25009:19;25001:6;24972:57;:::i;:::-;25077:9;25069:6;25065:22;25060:2;25049:9;25045:18;25038:50;25111:44;25148:6;25140;25111:44;:::i;:::-;25097:58;;25204:9;25196:6;25192:22;25186:3;25175:9;25171:19;25164:51;25232:33;25258:6;25250;25232:33;:::i;:::-;25224:41;24421:850;-1:-1:-1;;;;;;;;24421:850:1:o;25276:249::-;25345:6;25398:2;25386:9;25377:7;25373:23;25369:32;25366:52;;;25414:1;25411;25404:12;25366:52;25446:9;25440:16;25465:30;25489:5;25465:30;:::i;25530:179::-;25565:3;25607:1;25589:16;25586:23;25583:120;;;25653:1;25650;25647;25632:23;-1:-1:-1;25690:1:1;25684:8;25679:3;25675:18;25583:120;25530:179;:::o;25714:671::-;25753:3;25795:4;25777:16;25774:26;25771:39;;;25714:671;:::o;25771:39::-;25837:2;25831:9;-1:-1:-1;;25902:16:1;25898:25;;25895:1;25831:9;25874:50;25953:4;25947:11;25977:16;26012:18;26083:2;26076:4;26068:6;26064:17;26061:25;26056:2;26048:6;26045:14;26042:45;26039:58;;;26090:5;;;;;25714:671;:::o;26039:58::-;26127:6;26121:4;26117:17;26106:28;;26163:3;26157:10;26190:2;26182:6;26179:14;26176:27;;;26196:5;;;;;;25714:671;:::o;26176:27::-;26280:2;26261:16;26255:4;26251:27;26247:36;26240:4;26231:6;26226:3;26222:16;26218:27;26215:69;26212:82;;;26287:5;;;;;;25714:671;:::o;26212:82::-;26303:57;26354:4;26345:6;26337;26333:19;26329:30;26323:4;26303:57;:::i;:::-;-1:-1:-1;26376:3:1;;25714:671;-1:-1:-1;;;;;25714:671:1:o;26811:404::-;27013:2;26995:21;;;27052:2;27032:18;;;27025:30;27091:34;27086:2;27071:18;;27064:62;-1:-1:-1;;;27157:2:1;27142:18;;27135:38;27205:3;27190:19;;26811:404::o;27220:584::-;27442:4;-1:-1:-1;;;;;27552:2:1;27544:6;27540:15;27529:9;27522:34;27604:2;27596:6;27592:15;27587:2;27576:9;27572:18;27565:43;;27644:6;27639:2;27628:9;27624:18;27617:34;27687:6;27682:2;27671:9;27667:18;27660:34;27731:3;27725;27714:9;27710:19;27703:32;27752:46;27793:3;27782:9;27778:19;27770:6;27752:46;:::i;:::-;27744:54;27220:584;-1:-1:-1;;;;;;;27220:584:1:o

Swarm Source

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