ETH Price: $2,460.64 (-4.28%)

Token

Haki (HAKI)
 

Overview

Max Total Supply

1,022 HAKI

Holders

88

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
noclue.eth
Balance
2 HAKI
0xB361b55b2bC39099853595bfaB7a87c5c3e350Be
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Haki

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-04-10
*/

/**
 *Submitted for verification at Etherscan.io on 2022-04-09
*/

/**
 *Submitted for verification at Etherscan.io on 2022-04-08
*/

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

// File: erc721a/contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error 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 and Enumerable 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**128 - 1 (max value of uint128).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    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;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

    // The number of tokens burned.
    uint128 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 override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;

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

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

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

        // Execution should never reach this point.
        revert();
    }

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

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

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * 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 > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 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 = uint128(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**128.
        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**128.
        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 {}
}

pragma solidity ^0.8.4;

contract Haki is ERC721A, Ownable {

    uint256 constant public MAX_MINT = 10000;
    uint256 public PRESALE_TOKEN_PRICE = 0.055 ether;
    uint256 public PUBLIC_TOKEN_PRICE = 0.069 ether;
    uint256 constant public PUBLIC_MINT_LIMIT = 4;

    string public baseURI = "";
    bool public paused;

    constructor() ERC721A("Haki", "HAKI") {}

    function mint(uint256 _amount) external payable {
        require(!paused, "Sale is currently paused.");
        require(_amount > 0, "Mint quantity less than 0.");
        require(totalSupply() + _amount <= MAX_MINT, "Cannot exceed max mint amount.");
        require(_amount  <= PUBLIC_MINT_LIMIT, "Cannot exeeds 4 quantity per tx.");
        require(msg.value >= _amount * PUBLIC_TOKEN_PRICE, "Exceeds mint quantity or not enough eth sent");

        _safeMint(msg.sender, _amount);
    }

    function presale(uint256 _amount) external payable {
        require(!paused, "Sale is currently paused.");
        require(_amount > 0, "Mint quantity less than 0.");
        require(totalSupply() + _amount <= MAX_MINT, "Cannot exceed max mint amount.");
        require(_amount  <= PUBLIC_MINT_LIMIT, "Cannot exeeds 4 quantity per tx.");
        require(msg.value >= _amount * PRESALE_TOKEN_PRICE, "Exceeds mint quantity or not enough eth sent");

        _safeMint(msg.sender, _amount);
    }

    function setPublicCost(uint256 _newCost) external onlyOwner() {
        PUBLIC_TOKEN_PRICE = _newCost;
    }

    function setPresaleCost(uint256 _newCost) external onlyOwner() {
        PRESALE_TOKEN_PRICE = _newCost;
    }

    function setBaseURI(string calldata uri) external onlyOwner {
        baseURI = uri;
    }

    function toggleSale() external onlyOwner {
        paused = !paused;
    }

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

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

    function batchMint(uint256 quantity) external onlyOwner {
        require(totalSupply() + quantity <= MAX_MINT, "Cannot exceed max mint amount");

        _safeMint(msg.sender, quantity);
    }
}

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":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_TOKEN_PRICE","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":"quantity","type":"uint256"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPresaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPublicCost","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

