ETH Price: $3,486.45 (+2.10%)

Token

Elon Digital Trading Cards (ElonDTC)
 

Overview

Max Total Supply

4,242 ElonDTC

Holders

994

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 ElonDTC
0x477c997bb5537ca31f9ce15359317b7093a6c336
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Elon

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-17
*/

// SPDX-License-Identifier: MIT

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

// FILE 2: 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File 3: Strings.sol

// 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/Counters.sol


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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File 4: 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}





// File 5: 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 6: 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 7: 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 returns (string memory);
}




// File 8: 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 9: 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 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 overridden 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"
        );
        if (to.isContract()) {
            revert ("Token transfer to contract address is not allowed.");
        } else {
            _approve(to, tokenId);
        }
        // _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 10: 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 tokenId);

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






// File 11: 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();
    }
}



// File 12: 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 13: ERC721A.sol

pragma solidity ^0.8.0;


contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * 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) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

    /**
     * @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) {
        require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');

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

    /**
     * @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);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: approve to caller');

        _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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @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 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}


pragma solidity ^0.8.0;

contract Elon is ERC721A, Ownable, ReentrancyGuard {
  using Strings for uint256;
  using Counters for Counters.Counter;

  string private uriPrefix = "";
  string public uriSuffix = ".json";
  string private hiddenMetadataUri;

    constructor() ERC721A("Elon Digital Trading Cards", "ElonDTC") {
        setHiddenMetadataUri("https://gateway.pinata.cloud/ipfs/QmXta545gdL6ZoP6zbG5VeN3gZJ8jvn1Nwv6gnPohQ2x7q/hidden.json");
    }

    uint256 public price = 0 ether;
    uint256 public maxPerWallet = 8;
    uint256 public maxSupply = 4242;
     
    bool public paused = true;
    bool public revealed = false;

    mapping(address => uint) public addressToMinted;

    function changePrice(uint256 _newPrice) external onlyOwner {
        price = _newPrice;
    }

    function withdraw() external onlyOwner {
        (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function mint(uint256 mintAmount) public {
        require(!paused, "The contract is paused!");
        require(addressToMinted[msg.sender] + mintAmount <= maxPerWallet, "TOO MANY.");
        require(totalSupply() + mintAmount <= maxSupply, "NO MORE.");
        
        addressToMinted[msg.sender] += mintAmount;

        _safeMint(msg.sender, mintAmount);
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
        address currentTokenOwner = ownerOf(currentTokenId);
            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;
                ownedTokenIndex++;
            }
        currentTokenId++;
        }
        return ownedTokenIds;
    }
  
  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );
    if (revealed == false) {
      return hiddenMetadataUri;
    }
    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : "";
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }  

  function setmaxSupply(uint256 _maxSupply) public onlyOwner {
    maxSupply = _maxSupply;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }  

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }  

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"","type":"address"}],"name":"addressToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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":"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":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600060809081526009906200001a908262000298565b50604080518082019091526005815264173539b7b760d91b6020820152600a9062000046908262000298565b506000600c556008600d55611092600e55600f805461ffff191660011790553480156200007257600080fd5b506040518060400160405280601a81526020017f456c6f6e204469676974616c2054726164696e6720436172647300000000000081525060405180604001604052806007815260200166456c6f6e44544360c81b8152508160019081620000da919062000298565b506002620000e9828262000298565b5050506000620000fe6200017e60201b60201c565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600881905550620001786040518060800160405280605c815260200162002578605c913962000182565b62000364565b3390565b6007546001600160a01b03163314620001e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600b620001ef828262000298565b5050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200021e57607f821691505b6020821081036200023f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029357600081815260208120601f850160051c810160208610156200026e5750805b601f850160051c820191505b818110156200028f578281556001016200027a565b5050505b505050565b81516001600160401b03811115620002b457620002b4620001f3565b620002cc81620002c5845462000209565b8462000245565b602080601f831160018114620003045760008415620002eb5750858301515b600019600386901b1c1916600185901b1785556200028f565b600085815260208120601f198616915b82811015620003355788860151825594840194600190910190840162000314565b5085821015620003545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61220480620003746000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80635c975abb11610125578063a0712d68116100ad578063c87b56dd1161007c578063c87b56dd1461046f578063d5abeb0114610482578063e0a808531461048b578063e985e9c51461049e578063f2fde38b146104da57600080fd5b8063a0712d6814610423578063a22cb46514610436578063a2b40d1914610449578063b88d4fde1461045c57600080fd5b80637ec4a659116100f45780637ec4a659146103ce5780638da5cb5b146103e157806395d89b41146103f25780639ec00c95146103fa578063a035b1fe1461041a57600080fd5b80635c975abb146103935780636352211e146103a057806370a08231146103b3578063715018a6146103c657600080fd5b80632f745c59116101a8578063453c231011610177578063453c23101461034a5780634f6ccce7146103535780634fdd43cb1461036657806351830227146103795780635503a0e81461038b57600080fd5b80632f745c59146102fc5780633ccfd60b1461030f57806342842e0e14610317578063438b63001461032a57600080fd5b806316ba10e0116101ef57806316ba10e01461029e57806316c38b3c146102b157806318160ddd146102c4578063228025e8146102d657806323b872dd146102e957600080fd5b806301ffc9a71461022157806306fdde0314610249578063081812fc1461025e578063095ea7b314610289575b600080fd5b61023461022f366004611af7565b6104ed565b60405190151581526020015b60405180910390f35b61025161055a565b6040516102409190611b6c565b61027161026c366004611b7f565b6105ec565b6040516001600160a01b039091168152602001610240565b61029c610297366004611bb4565b61067c565b005b61029c6102ac366004611c6a565b610793565b61029c6102bf366004611cc3565b6107cd565b6000545b604051908152602001610240565b61029c6102e4366004611b7f565b61080a565b61029c6102f7366004611cde565b610839565b6102c861030a366004611bb4565b610844565b61029c61099f565b61029c610325366004611cde565b610a57565b61033d610338366004611d1a565b610a72565b6040516102409190611d35565b6102c8600d5481565b6102c8610361366004611b7f565b610b52565b61029c610374366004611c6a565b610bb4565b600f5461023490610100900460ff1681565b610251610bea565b600f546102349060ff1681565b6102716103ae366004611b7f565b610c78565b6102c86103c1366004611d1a565b610c8a565b61029c610d1b565b61029c6103dc366004611c6a565b610d8f565b6007546001600160a01b0316610271565b610251610dc5565b6102c8610408366004611d1a565b60106020526000908152604090205481565b6102c8600c5481565b61029c610431366004611b7f565b610dd4565b61029c610444366004611d79565b610efe565b61029c610457366004611b7f565b610fc2565b61029c61046a366004611dac565b610ff1565b61025161047d366004611b7f565b61102a565b6102c8600e5481565b61029c610499366004611cc3565b6111a0565b6102346104ac366004611e28565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61029c6104e8366004611d1a565b6111e4565b60006001600160e01b031982166380ac58cd60e01b148061051e57506001600160e01b03198216635b5e139f60e01b145b8061053957506001600160e01b0319821663780e9d6360e01b145b8061055457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461056990611e52565b80601f016020809104026020016040519081016040528092919081815260200182805461059590611e52565b80156105e25780601f106105b7576101008083540402835291602001916105e2565b820191906000526020600020905b8154815290600101906020018083116105c557829003601f168201915b5050505050905090565b60006105f9826000541190565b6106605760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061068782610c78565b9050806001600160a01b0316836001600160a01b0316036106f55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610657565b336001600160a01b0382161480610711575061071181336104ac565b6107835760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610657565b61078e8383836112cf565b505050565b6007546001600160a01b031633146107bd5760405162461bcd60e51b815260040161065790611e8c565b600a6107c98282611f0f565b5050565b6007546001600160a01b031633146107f75760405162461bcd60e51b815260040161065790611e8c565b600f805460ff1916911515919091179055565b6007546001600160a01b031633146108345760405162461bcd60e51b815260040161065790611e8c565b600e55565b61078e83838361132b565b600061084f83610c8a565b82106108a85760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610657565b600080549080805b8381101561093f576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561090357805192505b876001600160a01b0316836001600160a01b0316036109365786840361092f5750935061055492505050565b6001909301925b506001016108b0565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610657565b6007546001600160a01b031633146109c95760405162461bcd60e51b815260040161065790611e8c565b604051600090339047908381818185875af1925050503d8060008114610a0b576040519150601f19603f3d011682016040523d82523d6000602084013e610a10565b606091505b5050905080610a545760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610657565b50565b61078e83838360405180602001604052806000815250610ff1565b60606000610a7f83610c8a565b905060008167ffffffffffffffff811115610a9c57610a9c611bde565b604051908082528060200260200182016040528015610ac5578160200160208202803683370190505b509050600160005b8381108015610ade5750600e548211155b15610b48576000610aee83610c78565b9050866001600160a01b0316816001600160a01b031603610b355782848381518110610b1c57610b1c611fcf565b602090810291909101015281610b3181611ffb565b9250505b82610b3f81611ffb565b93505050610acd565b5090949350505050565b600080548210610bb05760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610657565b5090565b6007546001600160a01b03163314610bde5760405162461bcd60e51b815260040161065790611e8c565b600b6107c98282611f0f565b600a8054610bf790611e52565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2390611e52565b8015610c705780601f10610c4557610100808354040283529160200191610c70565b820191906000526020600020905b815481529060010190602001808311610c5357829003601f168201915b505050505081565b6000610c8382611610565b5192915050565b60006001600160a01b038216610cf65760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610657565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610d455760405162461bcd60e51b815260040161065790611e8c565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6007546001600160a01b03163314610db95760405162461bcd60e51b815260040161065790611e8c565b60096107c98282611f0f565b60606002805461056990611e52565b600f5460ff1615610e275760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610657565b600d5433600090815260106020526040902054610e45908390612014565b1115610e7f5760405162461bcd60e51b81526020600482015260096024820152682a27a79026a0a72c9760b91b6044820152606401610657565b600e5481610e8c60005490565b610e969190612014565b1115610ecf5760405162461bcd60e51b815260206004820152600860248201526727279026a7a9229760c11b6044820152606401610657565b3360009081526010602052604081208054839290610eee908490612014565b90915550610a54905033826116e7565b336001600160a01b03831603610f565760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610657565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b03163314610fec5760405162461bcd60e51b815260040161065790611e8c565b600c55565b610ffc84848461132b565b61100884848484611701565b6110245760405162461bcd60e51b81526004016106579061202c565b50505050565b6060611037826000541190565b61109b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610657565b600f54610100900460ff16151560000361114157600b80546110bc90611e52565b80601f01602080910402602001604051908101604052809291908181526020018280546110e890611e52565b80156111355780601f1061110a57610100808354040283529160200191611135565b820191906000526020600020905b81548152906001019060200180831161111857829003601f168201915b50505050509050919050565b600061114b611803565b9050600081511161116b5760405180602001604052806000815250611199565b8061117584611812565b600a6040516020016111899392919061207f565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146111ca5760405162461bcd60e51b815260040161065790611e8c565b600f80549115156101000261ff0019909216919091179055565b6007546001600160a01b0316331461120e5760405162461bcd60e51b815260040161065790611e8c565b6001600160a01b0381166112735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610657565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061133682611610565b80519091506000906001600160a01b0316336001600160a01b0316148061136d575033611362846105ec565b6001600160a01b0316145b8061137f5750815161137f90336104ac565b9050806113e95760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610657565b846001600160a01b031682600001516001600160a01b03161461145d5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610657565b6001600160a01b0384166114c15760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610657565b6114d160008484600001516112cf565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166115c657611579816000541190565b156115c6578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080518082019091526000808252602082015261162f826000541190565b61168e5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610657565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156116dd579392505050565b5060001901611690565b6107c9828260405180602001604052806000815250611913565b60006001600160a01b0384163b156117f757604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061174590339089908890889060040161211f565b6020604051808303816000875af1925050508015611780575060408051601f3d908101601f1916820190925261177d9181019061215c565b60015b6117dd573d8080156117ae576040519150601f19603f3d011682016040523d82523d6000602084013e6117b3565b606091505b5080516000036117d55760405162461bcd60e51b81526004016106579061202c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117fb565b5060015b949350505050565b60606009805461056990611e52565b6060816000036118395750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611863578061184d81611ffb565b915061185c9050600a8361218f565b915061183d565b60008167ffffffffffffffff81111561187e5761187e611bde565b6040519080825280601f01601f1916602001820160405280156118a8576020820181803683370190505b5090505b84156117fb576118bd6001836121a3565b91506118ca600a866121ba565b6118d5906030612014565b60f81b8183815181106118ea576118ea611fcf565b60200101906001600160f81b031916908160001a90535061190c600a8661218f565b94506118ac565b61078e83838360016000546001600160a01b03851661197e5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610657565b836000036119df5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610657565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015611ad85760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611acc57611ab06000888488611701565b611acc5760405162461bcd60e51b81526004016106579061202c565b60019182019101611a5d565b50600055611609565b6001600160e01b031981168114610a5457600080fd5b600060208284031215611b0957600080fd5b813561119981611ae1565b60005b83811015611b2f578181015183820152602001611b17565b838111156110245750506000910152565b60008151808452611b58816020860160208601611b14565b601f01601f19169290920160200192915050565b6020815260006111996020830184611b40565b600060208284031215611b9157600080fd5b5035919050565b80356001600160a01b0381168114611baf57600080fd5b919050565b60008060408385031215611bc757600080fd5b611bd083611b98565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c0f57611c0f611bde565b604051601f8501601f19908116603f01168101908282118183101715611c3757611c37611bde565b81604052809350858152868686011115611c5057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c7c57600080fd5b813567ffffffffffffffff811115611c9357600080fd5b8201601f81018413611ca457600080fd5b6117fb84823560208401611bf4565b80358015158114611baf57600080fd5b600060208284031215611cd557600080fd5b61119982611cb3565b600080600060608486031215611cf357600080fd5b611cfc84611b98565b9250611d0a60208501611b98565b9150604084013590509250925092565b600060208284031215611d2c57600080fd5b61119982611b98565b6020808252825182820181905260009190848201906040850190845b81811015611d6d57835183529284019291840191600101611d51565b50909695505050505050565b60008060408385031215611d8c57600080fd5b611d9583611b98565b9150611da360208401611cb3565b90509250929050565b60008060008060808587031215611dc257600080fd5b611dcb85611b98565b9350611dd960208601611b98565b925060408501359150606085013567ffffffffffffffff811115611dfc57600080fd5b8501601f81018713611e0d57600080fd5b611e1c87823560208401611bf4565b91505092959194509250565b60008060408385031215611e3b57600080fd5b611e4483611b98565b9150611da360208401611b98565b600181811c90821680611e6657607f821691505b602082108103611e8657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561078e57600081815260208120601f850160051c81016020861015611ee85750805b601f850160051c820191505b81811015611f0757828155600101611ef4565b505050505050565b815167ffffffffffffffff811115611f2957611f29611bde565b611f3d81611f378454611e52565b84611ec1565b602080601f831160018114611f725760008415611f5a5750858301515b600019600386901b1c1916600185901b178555611f07565b600085815260208120601f198616915b82811015611fa157888601518255948401946001909101908401611f82565b5085821015611fbf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161200d5761200d611fe5565b5060010190565b6000821982111561202757612027611fe5565b500190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000845160206120928285838a01611b14565b8551918401916120a58184848a01611b14565b85549201916000906120b681611e52565b600182811680156120ce57600181146120e35761210f565b60ff198416875282151583028701945061210f565b896000528560002060005b84811015612107578154898201529083019087016120ee565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061215290830184611b40565b9695505050505050565b60006020828403121561216e57600080fd5b815161119981611ae1565b634e487b7160e01b600052601260045260246000fd5b60008261219e5761219e612179565b500490565b6000828210156121b5576121b5611fe5565b500390565b6000826121c9576121c9612179565b50069056fea26469706673582212205c738fe3791831e9f5b9d0b8a288de5326131a6830622d7a48e40987ac3fbe7664736f6c634300080f003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d58746135343567644c365a6f50367a62473556654e33675a4a386a766e314e777636676e506f6851327837712f68696464656e2e6a736f6e

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80635c975abb11610125578063a0712d68116100ad578063c87b56dd1161007c578063c87b56dd1461046f578063d5abeb0114610482578063e0a808531461048b578063e985e9c51461049e578063f2fde38b146104da57600080fd5b8063a0712d6814610423578063a22cb46514610436578063a2b40d1914610449578063b88d4fde1461045c57600080fd5b80637ec4a659116100f45780637ec4a659146103ce5780638da5cb5b146103e157806395d89b41146103f25780639ec00c95146103fa578063a035b1fe1461041a57600080fd5b80635c975abb146103935780636352211e146103a057806370a08231146103b3578063715018a6146103c657600080fd5b80632f745c59116101a8578063453c231011610177578063453c23101461034a5780634f6ccce7146103535780634fdd43cb1461036657806351830227146103795780635503a0e81461038b57600080fd5b80632f745c59146102fc5780633ccfd60b1461030f57806342842e0e14610317578063438b63001461032a57600080fd5b806316ba10e0116101ef57806316ba10e01461029e57806316c38b3c146102b157806318160ddd146102c4578063228025e8146102d657806323b872dd146102e957600080fd5b806301ffc9a71461022157806306fdde0314610249578063081812fc1461025e578063095ea7b314610289575b600080fd5b61023461022f366004611af7565b6104ed565b60405190151581526020015b60405180910390f35b61025161055a565b6040516102409190611b6c565b61027161026c366004611b7f565b6105ec565b6040516001600160a01b039091168152602001610240565b61029c610297366004611bb4565b61067c565b005b61029c6102ac366004611c6a565b610793565b61029c6102bf366004611cc3565b6107cd565b6000545b604051908152602001610240565b61029c6102e4366004611b7f565b61080a565b61029c6102f7366004611cde565b610839565b6102c861030a366004611bb4565b610844565b61029c61099f565b61029c610325366004611cde565b610a57565b61033d610338366004611d1a565b610a72565b6040516102409190611d35565b6102c8600d5481565b6102c8610361366004611b7f565b610b52565b61029c610374366004611c6a565b610bb4565b600f5461023490610100900460ff1681565b610251610bea565b600f546102349060ff1681565b6102716103ae366004611b7f565b610c78565b6102c86103c1366004611d1a565b610c8a565b61029c610d1b565b61029c6103dc366004611c6a565b610d8f565b6007546001600160a01b0316610271565b610251610dc5565b6102c8610408366004611d1a565b60106020526000908152604090205481565b6102c8600c5481565b61029c610431366004611b7f565b610dd4565b61029c610444366004611d79565b610efe565b61029c610457366004611b7f565b610fc2565b61029c61046a366004611dac565b610ff1565b61025161047d366004611b7f565b61102a565b6102c8600e5481565b61029c610499366004611cc3565b6111a0565b6102346104ac366004611e28565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61029c6104e8366004611d1a565b6111e4565b60006001600160e01b031982166380ac58cd60e01b148061051e57506001600160e01b03198216635b5e139f60e01b145b8061053957506001600160e01b0319821663780e9d6360e01b145b8061055457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461056990611e52565b80601f016020809104026020016040519081016040528092919081815260200182805461059590611e52565b80156105e25780601f106105b7576101008083540402835291602001916105e2565b820191906000526020600020905b8154815290600101906020018083116105c557829003601f168201915b5050505050905090565b60006105f9826000541190565b6106605760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061068782610c78565b9050806001600160a01b0316836001600160a01b0316036106f55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610657565b336001600160a01b0382161480610711575061071181336104ac565b6107835760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610657565b61078e8383836112cf565b505050565b6007546001600160a01b031633146107bd5760405162461bcd60e51b815260040161065790611e8c565b600a6107c98282611f0f565b5050565b6007546001600160a01b031633146107f75760405162461bcd60e51b815260040161065790611e8c565b600f805460ff1916911515919091179055565b6007546001600160a01b031633146108345760405162461bcd60e51b815260040161065790611e8c565b600e55565b61078e83838361132b565b600061084f83610c8a565b82106108a85760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610657565b600080549080805b8381101561093f576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561090357805192505b876001600160a01b0316836001600160a01b0316036109365786840361092f5750935061055492505050565b6001909301925b506001016108b0565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610657565b6007546001600160a01b031633146109c95760405162461bcd60e51b815260040161065790611e8c565b604051600090339047908381818185875af1925050503d8060008114610a0b576040519150601f19603f3d011682016040523d82523d6000602084013e610a10565b606091505b5050905080610a545760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610657565b50565b61078e83838360405180602001604052806000815250610ff1565b60606000610a7f83610c8a565b905060008167ffffffffffffffff811115610a9c57610a9c611bde565b604051908082528060200260200182016040528015610ac5578160200160208202803683370190505b509050600160005b8381108015610ade5750600e548211155b15610b48576000610aee83610c78565b9050866001600160a01b0316816001600160a01b031603610b355782848381518110610b1c57610b1c611fcf565b602090810291909101015281610b3181611ffb565b9250505b82610b3f81611ffb565b93505050610acd565b5090949350505050565b600080548210610bb05760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610657565b5090565b6007546001600160a01b03163314610bde5760405162461bcd60e51b815260040161065790611e8c565b600b6107c98282611f0f565b600a8054610bf790611e52565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2390611e52565b8015610c705780601f10610c4557610100808354040283529160200191610c70565b820191906000526020600020905b815481529060010190602001808311610c5357829003601f168201915b505050505081565b6000610c8382611610565b5192915050565b60006001600160a01b038216610cf65760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610657565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610d455760405162461bcd60e51b815260040161065790611e8c565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6007546001600160a01b03163314610db95760405162461bcd60e51b815260040161065790611e8c565b60096107c98282611f0f565b60606002805461056990611e52565b600f5460ff1615610e275760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610657565b600d5433600090815260106020526040902054610e45908390612014565b1115610e7f5760405162461bcd60e51b81526020600482015260096024820152682a27a79026a0a72c9760b91b6044820152606401610657565b600e5481610e8c60005490565b610e969190612014565b1115610ecf5760405162461bcd60e51b815260206004820152600860248201526727279026a7a9229760c11b6044820152606401610657565b3360009081526010602052604081208054839290610eee908490612014565b90915550610a54905033826116e7565b336001600160a01b03831603610f565760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610657565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b03163314610fec5760405162461bcd60e51b815260040161065790611e8c565b600c55565b610ffc84848461132b565b61100884848484611701565b6110245760405162461bcd60e51b81526004016106579061202c565b50505050565b6060611037826000541190565b61109b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610657565b600f54610100900460ff16151560000361114157600b80546110bc90611e52565b80601f01602080910402602001604051908101604052809291908181526020018280546110e890611e52565b80156111355780601f1061110a57610100808354040283529160200191611135565b820191906000526020600020905b81548152906001019060200180831161111857829003601f168201915b50505050509050919050565b600061114b611803565b9050600081511161116b5760405180602001604052806000815250611199565b8061117584611812565b600a6040516020016111899392919061207f565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146111ca5760405162461bcd60e51b815260040161065790611e8c565b600f80549115156101000261ff0019909216919091179055565b6007546001600160a01b0316331461120e5760405162461bcd60e51b815260040161065790611e8c565b6001600160a01b0381166112735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610657565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061133682611610565b80519091506000906001600160a01b0316336001600160a01b0316148061136d575033611362846105ec565b6001600160a01b0316145b8061137f5750815161137f90336104ac565b9050806113e95760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610657565b846001600160a01b031682600001516001600160a01b03161461145d5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610657565b6001600160a01b0384166114c15760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610657565b6114d160008484600001516112cf565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166115c657611579816000541190565b156115c6578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080518082019091526000808252602082015261162f826000541190565b61168e5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610657565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156116dd579392505050565b5060001901611690565b6107c9828260405180602001604052806000815250611913565b60006001600160a01b0384163b156117f757604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061174590339089908890889060040161211f565b6020604051808303816000875af1925050508015611780575060408051601f3d908101601f1916820190925261177d9181019061215c565b60015b6117dd573d8080156117ae576040519150601f19603f3d011682016040523d82523d6000602084013e6117b3565b606091505b5080516000036117d55760405162461bcd60e51b81526004016106579061202c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117fb565b5060015b949350505050565b60606009805461056990611e52565b6060816000036118395750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611863578061184d81611ffb565b915061185c9050600a8361218f565b915061183d565b60008167ffffffffffffffff81111561187e5761187e611bde565b6040519080825280601f01601f1916602001820160405280156118a8576020820181803683370190505b5090505b84156117fb576118bd6001836121a3565b91506118ca600a866121ba565b6118d5906030612014565b60f81b8183815181106118ea576118ea611fcf565b60200101906001600160f81b031916908160001a90535061190c600a8661218f565b94506118ac565b61078e83838360016000546001600160a01b03851661197e5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610657565b836000036119df5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610657565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015611ad85760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611acc57611ab06000888488611701565b611acc5760405162461bcd60e51b81526004016106579061202c565b60019182019101611a5d565b50600055611609565b6001600160e01b031981168114610a5457600080fd5b600060208284031215611b0957600080fd5b813561119981611ae1565b60005b83811015611b2f578181015183820152602001611b17565b838111156110245750506000910152565b60008151808452611b58816020860160208601611b14565b601f01601f19169290920160200192915050565b6020815260006111996020830184611b40565b600060208284031215611b9157600080fd5b5035919050565b80356001600160a01b0381168114611baf57600080fd5b919050565b60008060408385031215611bc757600080fd5b611bd083611b98565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c0f57611c0f611bde565b604051601f8501601f19908116603f01168101908282118183101715611c3757611c37611bde565b81604052809350858152868686011115611c5057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c7c57600080fd5b813567ffffffffffffffff811115611c9357600080fd5b8201601f81018413611ca457600080fd5b6117fb84823560208401611bf4565b80358015158114611baf57600080fd5b600060208284031215611cd557600080fd5b61119982611cb3565b600080600060608486031215611cf357600080fd5b611cfc84611b98565b9250611d0a60208501611b98565b9150604084013590509250925092565b600060208284031215611d2c57600080fd5b61119982611b98565b6020808252825182820181905260009190848201906040850190845b81811015611d6d57835183529284019291840191600101611d51565b50909695505050505050565b60008060408385031215611d8c57600080fd5b611d9583611b98565b9150611da360208401611cb3565b90509250929050565b60008060008060808587031215611dc257600080fd5b611dcb85611b98565b9350611dd960208601611b98565b925060408501359150606085013567ffffffffffffffff811115611dfc57600080fd5b8501601f81018713611e0d57600080fd5b611e1c87823560208401611bf4565b91505092959194509250565b60008060408385031215611e3b57600080fd5b611e4483611b98565b9150611da360208401611b98565b600181811c90821680611e6657607f821691505b602082108103611e8657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561078e57600081815260208120601f850160051c81016020861015611ee85750805b601f850160051c820191505b81811015611f0757828155600101611ef4565b505050505050565b815167ffffffffffffffff811115611f2957611f29611bde565b611f3d81611f378454611e52565b84611ec1565b602080601f831160018114611f725760008415611f5a5750858301515b600019600386901b1c1916600185901b178555611f07565b600085815260208120601f198616915b82811015611fa157888601518255948401946001909101908401611f82565b5085821015611fbf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161200d5761200d611fe5565b5060010190565b6000821982111561202757612027611fe5565b500190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000845160206120928285838a01611b14565b8551918401916120a58184848a01611b14565b85549201916000906120b681611e52565b600182811680156120ce57600181146120e35761210f565b60ff198416875282151583028701945061210f565b896000528560002060005b84811015612107578154898201529083019087016120ee565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061215290830184611b40565b9695505050505050565b60006020828403121561216e57600080fd5b815161119981611ae1565b634e487b7160e01b600052601260045260246000fd5b60008261219e5761219e612179565b500490565b6000828210156121b5576121b5611fe5565b500390565b6000826121c9576121c9612179565b50069056fea26469706673582212205c738fe3791831e9f5b9d0b8a288de5326131a6830622d7a48e40987ac3fbe7664736f6c634300080f0033

Deployed Bytecode Sourcemap

65008:3304:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51846:372;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;51846:372:0;;;;;;;;53732:100;;;:::i;:::-;;;;;;;:::i;55303:214::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;55303:214:0;1528:203:1;54824:413:0;;;;;;:::i;:::-;;:::i;:::-;;68099:100;;;;;;:::i;:::-;;:::i;67579:77::-;;;;;;:::i;:::-;;:::i;50095:108::-;50156:7;50183:12;50095:108;;;3894:25:1;;;3882:2;3867:18;50095:108:0;3748:177:1;67751:94:0;;;;;;:::i;:::-;;:::i;56179:162::-;;;;;;:::i;:::-;;:::i;50767:1007::-;;;;;;:::i;:::-;;:::i;65803:182::-;;;:::i;56412:177::-;;;;;;:::i;:::-;;:::i;66372:703::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;65492:31::-;;;;;;50280:187;;;;;;:::i;:::-;;:::i;67851:132::-;;;;;;:::i;:::-;;:::i;65607:28::-;;;;;;;;;;;;65170:33;;;:::i;65575:25::-;;;;;;;;;53541:124;;;;;;:::i;:::-;;:::i;52282:221::-;;;;;;:::i;:::-;;:::i;17385:148::-;;;:::i;67991:100::-;;;;;;:::i;:::-;;:::i;16734:87::-;16807:6;;-1:-1:-1;;;;;16807:6:0;16734:87;;53901:104;;;:::i;65644:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;65455:30;;;;;;65993:371;;;;;;:::i;:::-;;:::i;55589:288::-;;;;;;:::i;:::-;;:::i;65700:95::-;;;;;;:::i;:::-;;:::i;56660:355::-;;;;;;:::i;:::-;;:::i;67083:490::-;;;;;;:::i;:::-;;:::i;65530:31::-;;;;;;67662:81;;;;;;:::i;:::-;;:::i;55948:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;56069:25:0;;;56045:4;56069:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55948:164;17688:244;;;;;;:::i;:::-;;:::i;51846:372::-;51948:4;-1:-1:-1;;;;;;51985:40:0;;-1:-1:-1;;;51985:40:0;;:105;;-1:-1:-1;;;;;;;52042:48:0;;-1:-1:-1;;;52042:48:0;51985:105;:172;;;-1:-1:-1;;;;;;;52107:50:0;;-1:-1:-1;;;52107:50:0;51985:172;:225;;;-1:-1:-1;;;;;;;;;;25117:40:0;;;52174:36;51965:245;51846:372;-1:-1:-1;;51846:372:0:o;53732:100::-;53786:13;53819:5;53812:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53732:100;:::o;55303:214::-;55371:7;55399:16;55407:7;57327:4;57361:12;-1:-1:-1;57351:22:0;57270:111;55399:16;55391:74;;;;-1:-1:-1;;;55391:74:0;;6874:2:1;55391:74:0;;;6856:21:1;6913:2;6893:18;;;6886:30;6952:34;6932:18;;;6925:62;-1:-1:-1;;;7003:18:1;;;6996:43;7056:19;;55391:74:0;;;;;;;;;-1:-1:-1;55485:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;55485:24:0;;55303:214::o;54824:413::-;54897:13;54913:24;54929:7;54913:15;:24::i;:::-;54897:40;;54962:5;-1:-1:-1;;;;;54956:11:0;:2;-1:-1:-1;;;;;54956:11:0;;54948:58;;;;-1:-1:-1;;;54948:58:0;;7288:2:1;54948:58:0;;;7270:21:1;7327:2;7307:18;;;7300:30;7366:34;7346:18;;;7339:62;-1:-1:-1;;;7417:18:1;;;7410:32;7459:19;;54948:58:0;7086:398:1;54948:58:0;11840:10;-1:-1:-1;;;;;55041:21:0;;;;:62;;-1:-1:-1;55066:37:0;55083:5;11840:10;55948:164;:::i;55066:37::-;55019:169;;;;-1:-1:-1;;;55019:169:0;;7691:2:1;55019:169:0;;;7673:21:1;7730:2;7710:18;;;7703:30;7769:34;7749:18;;;7742:62;7840:27;7820:18;;;7813:55;7885:19;;55019:169:0;7489:421:1;55019:169:0;55201:28;55210:2;55214:7;55223:5;55201:8;:28::i;:::-;54886:351;54824:413;;:::o;68099:100::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;68171:9:::1;:22;68183:10:::0;68171:9;:22:::1;:::i;:::-;;68099:100:::0;:::o;67579:77::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;67635:6:::1;:15:::0;;-1:-1:-1;;67635:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67579:77::o;67751:94::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;67817:9:::1;:22:::0;67751:94::o;56179:162::-;56305:28;56315:4;56321:2;56325:7;56305:9;:28::i;50767:1007::-;50856:7;50892:16;50902:5;50892:9;:16::i;:::-;50884:5;:24;50876:71;;;;-1:-1:-1;;;50876:71:0;;10682:2:1;50876:71:0;;;10664:21:1;10721:2;10701:18;;;10694:30;10760:34;10740:18;;;10733:62;-1:-1:-1;;;10811:18:1;;;10804:32;10853:19;;50876:71:0;10480:398:1;50876:71:0;50958:22;50183:12;;;50958:22;;51221:466;51241:14;51237:1;:18;51221:466;;;51281:31;51315:14;;;:11;:14;;;;;;;;;51281:48;;;;;;;;;-1:-1:-1;;;;;51281:48:0;;;;;-1:-1:-1;;;51281:48:0;;;;;;;;;;;;51352:28;51348:111;;51425:14;;;-1:-1:-1;51348:111:0;51502:5;-1:-1:-1;;;;;51481:26:0;:17;-1:-1:-1;;;;;51481:26:0;;51477:195;;51551:5;51536:11;:20;51532:85;;-1:-1:-1;51592:1:0;-1:-1:-1;51585:8:0;;-1:-1:-1;;;51585:8:0;51532:85;51639:13;;;;;51477:195;-1:-1:-1;51257:3:0;;51221:466;;;-1:-1:-1;51710:56:0;;-1:-1:-1;;;51710:56:0;;11085:2:1;51710:56:0;;;11067:21:1;11124:2;11104:18;;;11097:30;11163:34;11143:18;;;11136:62;-1:-1:-1;;;11214:18:1;;;11207:44;11268:19;;51710:56:0;10883:410:1;65803:182:0;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;65872:58:::1;::::0;65854:12:::1;::::0;65880:10:::1;::::0;65904:21:::1;::::0;65854:12;65872:58;65854:12;65872:58;65904:21;65880:10;65872:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65853:77;;;65949:7;65941:36;;;::::0;-1:-1:-1;;;65941:36:0;;11710:2:1;65941:36:0::1;::::0;::::1;11692:21:1::0;11749:2;11729:18;;;11722:30;-1:-1:-1;;;11768:18:1;;;11761:46;11824:18;;65941:36:0::1;11508:340:1::0;65941:36:0::1;65842:143;65803:182::o:0;56412:177::-;56542:39;56559:4;56565:2;56569:7;56542:39;;;;;;;;;;;;:16;:39::i;66372:703::-;66459:16;66493:23;66519:17;66529:6;66519:9;:17::i;:::-;66493:43;;66547:30;66594:15;66580:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66580:30:0;-1:-1:-1;66547:63:0;-1:-1:-1;66646:1:0;66621:22;66698:339;66723:15;66705;:33;:64;;;;;66760:9;;66742:14;:27;;66705:64;66698:339;;;66782:25;66810:23;66818:14;66810:7;:23::i;:::-;66782:51;;66873:6;-1:-1:-1;;;;;66852:27:0;:17;-1:-1:-1;;;;;66852:27:0;;66848:151;;66933:14;66900:13;66914:15;66900:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;66966:17;;;;:::i;:::-;;;;66848:151;67009:16;;;;:::i;:::-;;;;66771:266;66698:339;;;-1:-1:-1;67054:13:0;;66372:703;-1:-1:-1;;;;66372:703:0:o;50280:187::-;50347:7;50183:12;;50375:5;:21;50367:69;;;;-1:-1:-1;;;50367:69:0;;12459:2:1;50367:69:0;;;12441:21:1;12498:2;12478:18;;;12471:30;12537:34;12517:18;;;12510:62;-1:-1:-1;;;12588:18:1;;;12581:33;12631:19;;50367:69:0;12257:399:1;50367:69:0;-1:-1:-1;50454:5:0;50280:187::o;67851:132::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;67939:17:::1;:38;67959:18:::0;67939:17;:38:::1;:::i;65170:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53541:124::-;53605:7;53632:20;53644:7;53632:11;:20::i;:::-;:25;;53541:124;-1:-1:-1;;53541:124:0:o;52282:221::-;52346:7;-1:-1:-1;;;;;52374:19:0;;52366:75;;;;-1:-1:-1;;;52366:75:0;;12863:2:1;52366:75:0;;;12845:21:1;12902:2;12882:18;;;12875:30;12941:34;12921:18;;;12914:62;-1:-1:-1;;;12992:18:1;;;12985:41;13043:19;;52366:75:0;12661:407:1;52366:75:0;-1:-1:-1;;;;;;52467:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;52467:27:0;;52282:221::o;17385:148::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;17476:6:::1;::::0;17455:40:::1;::::0;17492:1:::1;::::0;-1:-1:-1;;;;;17476:6:0::1;::::0;17455:40:::1;::::0;17492:1;;17455:40:::1;17506:6;:19:::0;;-1:-1:-1;;;;;;17506:19:0::1;::::0;;17385:148::o;67991:100::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;68063:9:::1;:22;68075:10:::0;68063:9;:22:::1;:::i;53901:104::-:0;53957:13;53990:7;53983:14;;;;;:::i;65993:371::-;66054:6;;;;66053:7;66045:43;;;;-1:-1:-1;;;66045:43:0;;13275:2:1;66045:43:0;;;13257:21:1;13314:2;13294:18;;;13287:30;13353:25;13333:18;;;13326:53;13396:18;;66045:43:0;13073:347:1;66045:43:0;66151:12;;66123:10;66107:27;;;;:15;:27;;;;;;:40;;66137:10;;66107:40;:::i;:::-;:56;;66099:78;;;;-1:-1:-1;;;66099:78:0;;13760:2:1;66099:78:0;;;13742:21:1;13799:1;13779:18;;;13772:29;-1:-1:-1;;;13817:18:1;;;13810:39;13866:18;;66099:78:0;13558:332:1;66099:78:0;66226:9;;66212:10;66196:13;50156:7;50183:12;;50095:108;66196:13;:26;;;;:::i;:::-;:39;;66188:60;;;;-1:-1:-1;;;66188:60:0;;14097:2:1;66188:60:0;;;14079:21:1;14136:1;14116:18;;;14109:29;-1:-1:-1;;;14154:18:1;;;14147:38;14202:18;;66188:60:0;13895:331:1;66188:60:0;66285:10;66269:27;;;;:15;:27;;;;;:41;;66300:10;;66269:27;:41;;66300:10;;66269:41;:::i;:::-;;;;-1:-1:-1;66323:33:0;;-1:-1:-1;66333:10:0;66345;66323:9;:33::i;55589:288::-;11840:10;-1:-1:-1;;;;;55684:24:0;;;55676:63;;;;-1:-1:-1;;;55676:63:0;;14433:2:1;55676:63:0;;;14415:21:1;14472:2;14452:18;;;14445:30;14511:28;14491:18;;;14484:56;14557:18;;55676:63:0;14231:350:1;55676:63:0;11840:10;55752:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;55752:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;55752:53:0;;;;;;;;;;55821:48;;540:41:1;;;55752:42:0;;11840:10;55821:48;;513:18:1;55821:48:0;;;;;;;55589:288;;:::o;65700:95::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;65770:5:::1;:17:::0;65700:95::o;56660:355::-;56819:28;56829:4;56835:2;56839:7;56819:9;:28::i;:::-;56880:48;56903:4;56909:2;56913:7;56922:5;56880:22;:48::i;:::-;56858:149;;;;-1:-1:-1;;;56858:149:0;;;;;;;:::i;:::-;56660:355;;;;:::o;67083:490::-;67182:13;67223:17;67231:8;57327:4;57361:12;-1:-1:-1;57351:22:0;57270:111;67223:17;67207:98;;;;-1:-1:-1;;;67207:98:0;;15208:2:1;67207:98:0;;;15190:21:1;15247:2;15227:18;;;15220:30;15286:34;15266:18;;;15259:62;-1:-1:-1;;;15337:18:1;;;15330:45;15392:19;;67207:98:0;15006:411:1;67207:98:0;67316:8;;;;;;;:17;;67328:5;67316:17;67312:64;;67351:17;67344:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67083:490;;;:::o;67312:64::-;67382:28;67413:10;:8;:10::i;:::-;67382:41;;67468:1;67443:14;67437:28;:32;:130;;;;;;;;;;;;;;;;;67505:14;67521:19;:8;:17;:19::i;:::-;67542:9;67488:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;67437:130;67430:137;67083:490;-1:-1:-1;;;67083:490:0:o;67662:81::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;67720:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;67720:17:0;;::::1;::::0;;;::::1;::::0;;67662:81::o;17688:244::-;16807:6;;-1:-1:-1;;;;;16807:6:0;11840:10;16954:23;16946:68;;;;-1:-1:-1;;;16946:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17777:22:0;::::1;17769:73;;;::::0;-1:-1:-1;;;17769:73:0;;16859:2:1;17769:73:0::1;::::0;::::1;16841:21:1::0;16898:2;16878:18;;;16871:30;16937:34;16917:18;;;16910:62;-1:-1:-1;;;16988:18:1;;;16981:36;17034:19;;17769:73:0::1;16657:402:1::0;17769:73:0::1;17879:6;::::0;17858:38:::1;::::0;-1:-1:-1;;;;;17858:38:0;;::::1;::::0;17879:6:::1;::::0;17858:38:::1;::::0;17879:6:::1;::::0;17858:38:::1;17907:6;:17:::0;;-1:-1:-1;;;;;;17907:17:0::1;-1:-1:-1::0;;;;;17907:17:0;;;::::1;::::0;;;::::1;::::0;;17688:244::o;62190:196::-;62305:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;62305:29:0;-1:-1:-1;;;;;62305:29:0;;;;;;;;;62350:28;;62305:24;;62350:28;;;;;;;62190:196;;;:::o;60070:2002::-;60185:35;60223:20;60235:7;60223:11;:20::i;:::-;60298:18;;60185:58;;-1:-1:-1;60256:22:0;;-1:-1:-1;;;;;60282:34:0;11840:10;-1:-1:-1;;;;;60282:34:0;;:87;;;-1:-1:-1;11840:10:0;60333:20;60345:7;60333:11;:20::i;:::-;-1:-1:-1;;;;;60333:36:0;;60282:87;:154;;;-1:-1:-1;60403:18:0;;60386:50;;11840:10;55948:164;:::i;60386:50::-;60256:181;;60458:17;60450:80;;;;-1:-1:-1;;;60450:80:0;;17266:2:1;60450:80:0;;;17248:21:1;17305:2;17285:18;;;17278:30;17344:34;17324:18;;;17317:62;-1:-1:-1;;;17395:18:1;;;17388:48;17453:19;;60450:80:0;17064:414:1;60450:80:0;60573:4;-1:-1:-1;;;;;60551:26:0;:13;:18;;;-1:-1:-1;;;;;60551:26:0;;60543:77;;;;-1:-1:-1;;;60543:77:0;;17685:2:1;60543:77:0;;;17667:21:1;17724:2;17704:18;;;17697:30;17763:34;17743:18;;;17736:62;-1:-1:-1;;;17814:18:1;;;17807:36;17860:19;;60543:77:0;17483:402:1;60543:77:0;-1:-1:-1;;;;;60639:16:0;;60631:66;;;;-1:-1:-1;;;60631:66:0;;18092:2:1;60631:66:0;;;18074:21:1;18131:2;18111:18;;;18104:30;18170:34;18150:18;;;18143:62;-1:-1:-1;;;18221:18:1;;;18214:35;18266:19;;60631:66:0;17890:401:1;60631:66:0;60818:49;60835:1;60839:7;60848:13;:18;;;60818:8;:49::i;:::-;-1:-1:-1;;;;;61163:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;;;;;61163:31:0;;;-1:-1:-1;;;;;61163:31:0;;;-1:-1:-1;;61163:31:0;;;;;;;61209:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;61209:29:0;;;;;;;;;;;;;61255:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;61300:61:0;;;;-1:-1:-1;;;61345:15:0;61300:61;;;;;;61635:11;;;61665:24;;;;;:29;61635:11;;61665:29;61661:295;;61733:20;61741:11;57327:4;57361:12;-1:-1:-1;57351:22:0;57270:111;61733:20;61729:212;;;61810:18;;;61778:24;;;:11;:24;;;;;;;;:50;;61893:28;;;;61851:70;;-1:-1:-1;;;61851:70:0;-1:-1:-1;;;;;;61851:70:0;;;-1:-1:-1;;;;;61778:50:0;;;61851:70;;;;;;;61729:212;61138:829;62003:7;61999:2;-1:-1:-1;;;;;61984:27:0;61993:4;-1:-1:-1;;;;;61984:27:0;;;;;;;;;;;62022:42;60174:1898;;60070:2002;;;:::o;52942:537::-;-1:-1:-1;;;;;;;;;;;;;;;;;53045:16:0;53053:7;57327:4;57361:12;-1:-1:-1;57351:22:0;57270:111;53045:16;53037:71;;;;-1:-1:-1;;;53037:71:0;;18498:2:1;53037:71:0;;;18480:21:1;18537:2;18517:18;;;18510:30;18576:34;18556:18;;;18549:62;-1:-1:-1;;;18627:18:1;;;18620:40;18677:19;;53037:71:0;18296:406:1;53037:71:0;53166:7;53146:245;53213:31;53247:17;;;:11;:17;;;;;;;;;53213:51;;;;;;;;;-1:-1:-1;;;;;53213:51:0;;;;;-1:-1:-1;;;53213:51:0;;;;;;;;;;;;53287:28;53283:93;;53347:9;52942:537;-1:-1:-1;;;52942:537:0:o;53283:93::-;-1:-1:-1;;;53186:6:0;53146:245;;57389:104;57458:27;57468:2;57472:8;57458:27;;;;;;;;;;;;:9;:27::i;62951:804::-;63106:4;-1:-1:-1;;;;;63127:13:0;;1436:19;:23;63123:625;;63163:72;;-1:-1:-1;;;63163:72:0;;-1:-1:-1;;;;;63163:36:0;;;;;:72;;11840:10;;63214:4;;63220:7;;63229:5;;63163:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63163:72:0;;;;;;;;-1:-1:-1;;63163:72:0;;;;;;;;;;;;:::i;:::-;;;63159:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63409:6;:13;63426:1;63409:18;63405:273;;63452:61;;-1:-1:-1;;;63452:61:0;;;;;;;:::i;63405:273::-;63628:6;63622:13;63613:6;63609:2;63605:15;63598:38;63159:534;-1:-1:-1;;;;;;63286:55:0;-1:-1:-1;;;63286:55:0;;-1:-1:-1;63279:62:0;;63123:625;-1:-1:-1;63732:4:0;63123:625;62951:804;;;;;;:::o;68205:104::-;68265:13;68294:9;68287:16;;;;;:::i;12443:723::-;12499:13;12720:5;12729:1;12720:10;12716:53;;-1:-1:-1;;12747:10:0;;;;;;;;;;;;-1:-1:-1;;;12747:10:0;;;;;12443:723::o;12716:53::-;12794:5;12779:12;12835:78;12842:9;;12835:78;;12868:8;;;;:::i;:::-;;-1:-1:-1;12891:10:0;;-1:-1:-1;12899:2:0;12891:10;;:::i;:::-;;;12835:78;;;12923:19;12955:6;12945:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12945:17:0;;12923:39;;12973:154;12980:10;;12973:154;;13007:11;13017:1;13007:11;;:::i;:::-;;-1:-1:-1;13076:10:0;13084:2;13076:5;:10;:::i;:::-;13063:24;;:2;:24;:::i;:::-;13050:39;;13033:6;13040;13033:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;13033:56:0;;;;;;;;-1:-1:-1;13104:11:0;13113:2;13104:11;;:::i;:::-;;;12973:154;;57856:163;57979:32;57985:2;57989:8;57999:5;58006:4;58417:20;58440:12;-1:-1:-1;;;;;58471:16:0;;58463:62;;;;-1:-1:-1;;;58463:62:0;;20577:2:1;58463:62:0;;;20559:21:1;20616:2;20596:18;;;20589:30;20655:34;20635:18;;;20628:62;-1:-1:-1;;;20706:18:1;;;20699:31;20747:19;;58463:62:0;20375:397:1;58463:62:0;58544:8;58556:1;58544:13;58536:66;;;;-1:-1:-1;;;58536:66:0;;20979:2:1;58536:66:0;;;20961:21:1;21018:2;20998:18;;;20991:30;21057:34;21037:18;;;21030:62;-1:-1:-1;;;21108:18:1;;;21101:38;21156:19;;58536:66:0;20777:404:1;58536:66:0;-1:-1:-1;;;;;58954:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;;;;58954:45:0;;-1:-1:-1;;;;;58954:45:0;;;;;;;;;;59014:50;;;;;;;;;;;;;;59081:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;59131:66:0;;;;-1:-1:-1;;;59181:15:0;59131:66;;;;;;;59081:25;;59266:415;59286:8;59282:1;:12;59266:415;;;59325:38;;59350:12;;-1:-1:-1;;;;;59325:38:0;;;59342:1;;59325:38;;59342:1;;59325:38;59386:4;59382:249;;;59449:59;59480:1;59484:2;59488:12;59502:5;59449:22;:59::i;:::-;59415:196;;;;-1:-1:-1;;;59415:196:0;;;;;;;:::i;:::-;59651:14;;;;;59296:3;59266:415;;;-1:-1:-1;59697:12:0;:27;59748:60;56660:355;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:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2173:127::-;2234:10;2229:3;2225:20;2222:1;2215:31;2265:4;2262:1;2255:15;2289:4;2286:1;2279:15;2305:632;2370:5;2400:18;2441:2;2433:6;2430:14;2427:40;;;2447:18;;:::i;:::-;2522:2;2516:9;2490:2;2576:15;;-1:-1:-1;;2572:24:1;;;2598:2;2568:33;2564:42;2552:55;;;2622:18;;;2642:22;;;2619:46;2616:72;;;2668:18;;:::i;:::-;2708:10;2704:2;2697:22;2737:6;2728:15;;2767:6;2759;2752:22;2807:3;2798:6;2793:3;2789:16;2786:25;2783:45;;;2824:1;2821;2814:12;2783:45;2874:6;2869:3;2862:4;2854:6;2850:17;2837:44;2929:1;2922:4;2913:6;2905;2901:19;2897:30;2890:41;;;;2305:632;;;;;:::o;2942:451::-;3011:6;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3120:9;3107:23;3153:18;3145:6;3142:30;3139:50;;;3185:1;3182;3175:12;3139:50;3208:22;;3261:4;3253:13;;3249:27;-1:-1:-1;3239:55:1;;3290:1;3287;3280:12;3239:55;3313:74;3379:7;3374:2;3361:16;3356:2;3352;3348:11;3313:74;:::i;3398:160::-;3463:20;;3519:13;;3512:21;3502:32;;3492:60;;3548:1;3545;3538:12;3563:180;3619:6;3672:2;3660:9;3651:7;3647:23;3643:32;3640:52;;;3688:1;3685;3678:12;3640:52;3711:26;3727:9;3711:26;:::i;3930:328::-;4007:6;4015;4023;4076:2;4064:9;4055:7;4051:23;4047:32;4044:52;;;4092:1;4089;4082:12;4044:52;4115:29;4134:9;4115:29;:::i;:::-;4105:39;;4163:38;4197:2;4186:9;4182:18;4163:38;:::i;:::-;4153:48;;4248:2;4237:9;4233:18;4220:32;4210:42;;3930:328;;;;;:::o;4263:186::-;4322:6;4375:2;4363:9;4354:7;4350:23;4346:32;4343:52;;;4391:1;4388;4381:12;4343:52;4414:29;4433:9;4414:29;:::i;4454:632::-;4625:2;4677:21;;;4747:13;;4650:18;;;4769:22;;;4596:4;;4625:2;4848:15;;;;4822:2;4807:18;;;4596:4;4891:169;4905:6;4902:1;4899:13;4891:169;;;4966:13;;4954:26;;5035:15;;;;5000:12;;;;4927:1;4920:9;4891:169;;;-1:-1:-1;5077:3:1;;4454:632;-1:-1:-1;;;;;;4454:632:1:o;5091:254::-;5156:6;5164;5217:2;5205:9;5196:7;5192:23;5188:32;5185:52;;;5233:1;5230;5223:12;5185:52;5256:29;5275:9;5256:29;:::i;:::-;5246:39;;5304:35;5335:2;5324:9;5320:18;5304:35;:::i;:::-;5294:45;;5091:254;;;;;:::o;5350:667::-;5445:6;5453;5461;5469;5522:3;5510:9;5501:7;5497:23;5493:33;5490:53;;;5539:1;5536;5529:12;5490:53;5562:29;5581:9;5562:29;:::i;:::-;5552:39;;5610:38;5644:2;5633:9;5629:18;5610:38;:::i;:::-;5600:48;;5695:2;5684:9;5680:18;5667:32;5657:42;;5750:2;5739:9;5735:18;5722:32;5777:18;5769:6;5766:30;5763:50;;;5809:1;5806;5799:12;5763:50;5832:22;;5885:4;5877:13;;5873:27;-1:-1:-1;5863:55:1;;5914:1;5911;5904:12;5863:55;5937:74;6003:7;5998:2;5985:16;5980:2;5976;5972:11;5937:74;:::i;:::-;5927:84;;;5350:667;;;;;;;:::o;6022:260::-;6090:6;6098;6151:2;6139:9;6130:7;6126:23;6122:32;6119:52;;;6167:1;6164;6157:12;6119:52;6190:29;6209:9;6190:29;:::i;:::-;6180:39;;6238:38;6272:2;6261:9;6257:18;6238:38;:::i;6287:380::-;6366:1;6362:12;;;;6409;;;6430:61;;6484:4;6476:6;6472:17;6462:27;;6430:61;6537:2;6529:6;6526:14;6506:18;6503:38;6500:161;;6583:10;6578:3;6574:20;6571:1;6564:31;6618:4;6615:1;6608:15;6646:4;6643:1;6636:15;6500:161;;6287:380;;;:::o;7915:356::-;8117:2;8099:21;;;8136:18;;;8129:30;8195:34;8190:2;8175:18;;8168:62;8262:2;8247:18;;7915:356::o;8402:545::-;8504:2;8499:3;8496:11;8493:448;;;8540:1;8565:5;8561:2;8554:17;8610:4;8606:2;8596:19;8680:2;8668:10;8664:19;8661:1;8657:27;8651:4;8647:38;8716:4;8704:10;8701:20;8698:47;;;-1:-1:-1;8739:4:1;8698:47;8794:2;8789:3;8785:12;8782:1;8778:20;8772:4;8768:31;8758:41;;8849:82;8867:2;8860:5;8857:13;8849:82;;;8912:17;;;8893:1;8882:13;8849:82;;;8853:3;;;8402:545;;;:::o;9123:1352::-;9249:3;9243:10;9276:18;9268:6;9265:30;9262:56;;;9298:18;;:::i;:::-;9327:97;9417:6;9377:38;9409:4;9403:11;9377:38;:::i;:::-;9371:4;9327:97;:::i;:::-;9479:4;;9543:2;9532:14;;9560:1;9555:663;;;;10262:1;10279:6;10276:89;;;-1:-1:-1;10331:19:1;;;10325:26;10276:89;-1:-1:-1;;9080:1:1;9076:11;;;9072:24;9068:29;9058:40;9104:1;9100:11;;;9055:57;10378:81;;9525:944;;9555:663;8349:1;8342:14;;;8386:4;8373:18;;-1:-1:-1;;9591:20:1;;;9709:236;9723:7;9720:1;9717:14;9709:236;;;9812:19;;;9806:26;9791:42;;9904:27;;;;9872:1;9860:14;;;;9739:19;;9709:236;;;9713:3;9973:6;9964:7;9961:19;9958:201;;;10034:19;;;10028:26;-1:-1:-1;;10117:1:1;10113:14;;;10129:3;10109:24;10105:37;10101:42;10086:58;10071:74;;9958:201;-1:-1:-1;;;;;10205:1:1;10189:14;;;10185:22;10172:36;;-1:-1:-1;9123:1352:1:o;11853:127::-;11914:10;11909:3;11905:20;11902:1;11895:31;11945:4;11942:1;11935:15;11969:4;11966:1;11959:15;11985:127;12046:10;12041:3;12037:20;12034:1;12027:31;12077:4;12074:1;12067:15;12101:4;12098:1;12091:15;12117:135;12156:3;12177:17;;;12174:43;;12197:18;;:::i;:::-;-1:-1:-1;12244:1:1;12233:13;;12117:135::o;13425:128::-;13465:3;13496:1;13492:6;13489:1;13486:13;13483:39;;;13502:18;;:::i;:::-;-1:-1:-1;13538:9:1;;13425:128::o;14586:415::-;14788:2;14770:21;;;14827:2;14807:18;;;14800:30;14866:34;14861:2;14846:18;;14839:62;-1:-1:-1;;;14932:2:1;14917:18;;14910:49;14991:3;14976:19;;14586:415::o;15422:1230::-;15646:3;15684:6;15678:13;15710:4;15723:51;15767:6;15762:3;15757:2;15749:6;15745:15;15723:51;:::i;:::-;15837:13;;15796:16;;;;15859:55;15837:13;15796:16;15881:15;;;15859:55;:::i;:::-;16003:13;;15936:20;;;15976:1;;16041:36;16003:13;16041:36;:::i;:::-;16096:1;16113:18;;;16140:141;;;;16295:1;16290:337;;;;16106:521;;16140:141;-1:-1:-1;;16175:24:1;;16161:39;;16252:16;;16245:24;16231:39;;16220:51;;;-1:-1:-1;16140:141:1;;16290:337;16321:6;16318:1;16311:17;16369:2;16366:1;16356:16;16394:1;16408:169;16422:8;16419:1;16416:15;16408:169;;;16504:14;;16489:13;;;16482:37;16547:16;;;;16439:10;;16408:169;;;16412:3;;16608:8;16601:5;16597:20;16590:27;;16106:521;-1:-1:-1;16643:3:1;;15422:1230;-1:-1:-1;;;;;;;;;;15422:1230:1:o;19123:489::-;-1:-1:-1;;;;;19392:15:1;;;19374:34;;19444:15;;19439:2;19424:18;;19417:43;19491:2;19476:18;;19469:34;;;19539:3;19534:2;19519:18;;19512:31;;;19317:4;;19560:46;;19586:19;;19578:6;19560:46;:::i;:::-;19552:54;19123:489;-1:-1:-1;;;;;;19123:489:1:o;19617:249::-;19686:6;19739:2;19727:9;19718:7;19714:23;19710:32;19707:52;;;19755:1;19752;19745:12;19707:52;19787:9;19781:16;19806:30;19830:5;19806:30;:::i;19871:127::-;19932:10;19927:3;19923:20;19920:1;19913:31;19963:4;19960:1;19953:15;19987:4;19984:1;19977:15;20003:120;20043:1;20069;20059:35;;20074:18;;:::i;:::-;-1:-1:-1;20108:9:1;;20003:120::o;20128:125::-;20168:4;20196:1;20193;20190:8;20187:34;;;20201:18;;:::i;:::-;-1:-1:-1;20238:9:1;;20128:125::o;20258:112::-;20290:1;20316;20306:35;;20321:18;;:::i;:::-;-1:-1:-1;20355:9:1;;20258:112::o

Swarm Source

ipfs://5c738fe3791831e9f5b9d0b8a288de5326131a6830622d7a48e40987ac3fbe76
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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