ETH Price: $3,999.53 (+0.17%)

Contract

0x7ABF5649F5B5bfEaDD7fDccf4e7b379EBbFEc82b
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Amount:Between 1-10k
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
152504712022-07-31 13:21:36860 days ago1659273696
0x7ABF5649...EBbFEc82b
1.01 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SEGG

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-22
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol


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

pragma solidity ^0.8.0;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

/**
 * @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, IERC721A {
    using Address for address;
    using Strings for uint256;

    // 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 override 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) if (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 + 1).toString())) : '';
    }

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

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

        if (_msgSender() != owner) if(!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()) if(!_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;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        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 (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 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) 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;

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


contract SEGG is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;

    uint256 public tokenPrice = 0.01 ether;

    uint256 public maxTokensPerMint = 50; //not used
    uint256 public maxTokensPerAddress = 50;

    string public tokenBaseURI = "ipfs:///";

    uint256 public tokensToBuyAmount = 999;
    bool public hasSaleStarted = false;
    mapping(address => uint256) public publicSalePurchased;

    address public claimingToken = 0x4B84E4D5C5c293710866336Da79358A988b75760;
    uint256 public claimingCoef = 1;
    mapping(uint256 => bool) public usedTokens;

    constructor() ERC721A("SEGG", "SEGG") {
        
    }

    function setMaxTokensPerMint(uint256 val) external onlyOwner {
        maxTokensPerMint = val;
    }

    function setClaimingToken(address val) external onlyOwner {
        claimingToken = val;
    }

    function setClaimingCoefficient(uint256 val) external onlyOwner {
        claimingCoef = val;
    }

    function setMaxTokensPerAddress(uint256 val) external onlyOwner {
        maxTokensPerAddress = val;
    }

    function setSale(bool val) external onlyOwner {
        hasSaleStarted = val;
    }
    
    function setTokenPrice(uint256 val) external onlyOwner {
      tokenPrice = val;
    }

    function getAvailableTokensForClaim(address target) external view returns (uint256[] memory) {
        uint256 count = 0;

        ERC721A claimer = ERC721A(claimingToken);
        for (uint256 i = 1; i <= claimer.totalSupply(); i++) {
            if (claimer.ownerOf(i) == target && ! usedTokens[i]) {
                count++;
            }
        }

        uint256[] memory result = new uint256[](count);
        uint256 idx = 0;
        for (uint256 i = 1; i <= claimer.totalSupply(); i++) {
            if (claimer.ownerOf(i) == target && ! usedTokens[i]) {
                result[idx] = i;
                idx++;
            }
        }

        return result;
    }

    function claim(uint256[] calldata ids) external nonReentrant {
        require(tokensToBuyAmount > 0, "No more tokens left to claim!");
        require(hasSaleStarted, "Cannot mint before presale");

        ERC721A claimer = ERC721A(claimingToken);
        uint256 balance = claimer.balanceOf(msg.sender);
        require(balance > 0, "No claiming tokens available!");

        uint256 amount = 0;
        for (uint256 i = 0; i < ids.length; i++) {
            require(claimer.ownerOf(ids[i]) == msg.sender, "Trying to claim with token that isn't yours");
            require(! usedTokens[ids[i]], "Cannot claim with the same token twice");

            usedTokens[ids[i]] = true;
            amount += claimingCoef;
        }

        if (amount > tokensToBuyAmount) {
            amount = tokensToBuyAmount;
        }

        _safeMint(msg.sender, amount);
        tokensToBuyAmount -= amount;
    }

    function mint(uint256 amount) external payable nonReentrant {
        require(msg.value >= tokenPrice * amount, "Incorrect ETH");
        require(hasSaleStarted, "Cannot mint before presale");
        require(amount <= maxTokensPerMint, "Cannot mint more than the max tokens per mint");
        require(amount <= tokensToBuyAmount, "No tokens left for minting");
        require(publicSalePurchased[msg.sender] + amount <= maxTokensPerAddress, "Cannot mint more than max tokens per address");

        _safeMint(msg.sender, amount);
        
        publicSalePurchased[msg.sender] += amount;
        tokensToBuyAmount -= amount;
    }

    function _baseURI() internal view override(ERC721A) returns (string memory) {
        return tokenBaseURI;
    }
   
    function setBaseURI(string calldata URI) external onlyOwner {
        tokenBaseURI = URI;
    }

    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

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

    function getContractInfo() external view returns (
        bool _hasSaleStarted,
        uint256 _maxTokensAllowed,
        uint256 _tokenPrice,
        uint256 _tokensToBuyAmount
    ) {
        _hasSaleStarted = hasSaleStarted;
        _maxTokensAllowed = maxTokensPerMint;
        _tokenPrice = tokenPrice;
        _tokensToBuyAmount = tokensToBuyAmount;
    }
}

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"},{"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":"ids","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimingCoef","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimingToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"getAvailableTokensForClaim","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractInfo","outputs":[{"internalType":"bool","name":"_hasSaleStarted","type":"bool"},{"internalType":"uint256","name":"_maxTokensAllowed","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256","name":"_tokensToBuyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSalePurchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setClaimingCoefficient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"val","type":"address"}],"name":"setClaimingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPrice","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":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensToBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

662386f26fc10000600a556032600b819055600c5560c06040526008608081905267697066733a2f2f2f60c01b60a09081526200004091600d91906200014e565b506103e7600e55600f805460ff19169055601180546001600160a01b031916734b84e4d5c5c293710866336da79358a988b7576017905560016012553480156200008957600080fd5b506040805180820182526004808252635345474760e01b602080840182815285518087019096529285528401528151919291620000c9916002916200014e565b508051620000df9060039060208401906200014e565b50506000805550620000f133620000fc565b600160095562000231565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015c90620001f4565b90600052602060002090601f016020900481019282620001805760008555620001cb565b82601f106200019b57805160ff1916838001178555620001cb565b82800160010185558215620001cb579182015b82811115620001cb578251825591602001919060010190620001ae565b50620001d9929150620001dd565b5090565b5b80821115620001d95760008155600101620001de565b600181811c908216806200020957607f821691505b602082108114156200022b57634e487b7160e01b600052602260045260246000fd5b50919050565b61265480620002416000396000f3fe6080604052600436106102305760003560e01c80636ba4c1381161012e578063a0712d68116100ab578063e985e9c51161006f578063e985e9c514610680578063f2fde38b146106c9578063f4b6f25d146106e9578063fc01fea514610709578063ff45cb951461073657600080fd5b8063a0712d68146105ed578063a22cb46514610600578063b88d4fde14610620578063c87b56dd14610640578063dbb84f111461066057600080fd5b80637cc1f867116100f25780637cc1f867146105385780637ff9b596146105775780638da5cb5b1461058d5780638e6a7c34146105ab57806395d89b41146105d857600080fd5b80636ba4c138146104a357806370a08231146104c3578063715018a6146104e357806374f47cb2146104f8578063762cda3c1461051857600080fd5b806323a1baaa116101bc57806342842e0e1161018057806342842e0e1461040e5780634e99b8001461042e57806355f804b3146104435780636352211e146104635780636a61e5fc1461048357600080fd5b806323a1baaa1461038d57806323b872dd146103a35780632c034736146103c357806332a381e1146103e35780633ccfd60b146103f957600080fd5b80630f7ee879116102035780630f7ee879146102e6578063174654711461031657806318160ddd1461033a5780631c8b232d146103535780631d2e5a3a1461036d57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004612006565b61074c565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f61079e565b604051610261919061207b565b34801561029857600080fd5b506102ac6102a736600461208e565b610830565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df3660046120bc565b610874565b005b3480156102f257600080fd5b5061025561030136600461208e565b60136020526000908152604090205460ff1681565b34801561032257600080fd5b5061032c600b5481565b604051908152602001610261565b34801561034657600080fd5b506001546000540361032c565b34801561035f57600080fd5b50600f546102559060ff1681565b34801561037957600080fd5b506102e46103883660046120fd565b6108fb565b34801561039957600080fd5b5061032c600c5481565b3480156103af57600080fd5b506102e46103be366004612118565b610941565b3480156103cf57600080fd5b506011546102ac906001600160a01b031681565b3480156103ef57600080fd5b5061032c60125481565b34801561040557600080fd5b506102e461094c565b34801561041a57600080fd5b506102e4610429366004612118565b61099c565b34801561043a57600080fd5b5061027f6109b7565b34801561044f57600080fd5b506102e461045e366004612159565b610a45565b34801561046f57600080fd5b506102ac61047e36600461208e565b610a7b565b34801561048f57600080fd5b506102e461049e36600461208e565b610a8d565b3480156104af57600080fd5b506102e46104be3660046121cb565b610abc565b3480156104cf57600080fd5b5061032c6104de36600461222e565b610ea8565b3480156104ef57600080fd5b506102e4610ef7565b34801561050457600080fd5b506102e461051336600461222e565b610f2b565b34801561052457600080fd5b506102e461053336600461208e565b610f77565b34801561054457600080fd5b50600f54600b54600a54600e546040805160ff909516151585526020850193909352918301526060820152608001610261565b34801561058357600080fd5b5061032c600a5481565b34801561059957600080fd5b506008546001600160a01b03166102ac565b3480156105b757600080fd5b506105cb6105c636600461222e565b610fa6565b604051610261919061224b565b3480156105e457600080fd5b5061027f611271565b6102e46105fb36600461208e565b611280565b34801561060c57600080fd5b506102e461061b36600461228f565b611501565b34801561062c57600080fd5b506102e461063b3660046122da565b611597565b34801561064c57600080fd5b5061027f61065b36600461208e565b6115e1565b34801561066c57600080fd5b506102e461067b36600461208e565b611612565b34801561068c57600080fd5b5061025561069b3660046123ba565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106d557600080fd5b506102e46106e436600461222e565b611641565b3480156106f557600080fd5b506102e461070436600461208e565b6116dc565b34801561071557600080fd5b5061032c61072436600461222e565b60106020526000908152604090205481565b34801561074257600080fd5b5061032c600e5481565b60006001600160e01b031982166380ac58cd60e01b148061077d57506001600160e01b03198216635b5e139f60e01b145b8061079857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107ad906123f3565b80601f01602080910402602001604051908101604052809291908181526020018280546107d9906123f3565b80156108265780601f106107fb57610100808354040283529160200191610826565b820191906000526020600020905b81548152906001019060200180831161080957829003601f168201915b5050505050905090565b600061083b8261170b565b610858576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061087f82610a7b565b9050806001600160a01b0316836001600160a01b031614156108b45760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108eb576108ce813361069b565b6108eb576040516367d9dca160e11b815260040160405180910390fd5b6108f6838383611736565b505050565b6008546001600160a01b0316331461092e5760405162461bcd60e51b81526004016109259061242e565b60405180910390fd5b600f805460ff1916911515919091179055565b6108f6838383611792565b6008546001600160a01b031633146109765760405162461bcd60e51b81526004016109259061242e565b60405133904780156108fc02916000818181858888f1935050505061099a57600080fd5b565b6108f683838360405180602001604052806000815250611597565b600d80546109c4906123f3565b80601f01602080910402602001604051908101604052809291908181526020018280546109f0906123f3565b8015610a3d5780601f10610a1257610100808354040283529160200191610a3d565b820191906000526020600020905b815481529060010190602001808311610a2057829003601f168201915b505050505081565b6008546001600160a01b03163314610a6f5760405162461bcd60e51b81526004016109259061242e565b6108f6600d8383611f57565b6000610a8682611981565b5192915050565b6008546001600160a01b03163314610ab75760405162461bcd60e51b81526004016109259061242e565b600a55565b60026009541415610b0f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610925565b6002600955600e54610b635760405162461bcd60e51b815260206004820152601d60248201527f4e6f206d6f726520746f6b656e73206c65667420746f20636c61696d210000006044820152606401610925565b600f5460ff16610bb55760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206d696e74206265666f72652070726573616c650000000000006044820152606401610925565b6011546040516370a0823160e01b81523360048201526001600160a01b039091169060009082906370a0823190602401602060405180830381865afa158015610c02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c269190612463565b905060008111610c785760405162461bcd60e51b815260206004820152601d60248201527f4e6f20636c61696d696e6720746f6b656e7320617661696c61626c65210000006044820152606401610925565b6000805b84811015610e6b57336001600160a01b038516636352211e888885818110610ca657610ca661247c565b905060200201356040518263ffffffff1660e01b8152600401610ccb91815260200190565b602060405180830381865afa158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c9190612492565b6001600160a01b031614610d765760405162461bcd60e51b815260206004820152602b60248201527f547279696e6720746f20636c61696d207769746820746f6b656e20746861742060448201526a69736e277420796f75727360a81b6064820152608401610925565b60136000878784818110610d8c57610d8c61247c565b602090810292909201358352508101919091526040016000205460ff1615610e055760405162461bcd60e51b815260206004820152602660248201527f43616e6e6f7420636c61696d2077697468207468652073616d6520746f6b656e60448201526520747769636560d01b6064820152608401610925565b600160136000888885818110610e1d57610e1d61247c565b90506020020135815260200190815260200160002060006101000a81548160ff02191690831515021790555060125482610e5791906124c5565b915080610e63816124dd565b915050610c7c565b50600e54811115610e7b5750600e545b610e853382611a9d565b80600e6000828254610e9791906124f8565b909155505060016009555050505050565b60006001600160a01b038216610ed1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610f215760405162461bcd60e51b81526004016109259061242e565b61099a6000611abb565b6008546001600160a01b03163314610f555760405162461bcd60e51b81526004016109259061242e565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610fa15760405162461bcd60e51b81526004016109259061242e565b600b55565b6011546060906000906001600160a01b031660015b816001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101d9190612463565b81116110db576040516331a9108f60e11b8152600481018290526001600160a01b038087169190841690636352211e90602401602060405180830381865afa15801561106d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110919190612492565b6001600160a01b03161480156110b6575060008181526013602052604090205460ff16155b156110c957826110c5816124dd565b9350505b806110d3816124dd565b915050610fbb565b5060008267ffffffffffffffff8111156110f7576110f76122c4565b604051908082528060200260200182016040528015611120578160200160208202803683370190505b509050600060015b836001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118a9190612463565b8111611266576040516331a9108f60e11b8152600481018290526001600160a01b038089169190861690636352211e90602401602060405180830381865afa1580156111da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fe9190612492565b6001600160a01b0316148015611223575060008181526013602052604090205460ff16155b15611254578083838151811061123b5761123b61247c565b602090810291909101015281611250816124dd565b9250505b8061125e816124dd565b915050611128565b509095945050505050565b6060600380546107ad906123f3565b600260095414156112d35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610925565b6002600955600a546112e690829061250f565b3410156113255760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b6044820152606401610925565b600f5460ff166113775760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206d696e74206265666f72652070726573616c650000000000006044820152606401610925565b600b548111156113df5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820746f60448201526c1ad95b9cc81c195c881b5a5b9d609a1b6064820152608401610925565b600e548111156114315760405162461bcd60e51b815260206004820152601a60248201527f4e6f20746f6b656e73206c65667420666f72206d696e74696e670000000000006044820152606401610925565b600c543360009081526010602052604090205461144f9083906124c5565b11156114b25760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e206d617820746f6b656e7360448201526b20706572206164647265737360a01b6064820152608401610925565b6114bc3382611a9d565b33600090815260106020526040812080548392906114db9084906124c5565b9250508190555080600e60008282546114f491906124f8565b9091555050600160095550565b6001600160a01b03821633141561152b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115a2848484611792565b6001600160a01b0383163b156115db576115be84848484611b0d565b6115db576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606115ec82611bf6565b6040516020016115fc919061252e565b6040516020818303038152906040529050919050565b6008546001600160a01b0316331461163c5760405162461bcd60e51b81526004016109259061242e565b600c55565b6008546001600160a01b0316331461166b5760405162461bcd60e51b81526004016109259061242e565b6001600160a01b0381166116d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610925565b6116d981611abb565b50565b6008546001600160a01b031633146117065760405162461bcd60e51b81526004016109259061242e565b601255565b6000805482108015610798575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061179d82611981565b9050836001600160a01b031681600001516001600160a01b0316146117d45760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806117f257506117f2853361069b565b8061180d57503361180284610830565b6001600160a01b0316145b90508061182d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661185457604051633a954ecd60e21b815260040160405180910390fd5b61186060008487611736565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611936576000548214611936578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b604080516060810182526000808252602082018190529181019190915281600054811015611a8457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611a825780516001600160a01b031615611a18579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611a7d579392505050565b611a18565b505b604051636f96cda160e11b815260040160405180910390fd5b611ab7828260405180602001604052806000815250611c85565b5050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b42903390899088908890600401612557565b6020604051808303816000875af1925050508015611b7d575060408051601f3d908101601f19168201909252611b7a91810190612594565b60015b611bd8573d808015611bab576040519150601f19603f3d011682016040523d82523d6000602084013e611bb0565b606091505b508051611bd0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060611c018261170b565b611c1e57604051630a14c4b560e41b815260040160405180910390fd5b6000611c28611e4a565b9050805160001415611c495760405180602001604052806000815250611c7e565b80611c5d611c588560016124c5565b611e59565b604051602001611c6e9291906125b1565b6040516020818303038152906040525b9392505050565b6000546001600160a01b038416611cae57604051622e076360e81b815260040160405180910390fd5b82611ccc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611df5575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611dbe6000878480600101955087611b0d565b611ddb576040516368d2bf6b60e11b815260040160405180910390fd5b808210611d73578260005414611df057600080fd5b611e3a565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611df6575b5060009081556115db9085838684565b6060600d80546107ad906123f3565b606081611e7d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ea75780611e91816124dd565b9150611ea09050600a836125f6565b9150611e81565b60008167ffffffffffffffff811115611ec257611ec26122c4565b6040519080825280601f01601f191660200182016040528015611eec576020820181803683370190505b5090505b8415611bee57611f016001836124f8565b9150611f0e600a8661260a565b611f199060306124c5565b60f81b818381518110611f2e57611f2e61247c565b60200101906001600160f81b031916908160001a905350611f50600a866125f6565b9450611ef0565b828054611f63906123f3565b90600052602060002090601f016020900481019282611f855760008555611fcb565b82601f10611f9e5782800160ff19823516178555611fcb565b82800160010185558215611fcb579182015b82811115611fcb578235825591602001919060010190611fb0565b50611fd7929150611fdb565b5090565b5b80821115611fd75760008155600101611fdc565b6001600160e01b0319811681146116d957600080fd5b60006020828403121561201857600080fd5b8135611c7e81611ff0565b60005b8381101561203e578181015183820152602001612026565b838111156115db5750506000910152565b60008151808452612067816020860160208601612023565b601f01601f19169290920160200192915050565b602081526000611c7e602083018461204f565b6000602082840312156120a057600080fd5b5035919050565b6001600160a01b03811681146116d957600080fd5b600080604083850312156120cf57600080fd5b82356120da816120a7565b946020939093013593505050565b803580151581146120f857600080fd5b919050565b60006020828403121561210f57600080fd5b611c7e826120e8565b60008060006060848603121561212d57600080fd5b8335612138816120a7565b92506020840135612148816120a7565b929592945050506040919091013590565b6000806020838503121561216c57600080fd5b823567ffffffffffffffff8082111561218457600080fd5b818501915085601f83011261219857600080fd5b8135818111156121a757600080fd5b8660208285010111156121b957600080fd5b60209290920196919550909350505050565b600080602083850312156121de57600080fd5b823567ffffffffffffffff808211156121f657600080fd5b818501915085601f83011261220a57600080fd5b81358181111561221957600080fd5b8660208260051b85010111156121b957600080fd5b60006020828403121561224057600080fd5b8135611c7e816120a7565b6020808252825182820181905260009190848201906040850190845b8181101561228357835183529284019291840191600101612267565b50909695505050505050565b600080604083850312156122a257600080fd5b82356122ad816120a7565b91506122bb602084016120e8565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156122f057600080fd5b84356122fb816120a7565b9350602085013561230b816120a7565b925060408501359150606085013567ffffffffffffffff8082111561232f57600080fd5b818701915087601f83011261234357600080fd5b813581811115612355576123556122c4565b604051601f8201601f19908116603f0116810190838211818310171561237d5761237d6122c4565b816040528281528a602084870101111561239657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156123cd57600080fd5b82356123d8816120a7565b915060208301356123e8816120a7565b809150509250929050565b600181811c9082168061240757607f821691505b6020821081141561242857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561247557600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156124a457600080fd5b8151611c7e816120a7565b634e487b7160e01b600052601160045260246000fd5b600082198211156124d8576124d86124af565b500190565b60006000198214156124f1576124f16124af565b5060010190565b60008282101561250a5761250a6124af565b500390565b6000816000190483118215151615612529576125296124af565b500290565b60008251612540818460208701612023565b64173539b7b760d91b920191825250600501919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061258a9083018461204f565b9695505050505050565b6000602082840312156125a657600080fd5b8151611c7e81611ff0565b600083516125c3818460208801612023565b8351908301906125d7818360208801612023565b01949350505050565b634e487b7160e01b600052601260045260246000fd5b600082612605576126056125e0565b500490565b600082612619576126196125e0565b50069056fea2646970667358221220f20b47498518fe82382bc4573443c19057917d8d7c81133fe48c38d610c776e264736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106102305760003560e01c80636ba4c1381161012e578063a0712d68116100ab578063e985e9c51161006f578063e985e9c514610680578063f2fde38b146106c9578063f4b6f25d146106e9578063fc01fea514610709578063ff45cb951461073657600080fd5b8063a0712d68146105ed578063a22cb46514610600578063b88d4fde14610620578063c87b56dd14610640578063dbb84f111461066057600080fd5b80637cc1f867116100f25780637cc1f867146105385780637ff9b596146105775780638da5cb5b1461058d5780638e6a7c34146105ab57806395d89b41146105d857600080fd5b80636ba4c138146104a357806370a08231146104c3578063715018a6146104e357806374f47cb2146104f8578063762cda3c1461051857600080fd5b806323a1baaa116101bc57806342842e0e1161018057806342842e0e1461040e5780634e99b8001461042e57806355f804b3146104435780636352211e146104635780636a61e5fc1461048357600080fd5b806323a1baaa1461038d57806323b872dd146103a35780632c034736146103c357806332a381e1146103e35780633ccfd60b146103f957600080fd5b80630f7ee879116102035780630f7ee879146102e6578063174654711461031657806318160ddd1461033a5780631c8b232d146103535780631d2e5a3a1461036d57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004612006565b61074c565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f61079e565b604051610261919061207b565b34801561029857600080fd5b506102ac6102a736600461208e565b610830565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df3660046120bc565b610874565b005b3480156102f257600080fd5b5061025561030136600461208e565b60136020526000908152604090205460ff1681565b34801561032257600080fd5b5061032c600b5481565b604051908152602001610261565b34801561034657600080fd5b506001546000540361032c565b34801561035f57600080fd5b50600f546102559060ff1681565b34801561037957600080fd5b506102e46103883660046120fd565b6108fb565b34801561039957600080fd5b5061032c600c5481565b3480156103af57600080fd5b506102e46103be366004612118565b610941565b3480156103cf57600080fd5b506011546102ac906001600160a01b031681565b3480156103ef57600080fd5b5061032c60125481565b34801561040557600080fd5b506102e461094c565b34801561041a57600080fd5b506102e4610429366004612118565b61099c565b34801561043a57600080fd5b5061027f6109b7565b34801561044f57600080fd5b506102e461045e366004612159565b610a45565b34801561046f57600080fd5b506102ac61047e36600461208e565b610a7b565b34801561048f57600080fd5b506102e461049e36600461208e565b610a8d565b3480156104af57600080fd5b506102e46104be3660046121cb565b610abc565b3480156104cf57600080fd5b5061032c6104de36600461222e565b610ea8565b3480156104ef57600080fd5b506102e4610ef7565b34801561050457600080fd5b506102e461051336600461222e565b610f2b565b34801561052457600080fd5b506102e461053336600461208e565b610f77565b34801561054457600080fd5b50600f54600b54600a54600e546040805160ff909516151585526020850193909352918301526060820152608001610261565b34801561058357600080fd5b5061032c600a5481565b34801561059957600080fd5b506008546001600160a01b03166102ac565b3480156105b757600080fd5b506105cb6105c636600461222e565b610fa6565b604051610261919061224b565b3480156105e457600080fd5b5061027f611271565b6102e46105fb36600461208e565b611280565b34801561060c57600080fd5b506102e461061b36600461228f565b611501565b34801561062c57600080fd5b506102e461063b3660046122da565b611597565b34801561064c57600080fd5b5061027f61065b36600461208e565b6115e1565b34801561066c57600080fd5b506102e461067b36600461208e565b611612565b34801561068c57600080fd5b5061025561069b3660046123ba565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106d557600080fd5b506102e46106e436600461222e565b611641565b3480156106f557600080fd5b506102e461070436600461208e565b6116dc565b34801561071557600080fd5b5061032c61072436600461222e565b60106020526000908152604090205481565b34801561074257600080fd5b5061032c600e5481565b60006001600160e01b031982166380ac58cd60e01b148061077d57506001600160e01b03198216635b5e139f60e01b145b8061079857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107ad906123f3565b80601f01602080910402602001604051908101604052809291908181526020018280546107d9906123f3565b80156108265780601f106107fb57610100808354040283529160200191610826565b820191906000526020600020905b81548152906001019060200180831161080957829003601f168201915b5050505050905090565b600061083b8261170b565b610858576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061087f82610a7b565b9050806001600160a01b0316836001600160a01b031614156108b45760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108eb576108ce813361069b565b6108eb576040516367d9dca160e11b815260040160405180910390fd5b6108f6838383611736565b505050565b6008546001600160a01b0316331461092e5760405162461bcd60e51b81526004016109259061242e565b60405180910390fd5b600f805460ff1916911515919091179055565b6108f6838383611792565b6008546001600160a01b031633146109765760405162461bcd60e51b81526004016109259061242e565b60405133904780156108fc02916000818181858888f1935050505061099a57600080fd5b565b6108f683838360405180602001604052806000815250611597565b600d80546109c4906123f3565b80601f01602080910402602001604051908101604052809291908181526020018280546109f0906123f3565b8015610a3d5780601f10610a1257610100808354040283529160200191610a3d565b820191906000526020600020905b815481529060010190602001808311610a2057829003601f168201915b505050505081565b6008546001600160a01b03163314610a6f5760405162461bcd60e51b81526004016109259061242e565b6108f6600d8383611f57565b6000610a8682611981565b5192915050565b6008546001600160a01b03163314610ab75760405162461bcd60e51b81526004016109259061242e565b600a55565b60026009541415610b0f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610925565b6002600955600e54610b635760405162461bcd60e51b815260206004820152601d60248201527f4e6f206d6f726520746f6b656e73206c65667420746f20636c61696d210000006044820152606401610925565b600f5460ff16610bb55760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206d696e74206265666f72652070726573616c650000000000006044820152606401610925565b6011546040516370a0823160e01b81523360048201526001600160a01b039091169060009082906370a0823190602401602060405180830381865afa158015610c02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c269190612463565b905060008111610c785760405162461bcd60e51b815260206004820152601d60248201527f4e6f20636c61696d696e6720746f6b656e7320617661696c61626c65210000006044820152606401610925565b6000805b84811015610e6b57336001600160a01b038516636352211e888885818110610ca657610ca661247c565b905060200201356040518263ffffffff1660e01b8152600401610ccb91815260200190565b602060405180830381865afa158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c9190612492565b6001600160a01b031614610d765760405162461bcd60e51b815260206004820152602b60248201527f547279696e6720746f20636c61696d207769746820746f6b656e20746861742060448201526a69736e277420796f75727360a81b6064820152608401610925565b60136000878784818110610d8c57610d8c61247c565b602090810292909201358352508101919091526040016000205460ff1615610e055760405162461bcd60e51b815260206004820152602660248201527f43616e6e6f7420636c61696d2077697468207468652073616d6520746f6b656e60448201526520747769636560d01b6064820152608401610925565b600160136000888885818110610e1d57610e1d61247c565b90506020020135815260200190815260200160002060006101000a81548160ff02191690831515021790555060125482610e5791906124c5565b915080610e63816124dd565b915050610c7c565b50600e54811115610e7b5750600e545b610e853382611a9d565b80600e6000828254610e9791906124f8565b909155505060016009555050505050565b60006001600160a01b038216610ed1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610f215760405162461bcd60e51b81526004016109259061242e565b61099a6000611abb565b6008546001600160a01b03163314610f555760405162461bcd60e51b81526004016109259061242e565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610fa15760405162461bcd60e51b81526004016109259061242e565b600b55565b6011546060906000906001600160a01b031660015b816001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101d9190612463565b81116110db576040516331a9108f60e11b8152600481018290526001600160a01b038087169190841690636352211e90602401602060405180830381865afa15801561106d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110919190612492565b6001600160a01b03161480156110b6575060008181526013602052604090205460ff16155b156110c957826110c5816124dd565b9350505b806110d3816124dd565b915050610fbb565b5060008267ffffffffffffffff8111156110f7576110f76122c4565b604051908082528060200260200182016040528015611120578160200160208202803683370190505b509050600060015b836001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118a9190612463565b8111611266576040516331a9108f60e11b8152600481018290526001600160a01b038089169190861690636352211e90602401602060405180830381865afa1580156111da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fe9190612492565b6001600160a01b0316148015611223575060008181526013602052604090205460ff16155b15611254578083838151811061123b5761123b61247c565b602090810291909101015281611250816124dd565b9250505b8061125e816124dd565b915050611128565b509095945050505050565b6060600380546107ad906123f3565b600260095414156112d35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610925565b6002600955600a546112e690829061250f565b3410156113255760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b6044820152606401610925565b600f5460ff166113775760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206d696e74206265666f72652070726573616c650000000000006044820152606401610925565b600b548111156113df5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820746f60448201526c1ad95b9cc81c195c881b5a5b9d609a1b6064820152608401610925565b600e548111156114315760405162461bcd60e51b815260206004820152601a60248201527f4e6f20746f6b656e73206c65667420666f72206d696e74696e670000000000006044820152606401610925565b600c543360009081526010602052604090205461144f9083906124c5565b11156114b25760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e206d617820746f6b656e7360448201526b20706572206164647265737360a01b6064820152608401610925565b6114bc3382611a9d565b33600090815260106020526040812080548392906114db9084906124c5565b9250508190555080600e60008282546114f491906124f8565b9091555050600160095550565b6001600160a01b03821633141561152b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115a2848484611792565b6001600160a01b0383163b156115db576115be84848484611b0d565b6115db576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606115ec82611bf6565b6040516020016115fc919061252e565b6040516020818303038152906040529050919050565b6008546001600160a01b0316331461163c5760405162461bcd60e51b81526004016109259061242e565b600c55565b6008546001600160a01b0316331461166b5760405162461bcd60e51b81526004016109259061242e565b6001600160a01b0381166116d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610925565b6116d981611abb565b50565b6008546001600160a01b031633146117065760405162461bcd60e51b81526004016109259061242e565b601255565b6000805482108015610798575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061179d82611981565b9050836001600160a01b031681600001516001600160a01b0316146117d45760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806117f257506117f2853361069b565b8061180d57503361180284610830565b6001600160a01b0316145b90508061182d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661185457604051633a954ecd60e21b815260040160405180910390fd5b61186060008487611736565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611936576000548214611936578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b604080516060810182526000808252602082018190529181019190915281600054811015611a8457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611a825780516001600160a01b031615611a18579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611a7d579392505050565b611a18565b505b604051636f96cda160e11b815260040160405180910390fd5b611ab7828260405180602001604052806000815250611c85565b5050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b42903390899088908890600401612557565b6020604051808303816000875af1925050508015611b7d575060408051601f3d908101601f19168201909252611b7a91810190612594565b60015b611bd8573d808015611bab576040519150601f19603f3d011682016040523d82523d6000602084013e611bb0565b606091505b508051611bd0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060611c018261170b565b611c1e57604051630a14c4b560e41b815260040160405180910390fd5b6000611c28611e4a565b9050805160001415611c495760405180602001604052806000815250611c7e565b80611c5d611c588560016124c5565b611e59565b604051602001611c6e9291906125b1565b6040516020818303038152906040525b9392505050565b6000546001600160a01b038416611cae57604051622e076360e81b815260040160405180910390fd5b82611ccc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611df5575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611dbe6000878480600101955087611b0d565b611ddb576040516368d2bf6b60e11b815260040160405180910390fd5b808210611d73578260005414611df057600080fd5b611e3a565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611df6575b5060009081556115db9085838684565b6060600d80546107ad906123f3565b606081611e7d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ea75780611e91816124dd565b9150611ea09050600a836125f6565b9150611e81565b60008167ffffffffffffffff811115611ec257611ec26122c4565b6040519080825280601f01601f191660200182016040528015611eec576020820181803683370190505b5090505b8415611bee57611f016001836124f8565b9150611f0e600a8661260a565b611f199060306124c5565b60f81b818381518110611f2e57611f2e61247c565b60200101906001600160f81b031916908160001a905350611f50600a866125f6565b9450611ef0565b828054611f63906123f3565b90600052602060002090601f016020900481019282611f855760008555611fcb565b82601f10611f9e5782800160ff19823516178555611fcb565b82800160010185558215611fcb579182015b82811115611fcb578235825591602001919060010190611fb0565b50611fd7929150611fdb565b5090565b5b80821115611fd75760008155600101611fdc565b6001600160e01b0319811681146116d957600080fd5b60006020828403121561201857600080fd5b8135611c7e81611ff0565b60005b8381101561203e578181015183820152602001612026565b838111156115db5750506000910152565b60008151808452612067816020860160208601612023565b601f01601f19169290920160200192915050565b602081526000611c7e602083018461204f565b6000602082840312156120a057600080fd5b5035919050565b6001600160a01b03811681146116d957600080fd5b600080604083850312156120cf57600080fd5b82356120da816120a7565b946020939093013593505050565b803580151581146120f857600080fd5b919050565b60006020828403121561210f57600080fd5b611c7e826120e8565b60008060006060848603121561212d57600080fd5b8335612138816120a7565b92506020840135612148816120a7565b929592945050506040919091013590565b6000806020838503121561216c57600080fd5b823567ffffffffffffffff8082111561218457600080fd5b818501915085601f83011261219857600080fd5b8135818111156121a757600080fd5b8660208285010111156121b957600080fd5b60209290920196919550909350505050565b600080602083850312156121de57600080fd5b823567ffffffffffffffff808211156121f657600080fd5b818501915085601f83011261220a57600080fd5b81358181111561221957600080fd5b8660208260051b85010111156121b957600080fd5b60006020828403121561224057600080fd5b8135611c7e816120a7565b6020808252825182820181905260009190848201906040850190845b8181101561228357835183529284019291840191600101612267565b50909695505050505050565b600080604083850312156122a257600080fd5b82356122ad816120a7565b91506122bb602084016120e8565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156122f057600080fd5b84356122fb816120a7565b9350602085013561230b816120a7565b925060408501359150606085013567ffffffffffffffff8082111561232f57600080fd5b818701915087601f83011261234357600080fd5b813581811115612355576123556122c4565b604051601f8201601f19908116603f0116810190838211818310171561237d5761237d6122c4565b816040528281528a602084870101111561239657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156123cd57600080fd5b82356123d8816120a7565b915060208301356123e8816120a7565b809150509250929050565b600181811c9082168061240757607f821691505b6020821081141561242857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561247557600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156124a457600080fd5b8151611c7e816120a7565b634e487b7160e01b600052601160045260246000fd5b600082198211156124d8576124d86124af565b500190565b60006000198214156124f1576124f16124af565b5060010190565b60008282101561250a5761250a6124af565b500390565b6000816000190483118215151615612529576125296124af565b500290565b60008251612540818460208701612023565b64173539b7b760d91b920191825250600501919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061258a9083018461204f565b9695505050505050565b6000602082840312156125a657600080fd5b8151611c7e81611ff0565b600083516125c3818460208801612023565b8351908301906125d7818360208801612023565b01949350505050565b634e487b7160e01b600052601260045260246000fd5b600082612605576126056125e0565b500490565b600082612619576126196125e0565b50069056fea2646970667358221220f20b47498518fe82382bc4573443c19057917d8d7c81133fe48c38d610c776e264736f6c634300080c0033

Deployed Bytecode Sourcemap

72544:4501:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53722:305;;;;;;;;;;-1:-1:-1;53722:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;53722:305:0;;;;;;;;56837:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;58347:204::-;;;;;;;;;;-1:-1:-1;58347:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;58347:204:0;1528:203:1;57909:372:0;;;;;;;;;;-1:-1:-1;57909:372:0;;;;;:::i;:::-;;:::i;:::-;;73100:42;;;;;;;;;;-1:-1:-1;73100:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;72683:36;;;;;;;;;;;;;;;;;;;2338:25:1;;;2326:2;2311:18;72683:36:0;2192:177:1;52962:312:0;;;;;;;;;;-1:-1:-1;53225:12:0;;53015:7;53209:13;:28;52962:312;;72878:34;;;;;;;;;;-1:-1:-1;72878:34:0;;;;;;;;73654:85;;;;;;;;;;-1:-1:-1;73654:85:0;;;;;:::i;:::-;;:::i;72737:39::-;;;;;;;;;;;;;;;;59212:170;;;;;;;;;;-1:-1:-1;59212:170:0;;;;;:::i;:::-;;:::i;72982:73::-;;;;;;;;;;-1:-1:-1;72982:73:0;;;;-1:-1:-1;;;;;72982:73:0;;;73062:31;;;;;;;;;;;;;;;;76366:114;;;;;;;;;;;;;:::i;59453:185::-;;;;;;;;;;-1:-1:-1;59453:185:0;;;;;:::i;:::-;;:::i;72785:39::-;;;;;;;;;;;;;:::i;76261:97::-;;;;;;;;;;-1:-1:-1;76261:97:0;;;;;:::i;:::-;;:::i;56645:125::-;;;;;;;;;;-1:-1:-1;56645:125:0;;;;;:::i;:::-;;:::i;73751:88::-;;;;;;;;;;-1:-1:-1;73751:88:0;;;;;:::i;:::-;;:::i;74548:926::-;;;;;;;;;;-1:-1:-1;74548:926:0;;;;;:::i;:::-;;:::i;54091:206::-;;;;;;;;;;-1:-1:-1;54091:206:0;;;;;:::i;:::-;;:::i;7468:103::-;;;;;;;;;;;;;:::i;73325:96::-;;;;;;;;;;-1:-1:-1;73325:96:0;;;;;:::i;:::-;;:::i;73215:102::-;;;;;;;;;;-1:-1:-1;73215:102:0;;;;;:::i;:::-;;:::i;76669:373::-;;;;;;;;;;-1:-1:-1;76889:14:0;;76934:16;;76975:10;;77017:17;;76669:373;;;76889:14;;;;4904::1;4897:22;4879:41;;4951:2;4936:18;;4929:34;;;;4979:18;;;4972:34;5037:2;5022:18;;5015:34;4866:3;4851:19;76669:373:0;4654:401:1;72636:38:0;;;;;;;;;;;;;;;;6817:87;;;;;;;;;;-1:-1:-1;6890:6:0;;-1:-1:-1;;;;;6890:6:0;6817:87;;73847:693;;;;;;;;;;-1:-1:-1;73847:693:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;57006:104::-;;;;;;;;;;;;;:::i;75482:646::-;;;;;;:::i;:::-;;:::i;58623:287::-;;;;;;;;;;-1:-1:-1;58623:287:0;;;;;:::i;:::-;;:::i;59709:370::-;;;;;;;;;;-1:-1:-1;59709:370:0;;;;;:::i;:::-;;:::i;76488:173::-;;;;;;;;;;-1:-1:-1;76488:173:0;;;;;:::i;:::-;;:::i;73538:108::-;;;;;;;;;;-1:-1:-1;73538:108:0;;;;;:::i;:::-;;:::i;58981:164::-;;;;;;;;;;-1:-1:-1;58981:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;59102:25:0;;;59078:4;59102:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58981:164;7726:201;;;;;;;;;;-1:-1:-1;7726:201:0;;;;;:::i;:::-;;:::i;73429:101::-;;;;;;;;;;-1:-1:-1;73429:101:0;;;;;:::i;:::-;;:::i;72919:54::-;;;;;;;;;;-1:-1:-1;72919:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;72833:38;;;;;;;;;;;;;;;;53722:305;53824:4;-1:-1:-1;;;;;;53861:40:0;;-1:-1:-1;;;53861:40:0;;:105;;-1:-1:-1;;;;;;;53918:48:0;;-1:-1:-1;;;53918:48:0;53861:105;:158;;;-1:-1:-1;;;;;;;;;;19710:40:0;;;53983:36;53841:178;53722:305;-1:-1:-1;;53722:305:0:o;56837:100::-;56891:13;56924:5;56917:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56837:100;:::o;58347:204::-;58415:7;58440:16;58448:7;58440;:16::i;:::-;58435:64;;58465:34;;-1:-1:-1;;;58465:34:0;;;;;;;;;;;58435:64;-1:-1:-1;58519:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;58519:24:0;;58347:204::o;57909:372::-;57982:13;57998:24;58014:7;57998:15;:24::i;:::-;57982:40;;58043:5;-1:-1:-1;;;;;58037:11:0;:2;-1:-1:-1;;;;;58037:11:0;;58033:48;;;58057:24;;-1:-1:-1;;;58057:24:0;;;;;;;;;;;58033:48;5621:10;-1:-1:-1;;;;;58098:21:0;;;58094:139;;58125:37;58142:5;5621:10;58981:164;:::i;58125:37::-;58121:112;;58186:35;;-1:-1:-1;;;58186:35:0;;;;;;;;;;;58121:112;58245:28;58254:2;58258:7;58267:5;58245:8;:28::i;:::-;57971:310;57909:372;;:::o;73654:85::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;;;;;;;;;73711:14:::1;:20:::0;;-1:-1:-1;;73711:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;73654:85::o;59212:170::-;59346:28;59356:4;59362:2;59366:7;59346:9;:28::i;76366:114::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;76424:47:::1;::::0;76432:10:::1;::::0;76449:21:::1;76424:47:::0;::::1;;;::::0;::::1;::::0;;;76449:21;76432:10;76424:47;::::1;;;;;;76416:56;;;::::0;::::1;;76366:114::o:0;59453:185::-;59591:39;59608:4;59614:2;59618:7;59591:39;;;;;;;;;;;;:16;:39::i;72785:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;76261:97::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;76332:18:::1;:12;76347:3:::0;;76332:18:::1;:::i;56645:125::-:0;56709:7;56736:21;56749:7;56736:12;:21::i;:::-;:26;;56645:125;-1:-1:-1;;56645:125:0:o;73751:88::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;73815:10:::1;:16:::0;73751:88::o;74548:926::-;1845:1;2443:7;;:19;;2435:63;;;;-1:-1:-1;;;2435:63:0;;8761:2:1;2435:63:0;;;8743:21:1;8800:2;8780:18;;;8773:30;8839:33;8819:18;;;8812:61;8890:18;;2435:63:0;8559:355:1;2435:63:0;1845:1;2576:7;:18;74628:17:::1;::::0;74620:63:::1;;;::::0;-1:-1:-1;;;74620:63:0;;9121:2:1;74620:63:0::1;::::0;::::1;9103:21:1::0;9160:2;9140:18;;;9133:30;9199:31;9179:18;;;9172:59;9248:18;;74620:63:0::1;8919:353:1::0;74620:63:0::1;74702:14;::::0;::::1;;74694:53;;;::::0;-1:-1:-1;;;74694:53:0;;9479:2:1;74694:53:0::1;::::0;::::1;9461:21:1::0;9518:2;9498:18;;;9491:30;9557:28;9537:18;;;9530:56;9603:18;;74694:53:0::1;9277:350:1::0;74694:53:0::1;74786:13;::::0;74829:29:::1;::::0;-1:-1:-1;;;74829:29:0;;74847:10:::1;74829:29;::::0;::::1;1674:51:1::0;-1:-1:-1;;;;;74786:13:0;;::::1;::::0;74760:15:::1;::::0;74786:13;;74829:17:::1;::::0;1647:18:1;;74829:29:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74811:47;;74887:1;74877:7;:11;74869:53;;;::::0;-1:-1:-1;;;74869:53:0;;10023:2:1;74869:53:0::1;::::0;::::1;10005:21:1::0;10062:2;10042:18;;;10035:30;10101:31;10081:18;;;10074:59;10150:18;;74869:53:0::1;9821:353:1::0;74869:53:0::1;74935:14;74969:9:::0;74964:326:::1;74984:14:::0;;::::1;74964:326;;;75055:10;-1:-1:-1::0;;;;;75028:15:0;::::1;;75044:3:::0;;75048:1;75044:6;;::::1;;;;;:::i;:::-;;;;;;;75028:23;;;;;;;;;;;;;2338:25:1::0;;2326:2;2311:18;;2192:177;75028:23:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;75028:37:0::1;;75020:93;;;::::0;-1:-1:-1;;;75020:93:0;;10769:2:1;75020:93:0::1;::::0;::::1;10751:21:1::0;10808:2;10788:18;;;10781:30;10847:34;10827:18;;;10820:62;-1:-1:-1;;;10898:18:1;;;10891:41;10949:19;;75020:93:0::1;10567:407:1::0;75020:93:0::1;75138:10;:18;75149:3;;75153:1;75149:6;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;::::1;;75138:18:::0;;-1:-1:-1;75138:18:0;::::1;::::0;;;;;;-1:-1:-1;75138:18:0;;::::1;;75136:20;75128:71;;;::::0;-1:-1:-1;;;75128:71:0;;11181:2:1;75128:71:0::1;::::0;::::1;11163:21:1::0;11220:2;11200:18;;;11193:30;11259:34;11239:18;;;11232:62;-1:-1:-1;;;11310:18:1;;;11303:36;11356:19;;75128:71:0::1;10979:402:1::0;75128:71:0::1;75237:4;75216:10;:18;75227:3;;75231:1;75227:6;;;;;;;:::i;:::-;;;;;;;75216:18;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;75266:12;;75256:22;;;;;:::i;:::-;::::0;-1:-1:-1;75000:3:0;::::1;::::0;::::1;:::i;:::-;;;;74964:326;;;;75315:17;;75306:6;:26;75302:85;;;-1:-1:-1::0;75358:17:0::1;::::0;75302:85:::1;75399:29;75409:10;75421:6;75399:9;:29::i;:::-;75460:6;75439:17;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;1801:1:0;2755:7;:22;-1:-1:-1;;;;;74548:926:0:o;54091:206::-;54155:7;-1:-1:-1;;;;;54179:19:0;;54175:60;;54207:28;;-1:-1:-1;;;54207:28:0;;;;;;;;;;;54175:60;-1:-1:-1;;;;;;54261:19:0;;;;;:12;:19;;;;;:27;;;;54091:206::o;7468:103::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;7533:30:::1;7560:1;7533:18;:30::i;73325:96::-:0;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;73394:13:::1;:19:::0;;-1:-1:-1;;;;;;73394:19:0::1;-1:-1:-1::0;;;;;73394:19:0;;;::::1;::::0;;;::::1;::::0;;73325:96::o;73215:102::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;73287:16:::1;:22:::0;73215:102::o;73847:693::-;74007:13;;73922:16;;73951:13;;-1:-1:-1;;;;;74007:13:0;;74032:174;74057:7;-1:-1:-1;;;;;74057:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74052:1;:26;74032:174;;74104:18;;-1:-1:-1;;;74104:18:0;;;;;2338:25:1;;;-1:-1:-1;;;;;74104:28:0;;;;:15;;;;;;2311:18:1;;74104::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;74104:28:0;;:47;;;;-1:-1:-1;74138:13:0;;;;:10;:13;;;;;;;;74136:15;74104:47;74100:95;;;74172:7;;;;:::i;:::-;;;;74100:95;74080:3;;;;:::i;:::-;;;;74032:174;;;;74218:23;74258:5;74244:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74244:20:0;-1:-1:-1;74218:46:0;-1:-1:-1;74275:11:0;74318:1;74301:206;74326:7;-1:-1:-1;;;;;74326:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74321:1;:26;74301:206;;74373:18;;-1:-1:-1;;;74373:18:0;;;;;2338:25:1;;;-1:-1:-1;;;;;74373:28:0;;;;:15;;;;;;2311:18:1;;74373::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;74373:28:0;;:47;;;;-1:-1:-1;74407:13:0;;;;:10;:13;;;;;;;;74405:15;74373:47;74369:127;;;74455:1;74441:6;74448:3;74441:11;;;;;;;;:::i;:::-;;;;;;;;;;:15;74475:5;;;;:::i;:::-;;;;74369:127;74349:3;;;;:::i;:::-;;;;74301:206;;;-1:-1:-1;74526:6:0;;73847:693;-1:-1:-1;;;;;73847:693:0:o;57006:104::-;57062:13;57095:7;57088:14;;;;;:::i;75482:646::-;1845:1;2443:7;;:19;;2435:63;;;;-1:-1:-1;;;2435:63:0;;8761:2:1;2435:63:0;;;8743:21:1;8800:2;8780:18;;;8773:30;8839:33;8819:18;;;8812:61;8890:18;;2435:63:0;8559:355:1;2435:63:0;1845:1;2576:7;:18;75574:10:::1;::::0;:19:::1;::::0;75587:6;;75574:19:::1;:::i;:::-;75561:9;:32;;75553:58;;;::::0;-1:-1:-1;;;75553:58:0;;12296:2:1;75553:58:0::1;::::0;::::1;12278:21:1::0;12335:2;12315:18;;;12308:30;-1:-1:-1;;;12354:18:1;;;12347:43;12407:18;;75553:58:0::1;12094:337:1::0;75553:58:0::1;75630:14;::::0;::::1;;75622:53;;;::::0;-1:-1:-1;;;75622:53:0;;9479:2:1;75622:53:0::1;::::0;::::1;9461:21:1::0;9518:2;9498:18;;;9491:30;9557:28;9537:18;;;9530:56;9603:18;;75622:53:0::1;9277:350:1::0;75622:53:0::1;75704:16;;75694:6;:26;;75686:84;;;::::0;-1:-1:-1;;;75686:84:0;;12638:2:1;75686:84:0::1;::::0;::::1;12620:21:1::0;12677:2;12657:18;;;12650:30;12716:34;12696:18;;;12689:62;-1:-1:-1;;;12767:18:1;;;12760:43;12820:19;;75686:84:0::1;12436:409:1::0;75686:84:0::1;75799:17;;75789:6;:27;;75781:66;;;::::0;-1:-1:-1;;;75781:66:0;;13052:2:1;75781:66:0::1;::::0;::::1;13034:21:1::0;13091:2;13071:18;;;13064:30;13130:28;13110:18;;;13103:56;13176:18;;75781:66:0::1;12850:350:1::0;75781:66:0::1;75910:19;::::0;75886:10:::1;75866:31;::::0;;;:19:::1;:31;::::0;;;;;:40:::1;::::0;75900:6;;75866:40:::1;:::i;:::-;:63;;75858:120;;;::::0;-1:-1:-1;;;75858:120:0;;13407:2:1;75858:120:0::1;::::0;::::1;13389:21:1::0;13446:2;13426:18;;;13419:30;13485:34;13465:18;;;13458:62;-1:-1:-1;;;13536:18:1;;;13529:42;13588:19;;75858:120:0::1;13205:408:1::0;75858:120:0::1;75991:29;76001:10;76013:6;75991:9;:29::i;:::-;76061:10;76041:31;::::0;;;:19:::1;:31;::::0;;;;:41;;76076:6;;76041:31;:41:::1;::::0;76076:6;;76041:41:::1;:::i;:::-;;;;;;;;76114:6;76093:17;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;1801:1:0;2755:7;:22;-1:-1:-1;75482:646:0:o;58623:287::-;-1:-1:-1;;;;;58722:24:0;;5621:10;58722:24;58718:54;;;58755:17;;-1:-1:-1;;;58755:17:0;;;;;;;;;;;58718:54;5621:10;58785:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;58785:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;58785:53:0;;;;;;;;;;58854:48;;540:41:1;;;58785:42:0;;5621:10;58854:48;;513:18:1;58854:48:0;;;;;;;58623:287;;:::o;59709:370::-;59876:28;59886:4;59892:2;59896:7;59876:9;:28::i;:::-;-1:-1:-1;;;;;59919:13:0;;9813:19;:23;59915:157;;59940:56;59971:4;59977:2;59981:7;59990:5;59940:30;:56::i;:::-;59936:136;;60020:40;;-1:-1:-1;;;60020:40:0;;;;;;;;;;;59936:136;59709:370;;;;:::o;76488:173::-;76562:13;76619:23;76634:7;76619:14;:23::i;:::-;76602:50;;;;;;;;:::i;:::-;;;;;;;;;;;;;76588:65;;76488:173;;;:::o;73538:108::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;73613:19:::1;:25:::0;73538:108::o;7726:201::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7815:22:0;::::1;7807:73;;;::::0;-1:-1:-1;;;7807:73:0;;14268:2:1;7807:73:0::1;::::0;::::1;14250:21:1::0;14307:2;14287:18;;;14280:30;14346:34;14326:18;;;14319:62;-1:-1:-1;;;14397:18:1;;;14390:36;14443:19;;7807:73:0::1;14066:402:1::0;7807:73:0::1;7891:28;7910:8;7891:18;:28::i;:::-;7726:201:::0;:::o;73429:101::-;6890:6;;-1:-1:-1;;;;;6890:6:0;5621:10;7037:23;7029:68;;;;-1:-1:-1;;;7029:68:0;;;;;;;:::i;:::-;73504:12:::1;:18:::0;73429:101::o;60334:174::-;60391:4;60455:13;;60445:7;:23;60415:85;;;;-1:-1:-1;;60473:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;60473:27:0;;;;60472:28;;60334:174::o;69556:196::-;69671:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;69671:29:0;-1:-1:-1;;;;;69671:29:0;;;;;;;;;69716:28;;69671:24;;69716:28;;;;;;;69556:196;;;:::o;64504:2130::-;64619:35;64657:21;64670:7;64657:12;:21::i;:::-;64619:59;;64717:4;-1:-1:-1;;;;;64695:26:0;:13;:18;;;-1:-1:-1;;;;;64695:26:0;;64691:67;;64730:28;;-1:-1:-1;;;64730:28:0;;;;;;;;;;;64691:67;64771:22;5621:10;-1:-1:-1;;;;;64797:20:0;;;;:73;;-1:-1:-1;64834:36:0;64851:4;5621:10;58981:164;:::i;64834:36::-;64797:126;;;-1:-1:-1;5621:10:0;64887:20;64899:7;64887:11;:20::i;:::-;-1:-1:-1;;;;;64887:36:0;;64797:126;64771:153;;64942:17;64937:66;;64968:35;;-1:-1:-1;;;64968:35:0;;;;;;;;;;;64937:66;-1:-1:-1;;;;;65018:16:0;;65014:52;;65043:23;;-1:-1:-1;;;65043:23:0;;;;;;;;;;;65014:52;65187:35;65204:1;65208:7;65217:4;65187:8;:35::i;:::-;-1:-1:-1;;;;;65518:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;65518:31:0;;;;;;;-1:-1:-1;;65518:31:0;;;;;;;65564:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;65564:29:0;;;;;;;;;;;65644:20;;;:11;:20;;;;;;65679:18;;-1:-1:-1;;;;;;65712:49:0;;;;-1:-1:-1;;;65745:15:0;65712:49;;;;;;;;;;66035:11;;66095:24;;;;;66138:13;;65644:20;;66095:24;;66138:13;66134:384;;66348:13;;66333:11;:28;66329:174;;66386:20;;66455:28;;;;66429:54;;-1:-1:-1;;;66429:54:0;-1:-1:-1;;;;;;66429:54:0;;;-1:-1:-1;;;;;66386:20:0;;66429:54;;;;66329:174;65493:1036;;;66565:7;66561:2;-1:-1:-1;;;;;66546:27:0;66555:4;-1:-1:-1;;;;;66546:27:0;;;;;;;;;;;64608:2026;;64504:2130;;;:::o;55472:1111::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;55583:7:0;55668:13;;55661:4;:20;55657:859;;;55702:31;55736:17;;;:11;:17;;;;;;;;;55702:51;;;;;;;;;-1:-1:-1;;;;;55702:51:0;;;;-1:-1:-1;;;55702:51:0;;;;;;;;;;;-1:-1:-1;;;55702:51:0;;;;;;;;;;;;;;55772:729;;55822:14;;-1:-1:-1;;;;;55822:28:0;;55818:101;;55886:9;55472:1111;-1:-1:-1;;;55472:1111:0:o;55818:101::-;-1:-1:-1;;;56261:6:0;56306:17;;;;:11;:17;;;;;;;;;56294:29;;;;;;;;;-1:-1:-1;;;;;56294:29:0;;;;;-1:-1:-1;;;56294:29:0;;;;;;;;;;;-1:-1:-1;;;56294:29:0;;;;;;;;;;;;;56354:28;56350:109;;56422:9;55472:1111;-1:-1:-1;;;55472:1111:0:o;56350:109::-;56221:261;;;55683:833;55657:859;56544:31;;-1:-1:-1;;;56544:31:0;;;;;;;;;;;60592:104;60661:27;60671:2;60675:8;60661:27;;;;;;;;;;;;:9;:27::i;:::-;60592:104;;:::o;8087:191::-;8180:6;;;-1:-1:-1;;;;;8197:17:0;;;-1:-1:-1;;;;;;8197:17:0;;;;;;;8230:40;;8180:6;;;8197:17;8180:6;;8230:40;;8161:16;;8230:40;8150:128;8087:191;:::o;70244:667::-;70428:72;;-1:-1:-1;;;70428:72:0;;70407:4;;-1:-1:-1;;;;;70428:36:0;;;;;:72;;5621:10;;70479:4;;70485:7;;70494:5;;70428:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70428:72:0;;;;;;;;-1:-1:-1;;70428:72:0;;;;;;;;;;;;:::i;:::-;;;70424:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70662:13:0;;70658:235;;70708:40;;-1:-1:-1;;;70708:40:0;;;;;;;;;;;70658:235;70851:6;70845:13;70836:6;70832:2;70828:15;70821:38;70424:480;-1:-1:-1;;;;;;70547:55:0;-1:-1:-1;;;70547:55:0;;-1:-1:-1;70424:480:0;70244:667;;;;;;:::o;57181:324::-;57254:13;57285:16;57293:7;57285;:16::i;:::-;57280:59;;57310:29;;-1:-1:-1;;;57310:29:0;;;;;;;;;;;57280:59;57352:21;57376:10;:8;:10::i;:::-;57352:34;;57410:7;57404:21;57429:1;57404:26;;:93;;;;;;;;;;;;;;;;;57457:7;57466:24;57467:11;:7;57477:1;57467:11;:::i;:::-;57466:22;:24::i;:::-;57440:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57404:93;57397:100;57181:324;-1:-1:-1;;;57181:324:0:o;61069:1749::-;61192:20;61215:13;-1:-1:-1;;;;;61243:16:0;;61239:48;;61268:19;;-1:-1:-1;;;61268:19:0;;;;;;;;;;;61239:48;61302:13;61298:44;;61324:18;;-1:-1:-1;;;61324:18:0;;;;;;;;;;;61298:44;-1:-1:-1;;;;;61693:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;61752:49:0;;61693:44;;;;;;;;61752:49;;;;-1:-1:-1;;61693:44:0;;;;;;61752:49;;;;;;;;;;;;;;;;61818:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;61868:66:0;;;-1:-1:-1;;;61918:15:0;61868:66;;;;;;;;;;;;;61818:25;;62015:23;;;;9813:19;:23;62055:631;;62095:313;62126:38;;62151:12;;-1:-1:-1;;;;;62126:38:0;;;62143:1;;62126:38;;62143:1;;62126:38;62192:69;62231:1;62235:2;62239:14;;;;;;62255:5;62192:30;:69::i;:::-;62187:174;;62297:40;;-1:-1:-1;;;62297:40:0;;;;;;;;;;;62187:174;62403:3;62388:12;:18;62095:313;;62489:12;62472:13;;:29;62468:43;;62503:8;;;62468:43;62055:631;;;62552:119;62583:40;;62608:14;;;;;-1:-1:-1;;;;;62583:40:0;;;62600:1;;62583:40;;62600:1;;62583:40;62666:3;62651:12;:18;62552:119;;62055:631;-1:-1:-1;62700:13:0;:28;;;62750:60;;62783:2;62787:12;62801:8;62750:60;:::i;76136:114::-;76197:13;76230:12;76223:19;;;;;:::i;3103:723::-;3159:13;3380:10;3376:53;;-1:-1:-1;;3407:10:0;;;;;;;;;;;;-1:-1:-1;;;3407:10:0;;;;;3103:723::o;3376:53::-;3454:5;3439:12;3495:78;3502:9;;3495:78;;3528:8;;;;:::i;:::-;;-1:-1:-1;3551:10:0;;-1:-1:-1;3559:2:0;3551:10;;:::i;:::-;;;3495:78;;;3583:19;3615:6;3605:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3605:17:0;;3583:39;;3633:154;3640:10;;3633:154;;3667:11;3677:1;3667:11;;:::i;:::-;;-1:-1:-1;3736:10:0;3744:2;3736:5;:10;:::i;:::-;3723:24;;:2;:24;:::i;:::-;3710:39;;3693:6;3700;3693:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3693:56:0;;;;;;;;-1:-1:-1;3764:11:0;3773:2;3764:11;;:::i;:::-;;;3633:154;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:1:o;2374:160::-;2439:20;;2495:13;;2488:21;2478:32;;2468:60;;2524:1;2521;2514:12;2468:60;2374:160;;;:::o;2539:180::-;2595:6;2648:2;2636:9;2627:7;2623:23;2619:32;2616:52;;;2664:1;2661;2654:12;2616:52;2687:26;2703:9;2687:26;:::i;2724:456::-;2801:6;2809;2817;2870:2;2858:9;2849:7;2845:23;2841:32;2838:52;;;2886:1;2883;2876:12;2838:52;2925:9;2912:23;2944:31;2969:5;2944:31;:::i;:::-;2994:5;-1:-1:-1;3051:2:1;3036:18;;3023:32;3064:33;3023:32;3064:33;:::i;:::-;2724:456;;3116:7;;-1:-1:-1;;;3170:2:1;3155:18;;;;3142:32;;2724:456::o;3185:592::-;3256:6;3264;3317:2;3305:9;3296:7;3292:23;3288:32;3285:52;;;3333:1;3330;3323:12;3285:52;3373:9;3360:23;3402:18;3443:2;3435:6;3432:14;3429:34;;;3459:1;3456;3449:12;3429:34;3497:6;3486:9;3482:22;3472:32;;3542:7;3535:4;3531:2;3527:13;3523:27;3513:55;;3564:1;3561;3554:12;3513:55;3604:2;3591:16;3630:2;3622:6;3619:14;3616:34;;;3646:1;3643;3636:12;3616:34;3691:7;3686:2;3677:6;3673:2;3669:15;3665:24;3662:37;3659:57;;;3712:1;3709;3702:12;3659:57;3743:2;3735:11;;;;;3765:6;;-1:-1:-1;3185:592:1;;-1:-1:-1;;;;3185:592:1:o;3782:615::-;3868:6;3876;3929:2;3917:9;3908:7;3904:23;3900:32;3897:52;;;3945:1;3942;3935:12;3897:52;3985:9;3972:23;4014:18;4055:2;4047:6;4044:14;4041:34;;;4071:1;4068;4061:12;4041:34;4109:6;4098:9;4094:22;4084:32;;4154:7;4147:4;4143:2;4139:13;4135:27;4125:55;;4176:1;4173;4166:12;4125:55;4216:2;4203:16;4242:2;4234:6;4231:14;4228:34;;;4258:1;4255;4248:12;4228:34;4311:7;4306:2;4296:6;4293:1;4289:14;4285:2;4281:23;4277:32;4274:45;4271:65;;;4332:1;4329;4322:12;4402:247;4461:6;4514:2;4502:9;4493:7;4489:23;4485:32;4482:52;;;4530:1;4527;4520:12;4482:52;4569:9;4556:23;4588:31;4613:5;4588:31;:::i;5060:632::-;5231:2;5283:21;;;5353:13;;5256:18;;;5375:22;;;5202:4;;5231:2;5454:15;;;;5428:2;5413:18;;;5202:4;5497:169;5511:6;5508:1;5505:13;5497:169;;;5572:13;;5560:26;;5641:15;;;;5606:12;;;;5533:1;5526:9;5497:169;;;-1:-1:-1;5683:3:1;;5060:632;-1:-1:-1;;;;;;5060:632:1:o;5697:315::-;5762:6;5770;5823:2;5811:9;5802:7;5798:23;5794:32;5791:52;;;5839:1;5836;5829:12;5791:52;5878:9;5865:23;5897:31;5922:5;5897:31;:::i;:::-;5947:5;-1:-1:-1;5971:35:1;6002:2;5987:18;;5971:35;:::i;:::-;5961:45;;5697:315;;;;;:::o;6017:127::-;6078:10;6073:3;6069:20;6066:1;6059:31;6109:4;6106:1;6099:15;6133:4;6130:1;6123:15;6149:1266;6244:6;6252;6260;6268;6321:3;6309:9;6300:7;6296:23;6292:33;6289:53;;;6338:1;6335;6328:12;6289:53;6377:9;6364:23;6396:31;6421:5;6396:31;:::i;:::-;6446:5;-1:-1:-1;6503:2:1;6488:18;;6475:32;6516:33;6475:32;6516:33;:::i;:::-;6568:7;-1:-1:-1;6622:2:1;6607:18;;6594:32;;-1:-1:-1;6677:2:1;6662:18;;6649:32;6700:18;6730:14;;;6727:34;;;6757:1;6754;6747:12;6727:34;6795:6;6784:9;6780:22;6770:32;;6840:7;6833:4;6829:2;6825:13;6821:27;6811:55;;6862:1;6859;6852:12;6811:55;6898:2;6885:16;6920:2;6916;6913:10;6910:36;;;6926:18;;:::i;:::-;7001:2;6995:9;6969:2;7055:13;;-1:-1:-1;;7051:22:1;;;7075:2;7047:31;7043:40;7031:53;;;7099:18;;;7119:22;;;7096:46;7093:72;;;7145:18;;:::i;:::-;7185:10;7181:2;7174:22;7220:2;7212:6;7205:18;7260:7;7255:2;7250;7246;7242:11;7238:20;7235:33;7232:53;;;7281:1;7278;7271:12;7232:53;7337:2;7332;7328;7324:11;7319:2;7311:6;7307:15;7294:46;7382:1;7377:2;7372;7364:6;7360:15;7356:24;7349:35;7403:6;7393:16;;;;;;;6149:1266;;;;;;;:::o;7420:388::-;7488:6;7496;7549:2;7537:9;7528:7;7524:23;7520:32;7517:52;;;7565:1;7562;7555:12;7517:52;7604:9;7591:23;7623:31;7648:5;7623:31;:::i;:::-;7673:5;-1:-1:-1;7730:2:1;7715:18;;7702:32;7743:33;7702:32;7743:33;:::i;:::-;7795:7;7785:17;;;7420:388;;;;;:::o;7813:380::-;7892:1;7888:12;;;;7935;;;7956:61;;8010:4;8002:6;7998:17;7988:27;;7956:61;8063:2;8055:6;8052:14;8032:18;8029:38;8026:161;;;8109:10;8104:3;8100:20;8097:1;8090:31;8144:4;8141:1;8134:15;8172:4;8169:1;8162:15;8026:161;;7813:380;;;:::o;8198:356::-;8400:2;8382:21;;;8419:18;;;8412:30;8478:34;8473:2;8458:18;;8451:62;8545:2;8530:18;;8198:356::o;9632:184::-;9702:6;9755:2;9743:9;9734:7;9730:23;9726:32;9723:52;;;9771:1;9768;9761:12;9723:52;-1:-1:-1;9794:16:1;;9632:184;-1:-1:-1;9632:184:1:o;10179:127::-;10240:10;10235:3;10231:20;10228:1;10221:31;10271:4;10268:1;10261:15;10295:4;10292:1;10285:15;10311:251;10381:6;10434:2;10422:9;10413:7;10409:23;10405:32;10402:52;;;10450:1;10447;10440:12;10402:52;10482:9;10476:16;10501:31;10526:5;10501:31;:::i;11386:127::-;11447:10;11442:3;11438:20;11435:1;11428:31;11478:4;11475:1;11468:15;11502:4;11499:1;11492:15;11518:128;11558:3;11589:1;11585:6;11582:1;11579:13;11576:39;;;11595:18;;:::i;:::-;-1:-1:-1;11631:9:1;;11518:128::o;11651:135::-;11690:3;-1:-1:-1;;11711:17:1;;11708:43;;;11731:18;;:::i;:::-;-1:-1:-1;11778:1:1;11767:13;;11651:135::o;11791:125::-;11831:4;11859:1;11856;11853:8;11850:34;;;11864:18;;:::i;:::-;-1:-1:-1;11901:9:1;;11791:125::o;11921:168::-;11961:7;12027:1;12023;12019:6;12015:14;12012:1;12009:21;12004:1;11997:9;11990:17;11986:45;11983:71;;;12034:18;;:::i;:::-;-1:-1:-1;12074:9:1;;11921:168::o;13618:443::-;13850:3;13888:6;13882:13;13904:53;13950:6;13945:3;13938:4;13930:6;13926:17;13904:53;:::i;:::-;-1:-1:-1;;;13979:16:1;;14004:22;;;-1:-1:-1;14053:1:1;14042:13;;13618:443;-1:-1:-1;13618:443:1:o;14473:489::-;-1:-1:-1;;;;;14742:15:1;;;14724:34;;14794:15;;14789:2;14774:18;;14767:43;14841:2;14826:18;;14819:34;;;14889:3;14884:2;14869:18;;14862:31;;;14667:4;;14910:46;;14936:19;;14928:6;14910:46;:::i;:::-;14902:54;14473:489;-1:-1:-1;;;;;;14473:489:1:o;14967:249::-;15036:6;15089:2;15077:9;15068:7;15064:23;15060:32;15057:52;;;15105:1;15102;15095:12;15057:52;15137:9;15131:16;15156:30;15180:5;15156:30;:::i;15221:470::-;15400:3;15438:6;15432:13;15454:53;15500:6;15495:3;15488:4;15480:6;15476:17;15454:53;:::i;:::-;15570:13;;15529:16;;;;15592:57;15570:13;15529:16;15626:4;15614:17;;15592:57;:::i;:::-;15665:20;;15221:470;-1:-1:-1;;;;15221:470:1:o;15696:127::-;15757:10;15752:3;15748:20;15745:1;15738:31;15788:4;15785:1;15778:15;15812:4;15809:1;15802:15;15828:120;15868:1;15894;15884:35;;15899:18;;:::i;:::-;-1:-1:-1;15933:9:1;;15828:120::o;15953:112::-;15985:1;16011;16001:35;;16016:18;;:::i;:::-;-1:-1:-1;16050:9:1;;15953:112::o

Swarm Source

ipfs://f20b47498518fe82382bc4573443c19057917d8d7c81133fe48c38d610c776e2

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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