66c3663566a5800060085566f523226980800060095560a06040819052600060808190526200003191600a9162000121565b503480156200003f57600080fd5b506040518060400160405280600481526020016348616b6960e01b8152506040518060400160405280600481526020016348414b4960e01b81525081600190805190602001906200009292919062000121565b508051620000a890600290602084019062000121565b505050620000c5620000bf620000cb60201b60201c565b620000cf565b62000204565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012f90620001c7565b90600052602060002090601f0160209004810192826200015357600085556200019e565b82601f106200016e57805160ff19168380011785556200019e565b828001600101855582156200019e579182015b828111156200019e57825182559160200191906001019062000181565b50620001ac929150620001b0565b5090565b5b80821115620001ac5760008155600101620001b1565b600181811c90821680620001dc57607f821691505b60208210811415620001fe57634e487b7160e01b600052602260045260246000fd5b50919050565b611f7e80620002146000396000f3fe6080604052600436106101ee5760003560e01c8063763f8d121161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd1461053c578063e6ab14341461055c578063e985e9c51461056f578063f0292a03146105b8578063f2fde38b146105ce57600080fd5b8063a22cb465146104d1578063b46a6768146104f1578063b88d4fde14610507578063bceae77b1461052757600080fd5b80638da5cb5b116100dc5780638da5cb5b1461046b5780638fdcf9421461048957806395d89b41146104a9578063a0712d68146104be57600080fd5b8063763f8d12146104005780637d8966e414610416578063811d24371461042b5780638467be0d1461044b57600080fd5b806342842e0e116101855780636352211e116101545780636352211e146103965780636c0360eb146103b657806370a08231146103cb578063715018a6146103eb57600080fd5b806342842e0e1461031c5780634f6ccce71461033c57806355f804b31461035c5780635c975abb1461037c57600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102c75780632f745c59146102e75780633ccfd60b1461030757600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611c3d565b6105ee565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61065b565b60405161021f9190611d9a565b34801561025657600080fd5b5061026a610265366004611ce9565b6106ed565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611c13565b610731565b005b3480156102b057600080fd5b506102b96107bf565b60405190815260200161021f565b3480156102d357600080fd5b506102a26102e2366004611abf565b6107de565b3480156102f357600080fd5b506102b9610302366004611c13565b6107e9565b34801561031357600080fd5b506102a26108e6565b34801561032857600080fd5b506102a2610337366004611abf565b610955565b34801561034857600080fd5b506102b9610357366004611ce9565b610970565b34801561036857600080fd5b506102a2610377366004611c77565b610a1b565b34801561038857600080fd5b50600b546102139060ff1681565b3480156103a257600080fd5b5061026a6103b1366004611ce9565b610a51565b3480156103c257600080fd5b5061023d610a63565b3480156103d757600080fd5b506102b96103e6366004611a71565b610af1565b3480156103f757600080fd5b506102a2610b40565b34801561040c57600080fd5b506102b960095481565b34801561042257600080fd5b506102a2610b76565b34801561043757600080fd5b506102a2610446366004611ce9565b610bb4565b34801561045757600080fd5b506102a2610466366004611ce9565b610be3565b34801561047757600080fd5b506007546001600160a01b031661026a565b34801561049557600080fd5b506102a26104a4366004611ce9565b610c7b565b3480156104b557600080fd5b5061023d610caa565b6102a26104cc366004611ce9565b610cb9565b3480156104dd57600080fd5b506102a26104ec366004611bd7565b610e7e565b3480156104fd57600080fd5b506102b960085481565b34801561051357600080fd5b506102a2610522366004611afb565b610f14565b34801561053357600080fd5b506102b9600481565b34801561054857600080fd5b5061023d610557366004611ce9565b610f4e565b6102a261056a366004611ce9565b610fd3565b34801561057b57600080fd5b5061021361058a366004611a8c565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105c457600080fd5b506102b961271081565b3480156105da57600080fd5b506102a26105e9366004611a71565b611134565b60006001600160e01b031982166380ac58cd60e01b148061061f57506001600160e01b03198216635b5e139f60e01b145b8061063a57506001600160e01b0319821663780e9d6360e01b145b8061065557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461066a90611e70565b80601f016020809104026020016040519081016040528092919081815260200182805461069690611e70565b80156106e35780601f106106b8576101008083540402835291602001916106e3565b820191906000526020600020905b8154815290600101906020018083116106c657829003601f168201915b5050505050905090565b60006106f8826111cc565b610715576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061073c82610a51565b9050806001600160a01b0316836001600160a01b031614156107715760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610791575061078f813361058a565b155b156107af576040516367d9dca160e11b815260040160405180910390fd5b6107ba838383611200565b505050565b6000546001600160801b03600160801b82048116918116919091031690565b6107ba83838361125c565b60006107f483610af1565b8210610813576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b838110156108e057600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16158015928201929092529061088c57506108d8565b80516001600160a01b0316156108a157805192505b876001600160a01b0316836001600160a01b031614156108d657868414156108cf5750935061065592505050565b6001909301925b505b600101610824565b50600080fd5b6007546001600160a01b031633146109195760405162461bcd60e51b815260040161091090611dad565b60405180910390fd5b6007546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610952573d6000803e3d6000fd5b50565b6107ba83838360405180602001604052806000815250610f14565b600080546001600160801b031681805b82811015610a0157600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906109f857858314156109f15750949350505050565b6001909201915b50600101610980565b506040516329c8c00760e21b815260040160405180910390fd5b6007546001600160a01b03163314610a455760405162461bcd60e51b815260040161091090611dad565b6107ba600a83836119bc565b6000610a5c8261147b565b5192915050565b600a8054610a7090611e70565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9c90611e70565b8015610ae95780601f10610abe57610100808354040283529160200191610ae9565b820191906000526020600020905b815481529060010190602001808311610acc57829003601f168201915b505050505081565b60006001600160a01b038216610b1a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526004602052604090205467ffffffffffffffff1690565b6007546001600160a01b03163314610b6a5760405162461bcd60e51b815260040161091090611dad565b610b74600061159f565b565b6007546001600160a01b03163314610ba05760405162461bcd60e51b815260040161091090611dad565b600b805460ff19811660ff90911615179055565b6007546001600160a01b03163314610bde5760405162461bcd60e51b815260040161091090611dad565b600955565b6007546001600160a01b03163314610c0d5760405162461bcd60e51b815260040161091090611dad565b61271081610c196107bf565b610c239190611de2565b1115610c715760405162461bcd60e51b815260206004820152601d60248201527f43616e6e6f7420657863656564206d6178206d696e7420616d6f756e740000006044820152606401610910565b61095233826115f1565b6007546001600160a01b03163314610ca55760405162461bcd60e51b815260040161091090611dad565b600855565b60606002805461066a90611e70565b600b5460ff1615610d085760405162461bcd60e51b815260206004820152601960248201527829b0b6329034b99031bab93932b73a363c903830bab9b2b21760391b6044820152606401610910565b60008111610d585760405162461bcd60e51b815260206004820152601a60248201527f4d696e74207175616e74697479206c657373207468616e20302e0000000000006044820152606401610910565b61271081610d646107bf565b610d6e9190611de2565b1115610dbc5760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f7420657863656564206d6178206d696e7420616d6f756e742e00006044820152606401610910565b6004811115610e0d5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74206578656564732034207175616e74697479207065722074782e6044820152606401610910565b600954610e1a9082611e0e565b341015610c715760405162461bcd60e51b815260206004820152602c60248201527f45786365656473206d696e74207175616e74697479206f72206e6f7420656e6f60448201526b1d59da08195d1a081cd95b9d60a21b6064820152608401610910565b6001600160a01b038216331415610ea85760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f1f84848461125c565b610f2b8484848461160f565b610f48576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f59826111cc565b610f7657604051630a14c4b560e41b815260040160405180910390fd5b6000610f8061171e565b9050805160001415610fa15760405180602001604052806000815250610fcc565b80610fab8461172d565b604051602001610fbc929190611d2e565b6040516020818303038152906040525b9392505050565b600b5460ff16156110225760405162461bcd60e51b815260206004820152601960248201527829b0b6329034b99031bab93932b73a363c903830bab9b2b21760391b6044820152606401610910565b600081116110725760405162461bcd60e51b815260206004820152601a60248201527f4d696e74207175616e74697479206c657373207468616e20302e0000000000006044820152606401610910565b6127108161107e6107bf565b6110889190611de2565b11156110d65760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f7420657863656564206d6178206d696e7420616d6f756e742e00006044820152606401610910565b60048111156111275760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74206578656564732034207175616e74697479207065722074782e6044820152606401610910565b600854610e1a9082611e0e565b6007546001600160a01b0316331461115e5760405162461bcd60e51b815260040161091090611dad565b6001600160a01b0381166111c35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610910565b6109528161159f565b600080546001600160801b031682108015610655575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006112678261147b565b80519091506000906001600160a01b0316336001600160a01b0316148061129557508151611295903361058a565b806112b05750336112a5846106ed565b6001600160a01b0316145b9050806112d057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146113055760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661132c57604051633a954ecd60e21b815260040160405180910390fd5b61133c6000848460000151611200565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611431576000546001600160801b0316811015611431578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101829052905482906001600160801b031681101561158657600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906115845780516001600160a01b03161561151a579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561157f579392505050565b61151a565b505b604051636f96cda160e11b815260040160405180910390fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61160b82826040518060200160405280600081525061182b565b5050565b60006001600160a01b0384163b1561171257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611653903390899088908890600401611d5d565b602060405180830381600087803b15801561166d57600080fd5b505af192505050801561169d575060408051601f3d908101601f1916820190925261169a91810190611c5a565b60015b6116f8573d8080156116cb576040519150601f19603f3d011682016040523d82523d6000602084013e6116d0565b606091505b5080516116f0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611716565b5060015b949350505050565b6060600a805461066a90611e70565b6060816117515750506040805180820190915260018152600360fc1b602082015290565b8160005b811561177b578061176581611eab565b91506117749050600a83611dfa565b9150611755565b60008167ffffffffffffffff81111561179657611796611f1c565b6040519080825280601f01601f1916602001820160405280156117c0576020820181803683370190505b5090505b8415611716576117d5600183611e2d565b91506117e2600a86611ec6565b6117ed906030611de2565b60f81b81838151811061180257611802611f06565b60200101906001600160f81b031916908160001a905350611824600a86611dfa565b94506117c4565b6107ba83838360016000546001600160801b03166001600160a01b03851661186557604051622e076360e81b815260040160405180910390fd5b836118835760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546001600160801b0319811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156119965760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483801561196c575061196a600088848861160f565b155b1561198a576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611915565b50600080546001600160801b0319166001600160801b0392909216919091179055611474565b8280546119c890611e70565b90600052602060002090601f0160209004810192826119ea5760008555611a30565b82601f10611a035782800160ff19823516178555611a30565b82800160010185558215611a30579182015b82811115611a30578235825591602001919060010190611a15565b50611a3c929150611a40565b5090565b5b80821115611a3c5760008155600101611a41565b80356001600160a01b0381168114611a6c57600080fd5b919050565b600060208284031215611a8357600080fd5b610fcc82611a55565b60008060408385031215611a9f57600080fd5b611aa883611a55565b9150611ab660208401611a55565b90509250929050565b600080600060608486031215611ad457600080fd5b611add84611a55565b9250611aeb60208501611a55565b9150604084013590509250925092565b60008060008060808587031215611b1157600080fd5b611b1a85611a55565b9350611b2860208601611a55565b925060408501359150606085013567ffffffffffffffff80821115611b4c57600080fd5b818701915087601f830112611b6057600080fd5b813581811115611b7257611b72611f1c565b604051601f8201601f19908116603f01168101908382118183101715611b9a57611b9a611f1c565b816040528281528a6020848701011115611bb357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611bea57600080fd5b611bf383611a55565b915060208301358015158114611c0857600080fd5b809150509250929050565b60008060408385031215611c2657600080fd5b611c2f83611a55565b946020939093013593505050565b600060208284031215611c4f57600080fd5b8135610fcc81611f32565b600060208284031215611c6c57600080fd5b8151610fcc81611f32565b60008060208385031215611c8a57600080fd5b823567ffffffffffffffff80821115611ca257600080fd5b818501915085601f830112611cb657600080fd5b813581811115611cc557600080fd5b866020828501011115611cd757600080fd5b60209290920196919550909350505050565b600060208284031215611cfb57600080fd5b5035919050565b60008151808452611d1a816020860160208601611e44565b601f01601f19169290920160200192915050565b60008351611d40818460208801611e44565b835190830190611d54818360208801611e44565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d9090830184611d02565b9695505050505050565b602081526000610fcc6020830184611d02565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611df557611df5611eda565b500190565b600082611e0957611e09611ef0565b500490565b6000816000190483118215151615611e2857611e28611eda565b500290565b600082821015611e3f57611e3f611eda565b500390565b60005b83811015611e5f578181015183820152602001611e47565b83811115610f485750506000910152565b600181811c90821680611e8457607f821691505b60208210811415611ea557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611ebf57611ebf611eda565b5060010190565b600082611ed557611ed5611ef0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461095257600080fdfea26469706673582212208d2324a24e6a032e118b5636de269fc6f54d5d7ee0fd0db38d9cdaf9ed0fdce364736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c8063763f8d121161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd1461053c578063e6ab14341461055c578063e985e9c51461056f578063f0292a03146105b8578063f2fde38b146105ce57600080fd5b8063a22cb465146104d1578063b46a6768146104f1578063b88d4fde14610507578063bceae77b1461052757600080fd5b80638da5cb5b116100dc5780638da5cb5b1461046b5780638fdcf9421461048957806395d89b41146104a9578063a0712d68146104be57600080fd5b8063763f8d12146104005780637d8966e414610416578063811d24371461042b5780638467be0d1461044b57600080fd5b806342842e0e116101855780636352211e116101545780636352211e146103965780636c0360eb146103b657806370a08231146103cb578063715018a6146103eb57600080fd5b806342842e0e1461031c5780634f6ccce71461033c57806355f804b31461035c5780635c975abb1461037c57600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102c75780632f745c59146102e75780633ccfd60b1461030757600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611c3d565b6105ee565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61065b565b60405161021f9190611d9a565b34801561025657600080fd5b5061026a610265366004611ce9565b6106ed565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611c13565b610731565b005b3480156102b057600080fd5b506102b96107bf565b60405190815260200161021f565b3480156102d357600080fd5b506102a26102e2366004611abf565b6107de565b3480156102f357600080fd5b506102b9610302366004611c13565b6107e9565b34801561031357600080fd5b506102a26108e6565b34801561032857600080fd5b506102a2610337366004611abf565b610955565b34801561034857600080fd5b506102b9610357366004611ce9565b610970565b34801561036857600080fd5b506102a2610377366004611c77565b610a1b565b34801561038857600080fd5b50600b546102139060ff1681565b3480156103a257600080fd5b5061026a6103b1366004611ce9565b610a51565b3480156103c257600080fd5b5061023d610a63565b3480156103d757600080fd5b506102b96103e6366004611a71565b610af1565b3480156103f757600080fd5b506102a2610b40565b34801561040c57600080fd5b506102b960095481565b34801561042257600080fd5b506102a2610b76565b34801561043757600080fd5b506102a2610446366004611ce9565b610bb4565b34801561045757600080fd5b506102a2610466366004611ce9565b610be3565b34801561047757600080fd5b506007546001600160a01b031661026a565b34801561049557600080fd5b506102a26104a4366004611ce9565b610c7b565b3480156104b557600080fd5b5061023d610caa565b6102a26104cc366004611ce9565b610cb9565b3480156104dd57600080fd5b506102a26104ec366004611bd7565b610e7e565b3480156104fd57600080fd5b506102b960085481565b34801561051357600080fd5b506102a2610522366004611afb565b610f14565b34801561053357600080fd5b506102b9600481565b34801561054857600080fd5b5061023d610557366004611ce9565b610f4e565b6102a261056a366004611ce9565b610fd3565b34801561057b57600080fd5b5061021361058a366004611a8c565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105c457600080fd5b506102b961271081565b3480156105da57600080fd5b506102a26105e9366004611a71565b611134565b60006001600160e01b031982166380ac58cd60e01b148061061f57506001600160e01b03198216635b5e139f60e01b145b8061063a57506001600160e01b0319821663780e9d6360e01b145b8061065557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461066a90611e70565b80601f016020809104026020016040519081016040528092919081815260200182805461069690611e70565b80156106e35780601f106106b8576101008083540402835291602001916106e3565b820191906000526020600020905b8154815290600101906020018083116106c657829003601f168201915b5050505050905090565b60006106f8826111cc565b610715576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061073c82610a51565b9050806001600160a01b0316836001600160a01b031614156107715760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610791575061078f813361058a565b155b156107af576040516367d9dca160e11b815260040160405180910390fd5b6107ba838383611200565b505050565b6000546001600160801b03600160801b82048116918116919091031690565b6107ba83838361125c565b60006107f483610af1565b8210610813576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b838110156108e057600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16158015928201929092529061088c57506108d8565b80516001600160a01b0316156108a157805192505b876001600160a01b0316836001600160a01b031614156108d657868414156108cf5750935061065592505050565b6001909301925b505b600101610824565b50600080fd5b6007546001600160a01b031633146109195760405162461bcd60e51b815260040161091090611dad565b60405180910390fd5b6007546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610952573d6000803e3d6000fd5b50565b6107ba83838360405180602001604052806000815250610f14565b600080546001600160801b031681805b82811015610a0157600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906109f857858314156109f15750949350505050565b6001909201915b50600101610980565b506040516329c8c00760e21b815260040160405180910390fd5b6007546001600160a01b03163314610a455760405162461bcd60e51b815260040161091090611dad565b6107ba600a83836119bc565b6000610a5c8261147b565b5192915050565b600a8054610a7090611e70565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9c90611e70565b8015610ae95780601f10610abe57610100808354040283529160200191610ae9565b820191906000526020600020905b815481529060010190602001808311610acc57829003601f168201915b505050505081565b60006001600160a01b038216610b1a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526004602052604090205467ffffffffffffffff1690565b6007546001600160a01b03163314610b6a5760405162461bcd60e51b815260040161091090611dad565b610b74600061159f565b565b6007546001600160a01b03163314610ba05760405162461bcd60e51b815260040161091090611dad565b600b805460ff19811660ff90911615179055565b6007546001600160a01b03163314610bde5760405162461bcd60e51b815260040161091090611dad565b600955565b6007546001600160a01b03163314610c0d5760405162461bcd60e51b815260040161091090611dad565b61271081610c196107bf565b610c239190611de2565b1115610c715760405162461bcd60e51b815260206004820152601d60248201527f43616e6e6f7420657863656564206d6178206d696e7420616d6f756e740000006044820152606401610910565b61095233826115f1565b6007546001600160a01b03163314610ca55760405162461bcd60e51b815260040161091090611dad565b600855565b60606002805461066a90611e70565b600b5460ff1615610d085760405162461bcd60e51b815260206004820152601960248201527829b0b6329034b99031bab93932b73a363c903830bab9b2b21760391b6044820152606401610910565b60008111610d585760405162461bcd60e51b815260206004820152601a60248201527f4d696e74207175616e74697479206c657373207468616e20302e0000000000006044820152606401610910565b61271081610d646107bf565b610d6e9190611de2565b1115610dbc5760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f7420657863656564206d6178206d696e7420616d6f756e742e00006044820152606401610910565b6004811115610e0d5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74206578656564732034207175616e74697479207065722074782e6044820152606401610910565b600954610e1a9082611e0e565b341015610c715760405162461bcd60e51b815260206004820152602c60248201527f45786365656473206d696e74207175616e74697479206f72206e6f7420656e6f60448201526b1d59da08195d1a081cd95b9d60a21b6064820152608401610910565b6001600160a01b038216331415610ea85760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f1f84848461125c565b610f2b8484848461160f565b610f48576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f59826111cc565b610f7657604051630a14c4b560e41b815260040160405180910390fd5b6000610f8061171e565b9050805160001415610fa15760405180602001604052806000815250610fcc565b80610fab8461172d565b604051602001610fbc929190611d2e565b6040516020818303038152906040525b9392505050565b600b5460ff16156110225760405162461bcd60e51b815260206004820152601960248201527829b0b6329034b99031bab93932b73a363c903830bab9b2b21760391b6044820152606401610910565b600081116110725760405162461bcd60e51b815260206004820152601a60248201527f4d696e74207175616e74697479206c657373207468616e20302e0000000000006044820152606401610910565b6127108161107e6107bf565b6110889190611de2565b11156110d65760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f7420657863656564206d6178206d696e7420616d6f756e742e00006044820152606401610910565b60048111156111275760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74206578656564732034207175616e74697479207065722074782e6044820152606401610910565b600854610e1a9082611e0e565b6007546001600160a01b0316331461115e5760405162461bcd60e51b815260040161091090611dad565b6001600160a01b0381166111c35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610910565b6109528161159f565b600080546001600160801b031682108015610655575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006112678261147b565b80519091506000906001600160a01b0316336001600160a01b0316148061129557508151611295903361058a565b806112b05750336112a5846106ed565b6001600160a01b0316145b9050806112d057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146113055760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661132c57604051633a954ecd60e21b815260040160405180910390fd5b61133c6000848460000151611200565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611431576000546001600160801b0316811015611431578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101829052905482906001600160801b031681101561158657600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906115845780516001600160a01b03161561151a579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561157f579392505050565b61151a565b505b604051636f96cda160e11b815260040160405180910390fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61160b82826040518060200160405280600081525061182b565b5050565b60006001600160a01b0384163b1561171257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611653903390899088908890600401611d5d565b602060405180830381600087803b15801561166d57600080fd5b505af192505050801561169d575060408051601f3d908101601f1916820190925261169a91810190611c5a565b60015b6116f8573d8080156116cb576040519150601f19603f3d011682016040523d82523d6000602084013e6116d0565b606091505b5080516116f0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611716565b5060015b949350505050565b6060600a805461066a90611e70565b6060816117515750506040805180820190915260018152600360fc1b602082015290565b8160005b811561177b578061176581611eab565b91506117749050600a83611dfa565b9150611755565b60008167ffffffffffffffff81111561179657611796611f1c565b6040519080825280601f01601f1916602001820160405280156117c0576020820181803683370190505b5090505b8415611716576117d5600183611e2d565b91506117e2600a86611ec6565b6117ed906030611de2565b60f81b81838151811061180257611802611f06565b60200101906001600160f81b031916908160001a905350611824600a86611dfa565b94506117c4565b6107ba83838360016000546001600160801b03166001600160a01b03851661186557604051622e076360e81b815260040160405180910390fd5b836118835760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546001600160801b0319811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156119965760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483801561196c575061196a600088848861160f565b155b1561198a576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611915565b50600080546001600160801b0319166001600160801b0392909216919091179055611474565b8280546119c890611e70565b90600052602060002090601f0160209004810192826119ea5760008555611a30565b82601f10611a035782800160ff19823516178555611a30565b82800160010185558215611a30579182015b82811115611a30578235825591602001919060010190611a15565b50611a3c929150611a40565b5090565b5b80821115611a3c5760008155600101611a41565b80356001600160a01b0381168114611a6c57600080fd5b919050565b600060208284031215611a8357600080fd5b610fcc82611a55565b60008060408385031215611a9f57600080fd5b611aa883611a55565b9150611ab660208401611a55565b90509250929050565b600080600060608486031215611ad457600080fd5b611add84611a55565b9250611aeb60208501611a55565b9150604084013590509250925092565b60008060008060808587031215611b1157600080fd5b611b1a85611a55565b9350611b2860208601611a55565b925060408501359150606085013567ffffffffffffffff80821115611b4c57600080fd5b818701915087601f830112611b6057600080fd5b813581811115611b7257611b72611f1c565b604051601f8201601f19908116603f01168101908382118183101715611b9a57611b9a611f1c565b816040528281528a6020848701011115611bb357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611bea57600080fd5b611bf383611a55565b915060208301358015158114611c0857600080fd5b809150509250929050565b60008060408385031215611c2657600080fd5b611c2f83611a55565b946020939093013593505050565b600060208284031215611c4f57600080fd5b8135610fcc81611f32565b600060208284031215611c6c57600080fd5b8151610fcc81611f32565b60008060208385031215611c8a57600080fd5b823567ffffffffffffffff80821115611ca257600080fd5b818501915085601f830112611cb657600080fd5b813581811115611cc557600080fd5b866020828501011115611cd757600080fd5b60209290920196919550909350505050565b600060208284031215611cfb57600080fd5b5035919050565b60008151808452611d1a816020860160208601611e44565b601f01601f19169290920160200192915050565b60008351611d40818460208801611e44565b835190830190611d54818360208801611e44565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d9090830184611d02565b9695505050505050565b602081526000610fcc6020830184611d02565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611df557611df5611eda565b500190565b600082611e0957611e09611ef0565b500490565b6000816000190483118215151615611e2857611e28611eda565b500290565b600082821015611e3f57611e3f611eda565b500390565b60005b83811015611e5f578181015183820152602001611e47565b83811115610f485750506000910152565b600181811c90821680611e8457607f821691505b60208210811415611ea557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611ebf57611ebf611eda565b5060010190565b600082611ed557611ed5611ef0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461095257600080fdfea26469706673582212208d2324a24e6a032e118b5636de269fc6f54d5d7ee0fd0db38d9cdaf9ed0fdce364736f6c63430008070033

