ETH Price: $2,301.80 (+0.85%)

Token

Golden Circle (GOLDC)
 

Overview

Max Total Supply

100 GOLDC

Holders

53

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GOLDC
0xa635a7f2fe35887448137afa7ea71508be0b7c7c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GoldenCircle

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-02-23
*/

/**
 *Submitted for verification at Etherscan.io on 2022-05-28
*/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


pragma solidity ^0.8.0;

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



pragma solidity ^0.8.0;



/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}



pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}





pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;


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

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

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





pragma solidity ^0.8.0;

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




pragma solidity ^0.8.0;



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

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

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



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


pragma solidity ^0.8.0;

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

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

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

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

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


pragma solidity ^0.8.0;


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

pragma solidity ^0.8.0;



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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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





pragma solidity ^0.8.0;



/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_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 {
        _transferOwnership(address(0));
    }

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

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


pragma solidity ^0.8.0;



/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}


pragma solidity ^0.8.0;

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





pragma solidity ^0.8.4;


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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public  virtual override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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





pragma solidity ^0.8.0;


contract GoldenCircle is ERC721A, ReentrancyGuard, Ownable {

    // Minting Variables

    uint256 public maxSupply = 100;
     
    
    // Metadata
    string _baseTokenURI = "ipfs://bafybeichjofk3o2jxtm7wrv4vbnmvcf7huhhsynnobaujr5mv727yix3xa/";
    bool public locked;

  
    constructor() ERC721A("Golden Circle", "GOLDC") {
     
    }


    // function setMaxSupply(uint256 _maxSupply) external onlyOwner {
    //    maxSupply = _maxSupply;
    // }

    // Minting
    function ownerMint(address _to, uint256 _count) external onlyOwner {
        require(
            totalSupply() + _count <= maxSupply,
            "SOLD_OUT"
        );
        _safeMint(_to, _count);
    }

    function airdopMint(address[] calldata _to) external onlyOwner {
        for (uint256 i = 0; i < _to.length; i++) {
        _safeMint(_to[i], 1);
        }
    }


    function lockMetadata() external onlyOwner {
        locked = true;
    }

    // function withdraw() external onlyOwner {
    //     payable(owner()).transfer(address(this).balance);
    // }



    function getWalletOfOwner(address owner) external view returns (uint256[] memory) {
    unchecked {
        uint256[] memory a = new uint256[](balanceOf(owner));
        uint256 end = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;
        for (uint256 i; i < end; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.burned) {
                continue;
            }
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                a[tokenIdsIdx++] = i;
            }
        }
        return a;
    }
    }

    function getTotalSupply() external view returns (uint256) {
        return totalSupply();
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        require(!locked, "METADATA_LOCKED");
        _baseTokenURI = baseURI;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory){
        return string(abi.encodePacked(super.tokenURI(tokenId), ".json"));
    }

    // function _startTokenId() internal view virtual override returns (uint256){
    //     return 1;
    // }


}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"}],"name":"airdopMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getWalletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6064600a55610100604052604360808181529062001bc860a039600b90620000289082620001a5565b5034801562000035575f80fd5b506040518060400160405280600d81526020016c476f6c64656e20436972636c6560981b81525060405180604001604052806005815260200164474f4c444360d81b81525081600290816200008b9190620001a5565b5060036200009a8282620001a5565b505f805550506001600855620000b033620000b6565b62000271565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200013057607f821691505b6020821081036200014f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001a057805f5260205f20601f840160051c810160208510156200017c5750805b601f840160051c820191505b818110156200019d575f815560010162000188565b50505b505050565b81516001600160401b03811115620001c157620001c162000107565b620001d981620001d284546200011b565b8462000155565b602080601f8311600181146200020f575f8415620001f75750858301515b5f19600386901b1c1916600185901b17855562000269565b5f85815260208120601f198616915b828110156200023f578886015182559484019460019091019084016200021e565b50858210156200025d57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b611949806200027f5f395ff3fe608060405234801561000f575f80fd5b506004361061016d575f3560e01c8063715018a6116100d9578063b88d4fde11610093578063cf3090121161006e578063cf30901214610312578063d5abeb011461031f578063e985e9c514610328578063f2fde38b1461033b575f80fd5b8063b88d4fde146102e4578063c4e41b22146102f7578063c87b56dd146102ff575f80fd5b8063715018a6146102955780638da5cb5b1461029d57806395d89b41146102ae578063989bdbb6146102b65780639923b86a146102be578063a22cb465146102d1575f80fd5b806342842e0e1161012a57806342842e0e14610216578063484b973c1461022957806355f804b31461023c578063627fdeab1461024f5780636352211e1461026f57806370a0823114610282575f80fd5b806301ffc9a71461017157806306fdde0314610199578063081812fc146101ae578063095ea7b3146101d957806318160ddd146101ee57806323b872dd14610203575b5f80fd5b61018461017f3660046112d5565b61034e565b60405190151581526020015b60405180910390f35b6101a161039f565b604051610190919061133d565b6101c16101bc36600461134f565b61042f565b6040516001600160a01b039091168152602001610190565b6101ec6101e7366004611381565b610471565b005b6001545f54035b604051908152602001610190565b6101ec6102113660046113a9565b6104fd565b6101ec6102243660046113a9565b610508565b6101ec610237366004611381565b610522565b6101ec61024a366004611468565b6105b6565b61026261025d3660046114ac565b610631565b60405161019091906114c5565b6101c161027d36600461134f565b610756565b6101f56102903660046114ac565b610767565b6101ec6107b3565b6009546001600160a01b03166101c1565b6101a16107e8565b6101ec6107f7565b6101ec6102cc366004611508565b610830565b6101ec6102df366004611576565b61089d565b6101ec6102f23660046115af565b610931565b6101f5610982565b6101a161030d36600461134f565b610994565b600c546101849060ff1681565b6101f5600a5481565b610184610336366004611625565b6109c5565b6101ec6103493660046114ac565b6109f2565b5f6001600160e01b031982166380ac58cd60e01b148061037e57506001600160e01b03198216635b5e139f60e01b145b8061039957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546103ae90611656565b80601f01602080910402602001604051908101604052809291908181526020018280546103da90611656565b80156104255780601f106103fc57610100808354040283529160200191610425565b820191905f5260205f20905b81548152906001019060200180831161040857829003601f168201915b5050505050905090565b5f61043982610a8d565b610456576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61047b82610756565b9050806001600160a01b0316836001600160a01b0316036104af5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906104cf57506104cd81336109c5565b155b156104ed576040516367d9dca160e11b815260040160405180910390fd5b6104f8838383610ab6565b505050565b6104f8838383610b11565b6104f883838360405180602001604052805f815250610931565b6009546001600160a01b031633146105555760405162461bcd60e51b815260040161054c9061168e565b60405180910390fd5b600a54816105656001545f540390565b61056f91906116d7565b11156105a85760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b604482015260640161054c565b6105b28282610cf8565b5050565b6009546001600160a01b031633146105e05760405162461bcd60e51b815260040161054c9061168e565b600c5460ff16156106255760405162461bcd60e51b815260206004820152600f60248201526e135155105110551057d313d0d2d151608a1b604482015260640161054c565b600b6105b2828261172e565b60605f61063d83610767565b6001600160401b03811115610654576106546113e2565b60405190808252806020026020018201604052801561067d578160200160208202803683370190505b505f805491925080805b8381101561074b575f81815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615801592820192909252906106ed5750610743565b80516001600160a01b03161561070257805192505b876001600160a01b0316836001600160a01b0316036107415781868580600101965081518110610734576107346117ed565b6020026020010181815250505b505b600101610687565b509295945050505050565b5f61076082610d11565b5192915050565b5f6001600160a01b03821661078f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b6009546001600160a01b031633146107dd5760405162461bcd60e51b815260040161054c9061168e565b6107e65f610e26565b565b6060600380546103ae90611656565b6009546001600160a01b031633146108215760405162461bcd60e51b815260040161054c9061168e565b600c805460ff19166001179055565b6009546001600160a01b0316331461085a5760405162461bcd60e51b815260040161054c9061168e565b5f5b818110156104f857610895838383818110610879576108796117ed565b905060200201602081019061088e91906114ac565b6001610cf8565b60010161085c565b336001600160a01b038316036108c65760405163b06307db60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61093c848484610b11565b6001600160a01b0383163b1515801561095e575061095c84848484610e77565b155b1561097c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b5f61098f6001545f540390565b905090565b606061099f82610f5f565b6040516020016109af9190611801565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6009546001600160a01b03163314610a1c5760405162461bcd60e51b815260040161054c9061168e565b6001600160a01b038116610a815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161054c565b610a8a81610e26565b50565b5f8054821080156103995750505f90815260046020526040902054600160e01b900460ff161590565b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f610b1b82610d11565b9050836001600160a01b0316815f01516001600160a01b031614610b515760405162a1148160e81b815260040160405180910390fd5b5f336001600160a01b0386161480610b6e5750610b6e85336109c5565b80610b89575033610b7e8461042f565b6001600160a01b0316145b905080610ba957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610bd057604051633a954ecd60e21b815260040160405180910390fd5b610bdb5f8487610ab6565b6001600160a01b038581165f908152600560209081526040808320805467ffffffffffffffff198082166001600160401b039283165f1901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610cac575f548214610cac57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6105b2828260405180602001604052805f815250610fe0565b604080516060810182525f8082526020820181905291810191909152815f54811015610e0d575f81815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610e0b5780516001600160a01b031615610da4579392505050565b505f19015f81815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215610e06579392505050565b610da4565b505b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290610eab903390899088908890600401611829565b6020604051808303815f875af1925050508015610ee5575060408051601f3d908101601f19168201909252610ee291810190611865565b60015b610f41573d808015610f12576040519150601f19603f3d011682016040523d82523d5f602084013e610f17565b606091505b5080515f03610f39576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060610f6a82610a8d565b610f8757604051630a14c4b560e41b815260040160405180910390fd5b5f610f90610fed565b905080515f03610fae5760405180602001604052805f815250610fd9565b80610fb884610ffc565b604051602001610fc9929190611880565b6040516020818303038152906040525b9392505050565b6104f883838360016110f8565b6060600b80546103ae90611656565b6060815f036110225750506040805180820190915260018152600360fc1b602082015290565b815f5b811561104b5780611035816118ae565b91506110449050600a836118da565b9150611025565b5f816001600160401b03811115611064576110646113e2565b6040519080825280601f01601f19166020018201604052801561108e576020820181803683370190505b5090505b8415610f57576110a36001836118ed565b91506110b0600a86611900565b6110bb9060306116d7565b60f81b8183815181106110d0576110d06117ed565b60200101906001600160f81b03191690815f1a9053506110f1600a866118da565b9450611092565b5f546001600160a01b03851661112057604051622e076360e81b815260040160405180910390fd5b835f036111405760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385165f81815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156111f057506001600160a01b0387163b15155b15611274575b60405182906001600160a01b038916905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461123f5f888480600101955088610e77565b61125c576040516368d2bf6b60e11b815260040160405180910390fd5b8082036111f657825f541461126f575f80fd5b6112b8565b5b6040516001830192906001600160a01b038916905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611275575b505f55610cf1565b6001600160e01b031981168114610a8a575f80fd5b5f602082840312156112e5575f80fd5b8135610fd9816112c0565b5f5b8381101561130a5781810151838201526020016112f2565b50505f910152565b5f81518084526113298160208601602086016112f0565b601f01601f19169290920160200192915050565b602081525f610fd96020830184611312565b5f6020828403121561135f575f80fd5b5035919050565b80356001600160a01b038116811461137c575f80fd5b919050565b5f8060408385031215611392575f80fd5b61139b83611366565b946020939093013593505050565b5f805f606084860312156113bb575f80fd5b6113c484611366565b92506113d260208501611366565b9150604084013590509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b038084111561140f5761140f6113e2565b604051601f8501601f19908116603f01168101908282118183101715611437576114376113e2565b8160405280935085815286868601111561144f575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611478575f80fd5b81356001600160401b0381111561148d575f80fd5b8201601f8101841361149d575f80fd5b610f57848235602084016113f6565b5f602082840312156114bc575f80fd5b610fd982611366565b602080825282518282018190525f9190848201906040850190845b818110156114fc578351835292840192918401916001016114e0565b50909695505050505050565b5f8060208385031215611519575f80fd5b82356001600160401b038082111561152f575f80fd5b818501915085601f830112611542575f80fd5b813581811115611550575f80fd5b8660208260051b8501011115611564575f80fd5b60209290920196919550909350505050565b5f8060408385031215611587575f80fd5b61159083611366565b9150602083013580151581146115a4575f80fd5b809150509250929050565b5f805f80608085870312156115c2575f80fd5b6115cb85611366565b93506115d960208601611366565b92506040850135915060608501356001600160401b038111156115fa575f80fd5b8501601f8101871361160a575f80fd5b611619878235602084016113f6565b91505092959194509250565b5f8060408385031215611636575f80fd5b61163f83611366565b915061164d60208401611366565b90509250929050565b600181811c9082168061166a57607f821691505b60208210810361168857634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610399576103996116c3565b601f8211156104f857805f5260205f20601f840160051c8101602085101561170f5750805b601f840160051c820191505b81811015610cf1575f815560010161171b565b81516001600160401b03811115611747576117476113e2565b61175b816117558454611656565b846116ea565b602080601f83116001811461178e575f84156117775750858301515b5f19600386901b1c1916600185901b1785556117e5565b5f85815260208120601f198616915b828110156117bc5788860151825594840194600190910190840161179d565b50858210156117d957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52603260045260245ffd5b5f82516118128184602087016112f0565b64173539b7b760d91b920191825250600501919050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061185b90830184611312565b9695505050505050565b5f60208284031215611875575f80fd5b8151610fd9816112c0565b5f83516118918184602088016112f0565b8351908301906118a58183602088016112f0565b01949350505050565b5f600182016118bf576118bf6116c3565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f826118e8576118e86118c6565b500490565b81810381811115610399576103996116c3565b5f8261190e5761190e6118c6565b50069056fea26469706673582212204e76f5da69bee0eac604b4d9fe055b276a76cbc7fa3f11bf92e6c8a6df84bd4964736f6c63430008180033697066733a2f2f6261667962656963686a6f666b336f326a78746d377772763476626e6d766366376875686873796e6e6f6261756a72356d763732377969783378612f

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061016d575f3560e01c8063715018a6116100d9578063b88d4fde11610093578063cf3090121161006e578063cf30901214610312578063d5abeb011461031f578063e985e9c514610328578063f2fde38b1461033b575f80fd5b8063b88d4fde146102e4578063c4e41b22146102f7578063c87b56dd146102ff575f80fd5b8063715018a6146102955780638da5cb5b1461029d57806395d89b41146102ae578063989bdbb6146102b65780639923b86a146102be578063a22cb465146102d1575f80fd5b806342842e0e1161012a57806342842e0e14610216578063484b973c1461022957806355f804b31461023c578063627fdeab1461024f5780636352211e1461026f57806370a0823114610282575f80fd5b806301ffc9a71461017157806306fdde0314610199578063081812fc146101ae578063095ea7b3146101d957806318160ddd146101ee57806323b872dd14610203575b5f80fd5b61018461017f3660046112d5565b61034e565b60405190151581526020015b60405180910390f35b6101a161039f565b604051610190919061133d565b6101c16101bc36600461134f565b61042f565b6040516001600160a01b039091168152602001610190565b6101ec6101e7366004611381565b610471565b005b6001545f54035b604051908152602001610190565b6101ec6102113660046113a9565b6104fd565b6101ec6102243660046113a9565b610508565b6101ec610237366004611381565b610522565b6101ec61024a366004611468565b6105b6565b61026261025d3660046114ac565b610631565b60405161019091906114c5565b6101c161027d36600461134f565b610756565b6101f56102903660046114ac565b610767565b6101ec6107b3565b6009546001600160a01b03166101c1565b6101a16107e8565b6101ec6107f7565b6101ec6102cc366004611508565b610830565b6101ec6102df366004611576565b61089d565b6101ec6102f23660046115af565b610931565b6101f5610982565b6101a161030d36600461134f565b610994565b600c546101849060ff1681565b6101f5600a5481565b610184610336366004611625565b6109c5565b6101ec6103493660046114ac565b6109f2565b5f6001600160e01b031982166380ac58cd60e01b148061037e57506001600160e01b03198216635b5e139f60e01b145b8061039957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546103ae90611656565b80601f01602080910402602001604051908101604052809291908181526020018280546103da90611656565b80156104255780601f106103fc57610100808354040283529160200191610425565b820191905f5260205f20905b81548152906001019060200180831161040857829003601f168201915b5050505050905090565b5f61043982610a8d565b610456576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61047b82610756565b9050806001600160a01b0316836001600160a01b0316036104af5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906104cf57506104cd81336109c5565b155b156104ed576040516367d9dca160e11b815260040160405180910390fd5b6104f8838383610ab6565b505050565b6104f8838383610b11565b6104f883838360405180602001604052805f815250610931565b6009546001600160a01b031633146105555760405162461bcd60e51b815260040161054c9061168e565b60405180910390fd5b600a54816105656001545f540390565b61056f91906116d7565b11156105a85760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b604482015260640161054c565b6105b28282610cf8565b5050565b6009546001600160a01b031633146105e05760405162461bcd60e51b815260040161054c9061168e565b600c5460ff16156106255760405162461bcd60e51b815260206004820152600f60248201526e135155105110551057d313d0d2d151608a1b604482015260640161054c565b600b6105b2828261172e565b60605f61063d83610767565b6001600160401b03811115610654576106546113e2565b60405190808252806020026020018201604052801561067d578160200160208202803683370190505b505f805491925080805b8381101561074b575f81815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615801592820192909252906106ed5750610743565b80516001600160a01b03161561070257805192505b876001600160a01b0316836001600160a01b0316036107415781868580600101965081518110610734576107346117ed565b6020026020010181815250505b505b600101610687565b509295945050505050565b5f61076082610d11565b5192915050565b5f6001600160a01b03821661078f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b6009546001600160a01b031633146107dd5760405162461bcd60e51b815260040161054c9061168e565b6107e65f610e26565b565b6060600380546103ae90611656565b6009546001600160a01b031633146108215760405162461bcd60e51b815260040161054c9061168e565b600c805460ff19166001179055565b6009546001600160a01b0316331461085a5760405162461bcd60e51b815260040161054c9061168e565b5f5b818110156104f857610895838383818110610879576108796117ed565b905060200201602081019061088e91906114ac565b6001610cf8565b60010161085c565b336001600160a01b038316036108c65760405163b06307db60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61093c848484610b11565b6001600160a01b0383163b1515801561095e575061095c84848484610e77565b155b1561097c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b5f61098f6001545f540390565b905090565b606061099f82610f5f565b6040516020016109af9190611801565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6009546001600160a01b03163314610a1c5760405162461bcd60e51b815260040161054c9061168e565b6001600160a01b038116610a815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161054c565b610a8a81610e26565b50565b5f8054821080156103995750505f90815260046020526040902054600160e01b900460ff161590565b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f610b1b82610d11565b9050836001600160a01b0316815f01516001600160a01b031614610b515760405162a1148160e81b815260040160405180910390fd5b5f336001600160a01b0386161480610b6e5750610b6e85336109c5565b80610b89575033610b7e8461042f565b6001600160a01b0316145b905080610ba957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610bd057604051633a954ecd60e21b815260040160405180910390fd5b610bdb5f8487610ab6565b6001600160a01b038581165f908152600560209081526040808320805467ffffffffffffffff198082166001600160401b039283165f1901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610cac575f548214610cac57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6105b2828260405180602001604052805f815250610fe0565b604080516060810182525f8082526020820181905291810191909152815f54811015610e0d575f81815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610e0b5780516001600160a01b031615610da4579392505050565b505f19015f81815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215610e06579392505050565b610da4565b505b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290610eab903390899088908890600401611829565b6020604051808303815f875af1925050508015610ee5575060408051601f3d908101601f19168201909252610ee291810190611865565b60015b610f41573d808015610f12576040519150601f19603f3d011682016040523d82523d5f602084013e610f17565b606091505b5080515f03610f39576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060610f6a82610a8d565b610f8757604051630a14c4b560e41b815260040160405180910390fd5b5f610f90610fed565b905080515f03610fae5760405180602001604052805f815250610fd9565b80610fb884610ffc565b604051602001610fc9929190611880565b6040516020818303038152906040525b9392505050565b6104f883838360016110f8565b6060600b80546103ae90611656565b6060815f036110225750506040805180820190915260018152600360fc1b602082015290565b815f5b811561104b5780611035816118ae565b91506110449050600a836118da565b9150611025565b5f816001600160401b03811115611064576110646113e2565b6040519080825280601f01601f19166020018201604052801561108e576020820181803683370190505b5090505b8415610f57576110a36001836118ed565b91506110b0600a86611900565b6110bb9060306116d7565b60f81b8183815181106110d0576110d06117ed565b60200101906001600160f81b03191690815f1a9053506110f1600a866118da565b9450611092565b5f546001600160a01b03851661112057604051622e076360e81b815260040160405180910390fd5b835f036111405760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385165f81815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156111f057506001600160a01b0387163b15155b15611274575b60405182906001600160a01b038916905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461123f5f888480600101955088610e77565b61125c576040516368d2bf6b60e11b815260040160405180910390fd5b8082036111f657825f541461126f575f80fd5b6112b8565b5b6040516001830192906001600160a01b038916905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611275575b505f55610cf1565b6001600160e01b031981168114610a8a575f80fd5b5f602082840312156112e5575f80fd5b8135610fd9816112c0565b5f5b8381101561130a5781810151838201526020016112f2565b50505f910152565b5f81518084526113298160208601602086016112f0565b601f01601f19169290920160200192915050565b602081525f610fd96020830184611312565b5f6020828403121561135f575f80fd5b5035919050565b80356001600160a01b038116811461137c575f80fd5b919050565b5f8060408385031215611392575f80fd5b61139b83611366565b946020939093013593505050565b5f805f606084860312156113bb575f80fd5b6113c484611366565b92506113d260208501611366565b9150604084013590509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b038084111561140f5761140f6113e2565b604051601f8501601f19908116603f01168101908282118183101715611437576114376113e2565b8160405280935085815286868601111561144f575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611478575f80fd5b81356001600160401b0381111561148d575f80fd5b8201601f8101841361149d575f80fd5b610f57848235602084016113f6565b5f602082840312156114bc575f80fd5b610fd982611366565b602080825282518282018190525f9190848201906040850190845b818110156114fc578351835292840192918401916001016114e0565b50909695505050505050565b5f8060208385031215611519575f80fd5b82356001600160401b038082111561152f575f80fd5b818501915085601f830112611542575f80fd5b813581811115611550575f80fd5b8660208260051b8501011115611564575f80fd5b60209290920196919550909350505050565b5f8060408385031215611587575f80fd5b61159083611366565b9150602083013580151581146115a4575f80fd5b809150509250929050565b5f805f80608085870312156115c2575f80fd5b6115cb85611366565b93506115d960208601611366565b92506040850135915060608501356001600160401b038111156115fa575f80fd5b8501601f8101871361160a575f80fd5b611619878235602084016113f6565b91505092959194509250565b5f8060408385031215611636575f80fd5b61163f83611366565b915061164d60208401611366565b90509250929050565b600181811c9082168061166a57607f821691505b60208210810361168857634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610399576103996116c3565b601f8211156104f857805f5260205f20601f840160051c8101602085101561170f5750805b601f840160051c820191505b81811015610cf1575f815560010161171b565b81516001600160401b03811115611747576117476113e2565b61175b816117558454611656565b846116ea565b602080601f83116001811461178e575f84156117775750858301515b5f19600386901b1c1916600185901b1785556117e5565b5f85815260208120601f198616915b828110156117bc5788860151825594840194600190910190840161179d565b50858210156117d957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52603260045260245ffd5b5f82516118128184602087016112f0565b64173539b7b760d91b920191825250600501919050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061185b90830184611312565b9695505050505050565b5f60208284031215611875575f80fd5b8151610fd9816112c0565b5f83516118918184602088016112f0565b8351908301906118a58183602088016112f0565b01949350505050565b5f600182016118bf576118bf6116c3565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f826118e8576118e86118c6565b500490565b81810381811115610399576103996116c3565b5f8261190e5761190e6118c6565b50069056fea26469706673582212204e76f5da69bee0eac604b4d9fe055b276a76cbc7fa3f11bf92e6c8a6df84bd4964736f6c63430008180033

