ETH Price: $2,505.21 (-0.11%)

Token

AIBoredApe (AIBAPE)
 

Overview

Max Total Supply

11,000 AIBAPE

Holders

1,800

Market

Volume (24H)

0.02 ETH

Min Price (24H)

$50.10 @ 0.020000 ETH

Max Price (24H)

$50.10 @ 0.020000 ETH
Balance
0 AIBAPE
0xacc81faf6846d4a60d722103aa4402534b65e5cf
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The AIPES NFT project consists of 11,000 AI artworks using BAYC & MAYC as inspiration.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AIBoredApe

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-05-25
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//AIBoredApe ERC721A CONTRACT
//First 1000 is free, remaining 4000 at 0.005

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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


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


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

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

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

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

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

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

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

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

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

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

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

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


/**
 * @title ERC-721 Non-Fungible Token Standard, optional 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);
}
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);
}
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 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 = 1;

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return (_currentIndex - _burnCounter) - 1;    
        }
    }

    /**
     * @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 (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 (!_checkOnERC721Received(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 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;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            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++;
        }
    }

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * 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 {}
}

library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

contract AIBoredApe is Ownable, ERC721A {

    uint256 public adoptionLimit =30;
    using Strings for uint256;

    mapping(uint256 => string) private _tokenURIs;
    bool public publicSaleOpen = false;
    string public baseURI = "ipfs://";
    string public _extension = ".json";
    uint256 public price = 0 ether;
    uint256 public maxSupply = 5000;

    constructor() ERC721A("AIBoredApe", "AIBAPE"){}
    
    function mintNFT(uint256 _quantity) public payable {
        require(_quantity > 0 && _quantity <= adoptionLimit, "Wrong Quantity.");
        require(totalSupply() + _quantity <= maxSupply, "Reaching max supply");
        require(msg.value == price * _quantity, "Needs to send more eth");
        require(getMintedCount(msg.sender) + _quantity <= adoptionLimit, "Exceed max minting amount");
        require(publicSaleOpen, "Public Sale Not Started Yet!");

        _safeMint(msg.sender, _quantity);

    }


    function sendGifts(address[] memory _wallets) external onlyOwner{
        require(totalSupply() + _wallets.length <= maxSupply, "Max Supply Reached.");
        for(uint i = 0; i < _wallets.length; i++)
            _safeMint(_wallets[i], 1);

    }
   function sendGiftsToWallet(address _wallet, uint256 _num) external onlyOwner{
               require(totalSupply() + _num <= maxSupply, "Max Supply Reached.");
            _safeMint(_wallet, _num);
    }


    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI set of nonexistent token"
        );

        return string(abi.encodePacked(baseURI, _tokenId.toString(), _extension));
    }

    function updateBaseURI(string memory _newBaseURI) onlyOwner public {
        baseURI = _newBaseURI;
    }
    function updateExtension(string memory _temp) onlyOwner public {
        _extension = _temp;
    }

    function getBaseURI() external view returns(string memory) {
        return baseURI;
    }

    function setPrice(uint256 _price) public onlyOwner() {
        price = _price;
    }
    function setAdoptionlimits(uint256 _adoptionLimit) public onlyOwner() {
        adoptionLimit = _adoptionLimit;
    }

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

    function toggleSale() public onlyOwner() {
        publicSaleOpen = !publicSaleOpen;
    }


    function getBalance() public view returns(uint) {
        return address(this).balance;
    }

    function getMintedCount(address owner) public view returns (uint256) {
    return _numberMinted(owner);
  }

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

    function getOwnershipData(uint256 tokenId)
    external
    view
    returns (TokenOwnership memory)
  {
    return ownershipOf(tokenId);
  }

    receive() external payable {}

}

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":"MintedQueryForZeroAddress","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":"_extension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adoptionLimit","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"}],"name":"sendGifts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"sendGiftsToWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_adoptionLimit","type":"uint256"}],"name":"setAdoptionlimits","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":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_temp","type":"string"}],"name":"updateExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60018055601e600955600b805460ff1916905560c06040526007608081905266697066733a2f2f60c81b60a09081526200003d91600c91906200016a565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200006c91600d916200016a565b506000600e55611388600f553480156200008557600080fd5b506040518060400160405280600a8152602001694149426f72656441706560b01b8152506040518060400160405280600681526020016541494241504560d01b815250620000e2620000dc6200011660201b60201c565b6200011a565b8151620000f79060039060208501906200016a565b5080516200010d9060049060208401906200016a565b5050506200024d565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001789062000210565b90600052602060002090601f0160209004810192826200019c5760008555620001e7565b82601f10620001b757805160ff1916838001178555620001e7565b82800160010185558215620001e7579182015b82811115620001e7578251825591602001919060010190620001ca565b50620001f5929150620001f9565b5090565b5b80821115620001f55760008155600101620001fa565b600181811c908216806200022557607f821691505b602082108114156200024757634e487b7160e01b600052602260045260246000fd5b50919050565b612039806200025d6000396000f3fe60806040526004361061021e5760003560e01c80637e6182d911610123578063a035b1fe116100ab578063d5abeb011161006f578063d5abeb0114610626578063e917a28c1461063c578063e985e9c514610652578063f2fde38b1461069b578063f9e23799146106bb57600080fd5b8063a035b1fe14610590578063a22cb465146105a6578063b88d4fde146105c6578063c87b56dd146105e6578063d1f919ed1461060657600080fd5b80639231ab2a116100f25780639231ab2a146104d25780639264274414610528578063931688cb1461053b57806395d89b411461055b57806397d6696b1461057057600080fd5b80637e6182d91461045457806381a89b59146104745780638da5cb5b1461049457806391b7f5ed146104b257600080fd5b80633ccfd60b116101a657806370a082311161017557806370a08231146103d5578063714c5398146103f5578063715018a61461040a5780637c8255db1461041f5780637d8966e41461043f57600080fd5b80633ccfd60b1461036b57806342842e0e146103805780636352211e146103a05780636c0360eb146103c057600080fd5b806312065fe0116101ed57806312065fe0146102db57806318160ddd146102f8578063228025e81461031657806323b872dd146103365780633ae1dd9d1461035657600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b957600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061024a610245366004611c54565b6106d5565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610727565b6040516102569190611e25565b34801561028d57600080fd5b506102a161029c366004611cd6565b6107b9565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611b77565b6107fd565b005b3480156102e757600080fd5b50475b604051908152602001610256565b34801561030457600080fd5b506102ea600254600154036000190190565b34801561032257600080fd5b506102d9610331366004611cd6565b61088b565b34801561034257600080fd5b506102d9610351366004611a84565b6108c3565b34801561036257600080fd5b506102746108ce565b34801561037757600080fd5b506102d961095c565b34801561038c57600080fd5b506102d961039b366004611a84565b6109d5565b3480156103ac57600080fd5b506102a16103bb366004611cd6565b6109f0565b3480156103cc57600080fd5b50610274610a02565b3480156103e157600080fd5b506102ea6103f0366004611a2f565b610a0f565b34801561040157600080fd5b50610274610a5d565b34801561041657600080fd5b506102d9610a6c565b34801561042b57600080fd5b506102d961043a366004611ba1565b610aa2565b34801561044b57600080fd5b506102d9610b72565b34801561046057600080fd5b506102d961046f366004611c8e565b610bb0565b34801561048057600080fd5b506102d961048f366004611cd6565b610bed565b3480156104a057600080fd5b506000546001600160a01b03166102a1565b3480156104be57600080fd5b506102d96104cd366004611cd6565b610c1c565b3480156104de57600080fd5b506104f26104ed366004611cd6565b610c4b565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610256565b6102d9610536366004611cd6565b610c71565b34801561054757600080fd5b506102d9610556366004611c8e565b610e3d565b34801561056757600080fd5b50610274610e7a565b34801561057c57600080fd5b506102ea61058b366004611a2f565b610e89565b34801561059c57600080fd5b506102ea600e5481565b3480156105b257600080fd5b506102d96105c1366004611b3b565b610e94565b3480156105d257600080fd5b506102d96105e1366004611ac0565b610f2a565b3480156105f257600080fd5b50610274610601366004611cd6565b610f64565b34801561061257600080fd5b506102d9610621366004611b77565b611005565b34801561063257600080fd5b506102ea600f5481565b34801561064857600080fd5b506102ea60095481565b34801561065e57600080fd5b5061024a61066d366004611a51565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106a757600080fd5b506102d96106b6366004611a2f565b61109c565b3480156106c757600080fd5b50600b5461024a9060ff1681565b60006001600160e01b031982166380ac58cd60e01b148061070657506001600160e01b03198216635b5e139f60e01b145b8061072157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461073690611f2b565b80601f016020809104026020016040519081016040528092919081815260200182805461076290611f2b565b80156107af5780601f10610784576101008083540402835291602001916107af565b820191906000526020600020905b81548152906001019060200180831161079257829003601f168201915b5050505050905090565b60006107c482611134565b6107e1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610808826109f0565b9050806001600160a01b0316836001600160a01b0316141561083d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061085d575061085b813361066d565b155b1561087b576040516367d9dca160e11b815260040160405180910390fd5b610886838383611160565b505050565b6000546001600160a01b031633146108be5760405162461bcd60e51b81526004016108b590611e38565b60405180910390fd5b600f55565b6108868383836111bc565b600d80546108db90611f2b565b80601f016020809104026020016040519081016040528092919081815260200182805461090790611f2b565b80156109545780601f1061092957610100808354040283529160200191610954565b820191906000526020600020905b81548152906001019060200180831161093757829003601f168201915b505050505081565b6000546001600160a01b031633146109865760405162461bcd60e51b81526004016108b590611e38565b476109996000546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f193505050501580156109d1573d6000803e3d6000fd5b5050565b61088683838360405180602001604052806000815250610f2a565b60006109fb826113d0565b5192915050565b600c80546108db90611f2b565b60006001600160a01b038216610a38576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6060600c805461073690611f2b565b6000546001600160a01b03163314610a965760405162461bcd60e51b81526004016108b590611e38565b610aa060006114eb565b565b6000546001600160a01b03163314610acc5760405162461bcd60e51b81526004016108b590611e38565b600f548151610ae2600254600154036000190190565b610aec9190611e9d565b1115610b305760405162461bcd60e51b815260206004820152601360248201527226b0bc1029bab838363c902932b0b1b432b21760691b60448201526064016108b5565b60005b81518110156109d157610b60828281518110610b5157610b51611fc1565b6020026020010151600161153b565b80610b6a81611f66565b915050610b33565b6000546001600160a01b03163314610b9c5760405162461bcd60e51b81526004016108b590611e38565b600b805460ff19811660ff90911615179055565b6000546001600160a01b03163314610bda5760405162461bcd60e51b81526004016108b590611e38565b80516109d190600d906020840190611923565b6000546001600160a01b03163314610c175760405162461bcd60e51b81526004016108b590611e38565b600955565b6000546001600160a01b03163314610c465760405162461bcd60e51b81526004016108b590611e38565b600e55565b6040805160608101825260008082526020820181905291810191909152610721826113d0565b600081118015610c8357506009548111155b610cc15760405162461bcd60e51b815260206004820152600f60248201526e2bb937b7339028bab0b73a34ba3c9760891b60448201526064016108b5565b600f5481610cd6600254600154036000190190565b610ce09190611e9d565b1115610d245760405162461bcd60e51b81526020600482015260136024820152725265616368696e67206d617820737570706c7960681b60448201526064016108b5565b80600e54610d329190611ec9565b3414610d795760405162461bcd60e51b815260206004820152601660248201527509ccacac8e640e8de40e6cadcc840dadee4ca40cae8d60531b60448201526064016108b5565b60095481610d8633610e89565b610d909190611e9d565b1115610dde5760405162461bcd60e51b815260206004820152601960248201527f457863656564206d6178206d696e74696e6720616d6f756e740000000000000060448201526064016108b5565b600b5460ff16610e305760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632053616c65204e6f74205374617274656420596574210000000060448201526064016108b5565b610e3a338261153b565b50565b6000546001600160a01b03163314610e675760405162461bcd60e51b81526004016108b590611e38565b80516109d190600c906020840190611923565b60606004805461073690611f2b565b600061072182611555565b6001600160a01b038216331415610ebe5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f358484846111bc565b610f41848484846115aa565b610f5e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f6f82611134565b610fd05760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108b5565b600c610fdb836116b9565b600d604051602001610fef93929190611db5565b6040516020818303038152906040529050919050565b6000546001600160a01b0316331461102f5760405162461bcd60e51b81526004016108b590611e38565b600f5481611044600254600154036000190190565b61104e9190611e9d565b11156110925760405162461bcd60e51b815260206004820152601360248201527226b0bc1029bab838363c902932b0b1b432b21760691b60448201526064016108b5565b6109d1828261153b565b6000546001600160a01b031633146110c65760405162461bcd60e51b81526004016108b590611e38565b6001600160a01b03811661112b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b5565b610e3a816114eb565b600060015482108015610721575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006111c7826113d0565b80519091506000906001600160a01b0316336001600160a01b031614806111f5575081516111f5903361066d565b80611210575033611205846107b9565b6001600160a01b0316145b90508061123057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146112655760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661128c57604051633a954ecd60e21b815260040160405180910390fd5b61129c6000848460000151611160565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166113865760015481101561138657825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915260015482908110156114d257600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906114d05780516001600160a01b031615611467579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156114cb579392505050565b611467565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6109d18282604051806020016040528060008152506117b6565b60006001600160a01b03821661157e576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160401b90046001600160401b031690565b60006001600160a01b0384163b156116ad57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115ee903390899088908890600401611de8565b602060405180830381600087803b15801561160857600080fd5b505af1925050508015611638575060408051601f3d908101601f1916820190925261163591810190611c71565b60015b611693573d808015611666576040519150601f19603f3d011682016040523d82523d6000602084013e61166b565b606091505b50805161168b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116b1565b5060015b949350505050565b6060816116dd5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561170757806116f181611f66565b91506117009050600a83611eb5565b91506116e1565b6000816001600160401b0381111561172157611721611fd7565b6040519080825280601f01601f19166020018201604052801561174b576020820181803683370190505b5090505b84156116b157611760600183611ee8565b915061176d600a86611f81565b611778906030611e9d565b60f81b81838151811061178d5761178d611fc1565b60200101906001600160f81b031916908160001a9053506117af600a86611eb5565b945061174f565b610886838383600180546001600160a01b0385166117e657604051622e076360e81b815260040160405180910390fd5b836118045760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b8581101561191a5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156118f057506118ee60008884886115aa565b155b1561190e576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611899565b506001556113c9565b82805461192f90611f2b565b90600052602060002090601f0160209004810192826119515760008555611997565b82601f1061196a57805160ff1916838001178555611997565b82800160010185558215611997579182015b8281111561199757825182559160200191906001019061197c565b506119a39291506119a7565b5090565b5b808211156119a357600081556001016119a8565b60006001600160401b038311156119d5576119d5611fd7565b6119e8601f8401601f1916602001611e6d565b90508281528383830111156119fc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611a2a57600080fd5b919050565b600060208284031215611a4157600080fd5b611a4a82611a13565b9392505050565b60008060408385031215611a6457600080fd5b611a6d83611a13565b9150611a7b60208401611a13565b90509250929050565b600080600060608486031215611a9957600080fd5b611aa284611a13565b9250611ab060208501611a13565b9150604084013590509250925092565b60008060008060808587031215611ad657600080fd5b611adf85611a13565b9350611aed60208601611a13565b92506040850135915060608501356001600160401b03811115611b0f57600080fd5b8501601f81018713611b2057600080fd5b611b2f878235602084016119bc565b91505092959194509250565b60008060408385031215611b4e57600080fd5b611b5783611a13565b915060208301358015158114611b6c57600080fd5b809150509250929050565b60008060408385031215611b8a57600080fd5b611b9383611a13565b946020939093013593505050565b60006020808385031215611bb457600080fd5b82356001600160401b0380821115611bcb57600080fd5b818501915085601f830112611bdf57600080fd5b813581811115611bf157611bf1611fd7565b8060051b9150611c02848301611e6d565b8181528481019084860184860187018a1015611c1d57600080fd5b600095505b83861015611c4757611c3381611a13565b835260019590950194918601918601611c22565b5098975050505050505050565b600060208284031215611c6657600080fd5b8135611a4a81611fed565b600060208284031215611c8357600080fd5b8151611a4a81611fed565b600060208284031215611ca057600080fd5b81356001600160401b03811115611cb657600080fd5b8201601f81018413611cc757600080fd5b6116b1848235602084016119bc565b600060208284031215611ce857600080fd5b5035919050565b60008151808452611d07816020860160208601611eff565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680611d3557607f831692505b6020808410821415611d5757634e487b7160e01b600052602260045260246000fd5b818015611d6b5760018114611d7c57611da9565b60ff19861689528489019650611da9565b60008881526020902060005b86811015611da15781548b820152908501908301611d88565b505084890196505b50505050505092915050565b6000611dc18286611d1b565b8451611dd1818360208901611eff565b611ddd81830186611d1b565b979650505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e1b90830184611cef565b9695505050505050565b602081526000611a4a6020830184611cef565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715611e9557611e95611fd7565b604052919050565b60008219821115611eb057611eb0611f95565b500190565b600082611ec457611ec4611fab565b500490565b6000816000190483118215151615611ee357611ee3611f95565b500290565b600082821015611efa57611efa611f95565b500390565b60005b83811015611f1a578181015183820152602001611f02565b83811115610f5e5750506000910152565b600181811c90821680611f3f57607f821691505b60208210811415611f6057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f7a57611f7a611f95565b5060010190565b600082611f9057611f90611fab565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e3a57600080fdfea2646970667358221220d8d3dc56bd39a6691138cdac8fa1643a638867f3f594d3cae3c8b5ddbe56d54164736f6c63430008070033

Deployed Bytecode

0x60806040526004361061021e5760003560e01c80637e6182d911610123578063a035b1fe116100ab578063d5abeb011161006f578063d5abeb0114610626578063e917a28c1461063c578063e985e9c514610652578063f2fde38b1461069b578063f9e23799146106bb57600080fd5b8063a035b1fe14610590578063a22cb465146105a6578063b88d4fde146105c6578063c87b56dd146105e6578063d1f919ed1461060657600080fd5b80639231ab2a116100f25780639231ab2a146104d25780639264274414610528578063931688cb1461053b57806395d89b411461055b57806397d6696b1461057057600080fd5b80637e6182d91461045457806381a89b59146104745780638da5cb5b1461049457806391b7f5ed146104b257600080fd5b80633ccfd60b116101a657806370a082311161017557806370a08231146103d5578063714c5398146103f5578063715018a61461040a5780637c8255db1461041f5780637d8966e41461043f57600080fd5b80633ccfd60b1461036b57806342842e0e146103805780636352211e146103a05780636c0360eb146103c057600080fd5b806312065fe0116101ed57806312065fe0146102db57806318160ddd146102f8578063228025e81461031657806323b872dd146103365780633ae1dd9d1461035657600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b957600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061024a610245366004611c54565b6106d5565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610727565b6040516102569190611e25565b34801561028d57600080fd5b506102a161029c366004611cd6565b6107b9565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611b77565b6107fd565b005b3480156102e757600080fd5b50475b604051908152602001610256565b34801561030457600080fd5b506102ea600254600154036000190190565b34801561032257600080fd5b506102d9610331366004611cd6565b61088b565b34801561034257600080fd5b506102d9610351366004611a84565b6108c3565b34801561036257600080fd5b506102746108ce565b34801561037757600080fd5b506102d961095c565b34801561038c57600080fd5b506102d961039b366004611a84565b6109d5565b3480156103ac57600080fd5b506102a16103bb366004611cd6565b6109f0565b3480156103cc57600080fd5b50610274610a02565b3480156103e157600080fd5b506102ea6103f0366004611a2f565b610a0f565b34801561040157600080fd5b50610274610a5d565b34801561041657600080fd5b506102d9610a6c565b34801561042b57600080fd5b506102d961043a366004611ba1565b610aa2565b34801561044b57600080fd5b506102d9610b72565b34801561046057600080fd5b506102d961046f366004611c8e565b610bb0565b34801561048057600080fd5b506102d961048f366004611cd6565b610bed565b3480156104a057600080fd5b506000546001600160a01b03166102a1565b3480156104be57600080fd5b506102d96104cd366004611cd6565b610c1c565b3480156104de57600080fd5b506104f26104ed366004611cd6565b610c4b565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610256565b6102d9610536366004611cd6565b610c71565b34801561054757600080fd5b506102d9610556366004611c8e565b610e3d565b34801561056757600080fd5b50610274610e7a565b34801561057c57600080fd5b506102ea61058b366004611a2f565b610e89565b34801561059c57600080fd5b506102ea600e5481565b3480156105b257600080fd5b506102d96105c1366004611b3b565b610e94565b3480156105d257600080fd5b506102d96105e1366004611ac0565b610f2a565b3480156105f257600080fd5b50610274610601366004611cd6565b610f64565b34801561061257600080fd5b506102d9610621366004611b77565b611005565b34801561063257600080fd5b506102ea600f5481565b34801561064857600080fd5b506102ea60095481565b34801561065e57600080fd5b5061024a61066d366004611a51565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106a757600080fd5b506102d96106b6366004611a2f565b61109c565b3480156106c757600080fd5b50600b5461024a9060ff1681565b60006001600160e01b031982166380ac58cd60e01b148061070657506001600160e01b03198216635b5e139f60e01b145b8061072157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461073690611f2b565b80601f016020809104026020016040519081016040528092919081815260200182805461076290611f2b565b80156107af5780601f10610784576101008083540402835291602001916107af565b820191906000526020600020905b81548152906001019060200180831161079257829003601f168201915b5050505050905090565b60006107c482611134565b6107e1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610808826109f0565b9050806001600160a01b0316836001600160a01b0316141561083d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061085d575061085b813361066d565b155b1561087b576040516367d9dca160e11b815260040160405180910390fd5b610886838383611160565b505050565b6000546001600160a01b031633146108be5760405162461bcd60e51b81526004016108b590611e38565b60405180910390fd5b600f55565b6108868383836111bc565b600d80546108db90611f2b565b80601f016020809104026020016040519081016040528092919081815260200182805461090790611f2b565b80156109545780601f1061092957610100808354040283529160200191610954565b820191906000526020600020905b81548152906001019060200180831161093757829003601f168201915b505050505081565b6000546001600160a01b031633146109865760405162461bcd60e51b81526004016108b590611e38565b476109996000546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f193505050501580156109d1573d6000803e3d6000fd5b5050565b61088683838360405180602001604052806000815250610f2a565b60006109fb826113d0565b5192915050565b600c80546108db90611f2b565b60006001600160a01b038216610a38576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6060600c805461073690611f2b565b6000546001600160a01b03163314610a965760405162461bcd60e51b81526004016108b590611e38565b610aa060006114eb565b565b6000546001600160a01b03163314610acc5760405162461bcd60e51b81526004016108b590611e38565b600f548151610ae2600254600154036000190190565b610aec9190611e9d565b1115610b305760405162461bcd60e51b815260206004820152601360248201527226b0bc1029bab838363c902932b0b1b432b21760691b60448201526064016108b5565b60005b81518110156109d157610b60828281518110610b5157610b51611fc1565b6020026020010151600161153b565b80610b6a81611f66565b915050610b33565b6000546001600160a01b03163314610b9c5760405162461bcd60e51b81526004016108b590611e38565b600b805460ff19811660ff90911615179055565b6000546001600160a01b03163314610bda5760405162461bcd60e51b81526004016108b590611e38565b80516109d190600d906020840190611923565b6000546001600160a01b03163314610c175760405162461bcd60e51b81526004016108b590611e38565b600955565b6000546001600160a01b03163314610c465760405162461bcd60e51b81526004016108b590611e38565b600e55565b6040805160608101825260008082526020820181905291810191909152610721826113d0565b600081118015610c8357506009548111155b610cc15760405162461bcd60e51b815260206004820152600f60248201526e2bb937b7339028bab0b73a34ba3c9760891b60448201526064016108b5565b600f5481610cd6600254600154036000190190565b610ce09190611e9d565b1115610d245760405162461bcd60e51b81526020600482015260136024820152725265616368696e67206d617820737570706c7960681b60448201526064016108b5565b80600e54610d329190611ec9565b3414610d795760405162461bcd60e51b815260206004820152601660248201527509ccacac8e640e8de40e6cadcc840dadee4ca40cae8d60531b60448201526064016108b5565b60095481610d8633610e89565b610d909190611e9d565b1115610dde5760405162461bcd60e51b815260206004820152601960248201527f457863656564206d6178206d696e74696e6720616d6f756e740000000000000060448201526064016108b5565b600b5460ff16610e305760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632053616c65204e6f74205374617274656420596574210000000060448201526064016108b5565b610e3a338261153b565b50565b6000546001600160a01b03163314610e675760405162461bcd60e51b81526004016108b590611e38565b80516109d190600c906020840190611923565b60606004805461073690611f2b565b600061072182611555565b6001600160a01b038216331415610ebe5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f358484846111bc565b610f41848484846115aa565b610f5e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f6f82611134565b610fd05760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108b5565b600c610fdb836116b9565b600d604051602001610fef93929190611db5565b6040516020818303038152906040529050919050565b6000546001600160a01b0316331461102f5760405162461bcd60e51b81526004016108b590611e38565b600f5481611044600254600154036000190190565b61104e9190611e9d565b11156110925760405162461bcd60e51b815260206004820152601360248201527226b0bc1029bab838363c902932b0b1b432b21760691b60448201526064016108b5565b6109d1828261153b565b6000546001600160a01b031633146110c65760405162461bcd60e51b81526004016108b590611e38565b6001600160a01b03811661112b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b5565b610e3a816114eb565b600060015482108015610721575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006111c7826113d0565b80519091506000906001600160a01b0316336001600160a01b031614806111f5575081516111f5903361066d565b80611210575033611205846107b9565b6001600160a01b0316145b90508061123057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146112655760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661128c57604051633a954ecd60e21b815260040160405180910390fd5b61129c6000848460000151611160565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166113865760015481101561138657825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915260015482908110156114d257600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906114d05780516001600160a01b031615611467579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156114cb579392505050565b611467565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6109d18282604051806020016040528060008152506117b6565b60006001600160a01b03821661157e576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160401b90046001600160401b031690565b60006001600160a01b0384163b156116ad57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115ee903390899088908890600401611de8565b602060405180830381600087803b15801561160857600080fd5b505af1925050508015611638575060408051601f3d908101601f1916820190925261163591810190611c71565b60015b611693573d808015611666576040519150601f19603f3d011682016040523d82523d6000602084013e61166b565b606091505b50805161168b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116b1565b5060015b949350505050565b6060816116dd5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561170757806116f181611f66565b91506117009050600a83611eb5565b91506116e1565b6000816001600160401b0381111561172157611721611fd7565b6040519080825280601f01601f19166020018201604052801561174b576020820181803683370190505b5090505b84156116b157611760600183611ee8565b915061176d600a86611f81565b611778906030611e9d565b60f81b81838151811061178d5761178d611fc1565b60200101906001600160f81b031916908160001a9053506117af600a86611eb5565b945061174f565b610886838383600180546001600160a01b0385166117e657604051622e076360e81b815260040160405180910390fd5b836118045760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b8581101561191a5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156118f057506118ee60008884886115aa565b155b1561190e576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611899565b506001556113c9565b82805461192f90611f2b565b90600052602060002090601f0160209004810192826119515760008555611997565b82601f1061196a57805160ff1916838001178555611997565b82800160010185558215611997579182015b8281111561199757825182559160200191906001019061197c565b506119a39291506119a7565b5090565b5b808211156119a357600081556001016119a8565b60006001600160401b038311156119d5576119d5611fd7565b6119e8601f8401601f1916602001611e6d565b90508281528383830111156119fc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611a2a57600080fd5b919050565b600060208284031215611a4157600080fd5b611a4a82611a13565b9392505050565b60008060408385031215611a6457600080fd5b611a6d83611a13565b9150611a7b60208401611a13565b90509250929050565b600080600060608486031215611a9957600080fd5b611aa284611a13565b9250611ab060208501611a13565b9150604084013590509250925092565b60008060008060808587031215611ad657600080fd5b611adf85611a13565b9350611aed60208601611a13565b92506040850135915060608501356001600160401b03811115611b0f57600080fd5b8501601f81018713611b2057600080fd5b611b2f878235602084016119bc565b91505092959194509250565b60008060408385031215611b4e57600080fd5b611b5783611a13565b915060208301358015158114611b6c57600080fd5b809150509250929050565b60008060408385031215611b8a57600080fd5b611b9383611a13565b946020939093013593505050565b60006020808385031215611bb457600080fd5b82356001600160401b0380821115611bcb57600080fd5b818501915085601f830112611bdf57600080fd5b813581811115611bf157611bf1611fd7565b8060051b9150611c02848301611e6d565b8181528481019084860184860187018a1015611c1d57600080fd5b600095505b83861015611c4757611c3381611a13565b835260019590950194918601918601611c22565b5098975050505050505050565b600060208284031215611c6657600080fd5b8135611a4a81611fed565b600060208284031215611c8357600080fd5b8151611a4a81611fed565b600060208284031215611ca057600080fd5b81356001600160401b03811115611cb657600080fd5b8201601f81018413611cc757600080fd5b6116b1848235602084016119bc565b600060208284031215611ce857600080fd5b5035919050565b60008151808452611d07816020860160208601611eff565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680611d3557607f831692505b6020808410821415611d5757634e487b7160e01b600052602260045260246000fd5b818015611d6b5760018114611d7c57611da9565b60ff19861689528489019650611da9565b60008881526020902060005b86811015611da15781548b820152908501908301611d88565b505084890196505b50505050505092915050565b6000611dc18286611d1b565b8451611dd1818360208901611eff565b611ddd81830186611d1b565b979650505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e1b90830184611cef565b9695505050505050565b602081526000611a4a6020830184611cef565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715611e9557611e95611fd7565b604052919050565b60008219821115611eb057611eb0611f95565b500190565b600082611ec457611ec4611fab565b500490565b6000816000190483118215151615611ee357611ee3611f95565b500290565b600082821015611efa57611efa611f95565b500390565b60005b83811015611f1a578181015183820152602001611f02565b83811115610f5e5750506000910152565b600181811c90821680611f3f57607f821691505b60208210811415611f6057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f7a57611f7a611f95565b5060010190565b600082611f9057611f90611fab565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e3a57600080fdfea2646970667358221220d8d3dc56bd39a6691138cdac8fa1643a638867f3f594d3cae3c8b5ddbe56d54164736f6c63430008070033

Deployed Bytecode Sourcemap

55061:3055:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25425:305;;;;;;;;;;-1:-1:-1;25425:305:0;;;;;:::i;:::-;;:::i;:::-;;;7353:14:1;;7346:22;7328:41;;7316:2;7301:18;25425:305:0;;;;;;;;28785:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30288:204::-;;;;;;;;;;-1:-1:-1;30288:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6651:32:1;;;6633:51;;6621:2;6606:18;30288:204:0;6487:203:1;29851:371:0;;;;;;;;;;-1:-1:-1;29851:371:0;;;;;:::i;:::-;;:::i;:::-;;57550:95;;;;;;;;;;-1:-1:-1;57616:21:0;57550:95;;;11477:25:1;;;11465:2;11450:18;57550:95:0;11331:177:1;25076:277:0;;;;;;;;;;;;25313:12;;25329:1;25297:13;:28;-1:-1:-1;;25296:34:0;;25076:277;57344:96;;;;;;;;;;-1:-1:-1;57344:96:0;;;;;:::i;:::-;;:::i;31145:170::-;;;;;;;;;;-1:-1:-1;31145:170:0;;;;;:::i;:::-;;:::i;55316:34::-;;;;;;;;;;;;;:::i;57770:149::-;;;;;;;;;;;;;:::i;31386:185::-;;;;;;;;;;-1:-1:-1;31386:185:0;;;;;:::i;:::-;;:::i;28594:124::-;;;;;;;;;;-1:-1:-1;28594:124:0;;;;;:::i;:::-;;:::i;55276:33::-;;;;;;;;;;;;;:::i;25794:206::-;;;;;;;;;;-1:-1:-1;25794:206:0;;;;;:::i;:::-;;:::i;57025:92::-;;;;;;;;;;;;;:::i;14191:94::-;;;;;;;;;;;;;:::i;56018:252::-;;;;;;;;;;-1:-1:-1;56018:252:0;;;;;:::i;:::-;;:::i;57448:92::-;;;;;;;;;;;;;:::i;56917:100::-;;;;;;;;;;-1:-1:-1;56917:100:0;;;;;:::i;:::-;;:::i;57217:119::-;;;;;;;;;;-1:-1:-1;57217:119:0;;;;;:::i;:::-;;:::i;13540:87::-;;;;;;;;;;-1:-1:-1;13586:7:0;13613:6;-1:-1:-1;;;;;13613:6:0;13540:87;;57125:86;;;;;;;;;;-1:-1:-1;57125:86:0;;;;;:::i;:::-;;:::i;57927:147::-;;;;;;;;;;-1:-1:-1;57927:147:0;;;;;:::i;:::-;;:::i;:::-;;;;11117:13:1;;-1:-1:-1;;;;;11113:39:1;11095:58;;11213:4;11201:17;;;11195:24;-1:-1:-1;;;;;11191:49:1;11169:20;;;11162:79;11299:17;;;11293:24;11286:32;11279:40;11257:20;;;11250:70;11083:2;11068:18;57927:147:0;10887:439:1;55493:515:0;;;;;;:::i;:::-;;:::i;56804:107::-;;;;;;;;;;-1:-1:-1;56804:107:0;;;;;:::i;:::-;;:::i;28954:104::-;;;;;;;;;;;;;:::i;57653:109::-;;;;;;;;;;-1:-1:-1;57653:109:0;;;;;:::i;:::-;;:::i;55357:30::-;;;;;;;;;;;;;;;;30564:279;;;;;;;;;;-1:-1:-1;30564:279:0;;;;;:::i;:::-;;:::i;31642:342::-;;;;;;;;;;-1:-1:-1;31642:342:0;;;;;:::i;:::-;;:::i;56491:305::-;;;;;;;;;;-1:-1:-1;56491:305:0;;;;;:::i;:::-;;:::i;56275:206::-;;;;;;;;;;-1:-1:-1;56275:206:0;;;;;:::i;:::-;;:::i;55394:31::-;;;;;;;;;;;;;;;;55110:32;;;;;;;;;;;;;;;;30914:164;;;;;;;;;;-1:-1:-1;30914:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;31035:25:0;;;31011:4;31035:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30914:164;14440:192;;;;;;;;;;-1:-1:-1;14440:192:0;;;;;:::i;:::-;;:::i;55235:34::-;;;;;;;;;;-1:-1:-1;55235:34:0;;;;;;;;25425:305;25527:4;-1:-1:-1;;;;;;25564:40:0;;-1:-1:-1;;;25564:40:0;;:105;;-1:-1:-1;;;;;;;25621:48:0;;-1:-1:-1;;;25621:48:0;25564:105;:158;;;-1:-1:-1;;;;;;;;;;15654:40:0;;;25686:36;25544:178;25425:305;-1:-1:-1;;25425:305:0:o;28785:100::-;28839:13;28872:5;28865:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28785:100;:::o;30288:204::-;30356:7;30381:16;30389:7;30381;:16::i;:::-;30376:64;;30406:34;;-1:-1:-1;;;30406:34:0;;;;;;;;;;;30376:64;-1:-1:-1;30460:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30460:24:0;;30288:204::o;29851:371::-;29924:13;29940:24;29956:7;29940:15;:24::i;:::-;29924:40;;29985:5;-1:-1:-1;;;;;29979:11:0;:2;-1:-1:-1;;;;;29979:11:0;;29975:48;;;29999:24;;-1:-1:-1;;;29999:24:0;;;;;;;;;;;29975:48;760:10;-1:-1:-1;;;;;30040:21:0;;;;;;:63;;-1:-1:-1;30066:37:0;30083:5;760:10;30914:164;:::i;30066:37::-;30065:38;30040:63;30036:138;;;30127:35;;-1:-1:-1;;;30127:35:0;;;;;;;;;;;30036:138;30186:28;30195:2;30199:7;30208:5;30186:8;:28::i;:::-;29913:309;29851:371;;:::o;57344:96::-;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;;;;;;;;;57413:9:::1;:19:::0;57344:96::o;31145:170::-;31279:28;31289:4;31295:2;31299:7;31279:9;:28::i;55316:34::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57770:149::-;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;57836:21:::1;57876:7;13586::::0;13613:6;-1:-1:-1;;;;;13613:6:0;;13540:87;57876:7:::1;-1:-1:-1::0;;;;;57868:25:0::1;:35;57894:8;57868:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;57809:110;57770:149::o:0;31386:185::-;31524:39;31541:4;31547:2;31551:7;31524:39;;;;;;;;;;;;:16;:39::i;28594:124::-;28658:7;28685:20;28697:7;28685:11;:20::i;:::-;:25;;28594:124;-1:-1:-1;;28594:124:0:o;55276:33::-;;;;;;;:::i;25794:206::-;25858:7;-1:-1:-1;;;;;25882:19:0;;25878:60;;25910:28;;-1:-1:-1;;;25910:28:0;;;;;;;;;;;25878:60;-1:-1:-1;;;;;;25964:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;25964:27:0;;25794:206::o;57025:92::-;57069:13;57102:7;57095:14;;;;;:::i;14191:94::-;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;14256:21:::1;14274:1;14256:9;:21::i;:::-;14191:94::o:0;56018:252::-;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;56136:9:::1;;56117:8;:15;56101:13;25313:12:::0;;25329:1;25297:13;:28;-1:-1:-1;;25296:34:0;;25076:277;56101:13:::1;:31;;;;:::i;:::-;:44;;56093:76;;;::::0;-1:-1:-1;;;56093:76:0;;10393:2:1;56093:76:0::1;::::0;::::1;10375:21:1::0;10432:2;10412:18;;;10405:30;-1:-1:-1;;;10451:18:1;;;10444:49;10510:18;;56093:76:0::1;10191:343:1::0;56093:76:0::1;56184:6;56180:80;56200:8;:15;56196:1;:19;56180:80;;;56235:25;56245:8;56254:1;56245:11;;;;;;;;:::i;:::-;;;;;;;56258:1;56235:9;:25::i;:::-;56217:3:::0;::::1;::::0;::::1;:::i;:::-;;;;56180:80;;57448:92:::0;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;57518:14:::1;::::0;;-1:-1:-1;;57500:32:0;::::1;57518:14;::::0;;::::1;57517:15;57500:32;::::0;;57448:92::o;56917:100::-;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;56991:18;;::::1;::::0;:10:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;57217:119::-:0;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;57298:13:::1;:30:::0;57217:119::o;57125:86::-;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;57189:5:::1;:14:::0;57125:86::o;57927:147::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;58048:20:0;58060:7;58048:11;:20::i;55493:515::-;55575:1;55563:9;:13;:43;;;;;55593:13;;55580:9;:26;;55563:43;55555:71;;;;-1:-1:-1;;;55555:71:0;;8213:2:1;55555:71:0;;;8195:21:1;8252:2;8232:18;;;8225:30;-1:-1:-1;;;8271:18:1;;;8264:45;8326:18;;55555:71:0;8011:339:1;55555:71:0;55674:9;;55661;55645:13;25313:12;;25329:1;25297:13;:28;-1:-1:-1;;25296:34:0;;25076:277;55645:13;:25;;;;:::i;:::-;:38;;55637:70;;;;-1:-1:-1;;;55637:70:0;;10741:2:1;55637:70:0;;;10723:21:1;10780:2;10760:18;;;10753:30;-1:-1:-1;;;10799:18:1;;;10792:49;10858:18;;55637:70:0;10539:343:1;55637:70:0;55747:9;55739:5;;:17;;;;:::i;:::-;55726:9;:30;55718:65;;;;-1:-1:-1;;;55718:65:0;;9685:2:1;55718:65:0;;;9667:21:1;9724:2;9704:18;;;9697:30;-1:-1:-1;;;9743:18:1;;;9736:52;9805:18;;55718:65:0;9483:346:1;55718:65:0;55844:13;;55831:9;55802:26;55817:10;55802:14;:26::i;:::-;:38;;;;:::i;:::-;:55;;55794:93;;;;-1:-1:-1;;;55794:93:0;;8557:2:1;55794:93:0;;;8539:21:1;8596:2;8576:18;;;8569:30;8635:27;8615:18;;;8608:55;8680:18;;55794:93:0;8355:349:1;55794:93:0;55906:14;;;;55898:55;;;;-1:-1:-1;;;55898:55:0;;10036:2:1;55898:55:0;;;10018:21:1;10075:2;10055:18;;;10048:30;10114;10094:18;;;10087:58;10162:18;;55898:55:0;9834:352:1;55898:55:0;55966:32;55976:10;55988:9;55966;:32::i;:::-;55493:515;:::o;56804:107::-;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;56882:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;28954:104::-:0;29010:13;29043:7;29036:14;;;;;:::i;57653:109::-;57713:7;57736:20;57750:5;57736:13;:20::i;30564:279::-;-1:-1:-1;;;;;30655:24:0;;760:10;30655:24;30651:54;;;30688:17;;-1:-1:-1;;;30688:17:0;;;;;;;;;;;30651:54;760:10;30718:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;30718:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;30718:53:0;;;;;;;;;;30787:48;;7328:41:1;;;30718:42:0;;760:10;30787:48;;7301:18:1;30787:48:0;;;;;;;30564:279;;:::o;31642:342::-;31809:28;31819:4;31825:2;31829:7;31809:9;:28::i;:::-;31853:48;31876:4;31882:2;31886:7;31895:5;31853:22;:48::i;:::-;31848:129;;31925:40;;-1:-1:-1;;;31925:40:0;;;;;;;;;;;31848:129;31642:342;;;;:::o;56491:305::-;56565:13;56613:17;56621:8;56613:7;:17::i;:::-;56591:111;;;;-1:-1:-1;;;56591:111:0;;8911:2:1;56591:111:0;;;8893:21:1;8950:2;8930:18;;;8923:30;8989:34;8969:18;;;8962:62;-1:-1:-1;;;9040:18:1;;;9033:42;9092:19;;56591:111:0;8709:408:1;56591:111:0;56746:7;56755:19;:8;:17;:19::i;:::-;56776:10;56729:58;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56715:73;;56491:305;;;:::o;56275:206::-;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;56401:9:::1;;56393:4;56377:13;25313:12:::0;;25329:1;25297:13;:28;-1:-1:-1;;25296:34:0;;25076:277;56377:13:::1;:20;;;;:::i;:::-;:33;;56369:65;;;::::0;-1:-1:-1;;;56369:65:0;;10393:2:1;56369:65:0::1;::::0;::::1;10375:21:1::0;10432:2;10412:18;;;10405:30;-1:-1:-1;;;10451:18:1;;;10444:49;10510:18;;56369:65:0::1;10191:343:1::0;56369:65:0::1;56449:24;56459:7;56468:4;56449:9;:24::i;14440:192::-:0;13586:7;13613:6;-1:-1:-1;;;;;13613:6:0;760:10;13760:23;13752:68;;;;-1:-1:-1;;;13752:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14529:22:0;::::1;14521:73;;;::::0;-1:-1:-1;;;14521:73:0;;7806:2:1;14521:73:0::1;::::0;::::1;7788:21:1::0;7845:2;7825:18;;;7818:30;7884:34;7864:18;;;7857:62;-1:-1:-1;;;7935:18:1;;;7928:36;7981:19;;14521:73:0::1;7604:402:1::0;14521:73:0::1;14605:19;14615:8;14605:9;:19::i;32239:144::-:0;32296:4;32330:13;;32320:7;:23;:55;;;;-1:-1:-1;;32348:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;32348:27:0;;;;32347:28;;32239:144::o;39445:196::-;39560:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39560:29:0;-1:-1:-1;;;;;39560:29:0;;;;;;;;;39605:28;;39560:24;;39605:28;;;;;;;39445:196;;;:::o;34946:2112::-;35061:35;35099:20;35111:7;35099:11;:20::i;:::-;35174:18;;35061:58;;-1:-1:-1;35132:22:0;;-1:-1:-1;;;;;35158:34:0;760:10;-1:-1:-1;;;;;35158:34:0;;:101;;;-1:-1:-1;35226:18:0;;35209:50;;760:10;30914:164;:::i;35209:50::-;35158:154;;;-1:-1:-1;760:10:0;35276:20;35288:7;35276:11;:20::i;:::-;-1:-1:-1;;;;;35276:36:0;;35158:154;35132:181;;35331:17;35326:66;;35357:35;;-1:-1:-1;;;35357:35:0;;;;;;;;;;;35326:66;35429:4;-1:-1:-1;;;;;35407:26:0;:13;:18;;;-1:-1:-1;;;;;35407:26:0;;35403:67;;35442:28;;-1:-1:-1;;;35442:28:0;;;;;;;;;;;35403:67;-1:-1:-1;;;;;35485:16:0;;35481:52;;35510:23;;-1:-1:-1;;;35510:23:0;;;;;;;;;;;35481:52;35654:49;35671:1;35675:7;35684:13;:18;;;35654:8;:49::i;:::-;-1:-1:-1;;;;;35999:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;35999:31:0;;;-1:-1:-1;;;;;35999:31:0;;;-1:-1:-1;;35999:31:0;;;;;;;36045:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;36045:29:0;;;;;;;;;;;36091:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;36136:61:0;;;;-1:-1:-1;;;36181:15:0;36136:61;;;;;;;;;;;36471:11;;;36501:24;;;;;:29;36471:11;;36501:29;36497:445;;36726:13;;36712:11;:27;36708:219;;;36796:18;;;36764:24;;;:11;:24;;;;;;;;:50;;36879:28;;;;-1:-1:-1;;;;;36837:70:0;-1:-1:-1;;;36837:70:0;-1:-1:-1;;;;;;36837:70:0;;;-1:-1:-1;;;;;36764:50:0;;;36837:70;;;;;;;36708:219;35974:979;36989:7;36985:2;-1:-1:-1;;;;;36970:27:0;36979:4;-1:-1:-1;;;;;36970:27:0;;;;;;;;;;;37008:42;35050:2008;;34946:2112;;;:::o;27449:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;27615:13:0;;27559:7;;27608:20;;27604:861;;;27649:31;27683:17;;;:11;:17;;;;;;;;;27649:51;;;;;;;;;-1:-1:-1;;;;;27649:51:0;;;;-1:-1:-1;;;27649:51:0;;-1:-1:-1;;;;;27649:51:0;;;;;;;;-1:-1:-1;;;27649:51:0;;;;;;;;;;;;;;27719:731;;27769:14;;-1:-1:-1;;;;;27769:28:0;;27765:101;;27833:9;27449:1083;-1:-1:-1;;;27449:1083:0:o;27765:101::-;-1:-1:-1;;;28210:6:0;28255:17;;;;:11;:17;;;;;;;;;28243:29;;;;;;;;;-1:-1:-1;;;;;28243:29:0;;;;;-1:-1:-1;;;28243:29:0;;-1:-1:-1;;;;;28243:29:0;;;;;;;;-1:-1:-1;;;28243:29:0;;;;;;;;;;;;;28303:28;28299:109;;28371:9;27449:1083;-1:-1:-1;;;27449:1083:0:o;28299:109::-;28170:261;;;27630:835;27604:861;28493:31;;-1:-1:-1;;;28493:31:0;;;;;;;;;;;14640:173;14696:16;14715:6;;-1:-1:-1;;;;;14732:17:0;;;-1:-1:-1;;;;;;14732:17:0;;;;;;14765:40;;14715:6;;;;;;;14765:40;;14696:16;14765:40;14685:128;14640:173;:::o;32391:104::-;32460:27;32470:2;32474:8;32460:27;;;;;;;;;;;;:9;:27::i;26082:207::-;26143:7;-1:-1:-1;;;;;26167:19:0;;26163:59;;26195:27;;-1:-1:-1;;;26195:27:0;;;;;;;;;;;26163:59;-1:-1:-1;;;;;;26248:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;26248:32:0;;-1:-1:-1;;;;;26248:32:0;;26082:207::o;40206:790::-;40361:4;-1:-1:-1;;;;;40382:13:0;;3933:20;3981:8;40378:611;;40418:72;;-1:-1:-1;;;40418:72:0;;-1:-1:-1;;;;;40418:36:0;;;;;:72;;760:10;;40469:4;;40475:7;;40484:5;;40418:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40418:72:0;;;;;;;;-1:-1:-1;;40418:72:0;;;;;;;;;;;;:::i;:::-;;;40414:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40664:13:0;;40660:259;;40714:40;;-1:-1:-1;;;40714:40:0;;;;;;;;;;;40660:259;40869:6;40863:13;40854:6;40850:2;40846:15;40839:38;40414:520;-1:-1:-1;;;;;;40541:55:0;-1:-1:-1;;;40541:55:0;;-1:-1:-1;40534:62:0;;40378:611;-1:-1:-1;40973:4:0;40378:611;40206:790;;;;;;:::o;1145:723::-;1201:13;1422:10;1418:53;;-1:-1:-1;;1449:10:0;;;;;;;;;;;;-1:-1:-1;;;1449:10:0;;;;;1145:723::o;1418:53::-;1496:5;1481:12;1537:78;1544:9;;1537:78;;1570:8;;;;:::i;:::-;;-1:-1:-1;1593:10:0;;-1:-1:-1;1601:2:0;1593:10;;:::i;:::-;;;1537:78;;;1625:19;1657:6;-1:-1:-1;;;;;1647:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1647:17:0;;1625:39;;1675:154;1682:10;;1675:154;;1709:11;1719:1;1709:11;;:::i;:::-;;-1:-1:-1;1778:10:0;1786:2;1778:5;:10;:::i;:::-;1765:24;;:2;:24;:::i;:::-;1752:39;;1735:6;1742;1735:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1735:56:0;;;;;;;;-1:-1:-1;1806:11:0;1815:2;1806:11;;:::i;:::-;;;1675:154;;32858:163;32981:32;32987:2;32991:8;33001:5;33008:4;33442:13;;-1:-1:-1;;;;;33470:16:0;;33466:48;;33495:19;;-1:-1:-1;;;33495:19:0;;;;;;;;;;;33466:48;33529:13;33525:44;;33551:18;;-1:-1:-1;;;33551:18:0;;;;;;;;;;;33525:44;-1:-1:-1;;;;;33920:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;33979:49:0;;-1:-1:-1;;;;;33920:44:0;;;;;;;33979:49;;;-1:-1:-1;;;;;33920:44:0;;;;;;33979:49;;;;;;;;;;;;;;;;34045:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;34095:66:0;;;;-1:-1:-1;;;34145:15:0;34095:66;;;;;;;;;;;34045:25;;34230:328;34250:8;34246:1;:12;34230:328;;;34289:38;;34314:12;;-1:-1:-1;;;;;34289:38:0;;;34306:1;;34289:38;;34306:1;;34289:38;34350:4;:68;;;;;34359:59;34390:1;34394:2;34398:12;34412:5;34359:22;:59::i;:::-;34358:60;34350:68;34346:164;;;34450:40;;-1:-1:-1;;;34450:40:0;;;;;;;;;;;34346:164;34528:14;;;;;34260:3;34230:328;;;-1:-1:-1;34574:13:0;:28;34624:60;31642:342;-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:186::-;662:6;715:2;703:9;694:7;690:23;686:32;683:52;;;731:1;728;721:12;683:52;754:29;773:9;754:29;:::i;:::-;744:39;603:186;-1:-1:-1;;;603:186:1:o;794:260::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;;1010:38;1044:2;1033:9;1029:18;1010:38;:::i;:::-;1000:48;;794:260;;;;;:::o;1059:328::-;1136:6;1144;1152;1205:2;1193:9;1184:7;1180:23;1176:32;1173:52;;;1221:1;1218;1211:12;1173:52;1244:29;1263:9;1244:29;:::i;:::-;1234:39;;1292:38;1326:2;1315:9;1311:18;1292:38;:::i;:::-;1282:48;;1377:2;1366:9;1362:18;1349:32;1339:42;;1059:328;;;;;:::o;1392:666::-;1487:6;1495;1503;1511;1564:3;1552:9;1543:7;1539:23;1535:33;1532:53;;;1581:1;1578;1571:12;1532:53;1604:29;1623:9;1604:29;:::i;:::-;1594:39;;1652:38;1686:2;1675:9;1671:18;1652:38;:::i;:::-;1642:48;;1737:2;1726:9;1722:18;1709:32;1699:42;;1792:2;1781:9;1777:18;1764:32;-1:-1:-1;;;;;1811:6:1;1808:30;1805:50;;;1851:1;1848;1841:12;1805:50;1874:22;;1927:4;1919:13;;1915:27;-1:-1:-1;1905:55:1;;1956:1;1953;1946:12;1905:55;1979:73;2044:7;2039:2;2026:16;2021:2;2017;2013:11;1979:73;:::i;:::-;1969:83;;;1392:666;;;;;;;:::o;2063:347::-;2128:6;2136;2189:2;2177:9;2168:7;2164:23;2160:32;2157:52;;;2205:1;2202;2195:12;2157:52;2228:29;2247:9;2228:29;:::i;:::-;2218:39;;2307:2;2296:9;2292:18;2279:32;2354:5;2347:13;2340:21;2333:5;2330:32;2320:60;;2376:1;2373;2366:12;2320:60;2399:5;2389:15;;;2063:347;;;;;:::o;2415:254::-;2483:6;2491;2544:2;2532:9;2523:7;2519:23;2515:32;2512:52;;;2560:1;2557;2550:12;2512:52;2583:29;2602:9;2583:29;:::i;:::-;2573:39;2659:2;2644:18;;;;2631:32;;-1:-1:-1;;;2415:254:1:o;2674:963::-;2758:6;2789:2;2832;2820:9;2811:7;2807:23;2803:32;2800:52;;;2848:1;2845;2838:12;2800:52;2888:9;2875:23;-1:-1:-1;;;;;2958:2:1;2950:6;2947:14;2944:34;;;2974:1;2971;2964:12;2944:34;3012:6;3001:9;2997:22;2987:32;;3057:7;3050:4;3046:2;3042:13;3038:27;3028:55;;3079:1;3076;3069:12;3028:55;3115:2;3102:16;3137:2;3133;3130:10;3127:36;;;3143:18;;:::i;:::-;3189:2;3186:1;3182:10;3172:20;;3212:28;3236:2;3232;3228:11;3212:28;:::i;:::-;3274:15;;;3305:12;;;;3337:11;;;3367;;;3363:20;;3360:33;-1:-1:-1;3357:53:1;;;3406:1;3403;3396:12;3357:53;3428:1;3419:10;;3438:169;3452:2;3449:1;3446:9;3438:169;;;3509:23;3528:3;3509:23;:::i;:::-;3497:36;;3470:1;3463:9;;;;;3553:12;;;;3585;;3438:169;;;-1:-1:-1;3626:5:1;2674:963;-1:-1:-1;;;;;;;;2674:963:1:o;3642:245::-;3700:6;3753:2;3741:9;3732:7;3728:23;3724:32;3721:52;;;3769:1;3766;3759:12;3721:52;3808:9;3795:23;3827:30;3851:5;3827:30;:::i;3892:249::-;3961:6;4014:2;4002:9;3993:7;3989:23;3985:32;3982:52;;;4030:1;4027;4020:12;3982:52;4062:9;4056:16;4081:30;4105:5;4081:30;:::i;4146:450::-;4215:6;4268:2;4256:9;4247:7;4243:23;4239:32;4236:52;;;4284:1;4281;4274:12;4236:52;4324:9;4311:23;-1:-1:-1;;;;;4349:6:1;4346:30;4343:50;;;4389:1;4386;4379:12;4343:50;4412:22;;4465:4;4457:13;;4453:27;-1:-1:-1;4443:55:1;;4494:1;4491;4484:12;4443:55;4517:73;4582:7;4577:2;4564:16;4559:2;4555;4551:11;4517:73;:::i;4601:180::-;4660:6;4713:2;4701:9;4692:7;4688:23;4684:32;4681:52;;;4729:1;4726;4719:12;4681:52;-1:-1:-1;4752:23:1;;4601:180;-1:-1:-1;4601:180:1:o;4786:257::-;4827:3;4865:5;4859:12;4892:6;4887:3;4880:19;4908:63;4964:6;4957:4;4952:3;4948:14;4941:4;4934:5;4930:16;4908:63;:::i;:::-;5025:2;5004:15;-1:-1:-1;;5000:29:1;4991:39;;;;5032:4;4987:50;;4786:257;-1:-1:-1;;4786:257:1:o;5048:973::-;5133:12;;5098:3;;5188:1;5208:18;;;;5261;;;;5288:61;;5342:4;5334:6;5330:17;5320:27;;5288:61;5368:2;5416;5408:6;5405:14;5385:18;5382:38;5379:161;;;5462:10;5457:3;5453:20;5450:1;5443:31;5497:4;5494:1;5487:15;5525:4;5522:1;5515:15;5379:161;5556:18;5583:104;;;;5701:1;5696:319;;;;5549:466;;5583:104;-1:-1:-1;;5616:24:1;;5604:37;;5661:16;;;;-1:-1:-1;5583:104:1;;5696:319;11866:1;11859:14;;;11903:4;11890:18;;5790:1;5804:165;5818:6;5815:1;5812:13;5804:165;;;5896:14;;5883:11;;;5876:35;5939:16;;;;5833:10;;5804:165;;;5808:3;;5998:6;5993:3;5989:16;5982:23;;5549:466;;;;;;;5048:973;;;;:::o;6026:456::-;6247:3;6275:38;6309:3;6301:6;6275:38;:::i;:::-;6342:6;6336:13;6358:52;6403:6;6399:2;6392:4;6384:6;6380:17;6358:52;:::i;:::-;6426:50;6468:6;6464:2;6460:15;6452:6;6426:50;:::i;:::-;6419:57;6026:456;-1:-1:-1;;;;;;;6026:456:1:o;6695:488::-;-1:-1:-1;;;;;6964:15:1;;;6946:34;;7016:15;;7011:2;6996:18;;6989:43;7063:2;7048:18;;7041:34;;;7111:3;7106:2;7091:18;;7084:31;;;6889:4;;7132:45;;7157:19;;7149:6;7132:45;:::i;:::-;7124:53;6695:488;-1:-1:-1;;;;;;6695:488:1:o;7380:219::-;7529:2;7518:9;7511:21;7492:4;7549:44;7589:2;7578:9;7574:18;7566:6;7549:44;:::i;9122:356::-;9324:2;9306:21;;;9343:18;;;9336:30;9402:34;9397:2;9382:18;;9375:62;9469:2;9454:18;;9122:356::o;11513:275::-;11584:2;11578:9;11649:2;11630:13;;-1:-1:-1;;11626:27:1;11614:40;;-1:-1:-1;;;;;11669:34:1;;11705:22;;;11666:62;11663:88;;;11731:18;;:::i;:::-;11767:2;11760:22;11513:275;;-1:-1:-1;11513:275:1:o;11919:128::-;11959:3;11990:1;11986:6;11983:1;11980:13;11977:39;;;11996:18;;:::i;:::-;-1:-1:-1;12032:9:1;;11919:128::o;12052:120::-;12092:1;12118;12108:35;;12123:18;;:::i;:::-;-1:-1:-1;12157:9:1;;12052:120::o;12177:168::-;12217:7;12283:1;12279;12275:6;12271:14;12268:1;12265:21;12260:1;12253:9;12246:17;12242:45;12239:71;;;12290:18;;:::i;:::-;-1:-1:-1;12330:9:1;;12177:168::o;12350:125::-;12390:4;12418:1;12415;12412:8;12409:34;;;12423:18;;:::i;:::-;-1:-1:-1;12460:9:1;;12350:125::o;12480:258::-;12552:1;12562:113;12576:6;12573:1;12570:13;12562:113;;;12652:11;;;12646:18;12633:11;;;12626:39;12598:2;12591:10;12562:113;;;12693:6;12690:1;12687:13;12684:48;;;-1:-1:-1;;12728:1:1;12710:16;;12703:27;12480:258::o;12743:380::-;12822:1;12818:12;;;;12865;;;12886:61;;12940:4;12932:6;12928:17;12918:27;;12886:61;12993:2;12985:6;12982:14;12962:18;12959:38;12956:161;;;13039:10;13034:3;13030:20;13027:1;13020:31;13074:4;13071:1;13064:15;13102:4;13099:1;13092:15;12956:161;;12743:380;;;:::o;13128:135::-;13167:3;-1:-1:-1;;13188:17:1;;13185:43;;;13208:18;;:::i;:::-;-1:-1:-1;13255:1:1;13244:13;;13128:135::o;13268:112::-;13300:1;13326;13316:35;;13331:18;;:::i;:::-;-1:-1:-1;13365:9:1;;13268:112::o;13385:127::-;13446:10;13441:3;13437:20;13434:1;13427:31;13477:4;13474:1;13467:15;13501:4;13498:1;13491:15;13517:127;13578:10;13573:3;13569:20;13566:1;13559:31;13609:4;13606:1;13599:15;13633:4;13630:1;13623:15;13649:127;13710:10;13705:3;13701:20;13698:1;13691:31;13741:4;13738:1;13731:15;13765:4;13762:1;13755:15;13781:127;13842:10;13837:3;13833:20;13830:1;13823:31;13873:4;13870:1;13863:15;13897:4;13894:1;13887:15;13913:131;-1:-1:-1;;;;;;13987:32:1;;13977:43;;13967:71;;14034:1;14031;14024:12

Swarm Source

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