Deployed Bytecode Sourcemap

46310:2223:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29821:372;;;;;;;;;;-1:-1:-1;29821:372:0;;;;;:::i;:::-;;:::i;:::-;;;5624:14:1;;5617:22;5599:41;;5587:2;5572:18;29821:372:0;;;;;;;;32431:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33934:204::-;;;;;;;;;;-1:-1:-1;33934:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4922:32:1;;;4904:51;;4892:2;4877:18;33934:204:0;4758:203:1;33497:371:0;;;;;;;;;;-1:-1:-1;33497:371:0;;;;;:::i;:::-;;:::i;:::-;;27058:280;;;;;;;;;;;;;:::i;:::-;;;8989:25:1;;;8977:2;8962:18;27058:280:0;8843:177:1;34791:170:0;;;;;;;;;;-1:-1:-1;34791:170:0;;;;;:::i;:::-;;:::i;28644:1105::-;;;;;;;;;;-1:-1:-1;28644:1105:0;;;;;:::i;:::-;;:::i;48219:106::-;;;;;;;;;;;;;:::i;35032:185::-;;;;;;;;;;-1:-1:-1;35032:185:0;;;;;:::i;:::-;;:::i;27631:713::-;;;;;;;;;;-1:-1:-1;27631:713:0;;;;;:::i;:::-;;:::i;47927:92::-;;;;;;;;;;-1:-1:-1;47927:92:0;;;;;:::i;:::-;;:::i;46596:18::-;;;;;;;;;;-1:-1:-1;46596:18:0;;;;;;;;32240:124;;;;;;;;;;-1:-1:-1;32240:124:0;;;;;:::i;:::-;;:::i;46563:26::-;;;;;;;;;;;;;:::i;30257:206::-;;;;;;;;;;-1:-1:-1;30257:206:0;;;;;:::i;:::-;;:::i;4758:103::-;;;;;;;;;;;;;:::i;46455:47::-;;;;;;;;;;;;;;;;48027:76;;;;;;;;;;;;;:::i;47689:110::-;;;;;;;;;;-1:-1:-1;47689:110:0;;;;;:::i;:::-;;:::i;48333:197::-;;;;;;;;;;-1:-1:-1;48333:197:0;;;;;:::i;:::-;;:::i;4107:87::-;;;;;;;;;;-1:-1:-1;4180:6:0;;-1:-1:-1;;;;;4180:6:0;4107:87;;47807:112;;;;;;;;;;-1:-1:-1;47807:112:0;;;;;:::i;:::-;;:::i;32600:104::-;;;;;;;;;;;;;:::i;46671:499::-;;;;;;:::i;:::-;;:::i;34210:279::-;;;;;;;;;;-1:-1:-1;34210:279:0;;;;;:::i;:::-;;:::i;46400:48::-;;;;;;;;;;;;;;;;35288:342;;;;;;;;;;-1:-1:-1;35288:342:0;;;;;:::i;:::-;;:::i;46509:45::-;;;;;;;;;;;;46553:1;46509:45;;32775:318;;;;;;;;;;-1:-1:-1;32775:318:0;;;;;:::i;:::-;;:::i;47178:503::-;;;;;;:::i;:::-;;:::i;34560:164::-;;;;;;;;;;-1:-1:-1;34560:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34681:25:0;;;34657:4;34681:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34560:164;46353:40;;;;;;;;;;;;46388:5;46353:40;;5016:201;;;;;;;;;;-1:-1:-1;5016:201:0;;;;;:::i;:::-;;:::i;29821:372::-;29923:4;-1:-1:-1;;;;;;29960:40:0;;-1:-1:-1;;;29960:40:0;;:105;;-1:-1:-1;;;;;;;30017:48:0;;-1:-1:-1;;;30017:48:0;29960:105;:172;;;-1:-1:-1;;;;;;;30082:50:0;;-1:-1:-1;;;30082:50:0;29960:172;:225;;;-1:-1:-1;;;;;;;;;;17000:40:0;;;30149:36;29940:245;29821:372;-1:-1:-1;;29821:372:0:o;32431:100::-;32485:13;32518:5;32511:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32431:100;:::o;33934:204::-;34002:7;34027:16;34035:7;34027;:16::i;:::-;34022:64;;34052:34;;-1:-1:-1;;;34052:34:0;;;;;;;;;;;34022:64;-1:-1:-1;34106:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34106:24:0;;33934:204::o;33497:371::-;33570:13;33586:24;33602:7;33586:15;:24::i;:::-;33570:40;;33631:5;-1:-1:-1;;;;;33625:11:0;:2;-1:-1:-1;;;;;33625:11:0;;33621:48;;;33645:24;;-1:-1:-1;;;33645:24:0;;;;;;;;;;;33621:48;2913:10;-1:-1:-1;;;;;33686:21:0;;;;;;:63;;-1:-1:-1;33712:37:0;33729:5;2913:10;34560:164;:::i;33712:37::-;33711:38;33686:63;33682:138;;;33773:35;;-1:-1:-1;;;33773:35:0;;;;;;;;;;;33682:138;33832:28;33841:2;33845:7;33854:5;33832:8;:28::i;:::-;33559:309;33497:371;;:::o;27058:280::-;27111:7;27303:12;-1:-1:-1;;;;;;;;27303:12:0;;;;27287:13;;;:28;;;;27280:35;;27058:280::o;34791:170::-;34925:28;34935:4;34941:2;34945:7;34925:9;:28::i;28644:1105::-;28733:7;28766:16;28776:5;28766:9;:16::i;:::-;28757:5;:25;28753:61;;28791:23;;-1:-1:-1;;;28791:23:0;;;;;;;;;;;28753:61;28825:22;28850:13;;-1:-1:-1;;;;;28850:13:0;;28825:22;;29100:557;29120:14;29116:1;:18;29100:557;;;29160:31;29194:14;;;:11;:14;;;;;;;;;29160:48;;;;;;;;;-1:-1:-1;;;;;29160:48:0;;;;-1:-1:-1;;;29160:48:0;;;;;;;;;;;-1:-1:-1;;;29160:48:0;;;;;;;;;;;;;;;;29227:73;;29272:8;;;29227:73;29322:14;;-1:-1:-1;;;;;29322:28:0;;29318:111;;29395:14;;;-1:-1:-1;29318:111:0;29472:5;-1:-1:-1;;;;;29451:26:0;:17;-1:-1:-1;;;;;29451:26:0;;29447:195;;;29521:5;29506:11;:20;29502:85;;;-1:-1:-1;29562:1:0;-1:-1:-1;29555:8:0;;-1:-1:-1;;;29555:8:0;29502:85;29609:13;;;;;29447:195;29141:516;29100:557;29136:3;;29100:557;;;;29733:8;;;48219:106;4180:6;;-1:-1:-1;;;;;4180:6:0;2913:10;4327:23;4319:68;;;;-1:-1:-1;;;4319:68:0;;;;;;;:::i;:::-;;;;;;;;;4180:6;;48269:48:::1;::::0;-1:-1:-1;;;;;4180:6:0;;;;48295:21:::1;48269:48:::0;::::1;;;::::0;::::1;::::0;;;48295:21;4180:6;48269:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;48219:106::o:0;35032:185::-;35170:39;35187:4;35193:2;35197:7;35170:39;;;;;;;;;;;;:16;:39::i;27631:713::-;27698:7;27743:13;;-1:-1:-1;;;;;27743:13:0;27698:7;;27957:328;27977:14;27973:1;:18;27957:328;;;28017:31;28051:14;;;:11;:14;;;;;;;;;28017:48;;;;;;;;;-1:-1:-1;;;;;28017:48:0;;;;-1:-1:-1;;;28017:48:0;;;;;;;;;;;-1:-1:-1;;;28017:48:0;;;;;;;;;;;;;;28084:186;;28149:5;28134:11;:20;28130:85;;;-1:-1:-1;28190:1:0;27631:713;-1:-1:-1;;;;27631:713:0:o;28130:85::-;28237:13;;;;;28084:186;-1:-1:-1;27993:3:0;;27957:328;;;;28313:23;;-1:-1:-1;;;28313:23:0;;;;;;;;;;;47927:92;4180:6;;-1:-1:-1;;;;;4180:6:0;2913:10;4327:23;4319:68;;;;-1:-1:-1;;;4319:68:0;;;;;;;:::i;:::-;47998:13:::1;:7;48008:3:::0;;47998:13:::1;:::i;32240:124::-:0;32304:7;32331:20;32343:7;32331:11;:20::i;:::-;:25;;32240:124;-1:-1:-1;;32240:124:0:o;46563:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30257:206::-;30321:7;-1:-1:-1;;;;;30345:19:0;;30341:60;;30373:28;;-1:-1:-1;;;30373:28:0;;;;;;;;;;;30341:60;-1:-1:-1;;;;;;30427:19:0;;;;;:12;:19;;;;;:27;;;;30257:206::o;4758:103::-;4180:6;;-1:-1:-1;;;;;4180:6:0;2913:10;4327:23;4319:68;;;;-1:-1:-1;;;4319:68:0;;;;;;;:::i;:::-;4823:30:::1;4850:1;4823:18;:30::i;:::-;4758:103::o:0;48027:76::-;4180:6;;-1:-1:-1;;;;;4180:6:0;2913:10;4327:23;4319:68;;;;-1:-1:-1;;;4319:68:0;;;;;;;:::i;:::-;48089:6:::1;::::0;;-1:-1:-1;;48079:16:0;::::1;48089:6;::::0;;::::1;48088:7;48079:16;::::0;;48027:76::o;47689:110::-;4180:6;;-1:-1:-1;;;;;4180:6:0;2913:10;4327:23;4319:68;;;;-1:-1:-1;;;4319:68:0;;;;;;;:::i;:::-;47762:18:::1;:29:::0;47689:110::o;48333:197::-;4180:6;;-1:-1:-1;;;;;4180:6:0;2913:10;4327:23;4319:68;;;;-1:-1:-1;;;4319:68:0;;;;;;;:::i;:::-;46388:5:::1;48424:8;48408:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:36;;48400:78;;;::::0;-1:-1:-1;;;48400:78:0;;8332:2:1;48400:78:0::1;::::0;::::1;8314:21:1::0;8371:2;8351:18;;;8344:30;8410:31;8390:18;;;8383:59;8459:18;;48400:78:0::1;8130:353:1::0;48400:78:0::1;48491:31;48501:10;48513:8;48491:9;:31::i;47807:112::-:0;4180:6;;-1:-1:-1;;;;;4180:6:0;2913:10;4327:23;4319:68;;;;-1:-1:-1;;;4319:68:0;;;;;;;:::i;:::-;47881:19:::1;:30:::0;47807:112::o;32600:104::-;32656:13;32689:7;32682:14;;;;;:::i;46671:499::-;46739:6;;;;46738:7;46730:45;;;;-1:-1:-1;;;46730:45:0;;6484:2:1;46730:45:0;;;6466:21:1;6523:2;6503:18;;;6496:30;-1:-1:-1;;;6542:18:1;;;6535:55;6607:18;;46730:45:0;6282:349:1;46730:45:0;46804:1;46794:7;:11;46786:50;;;;-1:-1:-1;;;46786:50:0;;8690:2:1;46786:50:0;;;8672:21:1;8729:2;8709:18;;;8702:30;8768:28;8748:18;;;8741:56;8814:18;;46786:50:0;8488:350:1;46786:50:0;46388:5;46871:7;46855:13;:11;:13::i;:::-;:23;;;;:::i;:::-;:35;;46847:78;;;;-1:-1:-1;;;46847:78:0;;6838:2:1;46847:78:0;;;6820:21:1;6877:2;6857:18;;;6850:30;6916:32;6896:18;;;6889:60;6966:18;;46847:78:0;6636:354:1;46847:78:0;46553:1;46944:7;:29;;46936:74;;;;-1:-1:-1;;;46936:74:0;;7558:2:1;46936:74:0;;;7540:21:1;;;7577:18;;;7570:30;7636:34;7616:18;;;7609:62;7688:18;;46936:74:0;7356:356:1;46936:74:0;47052:18;;47042:28;;:7;:28;:::i;:::-;47029:9;:41;;47021:98;;;;-1:-1:-1;;;47021:98:0;;7919:2:1;47021:98:0;;;7901:21:1;7958:2;7938:18;;;7931:30;7997:34;7977:18;;;7970:62;-1:-1:-1;;;8048:18:1;;;8041:42;8100:19;;47021:98:0;7717:408:1;34210:279:0;-1:-1:-1;;;;;34301:24:0;;2913:10;34301:24;34297:54;;;34334:17;;-1:-1:-1;;;34334:17:0;;;;;;;;;;;34297:54;2913:10;34364:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34364:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34364:53:0;;;;;;;;;;34433:48;;5599:41:1;;;34364:42:0;;2913:10;34433:48;;5572:18:1;34433:48:0;;;;;;;34210:279;;:::o;35288:342::-;35455:28;35465:4;35471:2;35475:7;35455:9;:28::i;:::-;35499:48;35522:4;35528:2;35532:7;35541:5;35499:22;:48::i;:::-;35494:129;;35571:40;;-1:-1:-1;;;35571:40:0;;;;;;;;;;;35494:129;35288:342;;;;:::o;32775:318::-;32848:13;32879:16;32887:7;32879;:16::i;:::-;32874:59;;32904:29;;-1:-1:-1;;;32904:29:0;;;;;;;;;;;32874:59;32946:21;32970:10;:8;:10::i;:::-;32946:34;;33004:7;32998:21;33023:1;32998:26;;:87;;;;;;;;;;;;;;;;;33051:7;33060:18;:7;:16;:18::i;:::-;33034:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;32998:87;32991:94;32775:318;-1:-1:-1;;;32775:318:0:o;47178:503::-;47249:6;;;;47248:7;47240:45;;;;-1:-1:-1;;;47240:45:0;;6484:2:1;47240:45:0;;;6466:21:1;6523:2;6503:18;;;6496:30;-1:-1:-1;;;6542:18:1;;;6535:55;6607:18;;47240:45:0;6282:349:1;47240:45:0;47314:1;47304:7;:11;47296:50;;;;-1:-1:-1;;;47296:50:0;;8690:2:1;47296:50:0;;;8672:21:1;8729:2;8709:18;;;8702:30;8768:28;8748:18;;;8741:56;8814:18;;47296:50:0;8488:350:1;47296:50:0;46388:5;47381:7;47365:13;:11;:13::i;:::-;:23;;;;:::i;:::-;:35;;47357:78;;;;-1:-1:-1;;;47357:78:0;;6838:2:1;47357:78:0;;;6820:21:1;6877:2;6857:18;;;6850:30;6916:32;6896:18;;;6889:60;6966:18;;47357:78:0;6636:354:1;47357:78:0;46553:1;47454:7;:29;;47446:74;;;;-1:-1:-1;;;47446:74:0;;7558:2:1;47446:74:0;;;7540:21:1;;;7577:18;;;7570:30;7636:34;7616:18;;;7609:62;7688:18;;47446:74:0;7356:356:1;47446:74:0;47562:19;;47552:29;;:7;:29;:::i;5016:201::-;4180:6;;-1:-1:-1;;;;;4180:6:0;2913:10;4327:23;4319:68;;;;-1:-1:-1;;;4319:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5105:22:0;::::1;5097:73;;;::::0;-1:-1:-1;;;5097:73:0;;6077:2:1;5097:73:0::1;::::0;::::1;6059:21:1::0;6116:2;6096:18;;;6089:30;6155:34;6135:18;;;6128:62;-1:-1:-1;;;6206:18:1;;;6199:36;6252:19;;5097:73:0::1;5875:402:1::0;5097:73:0::1;5181:28;5200:8;5181:18;:28::i;35885:144::-:0;35942:4;35976:13;;-1:-1:-1;;;;;35976:13:0;35966:23;;:55;;;;-1:-1:-1;;35994:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;35994:27:0;;;;35993:28;;35885:144::o;43101:196::-;43216:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;43216:29:0;-1:-1:-1;;;;;43216:29:0;;;;;;;;;43261:28;;43216:24;;43261:28;;;;;;;43101:196;;;:::o;38602:2112::-;38717:35;38755:20;38767:7;38755:11;:20::i;:::-;38830:18;;38717:58;;-1:-1:-1;38788:22:0;;-1:-1:-1;;;;;38814:34:0;2913:10;-1:-1:-1;;;;;38814:34:0;;:101;;;-1:-1:-1;38882:18:0;;38865:50;;2913:10;34560:164;:::i;38865:50::-;38814:154;;;-1:-1:-1;2913:10:0;38932:20;38944:7;38932:11;:20::i;:::-;-1:-1:-1;;;;;38932:36:0;;38814:154;38788:181;;38987:17;38982:66;;39013:35;;-1:-1:-1;;;39013:35:0;;;;;;;;;;;38982:66;39085:4;-1:-1:-1;;;;;39063:26:0;:13;:18;;;-1:-1:-1;;;;;39063:26:0;;39059:67;;39098:28;;-1:-1:-1;;;39098:28:0;;;;;;;;;;;39059:67;-1:-1:-1;;;;;39141:16:0;;39137:52;;39166:23;;-1:-1:-1;;;39166:23:0;;;;;;;;;;;39137:52;39310:49;39327:1;39331:7;39340:13;:18;;;39310:8;:49::i;:::-;-1:-1:-1;;;;;39655:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;39655:31:0;;;;;;;-1:-1:-1;;39655:31:0;;;;;;;39701:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;39701:29:0;;;;;;;;;;;39747:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;39792:61:0;;;;-1:-1:-1;;;39837:15:0;39792:61;;;;;;;;;;;40127:11;;;40157:24;;;;;:29;40127:11;;40157:29;40153:445;;40382:13;;-1:-1:-1;;;;;40382:13:0;40368:27;;40364:219;;;40452:18;;;40420:24;;;:11;:24;;;;;;;;:50;;40535:28;;;;40493:70;;-1:-1:-1;;;40493:70:0;-1:-1:-1;;;;;;40493:70:0;;;-1:-1:-1;;;;;40420:50:0;;;40493:70;;;;;;;40364:219;39630:979;40645:7;40641:2;-1:-1:-1;;;;;40626:27:0;40635:4;-1:-1:-1;;;;;40626:27:0;;;;;;;;;;;40664:42;38706:2008;;38602:2112;;;:::o;31095:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;31261:13:0;;31205:7;;-1:-1:-1;;;;;31261:13:0;31254:20;;31250:861;;;31295:31;31329:17;;;:11;:17;;;;;;;;;31295:51;;;;;;;;;-1:-1:-1;;;;;31295:51:0;;;;-1:-1:-1;;;31295:51:0;;;;;;;;;;;-1:-1:-1;;;31295:51:0;;;;;;;;;;;;;;31365:731;;31415:14;;-1:-1:-1;;;;;31415:28:0;;31411:101;;31479:9;31095:1083;-1:-1:-1;;;31095:1083:0:o;31411:101::-;-1:-1:-1;;;31856:6:0;31901:17;;;;:11;:17;;;;;;;;;31889:29;;;;;;;;;-1:-1:-1;;;;;31889:29:0;;;;;-1:-1:-1;;;31889:29:0;;;;;;;;;;;-1:-1:-1;;;31889:29:0;;;;;;;;;;;;;31949:28;31945:109;;32017:9;31095:1083;-1:-1:-1;;;31095:1083:0:o;31945:109::-;31816:261;;;31276:835;31250:861;32139:31;;-1:-1:-1;;;32139:31:0;;;;;;;;;;;5377:191;5470:6;;;-1:-1:-1;;;;;5487:17:0;;;-1:-1:-1;;;;;;5487:17:0;;;;;;;5520:40;;5470:6;;;5487:17;5470:6;;5520:40;;5451:16;;5520:40;5440:128;5377:191;:::o;36037:104::-;36106:27;36116:2;36120:8;36106:27;;;;;;;;;;;;:9;:27::i;:::-;36037:104;;:::o;43862:790::-;44017:4;-1:-1:-1;;;;;44038:13:0;;7103:19;:23;44034:611;;44074:72;;-1:-1:-1;;;44074:72:0;;-1:-1:-1;;;;;44074:36:0;;;;;:72;;2913:10;;44125:4;;44131:7;;44140:5;;44074:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44074:72:0;;;;;;;;-1:-1:-1;;44074:72:0;;;;;;;;;;;;:::i;:::-;;;44070:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44320:13:0;;44316:259;;44370:40;;-1:-1:-1;;;44370:40:0;;;;;;;;;;;44316:259;44525:6;44519:13;44510:6;44506:2;44502:15;44495:38;44070:520;-1:-1:-1;;;;;;44197:55:0;-1:-1:-1;;;44197:55:0;;-1:-1:-1;44190:62:0;;44034:611;-1:-1:-1;44629:4:0;44034:611;43862:790;;;;;;:::o;48111:100::-;48163:13;48196:7;48189:14;;;;;:::i;395:723::-;451:13;672:10;668:53;;-1:-1:-1;;699:10:0;;;;;;;;;;;;-1:-1:-1;;;699:10:0;;;;;395:723::o;668:53::-;746:5;731:12;787:78;794:9;;787:78;;820:8;;;;:::i;:::-;;-1:-1:-1;843:10:0;;-1:-1:-1;851:2:0;843:10;;:::i;:::-;;;787:78;;;875:19;907:6;897:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;897:17:0;;875:39;;925:154;932:10;;925:154;;959:11;969:1;959:11;;:::i;:::-;;-1:-1:-1;1028:10:0;1036:2;1028:5;:10;:::i;:::-;1015:24;;:2;:24;:::i;:::-;1002:39;;985:6;992;985:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;985:56:0;;;;;;;;-1:-1:-1;1056:11:0;1065:2;1056:11;;:::i;:::-;;;925:154;;36504:163;36627:32;36633:2;36637:8;36647:5;36654:4;37065:20;37088:13;-1:-1:-1;;;;;37088:13:0;-1:-1:-1;;;;;37116:16:0;;37112:48;;37141:19;;-1:-1:-1;;;37141:19:0;;;;;;;;;;;37112:48;37175:13;37171:44;;37197:18;;-1:-1:-1;;;37197:18:0;;;;;;;;;;;37171:44;-1:-1:-1;;;;;37567:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;;;;;37626:49:0;;37567:44;;;;;;;;37626:49;;;;-1:-1:-1;;37567:44:0;;;;;;37626:49;;;;;;;;;;;;;;;;37692:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;37742:66:0;;;;-1:-1:-1;;;37792:15:0;37742:66;;;;;;;;;;;37692:25;;37877:328;37897:8;37893:1;:12;37877:328;;;37936:38;;37961:12;;-1:-1:-1;;;;;37936:38:0;;;37953:1;;37936:38;;37953:1;;37936:38;37997:4;:68;;;;;38006:59;38037:1;38041:2;38045:12;38059:5;38006:22;:59::i;:::-;38005:60;37997:68;37993:164;;;38097:40;;-1:-1:-1;;;38097:40:0;;;;;;;;;;;37993:164;38175:14;;;;;37907:3;37877:328;;;-1:-1:-1;38221:13:0;:37;;-1:-1:-1;;;;;;38221:37:0;-1:-1:-1;;;;;38221:37:0;;;;;;;;;;38280:60;35288:342;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:592::-;3310:6;3318;3371:2;3359:9;3350:7;3346:23;3342:32;3339:52;;;3387:1;3384;3377:12;3339:52;3427:9;3414:23;3456:18;3497:2;3489:6;3486:14;3483:34;;;3513:1;3510;3503:12;3483:34;3551:6;3540:9;3536:22;3526:32;;3596:7;3589:4;3585:2;3581:13;3577:27;3567:55;;3618:1;3615;3608:12;3567:55;3658:2;3645:16;3684:2;3676:6;3673:14;3670:34;;;3700:1;3697;3690:12;3670:34;3745:7;3740:2;3731:6;3727:2;3723:15;3719:24;3716:37;3713:57;;;3766:1;3763;3756:12;3713:57;3797:2;3789:11;;;;;3819:6;;-1:-1:-1;3239:592:1;;-1:-1:-1;;;;3239:592:1:o;3836:180::-;3895:6;3948:2;3936:9;3927:7;3923:23;3919:32;3916:52;;;3964:1;3961;3954:12;3916:52;-1:-1:-1;3987:23:1;;3836:180;-1:-1:-1;3836:180:1:o;4021:257::-;4062:3;4100:5;4094:12;4127:6;4122:3;4115:19;4143:63;4199:6;4192:4;4187:3;4183:14;4176:4;4169:5;4165:16;4143:63;:::i;:::-;4260:2;4239:15;-1:-1:-1;;4235:29:1;4226:39;;;;4267:4;4222:50;;4021:257;-1:-1:-1;;4021:257:1:o;4283:470::-;4462:3;4500:6;4494:13;4516:53;4562:6;4557:3;4550:4;4542:6;4538:17;4516:53;:::i;:::-;4632:13;;4591:16;;;;4654:57;4632:13;4591:16;4688:4;4676:17;;4654:57;:::i;:::-;4727:20;;4283:470;-1:-1:-1;;;;4283:470:1:o;4966:488::-;-1:-1:-1;;;;;5235:15:1;;;5217:34;;5287:15;;5282:2;5267:18;;5260:43;5334:2;5319:18;;5312:34;;;5382:3;5377:2;5362:18;;5355:31;;;5160:4;;5403:45;;5428:19;;5420:6;5403:45;:::i;:::-;5395:53;4966:488;-1:-1:-1;;;;;;4966:488:1:o;5651:219::-;5800:2;5789:9;5782:21;5763:4;5820:44;5860:2;5849:9;5845:18;5837:6;5820:44;:::i;6995:356::-;7197:2;7179:21;;;7216:18;;;7209:30;7275:34;7270:2;7255:18;;7248:62;7342:2;7327:18;;6995:356::o;9025:128::-;9065:3;9096:1;9092:6;9089:1;9086:13;9083:39;;;9102:18;;:::i;:::-;-1:-1:-1;9138:9:1;;9025:128::o;9158:120::-;9198:1;9224;9214:35;;9229:18;;:::i;:::-;-1:-1:-1;9263:9:1;;9158:120::o;9283:168::-;9323:7;9389:1;9385;9381:6;9377:14;9374:1;9371:21;9366:1;9359:9;9352:17;9348:45;9345:71;;;9396:18;;:::i;:::-;-1:-1:-1;9436:9:1;;9283:168::o;9456:125::-;9496:4;9524:1;9521;9518:8;9515:34;;;9529:18;;:::i;:::-;-1:-1:-1;9566:9:1;;9456:125::o;9586:258::-;9658:1;9668:113;9682:6;9679:1;9676:13;9668:113;;;9758:11;;;9752:18;9739:11;;;9732:39;9704:2;9697:10;9668:113;;;9799:6;9796:1;9793:13;9790:48;;;-1:-1:-1;;9834:1:1;9816:16;;9809:27;9586:258::o;9849:380::-;9928:1;9924:12;;;;9971;;;9992:61;;10046:4;10038:6;10034:17;10024:27;;9992:61;10099:2;10091:6;10088:14;10068:18;10065:38;10062:161;;;10145:10;10140:3;10136:20;10133:1;10126:31;10180:4;10177:1;10170:15;10208:4;10205:1;10198:15;10062:161;;9849:380;;;:::o;10234:135::-;10273:3;-1:-1:-1;;10294:17:1;;10291:43;;;10314:18;;:::i;:::-;-1:-1:-1;10361:1:1;10350:13;;10234:135::o;10374:112::-;10406:1;10432;10422:35;;10437:18;;:::i;:::-;-1:-1:-1;10471:9:1;;10374:112::o;10491:127::-;10552:10;10547:3;10543:20;10540:1;10533:31;10583:4;10580:1;10573:15;10607:4;10604:1;10597:15;10623:127;10684:10;10679:3;10675:20;10672:1;10665:31;10715:4;10712:1;10705:15;10739:4;10736:1;10729:15;10755:127;10816:10;10811:3;10807:20;10804:1;10797:31;10847:4;10844:1;10837:15;10871:4;10868:1;10861:15;10887:127;10948:10;10943:3;10939:20;10936:1;10929:31;10979:4;10976:1;10969:15;11003:4;11000:1;10993:15;11019:131;-1:-1:-1;;;;;;11093:32:1;;11083:43;;11073:71;;11140:1;11137;11130:12

Swarm Source

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