ETH Price: $3,028.93 (+3.83%)
Gas: 9.25 Gwei

Token

KPK Pet (KPKPet)
 

Overview

Max Total Supply

1,000 KPKPet

Holders

475

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 KPKPet
0x6836b40b70d32dc8534bc192da426b5b70d40e3c
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:
KOPOKOMafiaPet

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-19
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/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/token/ERC721/IERC721Receiver.sol


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/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: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;









error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _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)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), 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[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

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

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

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
        //TODO
        // Si burn, mint d'un autre NFT (URL différent, JSON etc... New collection)
        
    }

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


/// @title KPetK Project

contract KOPOKOMafiaPet is ERC721A, Ownable, ReentrancyGuard {


    //To concatenate the URL of an NFT
    using Strings for uint256;

    //Number of NFTs in the collection
    uint public constant MAX_SUPPLY = 1000;
    
    //URI of the NFTs when revealed
    string private baseURI;
    //URI of the NFTs when not revealed
    string private notRevealedURI;
    //URI of the NFTs when token is burn
    string private burnURI;

    //The extension of the file containing the Metadatas of the NFTs
    string public baseExtension = ".json";

    //Are the NFTs revealed yet ?
    bool public revealed = false;

    //Owner of the smart contract
    address private _owner;

    //Keep a track of the number of tokens per address
    mapping(address => uint) nftsPerWallet;
    mapping(uint256 => mapping(address => bool)) userExists;

    //Keep a track of the nft burn
    mapping(uint256 => bool) burnNFT;
    
    //Constructor of the collection
    constructor() ERC721A("KPK Pet", "KPKPet") {   
        transferOwnership(msg.sender);
    }

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

    /**
    * @notice Initialise Merkle Root
    *
    * @param _theBaseURI Base URI
    * @param _notRevealedURI Hide base URI
    **/
    function init(string memory _theBaseURI, string memory _notRevealedURI,string memory _burnURI) external onlyOwner {
        baseURI = _theBaseURI;
        notRevealedURI = _notRevealedURI;
        burnURI = _burnURI;
    }

    
    /**
    * @notice Allows to set the revealed variable to true
    **/
    function reveal() external onlyOwner{
        revealed = true;
    }
    /**
    * @notice Change the base URI
    *
    * @param _newBaseURI The new base URI
    **/
    function setBaseUri(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    /**
    * @notice Change the not revealed URI
    *
    * @param _notRevealedURI The new not revealed URI
    **/
    function setNotRevealURI(string memory _notRevealedURI) external onlyOwner {
        notRevealedURI = _notRevealedURI;
    }

    /**
    * @notice Change the burn URI
    *
    * @param _burnURI The new burn URI
    **/
    function seturnURI(string memory _burnURI) external onlyOwner {
        burnURI = _burnURI;
    }

    /**
    * @notice Return URI of the NFTs when revealed
    *
    * @return The URI of the NFTs when revealed
    **/
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

  

     /**
    * @notice Allows to change the base extension of the metadatas files
    *
    * @param _baseExtension the new extension of the metadatas files
    **/
    function setBaseExtension(string memory _baseExtension) external onlyOwner {
        baseExtension = _baseExtension;
    }
    
  

    /**
    * @notice Allows to gift one NFT to an address
    *
    * @param _account The account of the happy new owner of one NFT
    **/
    function gift(address _account) external onlyOwner {
        uint supply = totalSupply();
        require(supply + 1 <= MAX_SUPPLY, "Sold out");
        
            _safeMint(_account, 1);
            nftsPerWallet[_account] += 1;
        
    }

    /**
    * @notice Burn your token
    *
    * @param tokenId Token of your NFT
    **/
    function burn(uint256 tokenId) external {
        require(ownerOf(tokenId) == msg.sender, "You are not the owner of the NFT");
        _burn(tokenId);
        burnNFT[tokenId] = true;

    }

    /**
    * @notice Send one NFT as a gift to all holders
    *
    * @param holders The accounts of the happy new owner of NFTs
    **/
    function giftForAll(address[] memory holders) external onlyOwner {
        require(holders.length > 0, "no holders");
        uint supply = totalSupply();
        for (uint256 index = 0; index < holders.length; index++) {
            require(supply + 1 <= MAX_SUPPLY, "Sold out");
           
                _safeMint(holders[index], 1);
                nftsPerWallet[holders[index]] += 1;
            
        }
    }


    /**
    * @notice Allows to get the complete URI of a specific NFT by his ID
    *
    * @param _nftId The id of the NFT
    *
    * @return The token URI of the NFT which has _nftId Id
    **/
    function tokenURI(uint _nftId) public view override(ERC721A) returns (string memory) {
        if(burnNFT[_nftId] == true){
            return burnURI;
        }
        require(_exists(_nftId), "This NFT doesn't exist.");
        if(revealed == false) {
            return notRevealedURI;
        }
        
        string memory currentBaseURI = _baseURI();
        return 
            bytes(currentBaseURI).length > 0 
            ? string(abi.encodePacked(currentBaseURI, _nftId.toString(), baseExtension))
            : "";
    }   


}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":[],"name":"MAX_SUPPLY","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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","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":"_account","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"holders","type":"address[]"}],"name":"giftForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_theBaseURI","type":"string"},{"internalType":"string","name":"_notRevealedURI","type":"string"},{"internalType":"string","name":"_burnURI","type":"string"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":"_baseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_burnURI","type":"string"}],"name":"seturnURI","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":"_nftId","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"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600d9190620001f4565b50600e805460ff191690553480156200004057600080fd5b50604080518082018252600781526612d412c814195d60ca1b60208083019182528351808501909452600684526512d412d4195d60d21b9084015281519192916200008e91600291620001f4565b508051620000a4906003906020840190620001f4565b5050600160005550620000b733620000cd565b6001600955620000c7336200011f565b620002d7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b031633146200017f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620001e65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000176565b620001f181620000cd565b50565b82805462000202906200029a565b90600052602060002090601f01602090048101928262000226576000855562000271565b82601f106200024157805160ff191683800117855562000271565b8280016001018555821562000271579182015b828111156200027157825182559160200191906001019062000254565b506200027f92915062000283565b5090565b5b808211156200027f576000815560010162000284565b600181811c90821680620002af57607f821691505b60208210811415620002d157634e487b7160e01b600052602260045260246000fd5b50919050565b611f5680620002e76000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063b88d4fde116100a2578063da3ef23f11610071578063da3ef23f146103a9578063e985e9c5146103bc578063f2fde38b146103f8578063f4a6c81f1461040b57600080fd5b8063b88d4fde14610368578063c66828621461037b578063c87b56dd14610383578063cbfc4bce1461039657600080fd5b806395d89b41116100de57806395d89b4114610332578063a0bcfc7f1461033a578063a22cb4651461034d578063a475b5dd1461036057600080fd5b806370a0823114610306578063715018a6146103195780638da5cb5b1461032157600080fd5b806341e461a0116101715780634b0b54931161014b5780634b0b5493146102c057806351830227146102d35780635accac99146102e05780636352211e146102f357600080fd5b806341e461a01461028757806342842e0e1461029a57806342966c68146102ad57600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd1461026b57806332cb6b0c1461027e57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611b06565b61041e565b60405190151581526020015b60405180910390f35b610204610470565b6040516101f39190611d41565b61022461021f366004611bfb565b610502565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611a29565b610546565b005b60015460005403600019015b6040519081526020016101f3565b61024f610279366004611936565b6105d4565b61025d6103e881565b61024f610295366004611b74565b6105df565b61024f6102a8366004611936565b610653565b61024f6102bb366004611bfb565b61066e565b61024f6102ce366004611a53565b6106f2565b600e546101e79060ff1681565b61024f6102ee366004611b40565b61084f565b610224610301366004611bfb565b610890565b61025d6103143660046118e8565b6108a2565b61024f6108f0565b6008546001600160a01b0316610224565b610204610926565b61024f610348366004611b40565b610935565b61024f61035b3660046119ed565b610972565b61024f610a08565b61024f610376366004611972565b610a41565b610204610a8c565b610204610391366004611bfb565b610b1a565b61024f6103a43660046118e8565b610c96565b61024f6103b7366004611b40565b610d5b565b6101e76103ca366004611903565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61024f6104063660046118e8565b610d98565b61024f610419366004611b40565b610e33565b60006001600160e01b031982166380ac58cd60e01b148061044f57506001600160e01b03198216635b5e139f60e01b145b8061046a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461047f90611e28565b80601f01602080910402602001604051908101604052809291908181526020018280546104ab90611e28565b80156104f85780601f106104cd576101008083540402835291602001916104f8565b820191906000526020600020905b8154815290600101906020018083116104db57829003601f168201915b5050505050905090565b600061050d82610e70565b61052a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061055182610890565b9050806001600160a01b0316836001600160a01b031614156105865760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906105a657506105a481336103ca565b155b156105c4576040516367d9dca160e11b815260040160405180910390fd5b6105cf838383610ea9565b505050565b6105cf838383610f05565b6008546001600160a01b031633146106125760405162461bcd60e51b815260040161060990611d54565b60405180910390fd5b825161062590600a9060208601906117bc565b50815161063990600b9060208501906117bc565b50805161064d90600c9060208401906117bc565b50505050565b6105cf83838360405180602001604052806000815250610a41565b3361067882610890565b6001600160a01b0316146106ce5760405162461bcd60e51b815260206004820181905260248201527f596f7520617265206e6f7420746865206f776e6572206f6620746865204e46546044820152606401610609565b6106d781611107565b6000908152601160205260409020805460ff19166001179055565b6008546001600160a01b0316331461071c5760405162461bcd60e51b815260040161060990611d54565b600081511161075a5760405162461bcd60e51b815260206004820152600a6024820152696e6f20686f6c6465727360b01b6044820152606401610609565b600061076f6001546000546000199190030190565b905060005b82518110156105cf576103e861078b836001611db9565b11156107c45760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610609565b6107e88382815181106107d9576107d9611ebe565b60200260200101516001611271565b6001600f600085848151811061080057610800611ebe565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282546108379190611db9565b9091555081905061084781611e63565b915050610774565b6008546001600160a01b031633146108795760405162461bcd60e51b815260040161060990611d54565b805161088c90600b9060208401906117bc565b5050565b600061089b8261128b565b5192915050565b60006001600160a01b0382166108cb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461091a5760405162461bcd60e51b815260040161060990611d54565b61092460006113b2565b565b60606003805461047f90611e28565b6008546001600160a01b0316331461095f5760405162461bcd60e51b815260040161060990611d54565b805161088c90600a9060208401906117bc565b6001600160a01b03821633141561099c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610a325760405162461bcd60e51b815260040161060990611d54565b600e805460ff19166001179055565b610a4c848484610f05565b6001600160a01b0383163b15158015610a6e5750610a6c84848484611404565b155b1561064d576040516368d2bf6b60e11b815260040160405180910390fd5b600d8054610a9990611e28565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac590611e28565b8015610b125780601f10610ae757610100808354040283529160200191610b12565b820191906000526020600020905b815481529060010190602001808311610af557829003601f168201915b505050505081565b60008181526011602052604090205460609060ff16151560011415610bcb57600c8054610b4690611e28565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7290611e28565b8015610bbf5780601f10610b9457610100808354040283529160200191610bbf565b820191906000526020600020905b815481529060010190602001808311610ba257829003601f168201915b50505050509050919050565b610bd482610e70565b610c205760405162461bcd60e51b815260206004820152601760248201527f54686973204e465420646f65736e27742065786973742e0000000000000000006044820152606401610609565b600e5460ff16610c3757600b8054610b4690611e28565b6000610c416114fc565b90506000815111610c615760405180602001604052806000815250610c8f565b80610c6b8461150b565b600d604051602001610c7f93929190611c40565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610cc05760405162461bcd60e51b815260040161060990611d54565b6000610cd56001546000546000199190030190565b90506103e8610ce5826001611db9565b1115610d1e5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610609565b610d29826001611271565b6001600160a01b0382166000908152600f60205260408120805460019290610d52908490611db9565b90915550505050565b6008546001600160a01b03163314610d855760405162461bcd60e51b815260040161060990611d54565b805161088c90600d9060208401906117bc565b6008546001600160a01b03163314610dc25760405162461bcd60e51b815260040161060990611d54565b6001600160a01b038116610e275760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610609565b610e30816113b2565b50565b6008546001600160a01b03163314610e5d5760405162461bcd60e51b815260040161060990611d54565b805161088c90600c9060208401906117bc565b600081600111158015610e84575060005482105b801561046a575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610f108261128b565b80519091506000906001600160a01b0316336001600160a01b03161480610f3e57508151610f3e90336103ca565b80610f59575033610f4e84610502565b6001600160a01b0316145b905080610f7957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614610fae5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416610fd557604051633a954ecd60e21b815260040160405180910390fd5b610fe56000848460000151610ea9565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166110cf576000548110156110cf57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b0316600080516020611f0183398151915260405160405180910390a45b5050505050565b60006111128261128b565b90506111246000838360000151610ea9565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094528285208054600160e01b9588166001600160e01b031990911617600160a01b42909416939093029290921760ff60e01b191693909317905590850180835291205490911661123b5760005481101561123b57815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b50805160405183916000916001600160a01b0390911690600080516020611f01833981519152908390a450506001805481019055565b61088c828260405180602001604052806000815250611608565b604080516060810182526000808252602082018190529181019190915281806001111580156112bb575060005481105b1561139957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906113975780516001600160a01b03161561132e579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611392579392505050565b61132e565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611439903390899088908890600401611d04565b602060405180830381600087803b15801561145357600080fd5b505af1925050508015611483575060408051601f3d908101601f1916820190925261148091810190611b23565b60015b6114de573d8080156114b1576040519150601f19603f3d011682016040523d82523d6000602084013e6114b6565b606091505b5080516114d6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461047f90611e28565b60608161152f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611559578061154381611e63565b91506115529050600a83611dd1565b9150611533565b6000816001600160401b0381111561157357611573611ed4565b6040519080825280601f01601f19166020018201604052801561159d576020820181803683370190505b5090505b84156114f4576115b2600183611de5565b91506115bf600a86611e7e565b6115ca906030611db9565b60f81b8183815181106115df576115df611ebe565b60200101906001600160f81b031916908160001a905350611601600a86611dd1565b94506115a1565b6105cf83838360016000546001600160a01b03851661163957604051622e076360e81b815260040160405180910390fd5b836116575760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561170857506001600160a01b0387163b15155b1561177f575b60405182906001600160a01b03891690600090600080516020611f01833981519152908290a46117476000888480600101955088611404565b611764576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561170e57826000541461177a57600080fd5b6117b3565b5b6040516001830192906001600160a01b03891690600090600080516020611f01833981519152908290a480821415611780575b50600055611100565b8280546117c890611e28565b90600052602060002090601f0160209004810192826117ea5760008555611830565b82601f1061180357805160ff1916838001178555611830565b82800160010185558215611830579182015b82811115611830578251825591602001919060010190611815565b5061183c929150611840565b5090565b5b8082111561183c5760008155600101611841565b60006001600160401b0383111561186e5761186e611ed4565b611881601f8401601f1916602001611d89565b905082815283838301111561189557600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146118c357600080fd5b919050565b600082601f8301126118d957600080fd5b610c8f83833560208501611855565b6000602082840312156118fa57600080fd5b610c8f826118ac565b6000806040838503121561191657600080fd5b61191f836118ac565b915061192d602084016118ac565b90509250929050565b60008060006060848603121561194b57600080fd5b611954846118ac565b9250611962602085016118ac565b9150604084013590509250925092565b6000806000806080858703121561198857600080fd5b611991856118ac565b935061199f602086016118ac565b92506040850135915060608501356001600160401b038111156119c157600080fd5b8501601f810187136119d257600080fd5b6119e187823560208401611855565b91505092959194509250565b60008060408385031215611a0057600080fd5b611a09836118ac565b915060208301358015158114611a1e57600080fd5b809150509250929050565b60008060408385031215611a3c57600080fd5b611a45836118ac565b946020939093013593505050565b60006020808385031215611a6657600080fd5b82356001600160401b0380821115611a7d57600080fd5b818501915085601f830112611a9157600080fd5b813581811115611aa357611aa3611ed4565b8060051b9150611ab4848301611d89565b8181528481019084860184860187018a1015611acf57600080fd5b600095505b83861015611af957611ae5816118ac565b835260019590950194918601918601611ad4565b5098975050505050505050565b600060208284031215611b1857600080fd5b8135610c8f81611eea565b600060208284031215611b3557600080fd5b8151610c8f81611eea565b600060208284031215611b5257600080fd5b81356001600160401b03811115611b6857600080fd5b6114f4848285016118c8565b600080600060608486031215611b8957600080fd5b83356001600160401b0380821115611ba057600080fd5b611bac878388016118c8565b94506020860135915080821115611bc257600080fd5b611bce878388016118c8565b93506040860135915080821115611be457600080fd5b50611bf1868287016118c8565b9150509250925092565b600060208284031215611c0d57600080fd5b5035919050565b60008151808452611c2c816020860160208601611dfc565b601f01601f19169290920160200192915050565b600084516020611c538285838a01611dfc565b855191840191611c668184848a01611dfc565b8554920191600090600181811c9080831680611c8357607f831692505b858310811415611ca157634e487b7160e01b85526022600452602485fd5b808015611cb55760018114611cc657611cf3565b60ff19851688528388019550611cf3565b60008b81526020902060005b85811015611ceb5781548a820152908401908801611cd2565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d3790830184611c14565b9695505050505050565b602081526000610c8f6020830184611c14565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715611db157611db1611ed4565b604052919050565b60008219821115611dcc57611dcc611e92565b500190565b600082611de057611de0611ea8565b500490565b600082821015611df757611df7611e92565b500390565b60005b83811015611e17578181015183820152602001611dff565b8381111561064d5750506000910152565b600181811c90821680611e3c57607f821691505b60208210811415611e5d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e7757611e77611e92565b5060010190565b600082611e8d57611e8d611ea8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e3057600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e40bfe4d0870f70d1520d1579df3dff62e6d536cf51547c75b4e425f82be35d164736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063b88d4fde116100a2578063da3ef23f11610071578063da3ef23f146103a9578063e985e9c5146103bc578063f2fde38b146103f8578063f4a6c81f1461040b57600080fd5b8063b88d4fde14610368578063c66828621461037b578063c87b56dd14610383578063cbfc4bce1461039657600080fd5b806395d89b41116100de57806395d89b4114610332578063a0bcfc7f1461033a578063a22cb4651461034d578063a475b5dd1461036057600080fd5b806370a0823114610306578063715018a6146103195780638da5cb5b1461032157600080fd5b806341e461a0116101715780634b0b54931161014b5780634b0b5493146102c057806351830227146102d35780635accac99146102e05780636352211e146102f357600080fd5b806341e461a01461028757806342842e0e1461029a57806342966c68146102ad57600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd1461026b57806332cb6b0c1461027e57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611b06565b61041e565b60405190151581526020015b60405180910390f35b610204610470565b6040516101f39190611d41565b61022461021f366004611bfb565b610502565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611a29565b610546565b005b60015460005403600019015b6040519081526020016101f3565b61024f610279366004611936565b6105d4565b61025d6103e881565b61024f610295366004611b74565b6105df565b61024f6102a8366004611936565b610653565b61024f6102bb366004611bfb565b61066e565b61024f6102ce366004611a53565b6106f2565b600e546101e79060ff1681565b61024f6102ee366004611b40565b61084f565b610224610301366004611bfb565b610890565b61025d6103143660046118e8565b6108a2565b61024f6108f0565b6008546001600160a01b0316610224565b610204610926565b61024f610348366004611b40565b610935565b61024f61035b3660046119ed565b610972565b61024f610a08565b61024f610376366004611972565b610a41565b610204610a8c565b610204610391366004611bfb565b610b1a565b61024f6103a43660046118e8565b610c96565b61024f6103b7366004611b40565b610d5b565b6101e76103ca366004611903565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61024f6104063660046118e8565b610d98565b61024f610419366004611b40565b610e33565b60006001600160e01b031982166380ac58cd60e01b148061044f57506001600160e01b03198216635b5e139f60e01b145b8061046a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461047f90611e28565b80601f01602080910402602001604051908101604052809291908181526020018280546104ab90611e28565b80156104f85780601f106104cd576101008083540402835291602001916104f8565b820191906000526020600020905b8154815290600101906020018083116104db57829003601f168201915b5050505050905090565b600061050d82610e70565b61052a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061055182610890565b9050806001600160a01b0316836001600160a01b031614156105865760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906105a657506105a481336103ca565b155b156105c4576040516367d9dca160e11b815260040160405180910390fd5b6105cf838383610ea9565b505050565b6105cf838383610f05565b6008546001600160a01b031633146106125760405162461bcd60e51b815260040161060990611d54565b60405180910390fd5b825161062590600a9060208601906117bc565b50815161063990600b9060208501906117bc565b50805161064d90600c9060208401906117bc565b50505050565b6105cf83838360405180602001604052806000815250610a41565b3361067882610890565b6001600160a01b0316146106ce5760405162461bcd60e51b815260206004820181905260248201527f596f7520617265206e6f7420746865206f776e6572206f6620746865204e46546044820152606401610609565b6106d781611107565b6000908152601160205260409020805460ff19166001179055565b6008546001600160a01b0316331461071c5760405162461bcd60e51b815260040161060990611d54565b600081511161075a5760405162461bcd60e51b815260206004820152600a6024820152696e6f20686f6c6465727360b01b6044820152606401610609565b600061076f6001546000546000199190030190565b905060005b82518110156105cf576103e861078b836001611db9565b11156107c45760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610609565b6107e88382815181106107d9576107d9611ebe565b60200260200101516001611271565b6001600f600085848151811061080057610800611ebe565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282546108379190611db9565b9091555081905061084781611e63565b915050610774565b6008546001600160a01b031633146108795760405162461bcd60e51b815260040161060990611d54565b805161088c90600b9060208401906117bc565b5050565b600061089b8261128b565b5192915050565b60006001600160a01b0382166108cb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461091a5760405162461bcd60e51b815260040161060990611d54565b61092460006113b2565b565b60606003805461047f90611e28565b6008546001600160a01b0316331461095f5760405162461bcd60e51b815260040161060990611d54565b805161088c90600a9060208401906117bc565b6001600160a01b03821633141561099c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610a325760405162461bcd60e51b815260040161060990611d54565b600e805460ff19166001179055565b610a4c848484610f05565b6001600160a01b0383163b15158015610a6e5750610a6c84848484611404565b155b1561064d576040516368d2bf6b60e11b815260040160405180910390fd5b600d8054610a9990611e28565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac590611e28565b8015610b125780601f10610ae757610100808354040283529160200191610b12565b820191906000526020600020905b815481529060010190602001808311610af557829003601f168201915b505050505081565b60008181526011602052604090205460609060ff16151560011415610bcb57600c8054610b4690611e28565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7290611e28565b8015610bbf5780601f10610b9457610100808354040283529160200191610bbf565b820191906000526020600020905b815481529060010190602001808311610ba257829003601f168201915b50505050509050919050565b610bd482610e70565b610c205760405162461bcd60e51b815260206004820152601760248201527f54686973204e465420646f65736e27742065786973742e0000000000000000006044820152606401610609565b600e5460ff16610c3757600b8054610b4690611e28565b6000610c416114fc565b90506000815111610c615760405180602001604052806000815250610c8f565b80610c6b8461150b565b600d604051602001610c7f93929190611c40565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610cc05760405162461bcd60e51b815260040161060990611d54565b6000610cd56001546000546000199190030190565b90506103e8610ce5826001611db9565b1115610d1e5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610609565b610d29826001611271565b6001600160a01b0382166000908152600f60205260408120805460019290610d52908490611db9565b90915550505050565b6008546001600160a01b03163314610d855760405162461bcd60e51b815260040161060990611d54565b805161088c90600d9060208401906117bc565b6008546001600160a01b03163314610dc25760405162461bcd60e51b815260040161060990611d54565b6001600160a01b038116610e275760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610609565b610e30816113b2565b50565b6008546001600160a01b03163314610e5d5760405162461bcd60e51b815260040161060990611d54565b805161088c90600c9060208401906117bc565b600081600111158015610e84575060005482105b801561046a575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610f108261128b565b80519091506000906001600160a01b0316336001600160a01b03161480610f3e57508151610f3e90336103ca565b80610f59575033610f4e84610502565b6001600160a01b0316145b905080610f7957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614610fae5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416610fd557604051633a954ecd60e21b815260040160405180910390fd5b610fe56000848460000151610ea9565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166110cf576000548110156110cf57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b0316600080516020611f0183398151915260405160405180910390a45b5050505050565b60006111128261128b565b90506111246000838360000151610ea9565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094528285208054600160e01b9588166001600160e01b031990911617600160a01b42909416939093029290921760ff60e01b191693909317905590850180835291205490911661123b5760005481101561123b57815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b50805160405183916000916001600160a01b0390911690600080516020611f01833981519152908390a450506001805481019055565b61088c828260405180602001604052806000815250611608565b604080516060810182526000808252602082018190529181019190915281806001111580156112bb575060005481105b1561139957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906113975780516001600160a01b03161561132e579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611392579392505050565b61132e565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611439903390899088908890600401611d04565b602060405180830381600087803b15801561145357600080fd5b505af1925050508015611483575060408051601f3d908101601f1916820190925261148091810190611b23565b60015b6114de573d8080156114b1576040519150601f19603f3d011682016040523d82523d6000602084013e6114b6565b606091505b5080516114d6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461047f90611e28565b60608161152f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611559578061154381611e63565b91506115529050600a83611dd1565b9150611533565b6000816001600160401b0381111561157357611573611ed4565b6040519080825280601f01601f19166020018201604052801561159d576020820181803683370190505b5090505b84156114f4576115b2600183611de5565b91506115bf600a86611e7e565b6115ca906030611db9565b60f81b8183815181106115df576115df611ebe565b60200101906001600160f81b031916908160001a905350611601600a86611dd1565b94506115a1565b6105cf83838360016000546001600160a01b03851661163957604051622e076360e81b815260040160405180910390fd5b836116575760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561170857506001600160a01b0387163b15155b1561177f575b60405182906001600160a01b03891690600090600080516020611f01833981519152908290a46117476000888480600101955088611404565b611764576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561170e57826000541461177a57600080fd5b6117b3565b5b6040516001830192906001600160a01b03891690600090600080516020611f01833981519152908290a480821415611780575b50600055611100565b8280546117c890611e28565b90600052602060002090601f0160209004810192826117ea5760008555611830565b82601f1061180357805160ff1916838001178555611830565b82800160010185558215611830579182015b82811115611830578251825591602001919060010190611815565b5061183c929150611840565b5090565b5b8082111561183c5760008155600101611841565b60006001600160401b0383111561186e5761186e611ed4565b611881601f8401601f1916602001611d89565b905082815283838301111561189557600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146118c357600080fd5b919050565b600082601f8301126118d957600080fd5b610c8f83833560208501611855565b6000602082840312156118fa57600080fd5b610c8f826118ac565b6000806040838503121561191657600080fd5b61191f836118ac565b915061192d602084016118ac565b90509250929050565b60008060006060848603121561194b57600080fd5b611954846118ac565b9250611962602085016118ac565b9150604084013590509250925092565b6000806000806080858703121561198857600080fd5b611991856118ac565b935061199f602086016118ac565b92506040850135915060608501356001600160401b038111156119c157600080fd5b8501601f810187136119d257600080fd5b6119e187823560208401611855565b91505092959194509250565b60008060408385031215611a0057600080fd5b611a09836118ac565b915060208301358015158114611a1e57600080fd5b809150509250929050565b60008060408385031215611a3c57600080fd5b611a45836118ac565b946020939093013593505050565b60006020808385031215611a6657600080fd5b82356001600160401b0380821115611a7d57600080fd5b818501915085601f830112611a9157600080fd5b813581811115611aa357611aa3611ed4565b8060051b9150611ab4848301611d89565b8181528481019084860184860187018a1015611acf57600080fd5b600095505b83861015611af957611ae5816118ac565b835260019590950194918601918601611ad4565b5098975050505050505050565b600060208284031215611b1857600080fd5b8135610c8f81611eea565b600060208284031215611b3557600080fd5b8151610c8f81611eea565b600060208284031215611b5257600080fd5b81356001600160401b03811115611b6857600080fd5b6114f4848285016118c8565b600080600060608486031215611b8957600080fd5b83356001600160401b0380821115611ba057600080fd5b611bac878388016118c8565b94506020860135915080821115611bc257600080fd5b611bce878388016118c8565b93506040860135915080821115611be457600080fd5b50611bf1868287016118c8565b9150509250925092565b600060208284031215611c0d57600080fd5b5035919050565b60008151808452611c2c816020860160208601611dfc565b601f01601f19169290920160200192915050565b600084516020611c538285838a01611dfc565b855191840191611c668184848a01611dfc565b8554920191600090600181811c9080831680611c8357607f831692505b858310811415611ca157634e487b7160e01b85526022600452602485fd5b808015611cb55760018114611cc657611cf3565b60ff19851688528388019550611cf3565b60008b81526020902060005b85811015611ceb5781548a820152908401908801611cd2565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d3790830184611c14565b9695505050505050565b602081526000610c8f6020830184611c14565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715611db157611db1611ed4565b604052919050565b60008219821115611dcc57611dcc611e92565b500190565b600082611de057611de0611ea8565b500490565b600082821015611df757611df7611e92565b500390565b60005b83811015611e17578181015183820152602001611dff565b8381111561064d5750506000910152565b600181811c90821680611e3c57607f821691505b60208210811415611e5d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e7757611e77611e92565b5060010190565b600082611e8d57611e8d611ea8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e3057600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e40bfe4d0870f70d1520d1579df3dff62e6d536cf51547c75b4e425f82be35d164736f6c63430008070033

Deployed Bytecode Sourcemap

55577:5118:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31100:305;;;;;;:::i;:::-;;:::i;:::-;;;8292:14:1;;8285:22;8267:41;;8255:2;8240:18;31100:305:0;;;;;;;;34485:100;;;:::i;:::-;;;;;;;:::i;35988:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7590:32:1;;;7572:51;;7560:2;7545:18;35988:204:0;7426:203:1;35551:371:0;;;;;;:::i;:::-;;:::i;:::-;;30349:303;56850:1;30603:12;30393:7;30587:13;:28;-1:-1:-1;;30587:46:0;30349:303;;;10845:25:1;;;10833:2;10818:18;30349:303:0;10699:177:1;36845:170:0;;;;;;:::i;:::-;;:::i;55763:38::-;;55797:4;55763:38;;57009:226;;;;;;:::i;:::-;;:::i;37086:185::-;;;;;;:::i;:::-;;:::i;59146:195::-;;;;;;:::i;:::-;;:::i;59493:429::-;;;;;;:::i;:::-;;:::i;56181:28::-;;;;;;;;;57742:126;;;;;;:::i;:::-;;:::i;34294:124::-;;;;;;:::i;:::-;;:::i;31469:206::-;;;;;;:::i;:::-;;:::i;17250:103::-;;;:::i;16599:87::-;16672:6;;-1:-1:-1;;;;;16672:6:0;16599:87;;34654:104;;;:::i;57505:106::-;;;;;;:::i;:::-;;:::i;36264:279::-;;;;;;:::i;:::-;;:::i;57326:70::-;;;:::i;37342:369::-;;;;;;:::i;:::-;;:::i;56100:37::-;;;:::i;60137:548::-;;;;;;:::i;:::-;;:::i;58789:253::-;;;;;;:::i;:::-;;:::i;58501:124::-;;;;;;:::i;:::-;;:::i;36614:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;36735:25:0;;;36711:4;36735:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36614:164;17508:201;;;;;;:::i;:::-;;:::i;57976:99::-;;;;;;:::i;:::-;;:::i;31100:305::-;31202:4;-1:-1:-1;;;;;;31239:40:0;;-1:-1:-1;;;31239:40:0;;:105;;-1:-1:-1;;;;;;;31296:48:0;;-1:-1:-1;;;31296:48:0;31239:105;:158;;;-1:-1:-1;;;;;;;;;;5075:40:0;;;31361:36;31219:178;31100:305;-1:-1:-1;;31100:305:0:o;34485:100::-;34539:13;34572:5;34565:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34485:100;:::o;35988:204::-;36056:7;36081:16;36089:7;36081;:16::i;:::-;36076:64;;36106:34;;-1:-1:-1;;;36106:34:0;;;;;;;;;;;36076:64;-1:-1:-1;36160:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36160:24:0;;35988:204::o;35551:371::-;35624:13;35640:24;35656:7;35640:15;:24::i;:::-;35624:40;;35685:5;-1:-1:-1;;;;;35679:11:0;:2;-1:-1:-1;;;;;35679:11:0;;35675:48;;;35699:24;;-1:-1:-1;;;35699:24:0;;;;;;;;;;;35675:48;15403:10;-1:-1:-1;;;;;35740:21:0;;;;;;:63;;-1:-1:-1;35766:37:0;35783:5;15403:10;36614:164;:::i;35766:37::-;35765:38;35740:63;35736:138;;;35827:35;;-1:-1:-1;;;35827:35:0;;;;;;;;;;;35736:138;35886:28;35895:2;35899:7;35908:5;35886:8;:28::i;:::-;35613:309;35551:371;;:::o;36845:170::-;36979:28;36989:4;36995:2;36999:7;36979:9;:28::i;57009:226::-;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;;;;;;;;;57134:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;57166:32:0;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;57209:18:0;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57009:226:::0;;;:::o;37086:185::-;37224:39;37241:4;37247:2;37251:7;37224:39;;;;;;;;;;;;:16;:39::i;59146:195::-;59225:10;59205:16;59213:7;59205;:16::i;:::-;-1:-1:-1;;;;;59205:30:0;;59197:75;;;;-1:-1:-1;;;59197:75:0;;9504:2:1;59197:75:0;;;9486:21:1;;;9523:18;;;9516:30;9582:34;9562:18;;;9555:62;9634:18;;59197:75:0;9302:356:1;59197:75:0;59283:14;59289:7;59283:5;:14::i;:::-;59308:16;;;;:7;:16;;;;;:23;;-1:-1:-1;;59308:23:0;59327:4;59308:23;;;59146:195::o;59493:429::-;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;59594:1:::1;59577:7;:14;:18;59569:41;;;::::0;-1:-1:-1;;;59569:41:0;;10562:2:1;59569:41:0::1;::::0;::::1;10544:21:1::0;10601:2;10581:18;;;10574:30;-1:-1:-1;;;10620:18:1;;;10613:40;10670:18;;59569:41:0::1;10360:334:1::0;59569:41:0::1;59621:11;59635:13;56850:1:::0;30603:12;30393:7;30587:13;-1:-1:-1;;30587:28:0;;;:46;;30349:303;59635:13:::1;59621:27;;59664:13;59659:256;59691:7;:14;59683:5;:22;59659:256;;;55797:4;59739:10;:6:::0;59748:1:::1;59739:10;:::i;:::-;:24;;59731:45;;;::::0;-1:-1:-1;;;59731:45:0;;10226:2:1;59731:45:0::1;::::0;::::1;10208:21:1::0;10265:1;10245:18;;;10238:29;-1:-1:-1;;;10283:18:1;;;10276:38;10331:18;;59731:45:0::1;10024:331:1::0;59731:45:0::1;59808:28;59818:7;59826:5;59818:14;;;;;;;;:::i;:::-;;;;;;;59834:1;59808:9;:28::i;:::-;59888:1;59855:13;:29;59869:7;59877:5;59869:14;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;59855:29:0::1;-1:-1:-1::0;;;;;59855:29:0::1;;;;;;;;;;;;;:34;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;59707:7:0;;-1:-1:-1;59707:7:0::1;::::0;::::1;:::i;:::-;;;;59659:256;;57742:126:::0;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;57828:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57742:126:::0;:::o;34294:124::-;34358:7;34385:20;34397:7;34385:11;:20::i;:::-;:25;;34294:124;-1:-1:-1;;34294:124:0:o;31469:206::-;31533:7;-1:-1:-1;;;;;31557:19:0;;31553:60;;31585:28;;-1:-1:-1;;;31585:28:0;;;;;;;;;;;31553:60;-1:-1:-1;;;;;;31639:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;31639:27:0;;31469:206::o;17250:103::-;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;17315:30:::1;17342:1;17315:18;:30::i;:::-;17250:103::o:0;34654:104::-;34710:13;34743:7;34736:14;;;;;:::i;57505:106::-;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;57582:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;36264:279::-:0;-1:-1:-1;;;;;36355:24:0;;15403:10;36355:24;36351:54;;;36388:17;;-1:-1:-1;;;36388:17:0;;;;;;;;;;;36351:54;15403:10;36418:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36418:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36418:53:0;;;;;;;;;;36487:48;;8267:41:1;;;36418:42:0;;15403:10;36487:48;;8240:18:1;36487:48:0;;;;;;;36264:279;;:::o;57326:70::-;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;57373:8:::1;:15:::0;;-1:-1:-1;;57373:15:0::1;57384:4;57373:15;::::0;;57326:70::o;37342:369::-;37509:28;37519:4;37525:2;37529:7;37509:9;:28::i;:::-;-1:-1:-1;;;;;37552:13:0;;19595:19;:23;;37552:76;;;;;37572:56;37603:4;37609:2;37613:7;37622:5;37572:30;:56::i;:::-;37571:57;37552:76;37548:156;;;37652:40;;-1:-1:-1;;;37652:40:0;;;;;;;;;;;56100:37;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60137:548::-;60236:15;;;;:7;:15;;;;;;60207:13;;60236:15;;:23;;:15;:23;60233:68;;;60282:7;60275:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60137:548;;;:::o;60233:68::-;60319:15;60327:6;60319:7;:15::i;:::-;60311:51;;;;-1:-1:-1;;;60311:51:0;;9152:2:1;60311:51:0;;;9134:21:1;9191:2;9171:18;;;9164:30;9230:25;9210:18;;;9203:53;9273:18;;60311:51:0;8950:347:1;60311:51:0;60376:8;;;;60373:70;;60417:14;60410:21;;;;;:::i;60373:70::-;60463:28;60494:10;:8;:10::i;:::-;60463:41;;60567:1;60542:14;60536:28;:32;:141;;;;;;;;;;;;;;;;;60609:14;60625:17;:6;:15;:17::i;:::-;60644:13;60592:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60536:141;60515:162;60137:548;-1:-1:-1;;;60137:548:0:o;58789:253::-;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;58851:11:::1;58865:13;56850:1:::0;30603:12;30393:7;30587:13;-1:-1:-1;;30587:28:0;;;:46;;30349:303;58865:13:::1;58851:27:::0;-1:-1:-1;55797:4:0::1;58897:10;58851:27:::0;58906:1:::1;58897:10;:::i;:::-;:24;;58889:45;;;::::0;-1:-1:-1;;;58889:45:0;;10226:2:1;58889:45:0::1;::::0;::::1;10208:21:1::0;10265:1;10245:18;;;10238:29;-1:-1:-1;;;10283:18:1;;;10276:38;10331:18;;58889:45:0::1;10024:331:1::0;58889:45:0::1;58959:22;58969:8;58979:1;58959:9;:22::i;:::-;-1:-1:-1::0;;;;;58996:23:0;::::1;;::::0;;;:13:::1;:23;::::0;;;;:28;;59023:1:::1;::::0;58996:23;:28:::1;::::0;59023:1;;58996:28:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;58789:253:0:o;58501:124::-;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;58587:30;;::::1;::::0;:13:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;17508:201::-:0;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17597:22:0;::::1;17589:73;;;::::0;-1:-1:-1;;;17589:73:0;;8745:2:1;17589:73:0::1;::::0;::::1;8727:21:1::0;8784:2;8764:18;;;8757:30;8823:34;8803:18;;;8796:62;-1:-1:-1;;;8874:18:1;;;8867:36;8920:19;;17589:73:0::1;8543:402:1::0;17589:73:0::1;17673:28;17692:8;17673:18;:28::i;:::-;17508:201:::0;:::o;57976:99::-;16672:6;;-1:-1:-1;;;;;16672:6:0;15403:10;16819:23;16811:68;;;;-1:-1:-1;;;16811:68:0;;;;;;;:::i;:::-;58049:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;37966:187::-:0;38023:4;38066:7;56850:1;38047:26;;:53;;;;;38087:13;;38077:7;:23;38047:53;:98;;;;-1:-1:-1;;38118:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;38118:27:0;;;;38117:28;;37966:187::o;45689:196::-;45804:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;45804:29:0;-1:-1:-1;;;;;45804:29:0;;;;;;;;;45849:28;;45804:24;;45849:28;;;;;;;45689:196;;;:::o;41079:2112::-;41194:35;41232:20;41244:7;41232:11;:20::i;:::-;41307:18;;41194:58;;-1:-1:-1;41265:22:0;;-1:-1:-1;;;;;41291:34:0;15403:10;-1:-1:-1;;;;;41291:34:0;;:101;;;-1:-1:-1;41359:18:0;;41342:50;;15403:10;36614:164;:::i;41342:50::-;41291:154;;;-1:-1:-1;15403:10:0;41409:20;41421:7;41409:11;:20::i;:::-;-1:-1:-1;;;;;41409:36:0;;41291:154;41265:181;;41464:17;41459:66;;41490:35;;-1:-1:-1;;;41490:35:0;;;;;;;;;;;41459:66;41562:4;-1:-1:-1;;;;;41540:26:0;:13;:18;;;-1:-1:-1;;;;;41540:26:0;;41536:67;;41575:28;;-1:-1:-1;;;41575:28:0;;;;;;;;;;;41536:67;-1:-1:-1;;;;;41618:16:0;;41614:52;;41643:23;;-1:-1:-1;;;41643:23:0;;;;;;;;;;;41614:52;41787:49;41804:1;41808:7;41817:13;:18;;;41787:8;:49::i;:::-;-1:-1:-1;;;;;42132:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;42132:31:0;;;-1:-1:-1;;;;;42132:31:0;;;-1:-1:-1;;42132:31:0;;;;;;;42178:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;42178:29:0;;;;;;;;;;;42224:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;42269:61:0;;;;-1:-1:-1;;;42314:15:0;42269:61;;;;;;;;;;;42604:11;;;42634:24;;;;;:29;42604:11;;42634:29;42630:445;;42859:13;;42845:11;:27;42841:219;;;42929:18;;;42897:24;;;:11;:24;;;;;;;;:50;;43012:28;;;;-1:-1:-1;;;;;42970:70:0;-1:-1:-1;;;42970:70:0;-1:-1:-1;;;;;;42970:70:0;;;-1:-1:-1;;;;;42897:50:0;;;42970:70;;;;;;;42841:219;42107:979;43122:7;43118:2;-1:-1:-1;;;;;43103:27:0;43112:4;-1:-1:-1;;;;;43103:27:0;-1:-1:-1;;;;;;;;;;;43103:27:0;;;;;;;;;43141:42;41183:2008;;41079:2112;;;:::o;43420:2151::-;43480:35;43518:20;43530:7;43518:11;:20::i;:::-;43480:58;-1:-1:-1;43681:49:0;43698:1;43702:7;43711:13;:18;;;43681:8;:49::i;:::-;44039:18;;-1:-1:-1;;;;;44026:32:0;;;;;;;:12;:32;;;;;;;;:45;;-1:-1:-1;;44026:45:0;;-1:-1:-1;;;;;44026:45:0;;;-1:-1:-1;;44026:45:0;;;;;;;44099:18;;44086:32;;;;;;;:50;;-1:-1:-1;;;;44086:50:0;;-1:-1:-1;;;44086:50:0;;;;;;-1:-1:-1;44086:50:0;;;;;;;;;;;;44263:18;;44235:20;;;:11;:20;;;;;;:46;;-1:-1:-1;;;44235:46:0;;;-1:-1:-1;;;;;;44296:61:0;;;;-1:-1:-1;;;44341:15:0;44296:61;;;;;;;;;;;-1:-1:-1;;;;44372:34:0;;;;;;;44676:11;;;44706:24;;;;;:29;44676:11;;44706:29;44702:445;;44931:13;;44917:11;:27;44913:219;;;45001:18;;;44969:24;;;:11;:24;;;;;;;;:50;;45084:28;;;;-1:-1:-1;;;;;45042:70:0;-1:-1:-1;;;45042:70:0;-1:-1:-1;;;;;;45042:70:0;;;-1:-1:-1;;;;;44969:50:0;;;45042:70;;;;;;;44913:219;-1:-1:-1;45184:18:0;;45175:49;;45216:7;;45212:1;;-1:-1:-1;;;;;45175:49:0;;;;-1:-1:-1;;;;;;;;;;;45175:49:0;45212:1;;45175:49;-1:-1:-1;;45426:12:0;:14;;;;;;43420:2151::o;38161:104::-;38230:27;38240:2;38244:8;38230:27;;;;;;;;;;;;:9;:27::i;33124:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;33234:7:0;;56850:1;33283:23;;:47;;;;;33317:13;;33310:4;:20;33283:47;33279:886;;;33351:31;33385:17;;;:11;:17;;;;;;;;;33351:51;;;;;;;;;-1:-1:-1;;;;;33351:51:0;;;;-1:-1:-1;;;33351:51:0;;-1:-1:-1;;;;;33351:51:0;;;;;;;;-1:-1:-1;;;33351:51:0;;;;;;;;;;;;;;33421:729;;33471:14;;-1:-1:-1;;;;;33471:28:0;;33467:101;;33535:9;33124:1108;-1:-1:-1;;;33124:1108:0:o;33467:101::-;-1:-1:-1;;;33910:6:0;33955:17;;;;:11;:17;;;;;;;;;33943:29;;;;;;;;;-1:-1:-1;;;;;33943:29:0;;;;;-1:-1:-1;;;33943:29:0;;-1:-1:-1;;;;;33943:29:0;;;;;;;;-1:-1:-1;;;33943:29:0;;;;;;;;;;;;;34003:28;33999:109;;34071:9;33124:1108;-1:-1:-1;;;33124:1108:0:o;33999:109::-;33870:261;;;33332:833;33279:886;34193:31;;-1:-1:-1;;;34193:31:0;;;;;;;;;;;17869:191;17962:6;;;-1:-1:-1;;;;;17979:17:0;;;-1:-1:-1;;;;;;17979:17:0;;;;;;;18012:40;;17962:6;;;17979:17;17962:6;;18012:40;;17943:16;;18012:40;17932:128;17869:191;:::o;46377:667::-;46561:72;;-1:-1:-1;;;46561:72:0;;46540:4;;-1:-1:-1;;;;;46561:36:0;;;;;:72;;15403:10;;46612:4;;46618:7;;46627:5;;46561:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46561:72:0;;;;;;;;-1:-1:-1;;46561:72:0;;;;;;;;;;;;:::i;:::-;;;46557:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46795:13:0;;46791:235;;46841:40;;-1:-1:-1;;;46841:40:0;;;;;;;;;;;46791:235;46984:6;46978:13;46969:6;46965:2;46961:15;46954:38;46557:480;-1:-1:-1;;;;;;46680:55:0;-1:-1:-1;;;46680:55:0;;-1:-1:-1;46557:480:0;46377:667;;;;;;:::o;58209:108::-;58269:13;58302:7;58295:14;;;;;:::i;394:723::-;450:13;671:10;667:53;;-1:-1:-1;;698:10:0;;;;;;;;;;;;-1:-1:-1;;;698:10:0;;;;;394:723::o;667:53::-;745:5;730:12;786:78;793:9;;786:78;;819:8;;;;:::i;:::-;;-1:-1:-1;842:10:0;;-1:-1:-1;850:2:0;842:10;;:::i;:::-;;;786:78;;;874:19;906:6;-1:-1:-1;;;;;896:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;896:17:0;;874:39;;924:154;931:10;;924:154;;958:11;968:1;958:11;;:::i;:::-;;-1:-1:-1;1027:10:0;1035:2;1027:5;:10;:::i;:::-;1014:24;;:2;:24;:::i;:::-;1001:39;;984:6;991;984:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;984:56:0;;;;;;;;-1:-1:-1;1055:11:0;1064:2;1055:11;;:::i;:::-;;;924:154;;38628:163;38751:32;38757:2;38761:8;38771:5;38778:4;39189:20;39212:13;-1:-1:-1;;;;;39240:16:0;;39236:48;;39265:19;;-1:-1:-1;;;39265:19:0;;;;;;;;;;;39236:48;39299:13;39295:44;;39321:18;;-1:-1:-1;;;39321:18:0;;;;;;;;;;;39295:44;-1:-1:-1;;;;;39690:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;39749:49:0;;-1:-1:-1;;;;;39690:44:0;;;;;;;39749:49;;;;-1:-1:-1;;39690:44:0;;;;;;39749:49;;;;;;;;;;;;;;;;39815:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;39865:66:0;;;;-1:-1:-1;;;39915:15:0;39865:66;;;;;;;;;;39815:25;40012:23;;;40056:4;:23;;;;-1:-1:-1;;;;;;40064:13:0;;19595:19;:23;;40064:15;40052:641;;;40100:314;40131:38;;40156:12;;-1:-1:-1;;;;;40131:38:0;;;40148:1;;-1:-1:-1;;;;;;;;;;;40131:38:0;40148:1;;40131:38;40197:69;40236:1;40240:2;40244:14;;;;;;40260:5;40197:30;:69::i;:::-;40192:174;;40302:40;;-1:-1:-1;;;40302:40:0;;;;;;;;;;;40192:174;40409:3;40393:12;:19;;40100:314;;40495:12;40478:13;;:29;40474:43;;40509:8;;;40474:43;40052:641;;;40558:120;40589:40;;40614:14;;;;;-1:-1:-1;;;;;40589:40:0;;;40606:1;;-1:-1:-1;;;;;;;;;;;40589:40:0;40606:1;;40589:40;40673:3;40657:12;:19;;40558:120;;40052:641;-1:-1:-1;40707:13:0;:28;40757:60;57009:226;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;-1:-1:-1;;;;;104:6:1;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:221::-;646:5;699:3;692:4;684:6;680:17;676:27;666:55;;717:1;714;707:12;666:55;739:79;814:3;805:6;792:20;785:4;777:6;773:17;739:79;:::i;829:186::-;888:6;941:2;929:9;920:7;916:23;912:32;909:52;;;957:1;954;947:12;909:52;980:29;999:9;980:29;:::i;1020:260::-;1088:6;1096;1149:2;1137:9;1128:7;1124:23;1120:32;1117:52;;;1165:1;1162;1155:12;1117:52;1188:29;1207:9;1188:29;:::i;:::-;1178:39;;1236:38;1270:2;1259:9;1255:18;1236:38;:::i;:::-;1226:48;;1020:260;;;;;:::o;1285:328::-;1362:6;1370;1378;1431:2;1419:9;1410:7;1406:23;1402:32;1399:52;;;1447:1;1444;1437:12;1399:52;1470:29;1489:9;1470:29;:::i;:::-;1460:39;;1518:38;1552:2;1541:9;1537:18;1518:38;:::i;:::-;1508:48;;1603:2;1592:9;1588:18;1575:32;1565:42;;1285:328;;;;;:::o;1618:666::-;1713:6;1721;1729;1737;1790:3;1778:9;1769:7;1765:23;1761:33;1758:53;;;1807:1;1804;1797:12;1758:53;1830:29;1849:9;1830:29;:::i;:::-;1820:39;;1878:38;1912:2;1901:9;1897:18;1878:38;:::i;:::-;1868:48;;1963:2;1952:9;1948:18;1935:32;1925:42;;2018:2;2007:9;2003:18;1990:32;-1:-1:-1;;;;;2037:6:1;2034:30;2031:50;;;2077:1;2074;2067:12;2031:50;2100:22;;2153:4;2145:13;;2141:27;-1:-1:-1;2131:55:1;;2182:1;2179;2172:12;2131:55;2205:73;2270:7;2265:2;2252:16;2247:2;2243;2239:11;2205:73;:::i;:::-;2195:83;;;1618:666;;;;;;;:::o;2289:347::-;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;;2533:2;2522:9;2518:18;2505:32;2580:5;2573:13;2566:21;2559:5;2556:32;2546:60;;2602:1;2599;2592:12;2546:60;2625:5;2615:15;;;2289:347;;;;;:::o;2641:254::-;2709:6;2717;2770:2;2758:9;2749:7;2745:23;2741:32;2738:52;;;2786:1;2783;2776:12;2738:52;2809:29;2828:9;2809:29;:::i;:::-;2799:39;2885:2;2870:18;;;;2857:32;;-1:-1:-1;;;2641:254:1:o;2900:963::-;2984:6;3015:2;3058;3046:9;3037:7;3033:23;3029:32;3026:52;;;3074:1;3071;3064:12;3026:52;3114:9;3101:23;-1:-1:-1;;;;;3184:2:1;3176:6;3173:14;3170:34;;;3200:1;3197;3190:12;3170:34;3238:6;3227:9;3223:22;3213:32;;3283:7;3276:4;3272:2;3268:13;3264:27;3254:55;;3305:1;3302;3295:12;3254:55;3341:2;3328:16;3363:2;3359;3356:10;3353:36;;;3369:18;;:::i;:::-;3415:2;3412:1;3408:10;3398:20;;3438:28;3462:2;3458;3454:11;3438:28;:::i;:::-;3500:15;;;3531:12;;;;3563:11;;;3593;;;3589:20;;3586:33;-1:-1:-1;3583:53:1;;;3632:1;3629;3622:12;3583:53;3654:1;3645:10;;3664:169;3678:2;3675:1;3672:9;3664:169;;;3735:23;3754:3;3735:23;:::i;:::-;3723:36;;3696:1;3689:9;;;;;3779:12;;;;3811;;3664:169;;;-1:-1:-1;3852:5:1;2900:963;-1:-1:-1;;;;;;;;2900:963:1:o;3868:245::-;3926:6;3979:2;3967:9;3958:7;3954:23;3950:32;3947:52;;;3995:1;3992;3985:12;3947:52;4034:9;4021:23;4053:30;4077:5;4053:30;:::i;4118:249::-;4187:6;4240:2;4228:9;4219:7;4215:23;4211:32;4208:52;;;4256:1;4253;4246:12;4208:52;4288:9;4282:16;4307:30;4331:5;4307:30;:::i;4372:322::-;4441:6;4494:2;4482:9;4473:7;4469:23;4465:32;4462:52;;;4510:1;4507;4500:12;4462:52;4550:9;4537:23;-1:-1:-1;;;;;4575:6:1;4572:30;4569:50;;;4615:1;4612;4605:12;4569:50;4638;4680:7;4671:6;4660:9;4656:22;4638:50;:::i;4699:743::-;4806:6;4814;4822;4875:2;4863:9;4854:7;4850:23;4846:32;4843:52;;;4891:1;4888;4881:12;4843:52;4931:9;4918:23;-1:-1:-1;;;;;5001:2:1;4993:6;4990:14;4987:34;;;5017:1;5014;5007:12;4987:34;5040:50;5082:7;5073:6;5062:9;5058:22;5040:50;:::i;:::-;5030:60;;5143:2;5132:9;5128:18;5115:32;5099:48;;5172:2;5162:8;5159:16;5156:36;;;5188:1;5185;5178:12;5156:36;5211:52;5255:7;5244:8;5233:9;5229:24;5211:52;:::i;:::-;5201:62;;5316:2;5305:9;5301:18;5288:32;5272:48;;5345:2;5335:8;5332:16;5329:36;;;5361:1;5358;5351:12;5329:36;;5384:52;5428:7;5417:8;5406:9;5402:24;5384:52;:::i;:::-;5374:62;;;4699:743;;;;;:::o;5447:180::-;5506:6;5559:2;5547:9;5538:7;5534:23;5530:32;5527:52;;;5575:1;5572;5565:12;5527:52;-1:-1:-1;5598:23:1;;5447:180;-1:-1:-1;5447:180:1:o;5632:257::-;5673:3;5711:5;5705:12;5738:6;5733:3;5726:19;5754:63;5810:6;5803:4;5798:3;5794:14;5787:4;5780:5;5776:16;5754:63;:::i;:::-;5871:2;5850:15;-1:-1:-1;;5846:29:1;5837:39;;;;5878:4;5833:50;;5632:257;-1:-1:-1;;5632:257:1:o;5894:1527::-;6118:3;6156:6;6150:13;6182:4;6195:51;6239:6;6234:3;6229:2;6221:6;6217:15;6195:51;:::i;:::-;6309:13;;6268:16;;;;6331:55;6309:13;6268:16;6353:15;;;6331:55;:::i;:::-;6475:13;;6408:20;;;6448:1;;6535;6557:18;;;;6610;;;;6637:93;;6715:4;6705:8;6701:19;6689:31;;6637:93;6778:2;6768:8;6765:16;6745:18;6742:40;6739:167;;;-1:-1:-1;;;6805:33:1;;6861:4;6858:1;6851:15;6891:4;6812:3;6879:17;6739:167;6922:18;6949:110;;;;7073:1;7068:328;;;;6915:481;;6949:110;-1:-1:-1;;6984:24:1;;6970:39;;7029:20;;;;-1:-1:-1;6949:110:1;;7068:328;11234:1;11227:14;;;11271:4;11258:18;;7163:1;7177:169;7191:8;7188:1;7185:15;7177:169;;;7273:14;;7258:13;;;7251:37;7316:16;;;;7208:10;;7177:169;;;7181:3;;7377:8;7370:5;7366:20;7359:27;;6915:481;-1:-1:-1;7412:3:1;;5894:1527;-1:-1:-1;;;;;;;;;;;5894:1527:1:o;7634:488::-;-1:-1:-1;;;;;7903:15:1;;;7885:34;;7955:15;;7950:2;7935:18;;7928:43;8002:2;7987:18;;7980:34;;;8050:3;8045:2;8030:18;;8023:31;;;7828:4;;8071:45;;8096:19;;8088:6;8071:45;:::i;:::-;8063:53;7634:488;-1:-1:-1;;;;;;7634:488:1:o;8319:219::-;8468:2;8457:9;8450:21;8431:4;8488:44;8528:2;8517:9;8513:18;8505:6;8488:44;:::i;9663:356::-;9865:2;9847:21;;;9884:18;;;9877:30;9943:34;9938:2;9923:18;;9916:62;10010:2;9995:18;;9663:356::o;10881:275::-;10952:2;10946:9;11017:2;10998:13;;-1:-1:-1;;10994:27:1;10982:40;;-1:-1:-1;;;;;11037:34:1;;11073:22;;;11034:62;11031:88;;;11099:18;;:::i;:::-;11135:2;11128:22;10881:275;;-1:-1:-1;10881:275:1:o;11287:128::-;11327:3;11358:1;11354:6;11351:1;11348:13;11345:39;;;11364:18;;:::i;:::-;-1:-1:-1;11400:9:1;;11287:128::o;11420:120::-;11460:1;11486;11476:35;;11491:18;;:::i;:::-;-1:-1:-1;11525:9:1;;11420:120::o;11545:125::-;11585:4;11613:1;11610;11607:8;11604:34;;;11618:18;;:::i;:::-;-1:-1:-1;11655:9:1;;11545:125::o;11675:258::-;11747:1;11757:113;11771:6;11768:1;11765:13;11757:113;;;11847:11;;;11841:18;11828:11;;;11821:39;11793:2;11786:10;11757:113;;;11888:6;11885:1;11882:13;11879:48;;;-1:-1:-1;;11923:1:1;11905:16;;11898:27;11675:258::o;11938:380::-;12017:1;12013:12;;;;12060;;;12081:61;;12135:4;12127:6;12123:17;12113:27;;12081:61;12188:2;12180:6;12177:14;12157:18;12154:38;12151:161;;;12234:10;12229:3;12225:20;12222:1;12215:31;12269:4;12266:1;12259:15;12297:4;12294:1;12287:15;12151:161;;11938:380;;;:::o;12323:135::-;12362:3;-1:-1:-1;;12383:17:1;;12380:43;;;12403:18;;:::i;:::-;-1:-1:-1;12450:1:1;12439:13;;12323:135::o;12463:112::-;12495:1;12521;12511:35;;12526:18;;:::i;:::-;-1:-1:-1;12560:9:1;;12463:112::o;12580:127::-;12641:10;12636:3;12632:20;12629:1;12622:31;12672:4;12669:1;12662:15;12696:4;12693:1;12686:15;12712:127;12773:10;12768:3;12764:20;12761:1;12754:31;12804:4;12801:1;12794:15;12828:4;12825:1;12818:15;12844:127;12905:10;12900:3;12896:20;12893:1;12886:31;12936:4;12933:1;12926:15;12960:4;12957:1;12950:15;12976:127;13037:10;13032:3;13028:20;13025:1;13018:31;13068:4;13065:1;13058:15;13092:4;13089:1;13082:15;13108:131;-1:-1:-1;;;;;;13182:32:1;;13172:43;;13162:71;;13229:1;13226;13219:12

Swarm Source

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