Deployed Bytecode Sourcemap

93779:2497:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75975:305;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;75975:305:0;;;;;;;;79088:100;;;:::i;:::-;;;;;;;:::i;80600:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;80600:204:0;1533:203:1;80154:380:0;;;;;;:::i;:::-;;:::i;:::-;;75224:303;75478:12;;75268:7;75462:13;:28;75224:303;;;2324:25:1;;;2312:2;2297:18;75224:303:0;2178:177:1;81465:170:0;;;;;;:::i;:::-;;:::i;81706:185::-;;;;;;:::i;:::-;;:::i;94279:212::-;;;;;;:::i;:::-;;:::i;95709:150::-;;;;;;:::i;:::-;;:::i;94884:712::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;78896:125::-;;;;;;:::i;:::-;;:::i;76344:206::-;;;;;;:::i;:::-;;:::i;66098:103::-;;;:::i;65447:87::-;65520:6;;-1:-1:-1;;;;;65520:6:0;65447:87;;79257:104;;;:::i;94674:75::-;;;:::i;94499:165::-;;;;;;:::i;:::-;;:::i;80876:287::-;;;;;;:::i;:::-;;:::i;81962:369::-;;;;;;:::i;:::-;;:::i;95604:97::-;;;:::i;95989:163::-;;;;;;:::i;:::-;;:::i;94041:18::-;;;;;;;;;93875:30;;;;;;81234:164;;;;;;:::i;:::-;;:::i;66356:201::-;;;;;;:::i;:::-;;:::i;75975:305::-;76077:4;-1:-1:-1;;;;;;76114:40:0;;-1:-1:-1;;;76114:40:0;;:105;;-1:-1:-1;;;;;;;76171:48:0;;-1:-1:-1;;;76171:48:0;76114:105;:158;;;-1:-1:-1;;;;;;;;;;36312:40:0;;;76236:36;76094:178;75975:305;-1:-1:-1;;75975:305:0:o;79088:100::-;79142:13;79175:5;79168:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79088:100;:::o;80600:204::-;80668:7;80693:16;80701:7;80693;:16::i;:::-;80688:64;;80718:34;;-1:-1:-1;;;80718:34:0;;;;;;;;;;;80688:64;-1:-1:-1;80772:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;80772:24:0;;80600:204::o;80154:380::-;80236:13;80252:24;80268:7;80252:15;:24::i;:::-;80236:40;;80297:5;-1:-1:-1;;;;;80291:11:0;:2;-1:-1:-1;;;;;80291:11:0;;80287:48;;80311:24;;-1:-1:-1;;;80311:24:0;;;;;;;;;;;80287:48;33326:10;-1:-1:-1;;;;;80352:21:0;;;;;;:63;;-1:-1:-1;80378:37:0;80395:5;33326:10;81234:164;:::i;80378:37::-;80377:38;80352:63;80348:138;;;80439:35;;-1:-1:-1;;;80439:35:0;;;;;;;;;;;80348:138;80498:28;80507:2;80511:7;80520:5;80498:8;:28::i;:::-;80225:309;80154:380;;:::o;81465:170::-;81599:28;81609:4;81615:2;81619:7;81599:9;:28::i;81706:185::-;81844:39;81861:4;81867:2;81871:7;81844:39;;;;;;;;;;;;:16;:39::i;94279:212::-;65520:6;;-1:-1:-1;;;;;65520:6:0;33326:10;65667:23;65659:68;;;;-1:-1:-1;;;65659:68:0;;;;;;;:::i;:::-;;;;;;;;;94405:9:::1;;94395:6;94379:13;75478:12:::0;;75268:7;75462:13;:28;;75224:303;94379:13:::1;:22;;;;:::i;:::-;:35;;94357:93;;;::::0;-1:-1:-1;;;94357:93:0;;7865:2:1;94357:93:0::1;::::0;::::1;7847:21:1::0;7904:1;7884:18;;;7877:29;-1:-1:-1;;;7922:18:1;;;7915:38;7970:18;;94357:93:0::1;7663:331:1::0;94357:93:0::1;94461:22;94471:3;94476:6;94461:9;:22::i;:::-;94279:212:::0;;:::o;95709:150::-;65520:6;;-1:-1:-1;;;;;65520:6:0;33326:10;65667:23;65659:68;;;;-1:-1:-1;;;65659:68:0;;;;;;;:::i;:::-;95791:6:::1;::::0;::::1;;95790:7;95782:35;;;::::0;-1:-1:-1;;;95782:35:0;;8201:2:1;95782:35:0::1;::::0;::::1;8183:21:1::0;8240:2;8220:18;;;8213:30;-1:-1:-1;;;8259:18:1;;;8252:45;8314:18;;95782:35:0::1;7999:339:1::0;95782:35:0::1;95828:13;:23;95844:7:::0;95828:13;:23:::1;:::i;94884:712::-:0;94948:16;94994:18;95029:16;95039:5;95029:9;:16::i;:::-;-1:-1:-1;;;;;95015:31:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95015:31:0;-1:-1:-1;95057:11:0;95071:13;;94994:52;;-1:-1:-1;95057:11:0;;95161:402;95181:3;95177:1;:7;95161:402;;;95206:31;95240:14;;;:11;:14;;;;;;;;;95206:48;;;;;;;;;-1:-1:-1;;;;;95206:48:0;;;;-1:-1:-1;;;95206:48:0;;-1:-1:-1;;;;;95206:48:0;;;;;;;;-1:-1:-1;;;95206:48:0;;;;;;;;;;;;;;;;95269:65;;95310:8;;;95269:65;95352:14;;-1:-1:-1;;;;;95352:28:0;;95348:103;;95421:14;;;-1:-1:-1;95348:103:0;95490:5;-1:-1:-1;;;;;95469:26:0;:17;-1:-1:-1;;;;;95469:26:0;;95465:87;;95535:1;95516;95518:13;;;;;;95516:16;;;;;;;;:::i;:::-;;;;;;:20;;;;;95465:87;95191:372;95161:402;95186:3;;95161:402;;;-1:-1:-1;95580:1:0;;94884:712;-1:-1:-1;;;;;94884:712:0:o;78896:125::-;78960:7;78987:21;79000:7;78987:12;:21::i;:::-;:26;;78896:125;-1:-1:-1;;78896:125:0:o;76344:206::-;76408:7;-1:-1:-1;;;;;76432:19:0;;76428:60;;76460:28;;-1:-1:-1;;;76460:28:0;;;;;;;;;;;76428:60;-1:-1:-1;;;;;;76514:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;76514:27:0;;76344:206::o;66098:103::-;65520:6;;-1:-1:-1;;;;;65520:6:0;33326:10;65667:23;65659:68;;;;-1:-1:-1;;;65659:68:0;;;;;;;:::i;:::-;66163:30:::1;66190:1;66163:18;:30::i;:::-;66098:103::o:0;79257:104::-;79313:13;79346:7;79339:14;;;;;:::i;94674:75::-;65520:6;;-1:-1:-1;;;;;65520:6:0;33326:10;65667:23;65659:68;;;;-1:-1:-1;;;65659:68:0;;;;;;;:::i;:::-;94728:6:::1;:13:::0;;-1:-1:-1;;94728:13:0::1;94737:4;94728:13;::::0;;94674:75::o;94499:165::-;65520:6;;-1:-1:-1;;;;;65520:6:0;33326:10;65667:23;65659:68;;;;-1:-1:-1;;;65659:68:0;;;;;;;:::i;:::-;94578:9:::1;94573:84;94593:14:::0;;::::1;94573:84;;;94625:20;94635:3;;94639:1;94635:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;94643:1;94625:9;:20::i;:::-;94609:3;;94573:84;;80876:287:::0;33326:10;-1:-1:-1;;;;;80975:24:0;;;80971:54;;81008:17;;-1:-1:-1;;;81008:17:0;;;;;;;;;;;80971:54;33326:10;81038:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;81038:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;81038:53:0;;;;;;;;;;81107:48;;540:41:1;;;81038:42:0;;33326:10;81107:48;;513:18:1;81107:48:0;;;;;;;80876:287;;:::o;81962:369::-;82129:28;82139:4;82145:2;82149:7;82129:9;:28::i;:::-;-1:-1:-1;;;;;82172:13:0;;25669:20;25717:8;;82172:76;;;;;82192:56;82223:4;82229:2;82233:7;82242:5;82192:30;:56::i;:::-;82191:57;82172:76;82168:156;;;82272:40;;-1:-1:-1;;;82272:40:0;;;;;;;;;;;82168:156;81962:369;;;;:::o;95604:97::-;95653:7;95680:13;75478:12;;75268:7;75462:13;:28;;75224:303;95680:13;95673:20;;95604:97;:::o;95989:163::-;96054:13;96110:23;96125:7;96110:14;:23::i;:::-;96093:50;;;;;;;;:::i;:::-;;;;;;;;;;;;;96079:65;;95989:163;;;:::o;81234:164::-;-1:-1:-1;;;;;81355:25:0;;;81331:4;81355:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;81234:164::o;66356:201::-;65520:6;;-1:-1:-1;;;;;65520:6:0;33326:10;65667:23;65659:68;;;;-1:-1:-1;;;65659:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;66445:22:0;::::1;66437:73;;;::::0;-1:-1:-1;;;66437:73:0;;11308:2:1;66437:73:0::1;::::0;::::1;11290:21:1::0;11347:2;11327:18;;;11320:30;11386:34;11366:18;;;11359:62;-1:-1:-1;;;11437:18:1;;;11430:36;11483:19;;66437:73:0::1;11106:402:1::0;66437:73:0::1;66521:28;66540:8;66521:18;:28::i;:::-;66356:201:::0;:::o;82586:187::-;82643:4;82707:13;;82697:7;:23;82667:98;;;;-1:-1:-1;;82738:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;82738:27:0;;;;82737:28;;82586:187::o;90756:196::-;90871:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;90871:29:0;-1:-1:-1;;;;;90871:29:0;;;;;;;;;90916:28;;90871:24;;90916:28;;;;;;;90756:196;;;:::o;85699:2130::-;85814:35;85852:21;85865:7;85852:12;:21::i;:::-;85814:59;;85912:4;-1:-1:-1;;;;;85890:26:0;:13;:18;;;-1:-1:-1;;;;;85890:26:0;;85886:67;;85925:28;;-1:-1:-1;;;85925:28:0;;;;;;;;;;;85886:67;85966:22;33326:10;-1:-1:-1;;;;;85992:20:0;;;;:73;;-1:-1:-1;86029:36:0;86046:4;33326:10;81234:164;:::i;86029:36::-;85992:126;;;-1:-1:-1;33326:10:0;86082:20;86094:7;86082:11;:20::i;:::-;-1:-1:-1;;;;;86082:36:0;;85992:126;85966:153;;86137:17;86132:66;;86163:35;;-1:-1:-1;;;86163:35:0;;;;;;;;;;;86132:66;-1:-1:-1;;;;;86213:16:0;;86209:52;;86238:23;;-1:-1:-1;;;86238:23:0;;;;;;;;;;;86209:52;86382:35;86399:1;86403:7;86412:4;86382:8;:35::i;:::-;-1:-1:-1;;;;;86713:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;86713:31:0;;;-1:-1:-1;;;;;86713:31:0;;;-1:-1:-1;;86713:31:0;;;;;;;86759:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;86759:29:0;;;;;;;;;;;86839:20;;;:11;:20;;;;;;86874:18;;-1:-1:-1;;;;;;86907:49:0;;;;-1:-1:-1;;;86940:15:0;86907:49;;;;;;;;;;87230:11;;87290:24;;;;;87333:13;;86839:20;;87290:24;;87333:13;87329:384;;87543:13;;87528:11;:28;87524:174;;87581:20;;87650:28;;;;-1:-1:-1;;;;;87624:54:0;-1:-1:-1;;;87624:54:0;-1:-1:-1;;;;;;87624:54:0;;;-1:-1:-1;;;;;87581:20:0;;87624:54;;;;87524:174;86688:1036;;;87760:7;87756:2;-1:-1:-1;;;;;87741:27:0;87750:4;-1:-1:-1;;;;;87741:27:0;;;;;;;;;;;87779:42;85803:2026;;85699:2130;;;:::o;82781:104::-;82850:27;82860:2;82864:8;82850:27;;;;;;;;;;;;:9;:27::i;77725:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;77836:7:0;77919:13;;77912:4;:20;77881:886;;;77953:31;77987:17;;;:11;:17;;;;;;;;;77953:51;;;;;;;;;-1:-1:-1;;;;;77953:51:0;;;;-1:-1:-1;;;77953:51:0;;-1:-1:-1;;;;;77953:51:0;;;;;;;;-1:-1:-1;;;77953:51:0;;;;;;;;;;;;;;78023:729;;78073:14;;-1:-1:-1;;;;;78073:28:0;;78069:101;;78137:9;77725:1109;-1:-1:-1;;;77725:1109:0:o;78069:101::-;-1:-1:-1;;;78512:6:0;78557:17;;;;:11;:17;;;;;;;;;78545:29;;;;;;;;;-1:-1:-1;;;;;78545:29:0;;;;;-1:-1:-1;;;78545:29:0;;-1:-1:-1;;;;;78545:29:0;;;;;;;;-1:-1:-1;;;78545:29:0;;;;;;;;;;;;;78605:28;78601:109;;78673:9;77725:1109;-1:-1:-1;;;77725:1109:0:o;78601:109::-;78472:261;;;77934:833;77881:886;78795:31;;-1:-1:-1;;;78795:31:0;;;;;;;;;;;66717:191;66810:6;;;-1:-1:-1;;;;;66827:17:0;;;-1:-1:-1;;;;;;66827:17:0;;;;;;;66860:40;;66810:6;;;66827:17;66810:6;;66860:40;;66791:16;;66860:40;66780:128;66717:191;:::o;91444:667::-;91628:72;;-1:-1:-1;;;91628:72:0;;91607:4;;-1:-1:-1;;;;;91628:36:0;;;;;:72;;33326:10;;91679:4;;91685:7;;91694:5;;91628:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91628:72:0;;;;;;;;-1:-1:-1;;91628:72:0;;;;;;;;;;;;:::i;:::-;;;91624:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91862:6;:13;91879:1;91862:18;91858:235;;91908:40;;-1:-1:-1;;;91908:40:0;;;;;;;;;;;91858:235;92051:6;92045:13;92036:6;92032:2;92028:15;92021:38;91624:480;-1:-1:-1;;;;;;91747:55:0;-1:-1:-1;;;91747:55:0;;-1:-1:-1;91624:480:0;91444:667;;;;;;:::o;79432:318::-;79505:13;79536:16;79544:7;79536;:16::i;:::-;79531:59;;79561:29;;-1:-1:-1;;;79561:29:0;;;;;;;;;;;79531:59;79603:21;79627:10;:8;:10::i;:::-;79603:34;;79661:7;79655:21;79680:1;79655:26;:87;;;;;;;;;;;;;;;;;79708:7;79717:18;:7;:16;:18::i;:::-;79691:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;79655:87;79648:94;79432:318;-1:-1:-1;;;79432:318:0:o;83248:163::-;83371:32;83377:2;83381:8;83391:5;83398:4;83371:5;:32::i;95867:114::-;95927:13;95960;95953:20;;;;;:::i;33715:723::-;33771:13;33992:5;34001:1;33992:10;33988:53;;-1:-1:-1;;34019:10:0;;;;;;;;;;;;-1:-1:-1;;;34019:10:0;;;;;33715:723::o;33988:53::-;34066:5;34051:12;34107:78;34114:9;;34107:78;;34140:8;;;;:::i;:::-;;-1:-1:-1;34163:10:0;;-1:-1:-1;34171:2:0;34163:10;;:::i;:::-;;;34107:78;;;34195:19;34227:6;-1:-1:-1;;;;;34217:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34217:17:0;;34195:39;;34245:154;34252:10;;34245:154;;34279:11;34289:1;34279:11;;:::i;:::-;;-1:-1:-1;34348:10:0;34356:2;34348:5;:10;:::i;:::-;34335:24;;:2;:24;:::i;:::-;34322:39;;34305:6;34312;34305:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;34305:56:0;;;;;;;;-1:-1:-1;34376:11:0;34385:2;34376:11;;:::i;:::-;;;34245:154;;83670:1775;83809:20;83832:13;-1:-1:-1;;;;;83860:16:0;;83856:48;;83885:19;;-1:-1:-1;;;83885:19:0;;;;;;;;;;;83856:48;83919:8;83931:1;83919:13;83915:44;;83941:18;;-1:-1:-1;;;83941:18:0;;;;;;;;;;;83915:44;-1:-1:-1;;;;;84310:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;84369:49:0;;-1:-1:-1;;;;;84310:44:0;;;;;;;84369:49;;;;-1:-1:-1;;84310:44:0;;;;;;84369:49;;;;;;;;;;;;;;;;84435:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;84485:66:0;;;;-1:-1:-1;;;84535:15:0;84485:66;;;;;;;;;;84435:25;84632:23;;;84676:4;:23;;;;-1:-1:-1;;;;;;84684:13:0;;25669:20;25717:8;;84684:15;84672:641;;;84720:314;84751:38;;84776:12;;-1:-1:-1;;;;;84751:38:0;;;84768:1;;84751:38;;84768:1;;84751:38;84817:69;84856:1;84860:2;84864:14;;;;;;84880:5;84817:30;:69::i;:::-;84812:174;;84922:40;;-1:-1:-1;;;84922:40:0;;;;;;;;;;;84812:174;85029:3;85013:12;:19;84720:314;;85115:12;85098:13;;:29;85094:43;;85129:8;;;85094:43;84672:641;;;85178:120;85209:40;;85234:14;;;;;-1:-1:-1;;;;;85209:40:0;;;85226:1;;85209:40;;85226:1;;85209:40;85293:3;85277:12;:19;85178:120;;84672:641;-1:-1:-1;85327:13:0;:28;85377:60;81962:369;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:127::-;2754:10;2749:3;2745:20;2742:1;2735:31;2785:4;2782:1;2775:15;2809:4;2806:1;2799:15;2825:632;2890:5;-1:-1:-1;;;;;2961:2:1;2953:6;2950:14;2947:40;;;2967:18;;:::i;:::-;3042:2;3036:9;3010:2;3096:15;;-1:-1:-1;;3092:24:1;;;3118:2;3088:33;3084:42;3072:55;;;3142:18;;;3162:22;;;3139:46;3136:72;;;3188:18;;:::i;:::-;3228:10;3224:2;3217:22;3257:6;3248:15;;3287:6;3279;3272:22;3327:3;3318:6;3313:3;3309:16;3306:25;3303:45;;;3344:1;3341;3334:12;3303:45;3394:6;3389:3;3382:4;3374:6;3370:17;3357:44;3449:1;3442:4;3433:6;3425;3421:19;3417:30;3410:41;;;;2825:632;;;;;:::o;3462:451::-;3531:6;3584:2;3572:9;3563:7;3559:23;3555:32;3552:52;;;3600:1;3597;3590:12;3552:52;3640:9;3627:23;-1:-1:-1;;;;;3665:6:1;3662:30;3659:50;;;3705:1;3702;3695:12;3659:50;3728:22;;3781:4;3773:13;;3769:27;-1:-1:-1;3759:55:1;;3810:1;3807;3800:12;3759:55;3833:74;3899:7;3894:2;3881:16;3876:2;3872;3868:11;3833:74;:::i;3918:186::-;3977:6;4030:2;4018:9;4009:7;4005:23;4001:32;3998:52;;;4046:1;4043;4036:12;3998:52;4069:29;4088:9;4069:29;:::i;4109:632::-;4280:2;4332:21;;;4402:13;;4305:18;;;4424:22;;;4251:4;;4280:2;4503:15;;;;4477:2;4462:18;;;4251:4;4546:169;4560:6;4557:1;4554:13;4546:169;;;4621:13;;4609:26;;4690:15;;;;4655:12;;;;4582:1;4575:9;4546:169;;;-1:-1:-1;4732:3:1;;4109:632;-1:-1:-1;;;;;;4109:632:1:o;4746:615::-;4832:6;4840;4893:2;4881:9;4872:7;4868:23;4864:32;4861:52;;;4909:1;4906;4899:12;4861:52;4949:9;4936:23;-1:-1:-1;;;;;5019:2:1;5011:6;5008:14;5005:34;;;5035:1;5032;5025:12;5005:34;5073:6;5062:9;5058:22;5048:32;;5118:7;5111:4;5107:2;5103:13;5099:27;5089:55;;5140:1;5137;5130:12;5089:55;5180:2;5167:16;5206:2;5198:6;5195:14;5192:34;;;5222:1;5219;5212:12;5192:34;5275:7;5270:2;5260:6;5257:1;5253:14;5249:2;5245:23;5241:32;5238:45;5235:65;;;5296:1;5293;5286:12;5235:65;5327:2;5319:11;;;;;5349:6;;-1:-1:-1;4746:615:1;;-1:-1:-1;;;;4746:615:1:o;5366:347::-;5431:6;5439;5492:2;5480:9;5471:7;5467:23;5463:32;5460:52;;;5508:1;5505;5498:12;5460:52;5531:29;5550:9;5531:29;:::i;:::-;5521:39;;5610:2;5599:9;5595:18;5582:32;5657:5;5650:13;5643:21;5636:5;5633:32;5623:60;;5679:1;5676;5669:12;5623:60;5702:5;5692:15;;;5366:347;;;;;:::o;5718:667::-;5813:6;5821;5829;5837;5890:3;5878:9;5869:7;5865:23;5861:33;5858:53;;;5907:1;5904;5897:12;5858:53;5930:29;5949:9;5930:29;:::i;:::-;5920:39;;5978:38;6012:2;6001:9;5997:18;5978:38;:::i;:::-;5968:48;;6063:2;6052:9;6048:18;6035:32;6025:42;;6118:2;6107:9;6103:18;6090:32;-1:-1:-1;;;;;6137:6:1;6134:30;6131:50;;;6177:1;6174;6167:12;6131:50;6200:22;;6253:4;6245:13;;6241:27;-1:-1:-1;6231:55:1;;6282:1;6279;6272:12;6231:55;6305:74;6371:7;6366:2;6353:16;6348:2;6344;6340:11;6305:74;:::i;:::-;6295:84;;;5718:667;;;;;;;:::o;6390:260::-;6458:6;6466;6519:2;6507:9;6498:7;6494:23;6490:32;6487:52;;;6535:1;6532;6525:12;6487:52;6558:29;6577:9;6558:29;:::i;:::-;6548:39;;6606:38;6640:2;6629:9;6625:18;6606:38;:::i;:::-;6596:48;;6390:260;;;;;:::o;6655:380::-;6734:1;6730:12;;;;6777;;;6798:61;;6852:4;6844:6;6840:17;6830:27;;6798:61;6905:2;6897:6;6894:14;6874:18;6871:38;6868:161;;6951:10;6946:3;6942:20;6939:1;6932:31;6986:4;6983:1;6976:15;7014:4;7011:1;7004:15;6868:161;;6655:380;;;:::o;7040:356::-;7242:2;7224:21;;;7261:18;;;7254:30;7320:34;7315:2;7300:18;;7293:62;7387:2;7372:18;;7040:356::o;7401:127::-;7462:10;7457:3;7453:20;7450:1;7443:31;7493:4;7490:1;7483:15;7517:4;7514:1;7507:15;7533:125;7598:9;;;7619:10;;;7616:36;;;7632:18;;:::i;8469:518::-;8571:2;8566:3;8563:11;8560:421;;;8607:5;8604:1;8597:16;8651:4;8648:1;8638:18;8721:2;8709:10;8705:19;8702:1;8698:27;8692:4;8688:38;8757:4;8745:10;8742:20;8739:47;;;-1:-1:-1;8780:4:1;8739:47;8835:2;8830:3;8826:12;8823:1;8819:20;8813:4;8809:31;8799:41;;8890:81;8908:2;8901:5;8898:13;8890:81;;;8967:1;8953:16;;8934:1;8923:13;8890:81;;9163:1345;9289:3;9283:10;-1:-1:-1;;;;;9308:6:1;9305:30;9302:56;;;9338:18;;:::i;:::-;9367:97;9457:6;9417:38;9449:4;9443:11;9417:38;:::i;:::-;9411:4;9367:97;:::i;:::-;9519:4;;9576:2;9565:14;;9593:1;9588:663;;;;10295:1;10312:6;10309:89;;;-1:-1:-1;10364:19:1;;;10358:26;10309:89;-1:-1:-1;;9120:1:1;9116:11;;;9112:24;9108:29;9098:40;9144:1;9140:11;;;9095:57;10411:81;;9558:944;;9588:663;8416:1;8409:14;;;8453:4;8440:18;;-1:-1:-1;;9624:20:1;;;9742:236;9756:7;9753:1;9750:14;9742:236;;;9845:19;;;9839:26;9824:42;;9937:27;;;;9905:1;9893:14;;;;9772:19;;9742:236;;;9746:3;10006:6;9997:7;9994:19;9991:201;;;10067:19;;;10061:26;-1:-1:-1;;10150:1:1;10146:14;;;10162:3;10142:24;10138:37;10134:42;10119:58;10104:74;;9991:201;;;10238:1;10229:6;10226:1;10222:14;10218:22;10212:4;10205:36;9558:944;;;;;9163:1345;;:::o;10513:127::-;10574:10;10569:3;10565:20;10562:1;10555:31;10605:4;10602:1;10595:15;10629:4;10626:1;10619:15;10645:456;10877:3;10915:6;10909:13;10931:66;10990:6;10985:3;10978:4;10970:6;10966:17;10931:66;:::i;:::-;-1:-1:-1;;;11019:16:1;;11044:22;;;-1:-1:-1;11093:1:1;11082:13;;10645:456;-1:-1:-1;10645:456:1:o;11513:489::-;-1:-1:-1;;;;;11782:15:1;;;11764:34;;11834:15;;11829:2;11814:18;;11807:43;11881:2;11866:18;;11859:34;;;11929:3;11924:2;11909:18;;11902:31;;;11707:4;;11950:46;;11976:19;;11968:6;11950:46;:::i;:::-;11942:54;11513:489;-1:-1:-1;;;;;;11513:489:1:o;12007:249::-;12076:6;12129:2;12117:9;12108:7;12104:23;12100:32;12097:52;;;12145:1;12142;12135:12;12097:52;12177:9;12171:16;12196:30;12220:5;12196:30;:::i;12261:496::-;12440:3;12478:6;12472:13;12494:66;12553:6;12548:3;12541:4;12533:6;12529:17;12494:66;:::i;:::-;12623:13;;12582:16;;;;12645:70;12623:13;12582:16;12692:4;12680:17;;12645:70;:::i;:::-;12731:20;;12261:496;-1:-1:-1;;;;12261:496:1:o;12762:135::-;12801:3;12822:17;;;12819:43;;12842:18;;:::i;:::-;-1:-1:-1;12889:1:1;12878:13;;12762:135::o;12902:127::-;12963:10;12958:3;12954:20;12951:1;12944:31;12994:4;12991:1;12984:15;13018:4;13015:1;13008:15;13034:120;13074:1;13100;13090:35;;13105:18;;:::i;:::-;-1:-1:-1;13139:9:1;;13034:120::o;13159:128::-;13226:9;;;13247:11;;;13244:37;;;13261:18;;:::i;13292:112::-;13324:1;13350;13340:35;;13355:18;;:::i;:::-;-1:-1:-1;13389:9:1;;13292:112::o

Swarm Source

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