ETH Price: $3,486.28 (-0.14%)

Token

Mythological Madness (MMAD)
 

Overview

Max Total Supply

3,333 MMAD

Holders

1,493

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
grimreaper67.eth
Balance
2 MMAD
0x3f514f26bce0929619236fca44dab5bde5ce86cb
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:
MythologicalMadness

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);

    // ==============================
    //        IERC721Metadata
    // ==============================

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

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

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

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count. 
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev 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 Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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, _toString(tokenId))) : '';
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0)
            if (!_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 && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            if (to.code.length != 0) {
                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 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) 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                getApproved(tokenId) == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

    /**
     * @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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

// File: contracts/MythologicalMadness.sol


pragma solidity ^0.8.4;





contract MythologicalMadness is ERC721A, Ownable, ReentrancyGuard {
    uint256 public maxPerWallet = 2;
    uint256 public maxPerWalletWL = 2;
    uint256 public maxSupply = 5555;
    uint256 public freeSupply = 3300;
    uint256 public wlSupply = 3300;
    uint256 public price = 0.0069 ether;
    uint256 public wlPrice = 0 ether;
    
    bool public isPaused = true;
    bool public isPublicSale = false;

    mapping(address => uint256) private whiteListMinted;

    string public baseURI = "ipfs://QmaW4m2BcQpKSuh4AXTENYd8oGbapsSB5g9QmzWbA2w1eU/";

    bytes32 public merkleRoot = 0xd393e9572ddf835406f08de333c015f863dfb6d64b37007b72cfcbbbf561bbcd;

    constructor() ERC721A("Mythological Madness", "MMAD") {}

    function mintWhitelist(uint256 quantity, bytes32[] calldata merkleProof) public payable nonReentrant {
        require(!isPaused, "Sales are off");
        require(!isPublicSale, "It's Public Sale now - you had your chance.");
        require(MerkleProof.verify(merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "You are not Whitelisted");
        require(quantity + numberMinted(msg.sender) <= maxPerWalletWL, "Exceeded the WL wallet limit");
        
        require(totalSupply() + quantity <= wlSupply, "Not enough tokens left");

        whiteListMinted[msg.sender] += quantity;

        internalMint(quantity, wlPrice);
    }

    function mint(uint256 quantity) external payable nonReentrant {
        
        require(!isPaused, "Sales are off");
        require(isPublicSale, "Public Sale is not open yet");
        
        //this way WL can mint again
        require(quantity + numberMinted(msg.sender) - whiteListMinted[msg.sender] <= maxPerWallet, "Exceeded the wallet limit");
       
        internalMint(quantity, price);
    }

    function internalMint(uint256 quantity, uint256 mintPrice) internal {
        
        require(quantity > 0, "Wrong quantity");
        require(totalSupply() + quantity <= maxSupply, "Not enough tokens left");
        require(tx.origin == msg.sender,"Contracts forbidden from minting!");

        //first 'freeSupply' is free, then paid
        require(
            msg.value >= getPrice(quantity, mintPrice),
            "Insufficient Fund."
        );
        
        _safeMint(msg.sender, quantity);
    }


    function getPrice(uint256 _count, uint256 mintPrice) internal view returns (uint256) {
        
        if(_totalMinted() > freeSupply){
            return mintPrice * _count;
        }

        uint256 endingTokenId = _totalMinted() + _count;
        // If qty to mint results in a final token ID less than or equal to the cap then
        // the entire qty is within free mint.
        if(endingTokenId  <= freeSupply) {
            return 0;
        }
        
        uint256 outsideIncentiveCount = endingTokenId - freeSupply;

        return 0 + mintPrice * outsideIncentiveCount;
    }

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

    function whitelistMintedNumber(address owner) public view returns (uint256) {
        return whiteListMinted[owner];
    }

    function setPause(bool value) external onlyOwner {
		  isPaused = value;
	  }

    function setPublic(bool value) external onlyOwner {
		  isPublicSale = value;
	  }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    // ERC721A overrides
    // ERC721A starts counting tokenIds from 0, this contract starts from 1
    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }

    function withdraw() external onlyOwner {
		uint balance = address(this).balance;
		require(balance > 0, "Nothing to Withdraw");
        payable(owner()).transfer(balance);
    }

    function withdrawTo(address to) external onlyOwner {
		uint balance = address(this).balance;
		require(balance > 0, "Nothing to Withdraw");
        payable(to).transfer(balance);
    }

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

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

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

    function setMaxPerWalleet(uint256 _maxPerWallet) public onlyOwner {
        maxPerWallet = _maxPerWallet;
    }

    function setMaxPerWalletWL(uint256 _maxPerWalletWL) public onlyOwner {
        maxPerWalletWL = _maxPerWalletWL;
    }

    function setFreeSupply(uint256 _freeSupply) public onlyOwner {
        freeSupply = _freeSupply;
    }

    function setWlSupply(uint256 _wlSupply) public onlyOwner {
        wlSupply = _wlSupply;
    }

    function devMint(uint256 quantity) external onlyOwner {
        require(totalSupply() + quantity <= maxSupply, "Max supply exceeded!");
        _safeMint(msg.sender, quantity);
    }

    function cutSupply(uint256 _maxSupply) external onlyOwner {
		require(_maxSupply < maxSupply , "no jokes here");
        maxSupply = _maxSupply;
	}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"cutSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeSupply","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":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"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":"newuri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeSupply","type":"uint256"}],"name":"setFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWalleet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWalletWL","type":"uint256"}],"name":"setMaxPerWalletWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlSupply","type":"uint256"}],"name":"setWlSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"whitelistMintedNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6002600a819055600b556115b3600c55610ce4600d819055600e556618838370f34000600f5560006010556011805461ffff1916600117905560e060405260366080818152906200265a60a039805162000062916013916020909101906200017c565b507fd393e9572ddf835406f08de333c015f863dfb6d64b37007b72cfcbbbf561bbcd6014553480156200009457600080fd5b50604080518082018252601481527f4d7974686f6c6f676963616c204d61646e6573730000000000000000000000006020808301918252835180850190945260048452631353505160e21b908401528151919291620000f6916002916200017c565b5080516200010c9060039060208401906200017c565b50506001600055506200011f336200012a565b60016009556200025f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018a9062000222565b90600052602060002090601f016020900481019282620001ae5760008555620001f9565b82601f10620001c957805160ff1916838001178555620001f9565b82800160010185558215620001f9579182015b82811115620001f9578251825591602001919060010190620001dc565b50620002079291506200020b565b5090565b5b808211156200020757600081556001016200020c565b600181811c908216806200023757607f821691505b602082108114156200025957634e487b7160e01b600052602260045260246000fd5b50919050565b6123eb806200026f6000396000f3fe6080604052600436106102725760003560e01c806372b0d90c1161014f578063bedb86fb116100c1578063dc33e6811161007a578063dc33e6811461070b578063e985e9c51461072b578063f1b0287a1461074b578063f2fde38b1461076b578063f4c445691461078b578063f676308a146107ab57600080fd5b8063bedb86fb14610649578063c1612d4114610669578063c5e4914714610689578063c7f8d01a146106bf578063c87b56dd146106d5578063d5abeb01146106f557600080fd5b8063a035b1fe11610113578063a035b1fe146105a7578063a0712d68146105bd578063a22cb465146105d0578063a5a865dc146105f0578063b187bd261461060f578063b88d4fde1461062957600080fd5b806372b0d90c146105145780637cb64759146105345780638da5cb5b1461055457806391b7f5ed1461057257806395d89b411461059257600080fd5b8063375a069a116101e857806355f804b3116101ac57806355f804b31461046a5780635cbcec4e1461048a5780636352211e146104aa5780636c0360eb146104ca57806370a08231146104df578063715018a6146104ff57600080fd5b8063375a069a146103df5780633abe82ee146103ff5780633ccfd60b1461041f57806342842e0e14610434578063453c23101461045457600080fd5b80630fe8418b1161023a5780630fe8418b1461033b57806318160ddd1461035f57806323b872dd1461037d57806324a6ab0c1461039d57806325ee97e3146103b35780632eb4a7ab146103c957600080fd5b806301ffc9a714610277578063061431a8146102ac57806306fdde03146102c1578063081812fc146102e3578063095ea7b31461031b575b600080fd5b34801561028357600080fd5b506102976102923660046120ab565b6107cb565b60405190151581526020015b60405180910390f35b6102bf6102ba36600461212e565b61081d565b005b3480156102cd57600080fd5b506102d6610af0565b6040516102a39190612245565b3480156102ef57600080fd5b506103036102fe366004612092565b610b82565b6040516001600160a01b0390911681526020016102a3565b34801561032757600080fd5b506102bf61033636600461204d565b610bc6565b34801561034757600080fd5b50610351600e5481565b6040519081526020016102a3565b34801561036b57600080fd5b50610351600154600054036000190190565b34801561038957600080fd5b506102bf610398366004611f6b565b610c99565b3480156103a957600080fd5b50610351600d5481565b3480156103bf57600080fd5b50610351600b5481565b3480156103d557600080fd5b5061035160145481565b3480156103eb57600080fd5b506102bf6103fa366004612092565b610ca9565b34801561040b57600080fd5b506102bf61041a366004612092565b610d44565b34801561042b57600080fd5b506102bf610d73565b34801561044057600080fd5b506102bf61044f366004611f6b565b610e1f565b34801561046057600080fd5b50610351600a5481565b34801561047657600080fd5b506102bf6104853660046120e5565b610e3a565b34801561049657600080fd5b506102bf6104a5366004612077565b610e77565b3480156104b657600080fd5b506103036104c5366004612092565b610ebb565b3480156104d657600080fd5b506102d6610ec6565b3480156104eb57600080fd5b506103516104fa366004611f1d565b610f54565b34801561050b57600080fd5b506102bf610fa3565b34801561052057600080fd5b506102bf61052f366004611f1d565b610fd9565b34801561054057600080fd5b506102bf61054f366004612092565b61107d565b34801561056057600080fd5b506008546001600160a01b0316610303565b34801561057e57600080fd5b506102bf61058d366004612092565b6110ac565b34801561059e57600080fd5b506102d66110db565b3480156105b357600080fd5b50610351600f5481565b6102bf6105cb366004612092565b6110ea565b3480156105dc57600080fd5b506102bf6105eb366004612023565b61126f565b3480156105fc57600080fd5b5060115461029790610100900460ff1681565b34801561061b57600080fd5b506011546102979060ff1681565b34801561063557600080fd5b506102bf610644366004611fa7565b611305565b34801561065557600080fd5b506102bf610664366004612077565b61134f565b34801561067557600080fd5b506102bf610684366004612092565b61138c565b34801561069557600080fd5b506103516106a4366004611f1d565b6001600160a01b031660009081526012602052604090205490565b3480156106cb57600080fd5b5061035160105481565b3480156106e157600080fd5b506102d66106f0366004612092565b6113bb565b34801561070157600080fd5b50610351600c5481565b34801561071757600080fd5b50610351610726366004611f1d565b611440565b34801561073757600080fd5b50610297610746366004611f38565b61146b565b34801561075757600080fd5b506102bf610766366004612092565b611499565b34801561077757600080fd5b506102bf610786366004611f1d565b6114c8565b34801561079757600080fd5b506102bf6107a6366004612092565b611560565b3480156107b757600080fd5b506102bf6107c6366004612092565b6115d0565b60006301ffc9a760e01b6001600160e01b0319831614806107fc57506380ac58cd60e01b6001600160e01b03198316145b806108175750635b5e139f60e01b6001600160e01b03198316145b92915050565b600260095414156108755760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560115460ff16156108bd5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b604482015260640161086c565b601154610100900460ff16156109295760405162461bcd60e51b815260206004820152602b60248201527f49742773205075626c69632053616c65206e6f77202d20796f7520686164207960448201526a37bab91031b430b731b29760a91b606482015260840161086c565b61099e828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206115ff565b6109ea5760405162461bcd60e51b815260206004820152601760248201527f596f7520617265206e6f742057686974656c6973746564000000000000000000604482015260640161086c565b600b546109f633611440565b610a00908561228d565b1115610a4e5760405162461bcd60e51b815260206004820152601c60248201527f45786365656465642074686520574c2077616c6c6574206c696d697400000000604482015260640161086c565b600e5483610a63600154600054036000190190565b610a6d919061228d565b1115610ab45760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161086c565b3360009081526012602052604081208054859290610ad390849061228d565b92505081905550610ae683601054611615565b5050600160095550565b606060028054610aff90612307565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2b90612307565b8015610b785780601f10610b4d57610100808354040283529160200191610b78565b820191906000526020600020905b815481529060010190602001808311610b5b57829003601f168201915b5050505050905090565b6000610b8d8261176d565b610baa576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610bd1826117a2565b9050806001600160a01b0316836001600160a01b03161415610c065760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610c3d57610c20813361146b565b610c3d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610ca483838361180b565b505050565b6008546001600160a01b03163314610cd35760405162461bcd60e51b815260040161086c90612258565b600c5481610ce8600154600054036000190190565b610cf2919061228d565b1115610d375760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161086c565b610d4133826119ae565b50565b6008546001600160a01b03163314610d6e5760405162461bcd60e51b815260040161086c90612258565b600e55565b6008546001600160a01b03163314610d9d5760405162461bcd60e51b815260040161086c90612258565b4780610de15760405162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20576974686472617760681b604482015260640161086c565b6008546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610e1b573d6000803e3d6000fd5b5050565b610ca483838360405180602001604052806000815250611305565b6008546001600160a01b03163314610e645760405162461bcd60e51b815260040161086c90612258565b8051610e1b906013906020840190611de2565b6008546001600160a01b03163314610ea15760405162461bcd60e51b815260040161086c90612258565b601180549115156101000261ff0019909216919091179055565b6000610817826117a2565b60138054610ed390612307565b80601f0160208091040260200160405190810160405280929190818152602001828054610eff90612307565b8015610f4c5780601f10610f2157610100808354040283529160200191610f4c565b820191906000526020600020905b815481529060010190602001808311610f2f57829003601f168201915b505050505081565b60006001600160a01b038216610f7d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610fcd5760405162461bcd60e51b815260040161086c90612258565b610fd760006119c8565b565b6008546001600160a01b031633146110035760405162461bcd60e51b815260040161086c90612258565b47806110475760405162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20576974686472617760681b604482015260640161086c565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610ca4573d6000803e3d6000fd5b6008546001600160a01b031633146110a75760405162461bcd60e51b815260040161086c90612258565b601455565b6008546001600160a01b031633146110d65760405162461bcd60e51b815260040161086c90612258565b600f55565b606060038054610aff90612307565b6002600954141561113d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086c565b600260095560115460ff16156111855760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b604482015260640161086c565b601154610100900460ff166111dc5760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632053616c65206973206e6f74206f70656e207965740000000000604482015260640161086c565b600a5433600081815260126020526040902054906111f990611440565b611203908461228d565b61120d91906122c4565b111561125b5760405162461bcd60e51b815260206004820152601960248201527f4578636565646564207468652077616c6c6574206c696d697400000000000000604482015260640161086c565b61126781600f54611615565b506001600955565b6001600160a01b0382163314156112995760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61131084848461180b565b6001600160a01b0383163b156113495761132c84848484611a1a565b611349576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146113795760405162461bcd60e51b815260040161086c90612258565b6011805460ff1916911515919091179055565b6008546001600160a01b031633146113b65760405162461bcd60e51b815260040161086c90612258565b600b55565b60606113c68261176d565b6113e357604051630a14c4b560e41b815260040160405180910390fd5b60006113ed611b12565b905080516000141561140e5760405180602001604052806000815250611439565b8061141884611b21565b6040516020016114299291906121d9565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610817565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146114c35760405162461bcd60e51b815260040161086c90612258565b600a55565b6008546001600160a01b031633146114f25760405162461bcd60e51b815260040161086c90612258565b6001600160a01b0381166115575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161086c565b610d41816119c8565b6008546001600160a01b0316331461158a5760405162461bcd60e51b815260040161086c90612258565b600c5481106115cb5760405162461bcd60e51b815260206004820152600d60248201526c6e6f206a6f6b6573206865726560981b604482015260640161086c565b600c55565b6008546001600160a01b031633146115fa5760405162461bcd60e51b815260040161086c90612258565b600d55565b60008261160c8584611b70565b14949350505050565b600082116116565760405162461bcd60e51b815260206004820152600e60248201526d57726f6e67207175616e7469747960901b604482015260640161086c565b600c548261166b600154600054036000190190565b611675919061228d565b11156116bc5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161086c565b3233146117155760405162461bcd60e51b815260206004820152602160248201527f436f6e74726163747320666f7262696464656e2066726f6d206d696e74696e676044820152602160f81b606482015260840161086c565b61171f8282611bbd565b3410156117635760405162461bcd60e51b815260206004820152601260248201527124b739bab33334b1b4b2b73a10233ab7321760711b604482015260640161086c565b610e1b33836119ae565b600081600111158015611781575060005482105b8015610817575050600090815260046020526040902054600160e01b161590565b600081806001116117f2576000548110156117f257600081815260046020526040902054600160e01b81166117f0575b806114395750600019016000818152600460205260409020546117d2565b505b604051636f96cda160e11b815260040160405180910390fd5b6000611816826117a2565b9050836001600160a01b0316816001600160a01b0316146118495760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806118675750611867853361146b565b8061188257503361187784610b82565b6001600160a01b0316145b9050806118a257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166118c957604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661196657600183016000818152600460205260409020546119645760005481146119645760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b610e1b828260405180602001604052806000815250611c45565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a4f903390899088908890600401612208565b602060405180830381600087803b158015611a6957600080fd5b505af1925050508015611a99575060408051601f3d908101601f19168201909252611a96918101906120c8565b60015b611af4573d808015611ac7576040519150601f19603f3d011682016040523d82523d6000602084013e611acc565b606091505b508051611aec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060138054610aff90612307565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611b5e57600183039250600a81066030018353600a9004611b40565b50819003601f19909101908152919050565b600081815b8451811015611bb557611ba182868381518110611b9457611b94612373565b6020026020010151611db6565b915080611bad81612342565b915050611b75565b509392505050565b6000600d54611bcf6000546000190190565b1115611be657611bdf83836122a5565b9050610817565b600083611bf66000546000190190565b611c00919061228d565b9050600d548111611c15576000915050610817565b6000600d5482611c2591906122c4565b9050611c3181856122a5565b611c3c90600061228d565b95945050505050565b6000546001600160a01b038416611c6e57604051622e076360e81b815260040160405180910390fd5b82611c8c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611d61575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d2a6000878480600101955087611a1a565b611d47576040516368d2bf6b60e11b815260040160405180910390fd5b808210611cdf578260005414611d5c57600080fd5b611da6565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611d62575b5060009081556113499085838684565b6000818310611dd2576000828152602084905260409020611439565b5060009182526020526040902090565b828054611dee90612307565b90600052602060002090601f016020900481019282611e105760008555611e56565b82601f10611e2957805160ff1916838001178555611e56565b82800160010185558215611e56579182015b82811115611e56578251825591602001919060010190611e3b565b50611e62929150611e66565b5090565b5b80821115611e625760008155600101611e67565b600067ffffffffffffffff80841115611e9657611e96612389565b604051601f8501601f19908116603f01168101908282118183101715611ebe57611ebe612389565b81604052809350858152868686011115611ed757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611f0857600080fd5b919050565b80358015158114611f0857600080fd5b600060208284031215611f2f57600080fd5b61143982611ef1565b60008060408385031215611f4b57600080fd5b611f5483611ef1565b9150611f6260208401611ef1565b90509250929050565b600080600060608486031215611f8057600080fd5b611f8984611ef1565b9250611f9760208501611ef1565b9150604084013590509250925092565b60008060008060808587031215611fbd57600080fd5b611fc685611ef1565b9350611fd460208601611ef1565b925060408501359150606085013567ffffffffffffffff811115611ff757600080fd5b8501601f8101871361200857600080fd5b61201787823560208401611e7b565b91505092959194509250565b6000806040838503121561203657600080fd5b61203f83611ef1565b9150611f6260208401611f0d565b6000806040838503121561206057600080fd5b61206983611ef1565b946020939093013593505050565b60006020828403121561208957600080fd5b61143982611f0d565b6000602082840312156120a457600080fd5b5035919050565b6000602082840312156120bd57600080fd5b81356114398161239f565b6000602082840312156120da57600080fd5b81516114398161239f565b6000602082840312156120f757600080fd5b813567ffffffffffffffff81111561210e57600080fd5b8201601f8101841361211f57600080fd5b611b0a84823560208401611e7b565b60008060006040848603121561214357600080fd5b83359250602084013567ffffffffffffffff8082111561216257600080fd5b818601915086601f83011261217657600080fd5b81358181111561218557600080fd5b8760208260051b850101111561219a57600080fd5b6020830194508093505050509250925092565b600081518084526121c58160208601602086016122db565b601f01601f19169290920160200192915050565b600083516121eb8184602088016122db565b8351908301906121ff8183602088016122db565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061223b908301846121ad565b9695505050505050565b60208152600061143960208301846121ad565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156122a0576122a061235d565b500190565b60008160001904831182151516156122bf576122bf61235d565b500290565b6000828210156122d6576122d661235d565b500390565b60005b838110156122f65781810151838201526020016122de565b838111156113495750506000910152565b600181811c9082168061231b57607f821691505b6020821081141561233c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123565761235661235d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d4157600080fdfea264697066735822122059c7469116b49da3f0e52af6a2233d2c565d524f1783165d2e988128da69e8b964736f6c63430008070033697066733a2f2f516d6157346d32426351704b53756834415854454e5964386f47626170735342356739516d7a57624132773165552f

Deployed Bytecode

0x6080604052600436106102725760003560e01c806372b0d90c1161014f578063bedb86fb116100c1578063dc33e6811161007a578063dc33e6811461070b578063e985e9c51461072b578063f1b0287a1461074b578063f2fde38b1461076b578063f4c445691461078b578063f676308a146107ab57600080fd5b8063bedb86fb14610649578063c1612d4114610669578063c5e4914714610689578063c7f8d01a146106bf578063c87b56dd146106d5578063d5abeb01146106f557600080fd5b8063a035b1fe11610113578063a035b1fe146105a7578063a0712d68146105bd578063a22cb465146105d0578063a5a865dc146105f0578063b187bd261461060f578063b88d4fde1461062957600080fd5b806372b0d90c146105145780637cb64759146105345780638da5cb5b1461055457806391b7f5ed1461057257806395d89b411461059257600080fd5b8063375a069a116101e857806355f804b3116101ac57806355f804b31461046a5780635cbcec4e1461048a5780636352211e146104aa5780636c0360eb146104ca57806370a08231146104df578063715018a6146104ff57600080fd5b8063375a069a146103df5780633abe82ee146103ff5780633ccfd60b1461041f57806342842e0e14610434578063453c23101461045457600080fd5b80630fe8418b1161023a5780630fe8418b1461033b57806318160ddd1461035f57806323b872dd1461037d57806324a6ab0c1461039d57806325ee97e3146103b35780632eb4a7ab146103c957600080fd5b806301ffc9a714610277578063061431a8146102ac57806306fdde03146102c1578063081812fc146102e3578063095ea7b31461031b575b600080fd5b34801561028357600080fd5b506102976102923660046120ab565b6107cb565b60405190151581526020015b60405180910390f35b6102bf6102ba36600461212e565b61081d565b005b3480156102cd57600080fd5b506102d6610af0565b6040516102a39190612245565b3480156102ef57600080fd5b506103036102fe366004612092565b610b82565b6040516001600160a01b0390911681526020016102a3565b34801561032757600080fd5b506102bf61033636600461204d565b610bc6565b34801561034757600080fd5b50610351600e5481565b6040519081526020016102a3565b34801561036b57600080fd5b50610351600154600054036000190190565b34801561038957600080fd5b506102bf610398366004611f6b565b610c99565b3480156103a957600080fd5b50610351600d5481565b3480156103bf57600080fd5b50610351600b5481565b3480156103d557600080fd5b5061035160145481565b3480156103eb57600080fd5b506102bf6103fa366004612092565b610ca9565b34801561040b57600080fd5b506102bf61041a366004612092565b610d44565b34801561042b57600080fd5b506102bf610d73565b34801561044057600080fd5b506102bf61044f366004611f6b565b610e1f565b34801561046057600080fd5b50610351600a5481565b34801561047657600080fd5b506102bf6104853660046120e5565b610e3a565b34801561049657600080fd5b506102bf6104a5366004612077565b610e77565b3480156104b657600080fd5b506103036104c5366004612092565b610ebb565b3480156104d657600080fd5b506102d6610ec6565b3480156104eb57600080fd5b506103516104fa366004611f1d565b610f54565b34801561050b57600080fd5b506102bf610fa3565b34801561052057600080fd5b506102bf61052f366004611f1d565b610fd9565b34801561054057600080fd5b506102bf61054f366004612092565b61107d565b34801561056057600080fd5b506008546001600160a01b0316610303565b34801561057e57600080fd5b506102bf61058d366004612092565b6110ac565b34801561059e57600080fd5b506102d66110db565b3480156105b357600080fd5b50610351600f5481565b6102bf6105cb366004612092565b6110ea565b3480156105dc57600080fd5b506102bf6105eb366004612023565b61126f565b3480156105fc57600080fd5b5060115461029790610100900460ff1681565b34801561061b57600080fd5b506011546102979060ff1681565b34801561063557600080fd5b506102bf610644366004611fa7565b611305565b34801561065557600080fd5b506102bf610664366004612077565b61134f565b34801561067557600080fd5b506102bf610684366004612092565b61138c565b34801561069557600080fd5b506103516106a4366004611f1d565b6001600160a01b031660009081526012602052604090205490565b3480156106cb57600080fd5b5061035160105481565b3480156106e157600080fd5b506102d66106f0366004612092565b6113bb565b34801561070157600080fd5b50610351600c5481565b34801561071757600080fd5b50610351610726366004611f1d565b611440565b34801561073757600080fd5b50610297610746366004611f38565b61146b565b34801561075757600080fd5b506102bf610766366004612092565b611499565b34801561077757600080fd5b506102bf610786366004611f1d565b6114c8565b34801561079757600080fd5b506102bf6107a6366004612092565b611560565b3480156107b757600080fd5b506102bf6107c6366004612092565b6115d0565b60006301ffc9a760e01b6001600160e01b0319831614806107fc57506380ac58cd60e01b6001600160e01b03198316145b806108175750635b5e139f60e01b6001600160e01b03198316145b92915050565b600260095414156108755760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560115460ff16156108bd5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b604482015260640161086c565b601154610100900460ff16156109295760405162461bcd60e51b815260206004820152602b60248201527f49742773205075626c69632053616c65206e6f77202d20796f7520686164207960448201526a37bab91031b430b731b29760a91b606482015260840161086c565b61099e828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206115ff565b6109ea5760405162461bcd60e51b815260206004820152601760248201527f596f7520617265206e6f742057686974656c6973746564000000000000000000604482015260640161086c565b600b546109f633611440565b610a00908561228d565b1115610a4e5760405162461bcd60e51b815260206004820152601c60248201527f45786365656465642074686520574c2077616c6c6574206c696d697400000000604482015260640161086c565b600e5483610a63600154600054036000190190565b610a6d919061228d565b1115610ab45760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161086c565b3360009081526012602052604081208054859290610ad390849061228d565b92505081905550610ae683601054611615565b5050600160095550565b606060028054610aff90612307565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2b90612307565b8015610b785780601f10610b4d57610100808354040283529160200191610b78565b820191906000526020600020905b815481529060010190602001808311610b5b57829003601f168201915b5050505050905090565b6000610b8d8261176d565b610baa576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610bd1826117a2565b9050806001600160a01b0316836001600160a01b03161415610c065760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610c3d57610c20813361146b565b610c3d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610ca483838361180b565b505050565b6008546001600160a01b03163314610cd35760405162461bcd60e51b815260040161086c90612258565b600c5481610ce8600154600054036000190190565b610cf2919061228d565b1115610d375760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161086c565b610d4133826119ae565b50565b6008546001600160a01b03163314610d6e5760405162461bcd60e51b815260040161086c90612258565b600e55565b6008546001600160a01b03163314610d9d5760405162461bcd60e51b815260040161086c90612258565b4780610de15760405162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20576974686472617760681b604482015260640161086c565b6008546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610e1b573d6000803e3d6000fd5b5050565b610ca483838360405180602001604052806000815250611305565b6008546001600160a01b03163314610e645760405162461bcd60e51b815260040161086c90612258565b8051610e1b906013906020840190611de2565b6008546001600160a01b03163314610ea15760405162461bcd60e51b815260040161086c90612258565b601180549115156101000261ff0019909216919091179055565b6000610817826117a2565b60138054610ed390612307565b80601f0160208091040260200160405190810160405280929190818152602001828054610eff90612307565b8015610f4c5780601f10610f2157610100808354040283529160200191610f4c565b820191906000526020600020905b815481529060010190602001808311610f2f57829003601f168201915b505050505081565b60006001600160a01b038216610f7d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610fcd5760405162461bcd60e51b815260040161086c90612258565b610fd760006119c8565b565b6008546001600160a01b031633146110035760405162461bcd60e51b815260040161086c90612258565b47806110475760405162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20576974686472617760681b604482015260640161086c565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610ca4573d6000803e3d6000fd5b6008546001600160a01b031633146110a75760405162461bcd60e51b815260040161086c90612258565b601455565b6008546001600160a01b031633146110d65760405162461bcd60e51b815260040161086c90612258565b600f55565b606060038054610aff90612307565b6002600954141561113d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086c565b600260095560115460ff16156111855760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b604482015260640161086c565b601154610100900460ff166111dc5760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632053616c65206973206e6f74206f70656e207965740000000000604482015260640161086c565b600a5433600081815260126020526040902054906111f990611440565b611203908461228d565b61120d91906122c4565b111561125b5760405162461bcd60e51b815260206004820152601960248201527f4578636565646564207468652077616c6c6574206c696d697400000000000000604482015260640161086c565b61126781600f54611615565b506001600955565b6001600160a01b0382163314156112995760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61131084848461180b565b6001600160a01b0383163b156113495761132c84848484611a1a565b611349576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146113795760405162461bcd60e51b815260040161086c90612258565b6011805460ff1916911515919091179055565b6008546001600160a01b031633146113b65760405162461bcd60e51b815260040161086c90612258565b600b55565b60606113c68261176d565b6113e357604051630a14c4b560e41b815260040160405180910390fd5b60006113ed611b12565b905080516000141561140e5760405180602001604052806000815250611439565b8061141884611b21565b6040516020016114299291906121d9565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610817565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146114c35760405162461bcd60e51b815260040161086c90612258565b600a55565b6008546001600160a01b031633146114f25760405162461bcd60e51b815260040161086c90612258565b6001600160a01b0381166115575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161086c565b610d41816119c8565b6008546001600160a01b0316331461158a5760405162461bcd60e51b815260040161086c90612258565b600c5481106115cb5760405162461bcd60e51b815260206004820152600d60248201526c6e6f206a6f6b6573206865726560981b604482015260640161086c565b600c55565b6008546001600160a01b031633146115fa5760405162461bcd60e51b815260040161086c90612258565b600d55565b60008261160c8584611b70565b14949350505050565b600082116116565760405162461bcd60e51b815260206004820152600e60248201526d57726f6e67207175616e7469747960901b604482015260640161086c565b600c548261166b600154600054036000190190565b611675919061228d565b11156116bc5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161086c565b3233146117155760405162461bcd60e51b815260206004820152602160248201527f436f6e74726163747320666f7262696464656e2066726f6d206d696e74696e676044820152602160f81b606482015260840161086c565b61171f8282611bbd565b3410156117635760405162461bcd60e51b815260206004820152601260248201527124b739bab33334b1b4b2b73a10233ab7321760711b604482015260640161086c565b610e1b33836119ae565b600081600111158015611781575060005482105b8015610817575050600090815260046020526040902054600160e01b161590565b600081806001116117f2576000548110156117f257600081815260046020526040902054600160e01b81166117f0575b806114395750600019016000818152600460205260409020546117d2565b505b604051636f96cda160e11b815260040160405180910390fd5b6000611816826117a2565b9050836001600160a01b0316816001600160a01b0316146118495760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806118675750611867853361146b565b8061188257503361187784610b82565b6001600160a01b0316145b9050806118a257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166118c957604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661196657600183016000818152600460205260409020546119645760005481146119645760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b610e1b828260405180602001604052806000815250611c45565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a4f903390899088908890600401612208565b602060405180830381600087803b158015611a6957600080fd5b505af1925050508015611a99575060408051601f3d908101601f19168201909252611a96918101906120c8565b60015b611af4573d808015611ac7576040519150601f19603f3d011682016040523d82523d6000602084013e611acc565b606091505b508051611aec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060138054610aff90612307565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611b5e57600183039250600a81066030018353600a9004611b40565b50819003601f19909101908152919050565b600081815b8451811015611bb557611ba182868381518110611b9457611b94612373565b6020026020010151611db6565b915080611bad81612342565b915050611b75565b509392505050565b6000600d54611bcf6000546000190190565b1115611be657611bdf83836122a5565b9050610817565b600083611bf66000546000190190565b611c00919061228d565b9050600d548111611c15576000915050610817565b6000600d5482611c2591906122c4565b9050611c3181856122a5565b611c3c90600061228d565b95945050505050565b6000546001600160a01b038416611c6e57604051622e076360e81b815260040160405180910390fd5b82611c8c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611d61575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d2a6000878480600101955087611a1a565b611d47576040516368d2bf6b60e11b815260040160405180910390fd5b808210611cdf578260005414611d5c57600080fd5b611da6565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611d62575b5060009081556113499085838684565b6000818310611dd2576000828152602084905260409020611439565b5060009182526020526040902090565b828054611dee90612307565b90600052602060002090601f016020900481019282611e105760008555611e56565b82601f10611e2957805160ff1916838001178555611e56565b82800160010185558215611e56579182015b82811115611e56578251825591602001919060010190611e3b565b50611e62929150611e66565b5090565b5b80821115611e625760008155600101611e67565b600067ffffffffffffffff80841115611e9657611e96612389565b604051601f8501601f19908116603f01168101908282118183101715611ebe57611ebe612389565b81604052809350858152868686011115611ed757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611f0857600080fd5b919050565b80358015158114611f0857600080fd5b600060208284031215611f2f57600080fd5b61143982611ef1565b60008060408385031215611f4b57600080fd5b611f5483611ef1565b9150611f6260208401611ef1565b90509250929050565b600080600060608486031215611f8057600080fd5b611f8984611ef1565b9250611f9760208501611ef1565b9150604084013590509250925092565b60008060008060808587031215611fbd57600080fd5b611fc685611ef1565b9350611fd460208601611ef1565b925060408501359150606085013567ffffffffffffffff811115611ff757600080fd5b8501601f8101871361200857600080fd5b61201787823560208401611e7b565b91505092959194509250565b6000806040838503121561203657600080fd5b61203f83611ef1565b9150611f6260208401611f0d565b6000806040838503121561206057600080fd5b61206983611ef1565b946020939093013593505050565b60006020828403121561208957600080fd5b61143982611f0d565b6000602082840312156120a457600080fd5b5035919050565b6000602082840312156120bd57600080fd5b81356114398161239f565b6000602082840312156120da57600080fd5b81516114398161239f565b6000602082840312156120f757600080fd5b813567ffffffffffffffff81111561210e57600080fd5b8201601f8101841361211f57600080fd5b611b0a84823560208401611e7b565b60008060006040848603121561214357600080fd5b83359250602084013567ffffffffffffffff8082111561216257600080fd5b818601915086601f83011261217657600080fd5b81358181111561218557600080fd5b8760208260051b850101111561219a57600080fd5b6020830194508093505050509250925092565b600081518084526121c58160208601602086016122db565b601f01601f19169290920160200192915050565b600083516121eb8184602088016122db565b8351908301906121ff8183602088016122db565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061223b908301846121ad565b9695505050505050565b60208152600061143960208301846121ad565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156122a0576122a061235d565b500190565b60008160001904831182151516156122bf576122bf61235d565b500290565b6000828210156122d6576122d661235d565b500390565b60005b838110156122f65781810151838201526020016122de565b838111156113495750506000910152565b600181811c9082168061231b57607f821691505b6020821081141561233c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123565761235661235d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d4157600080fdfea264697066735822122059c7469116b49da3f0e52af6a2233d2c565d524f1783165d2e988128da69e8b964736f6c63430008070033

Deployed Bytecode Sourcemap

53370:5232:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28013:615;;;;;;;;;;-1:-1:-1;28013:615:0;;;;;:::i;:::-;;:::i;:::-;;;7010:14:1;;7003:22;6985:41;;6973:2;6958:18;28013:615:0;;;;;;;;54113:659;;;;;;:::i;:::-;;:::i;:::-;;33026:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35094:204::-;;;;;;;;;;-1:-1:-1;35094:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6308:32:1;;;6290:51;;6278:2;6263:18;35094:204:0;6144:203:1;34554:474:0;;;;;;;;;;-1:-1:-1;34554:474:0;;;;;:::i;:::-;;:::i;53598:30::-;;;;;;;;;;;;;;;;;;;7183:25:1;;;7171:2;7156:18;53598:30:0;7037:177:1;27067:315:0;;;;;;;;;;;;57085:1;27333:12;27120:7;27317:13;:28;-1:-1:-1;;27317:46:0;;27067:315;35980:170;;;;;;;;;;-1:-1:-1;35980:170:0;;;;;:::i;:::-;;:::i;53559:32::-;;;;;;;;;;;;;;;;53481:33;;;;;;;;;;;;;;;;53946:94;;;;;;;;;;;;;;;;58256:185;;;;;;;;;;-1:-1:-1;58256:185:0;;;;;:::i;:::-;;:::i;58152:96::-;;;;;;;;;;-1:-1:-1;58152:96:0;;;;;:::i;:::-;;:::i;57102:181::-;;;;;;;;;;;;;:::i;36221:185::-;;;;;;;;;;-1:-1:-1;36221:185:0;;;;;:::i;:::-;;:::i;53443:31::-;;;;;;;;;;;;;;;;57487:96;;;;;;;;;;-1:-1:-1;57487:96:0;;;;;:::i;:::-;;:::i;56692:84::-;;;;;;;;;;-1:-1:-1;56692:84:0;;;;;:::i;:::-;;:::i;32815:144::-;;;;;;;;;;-1:-1:-1;32815:144:0;;;;;:::i;:::-;;:::i;53857:80::-;;;;;;;;;;;;;:::i;28692:224::-;;;;;;;;;;-1:-1:-1;28692:224:0;;;;;:::i;:::-;;:::i;14123:103::-;;;;;;;;;;;;;:::i;57291:188::-;;;;;;;;;;-1:-1:-1;57291:188:0;;;;;:::i;:::-;;:::i;56784:106::-;;;;;;;;;;-1:-1:-1;56784:106:0;;;;;:::i;:::-;;:::i;13472:87::-;;;;;;;;;;-1:-1:-1;13545:6:0;;-1:-1:-1;;;;;13545:6:0;13472:87;;57699:84;;;;;;;;;;-1:-1:-1;57699:84:0;;;;;:::i;:::-;;:::i;33195:104::-;;;;;;;;;;;;;:::i;53635:35::-;;;;;;;;;;;;;;;;54780:416;;;;;;:::i;:::-;;:::i;35370:308::-;;;;;;;;;;-1:-1:-1;35370:308:0;;;;;:::i;:::-;;:::i;53756:32::-;;;;;;;;;;-1:-1:-1;53756:32:0;;;;;;;;;;;53722:27;;;;;;;;;;-1:-1:-1;53722:27:0;;;;;;;;36477:396;;;;;;;;;;-1:-1:-1;36477:396:0;;;;;:::i;:::-;;:::i;56605:79::-;;;;;;;;;;-1:-1:-1;56605:79:0;;;;;:::i;:::-;;:::i;57912:120::-;;;;;;;;;;-1:-1:-1;57912:120:0;;;;;:::i;:::-;;:::i;56473:124::-;;;;;;;;;;-1:-1:-1;56473:124:0;;;;;:::i;:::-;-1:-1:-1;;;;;56567:22:0;56540:7;56567:22;;;:15;:22;;;;;;;56473:124;53677:32;;;;;;;;;;;;;;;;33370:318;;;;;;;;;;-1:-1:-1;33370:318:0;;;;;:::i;:::-;;:::i;53521:31::-;;;;;;;;;;;;;;;;56352:113;;;;;;;;;;-1:-1:-1;56352:113:0;;;;;:::i;:::-;;:::i;35749:164::-;;;;;;;;;;-1:-1:-1;35749:164:0;;;;;:::i;:::-;;:::i;57791:113::-;;;;;;;;;;-1:-1:-1;57791:113:0;;;;;:::i;:::-;;:::i;14381:201::-;;;;;;;;;;-1:-1:-1;14381:201:0;;;;;:::i;:::-;;:::i;58449:150::-;;;;;;;;;;-1:-1:-1;58449:150:0;;;;;:::i;:::-;;:::i;58040:104::-;;;;;;;;;;-1:-1:-1;58040:104:0;;;;;:::i;:::-;;:::i;28013:615::-;28098:4;-1:-1:-1;;;;;;;;;28398:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;28475:25:0;;;28398:102;:179;;;-1:-1:-1;;;;;;;;;;28552:25:0;;;28398:179;28378:199;28013:615;-1:-1:-1;;28013:615:0:o;54113:659::-;1845:1;2443:7;;:19;;2435:63;;;;-1:-1:-1;;;2435:63:0;;13068:2:1;2435:63:0;;;13050:21:1;13107:2;13087:18;;;13080:30;13146:33;13126:18;;;13119:61;13197:18;;2435:63:0;;;;;;;;;1845:1;2576:7;:18;54234:8:::1;::::0;::::1;;54233:9;54225:35;;;::::0;-1:-1:-1;;;54225:35:0;;9920:2:1;54225:35:0::1;::::0;::::1;9902:21:1::0;9959:2;9939:18;;;9932:30;-1:-1:-1;;;9978:18:1;;;9971:43;10031:18;;54225:35:0::1;9718:337:1::0;54225:35:0::1;54280:12;::::0;::::1;::::0;::::1;;;54279:13;54271:69;;;::::0;-1:-1:-1;;;54271:69:0;;8806:2:1;54271:69:0::1;::::0;::::1;8788:21:1::0;8845:2;8825:18;;;8818:30;8884:34;8864:18;;;8857:62;-1:-1:-1;;;8935:18:1;;;8928:41;8986:19;;54271:69:0::1;8604:407:1::0;54271:69:0::1;54359:84;54378:11;;54359:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;54391:10:0::1;::::0;54413:28:::1;::::0;-1:-1:-1;;54430:10:0::1;5584:2:1::0;5580:15;5576:53;54413:28:0::1;::::0;::::1;5564:66:1::0;54391:10:0;;-1:-1:-1;5646:12:1;;;-1:-1:-1;54413:28:0::1;;;;;;;;;;;;54403:39;;;;;;54359:18;:84::i;:::-;54351:120;;;::::0;-1:-1:-1;;;54351:120:0;;8454:2:1;54351:120:0::1;::::0;::::1;8436:21:1::0;8493:2;8473:18;;;8466:30;8532:25;8512:18;;;8505:53;8575:18;;54351:120:0::1;8252:347:1::0;54351:120:0::1;54529:14;;54501:24;54514:10;54501:12;:24::i;:::-;54490:35;::::0;:8;:35:::1;:::i;:::-;:53;;54482:94;;;::::0;-1:-1:-1;;;54482:94:0;;10969:2:1;54482:94:0::1;::::0;::::1;10951:21:1::0;11008:2;10988:18;;;10981:30;11047;11027:18;;;11020:58;11095:18;;54482:94:0::1;10767:352:1::0;54482:94:0::1;54633:8;;54621;54605:13;57085:1:::0;27333:12;27120:7;27317:13;:28;-1:-1:-1;;27317:46:0;;27067:315;54605:13:::1;:24;;;;:::i;:::-;:36;;54597:71;;;::::0;-1:-1:-1;;;54597:71:0;;10262:2:1;54597:71:0::1;::::0;::::1;10244:21:1::0;10301:2;10281:18;;;10274:30;-1:-1:-1;;;10320:18:1;;;10313:52;10382:18;;54597:71:0::1;10060:346:1::0;54597:71:0::1;54697:10;54681:27;::::0;;;:15:::1;:27;::::0;;;;:39;;54712:8;;54681:27;:39:::1;::::0;54712:8;;54681:39:::1;:::i;:::-;;;;;;;;54733:31;54746:8;54756:7;;54733:12;:31::i;:::-;-1:-1:-1::0;;1801:1:0;2755:7;:22;-1:-1:-1;54113:659:0:o;33026:100::-;33080:13;33113:5;33106:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33026:100;:::o;35094:204::-;35162:7;35187:16;35195:7;35187;:16::i;:::-;35182:64;;35212:34;;-1:-1:-1;;;35212:34:0;;;;;;;;;;;35182:64;-1:-1:-1;35266:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35266:24:0;;35094:204::o;34554:474::-;34627:13;34659:27;34678:7;34659:18;:27::i;:::-;34627:61;;34709:5;-1:-1:-1;;;;;34703:11:0;:2;-1:-1:-1;;;;;34703:11:0;;34699:48;;;34723:24;;-1:-1:-1;;;34723:24:0;;;;;;;;;;;34699:48;51197:10;-1:-1:-1;;;;;34764:28:0;;;34760:175;;34812:44;34829:5;51197:10;35749:164;:::i;34812:44::-;34807:128;;34884:35;;-1:-1:-1;;;34884:35:0;;;;;;;;;;;34807:128;34947:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;34947:29:0;-1:-1:-1;;;;;34947:29:0;;;;;;;;;34992:28;;34947:24;;34992:28;;;;;;;34616:412;34554:474;;:::o;35980:170::-;36114:28;36124:4;36130:2;36134:7;36114:9;:28::i;:::-;35980:170;;;:::o;58256:185::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;58357:9:::1;;58345:8;58329:13;57085:1:::0;27333:12;27120:7;27317:13;:28;-1:-1:-1;;27317:46:0;;27067:315;58329:13:::1;:24;;;;:::i;:::-;:37;;58321:70;;;::::0;-1:-1:-1;;;58321:70:0;;12376:2:1;58321:70:0::1;::::0;::::1;12358:21:1::0;12415:2;12395:18;;;12388:30;-1:-1:-1;;;12434:18:1;;;12427:50;12494:18;;58321:70:0::1;12174:344:1::0;58321:70:0::1;58402:31;58412:10;58424:8;58402:9;:31::i;:::-;58256:185:::0;:::o;58152:96::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;58220:8:::1;:20:::0;58152:96::o;57102:181::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;57161:21:::1;57195:11:::0;57187:43:::1;;;::::0;-1:-1:-1;;;57187:43:0;;9572:2:1;57187:43:0::1;::::0;::::1;9554:21:1::0;9611:2;9591:18;;;9584:30;-1:-1:-1;;;9630:18:1;;;9623:49;9689:18;;57187:43:0::1;9370:343:1::0;57187:43:0::1;13545:6:::0;;57241:34:::1;::::0;-1:-1:-1;;;;;13545:6:0;;;;57241:34;::::1;;;::::0;57267:7;;57241:34:::1;::::0;;;57267:7;13545:6;57241:34;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;57141:142;57102:181::o:0;36221:185::-;36359:39;36376:4;36382:2;36386:7;36359:39;;;;;;;;;;;;:16;:39::i;57487:96::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;57559:16;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;56692:84::-:0;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;56749:12:::1;:20:::0;;;::::1;;;;-1:-1:-1::0;;56749:20:0;;::::1;::::0;;;::::1;::::0;;56692:84::o;32815:144::-;32879:7;32922:27;32941:7;32922:18;:27::i;53857:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28692:224::-;28756:7;-1:-1:-1;;;;;28780:19:0;;28776:60;;28808:28;;-1:-1:-1;;;28808:28:0;;;;;;;;;;;28776:60;-1:-1:-1;;;;;;28854:25:0;;;;;:18;:25;;;;;;24031:13;28854:54;;28692:224::o;14123:103::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;14188:30:::1;14215:1;14188:18;:30::i;:::-;14123:103::o:0;57291:188::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;57362:21:::1;57396:11:::0;57388:43:::1;;;::::0;-1:-1:-1;;;57388:43:0;;9572:2:1;57388:43:0::1;::::0;::::1;9554:21:1::0;9611:2;9591:18;;;9584:30;-1:-1:-1;;;9630:18:1;;;9623:49;9689:18;;57388:43:0::1;9370:343:1::0;57388:43:0::1;57442:29;::::0;-1:-1:-1;;;;;57442:20:0;::::1;::::0;:29;::::1;;;::::0;57463:7;;57442:29:::1;::::0;;;57463:7;57442:20;:29;::::1;;;;;;;;;;;;;::::0;::::1;;;;56784:106:::0;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;56858:10:::1;:24:::0;56784:106::o;57699:84::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;57761:5:::1;:14:::0;57699:84::o;33195:104::-;33251:13;33284:7;33277:14;;;;;:::i;54780:416::-;1845:1;2443:7;;:19;;2435:63;;;;-1:-1:-1;;;2435:63:0;;13068:2:1;2435:63:0;;;13050:21:1;13107:2;13087:18;;;13080:30;13146:33;13126:18;;;13119:61;13197:18;;2435:63:0;12866:355:1;2435:63:0;1845:1;2576:7;:18;54872:8:::1;::::0;::::1;;54871:9;54863:35;;;::::0;-1:-1:-1;;;54863:35:0;;9920:2:1;54863:35:0::1;::::0;::::1;9902:21:1::0;9959:2;9939:18;;;9932:30;-1:-1:-1;;;9978:18:1;;;9971:43;10031:18;;54863:35:0::1;9718:337:1::0;54863:35:0::1;54917:12;::::0;::::1;::::0;::::1;;;54909:52;;;::::0;-1:-1:-1;;;54909:52:0;;10613:2:1;54909:52:0::1;::::0;::::1;10595:21:1::0;10652:2;10632:18;;;10625:30;10691:29;10671:18;;;10664:57;10738:18;;54909:52:0::1;10411:351:1::0;54909:52:0::1;55097:12;::::0;55082:10:::1;55066:27;::::0;;;:15:::1;:27;::::0;;;;;;55039:24:::1;::::0;:12:::1;:24::i;:::-;55028:35;::::0;:8;:35:::1;:::i;:::-;:65;;;;:::i;:::-;:81;;55020:119;;;::::0;-1:-1:-1;;;55020:119:0;;9218:2:1;55020:119:0::1;::::0;::::1;9200:21:1::0;9257:2;9237:18;;;9230:30;9296:27;9276:18;;;9269:55;9341:18;;55020:119:0::1;9016:349:1::0;55020:119:0::1;55159:29;55172:8;55182:5;;55159:12;:29::i;:::-;-1:-1:-1::0;1801:1:0;2755:7;:22;54780:416::o;35370:308::-;-1:-1:-1;;;;;35469:31:0;;51197:10;35469:31;35465:61;;;35509:17;;-1:-1:-1;;;35509:17:0;;;;;;;;;;;35465:61;51197:10;35539:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;35539:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;35539:60:0;;;;;;;;;;35615:55;;6985:41:1;;;35539:49:0;;51197:10;35615:55;;6958:18:1;35615:55:0;;;;;;;35370:308;;:::o;36477:396::-;36644:28;36654:4;36660:2;36664:7;36644:9;:28::i;:::-;-1:-1:-1;;;;;36687:14:0;;;:19;36683:183;;36726:56;36757:4;36763:2;36767:7;36776:5;36726:30;:56::i;:::-;36721:145;;36810:40;;-1:-1:-1;;;36810:40:0;;;;;;;;;;;36721:145;36477:396;;;;:::o;56605:79::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;56661:8:::1;:16:::0;;-1:-1:-1;;56661:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;56605:79::o;57912:120::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;57992:14:::1;:32:::0;57912:120::o;33370:318::-;33443:13;33474:16;33482:7;33474;:16::i;:::-;33469:59;;33499:29;;-1:-1:-1;;;33499:29:0;;;;;;;;;;;33469:59;33541:21;33565:10;:8;:10::i;:::-;33541:34;;33599:7;33593:21;33618:1;33593:26;;:87;;;;;;;;;;;;;;;;;33646:7;33655:18;33665:7;33655:9;:18::i;:::-;33629:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;33593:87;33586:94;33370:318;-1:-1:-1;;;33370:318:0:o;56352:113::-;-1:-1:-1;;;;;29087:25:0;;56410:7;29087:25;;;:18;:25;;24168:2;29087:25;;;;24031:13;29087:49;;29086:80;56437:20;28998:176;35749:164;-1:-1:-1;;;;;35870:25:0;;;35846:4;35870:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35749:164::o;57791:113::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;57868:12:::1;:28:::0;57791:113::o;14381:201::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14470:22:0;::::1;14462:73;;;::::0;-1:-1:-1;;;14462:73:0;;8047:2:1;14462:73:0::1;::::0;::::1;8029:21:1::0;8086:2;8066:18;;;8059:30;8125:34;8105:18;;;8098:62;-1:-1:-1;;;8176:18:1;;;8169:36;8222:19;;14462:73:0::1;7845:402:1::0;14462:73:0::1;14546:28;14565:8;14546:18;:28::i;58449:150::-:0;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;58533:9:::1;;58520:10;:22;58512:49;;;::::0;-1:-1:-1;;;58512:49:0;;12034:2:1;58512:49:0::1;::::0;::::1;12016:21:1::0;12073:2;12053:18;;;12046:30;-1:-1:-1;;;12092:18:1;;;12085:43;12145:18;;58512:49:0::1;11832:337:1::0;58512:49:0::1;58572:9;:22:::0;58449:150::o;58040:104::-;13545:6;;-1:-1:-1;;;;;13545:6:0;51197:10;13692:23;13684:68;;;;-1:-1:-1;;;13684:68:0;;;;;;;:::i;:::-;58112:10:::1;:24:::0;58040:104::o;4011:190::-;4136:4;4189;4160:25;4173:5;4180:4;4160:12;:25::i;:::-;:33;;4011:190;-1:-1:-1;;;;4011:190:0:o;55204:522::-;55312:1;55301:8;:12;55293:39;;;;-1:-1:-1;;;55293:39:0;;12725:2:1;55293:39:0;;;12707:21:1;12764:2;12744:18;;;12737:30;-1:-1:-1;;;12783:18:1;;;12776:44;12837:18;;55293:39:0;12523:338:1;55293:39:0;55379:9;;55367:8;55351:13;57085:1;27333:12;27120:7;27317:13;:28;-1:-1:-1;;27317:46:0;;27067:315;55351:13;:24;;;;:::i;:::-;:37;;55343:72;;;;-1:-1:-1;;;55343:72:0;;10262:2:1;55343:72:0;;;10244:21:1;10301:2;10281:18;;;10274:30;-1:-1:-1;;;10320:18:1;;;10313:52;10382:18;;55343:72:0;10060:346:1;55343:72:0;55434:9;55447:10;55434:23;55426:68;;;;-1:-1:-1;;;55426:68:0;;7645:2:1;55426:68:0;;;7627:21:1;7684:2;7664:18;;;7657:30;7723:34;7703:18;;;7696:62;-1:-1:-1;;;7774:18:1;;;7767:31;7815:19;;55426:68:0;7443:397:1;55426:68:0;55591:29;55600:8;55610:9;55591:8;:29::i;:::-;55578:9;:42;;55556:110;;;;-1:-1:-1;;;55556:110:0;;11687:2:1;55556:110:0;;;11669:21:1;11726:2;11706:18;;;11699:30;-1:-1:-1;;;11745:18:1;;;11738:48;11803:18;;55556:110:0;11485:342:1;55556:110:0;55687:31;55697:10;55709:8;55687:9;:31::i;37128:273::-;37185:4;37241:7;57085:1;37222:26;;:66;;;;;37275:13;;37265:7;:23;37222:66;:152;;;;-1:-1:-1;;37326:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;37326:43:0;:48;;37128:273::o;30330:1129::-;30397:7;30432;;57085:1;30481:23;30477:915;;30534:13;;30527:4;:20;30523:869;;;30572:14;30589:23;;;:17;:23;;;;;;-1:-1:-1;;;30678:23:0;;30674:699;;31197:113;31204:11;31197:113;;-1:-1:-1;;;31275:6:0;31257:25;;;;:17;:25;;;;;;31197:113;;30674:699;30549:843;30523:869;31420:31;;-1:-1:-1;;;31420:31:0;;;;;;;;;;;42367:2515;42482:27;42512;42531:7;42512:18;:27::i;:::-;42482:57;;42597:4;-1:-1:-1;;;;;42556:45:0;42572:19;-1:-1:-1;;;;;42556:45:0;;42552:86;;42610:28;;-1:-1:-1;;;42610:28:0;;;;;;;;;;;42552:86;42651:22;51197:10;-1:-1:-1;;;;;42677:27:0;;;;:87;;-1:-1:-1;42721:43:0;42738:4;51197:10;35749:164;:::i;42721:43::-;42677:147;;;-1:-1:-1;51197:10:0;42781:20;42793:7;42781:11;:20::i;:::-;-1:-1:-1;;;;;42781:43:0;;42677:147;42651:174;;42843:17;42838:66;;42869:35;;-1:-1:-1;;;42869:35:0;;;;;;;;;;;42838:66;-1:-1:-1;;;;;42919:16:0;;42915:52;;42944:23;;-1:-1:-1;;;42944:23:0;;;;;;;;;;;42915:52;43096:24;;;;:15;:24;;;;;;;;43089:31;;-1:-1:-1;;;;;;43089:31:0;;;-1:-1:-1;;;;;43488:24:0;;;;;:18;:24;;;;;43486:26;;-1:-1:-1;;43486:26:0;;;43557:22;;;;;;;43555:24;;-1:-1:-1;43555:24:0;;;43850:26;;;:17;:26;;;;;-1:-1:-1;;;43938:15:0;24685:3;43938:41;43896:84;;:128;;43850:174;;;44144:46;;44140:626;;44248:1;44238:11;;44216:19;44371:30;;;:17;:30;;;;;;44367:384;;44509:13;;44494:11;:28;44490:242;;44656:30;;;;:17;:30;;;;;:52;;;44490:242;44197:569;44140:626;44813:7;44809:2;-1:-1:-1;;;;;44794:27:0;44803:4;-1:-1:-1;;;;;44794:27:0;;;;;;;;;;;42471:2411;;42367:2515;;;:::o;37485:104::-;37554:27;37564:2;37568:8;37554:27;;;;;;;;;;;;:9;:27::i;14742:191::-;14835:6;;;-1:-1:-1;;;;;14852:17:0;;;-1:-1:-1;;;;;;14852:17:0;;;;;;;14885:40;;14835:6;;;14852:17;14835:6;;14885:40;;14816:16;;14885:40;14805:128;14742:191;:::o;48579:716::-;48763:88;;-1:-1:-1;;;48763:88:0;;48742:4;;-1:-1:-1;;;;;48763:45:0;;;;;:88;;51197:10;;48830:4;;48836:7;;48845:5;;48763:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48763:88:0;;;;;;;;-1:-1:-1;;48763:88:0;;;;;;;;;;;;:::i;:::-;;;48759:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49046:13:0;;49042:235;;49092:40;;-1:-1:-1;;;49092:40:0;;;;;;;;;;;49042:235;49235:6;49229:13;49220:6;49216:2;49212:15;49205:38;48759:529;-1:-1:-1;;;;;;48922:64:0;-1:-1:-1;;;48922:64:0;;-1:-1:-1;48759:529:0;48579:716;;;;;;:::o;57591:100::-;57643:13;57676:7;57669:14;;;;;:::i;51321:1959::-;51792:4;51786:11;;51799:3;51782:21;;51877:17;;;;52574:11;;;52453:5;52706:2;52720;52710:13;;52702:22;52574:11;52689:36;52761:2;52751:13;;52344:682;52780:4;52344:682;;;52955:1;52950:3;52946:11;52939:18;;53006:2;53000:4;52996:13;52992:2;52988:22;52983:3;52975:36;52876:2;52866:13;;52344:682;;;-1:-1:-1;53068:13:0;;;-1:-1:-1;;53183:12:0;;;53243:19;;;53183:12;51321:1959;-1:-1:-1;51321:1959:0:o;4878:296::-;4961:7;5004:4;4961:7;5019:118;5043:5;:12;5039:1;:16;5019:118;;;5092:33;5102:12;5116:5;5122:1;5116:8;;;;;;;;:::i;:::-;;;;;;;5092:9;:33::i;:::-;5077:48;-1:-1:-1;5057:3:0;;;;:::i;:::-;;;;5019:118;;;-1:-1:-1;5154:12:0;4878:296;-1:-1:-1;;;4878:296:0:o;55736:608::-;55812:7;55862:10;;55845:14;27527:7;27715:13;-1:-1:-1;;27715:31:0;;27480:285;55845:14;:27;55842:83;;;55895:18;55907:6;55895:9;:18;:::i;:::-;55888:25;;;;55842:83;55937:21;55978:6;55961:14;27527:7;27715:13;-1:-1:-1;;27715:31:0;;27480:285;55961:14;:23;;;;:::i;:::-;55937:47;;56154:10;;56136:13;:28;56133:68;;56188:1;56181:8;;;;;56133:68;56221:29;56269:10;;56253:13;:26;;;;:::i;:::-;56221:58;-1:-1:-1;56303:33:0;56221:58;56303:9;:33;:::i;:::-;56299:37;;:1;:37;:::i;:::-;56292:44;55736:608;-1:-1:-1;;;;;55736:608:0:o;37962:2236::-;38085:20;38108:13;-1:-1:-1;;;;;38136:16:0;;38132:48;;38161:19;;-1:-1:-1;;;38161:19:0;;;;;;;;;;;38132:48;38195:13;38191:44;;38217:18;;-1:-1:-1;;;38217:18:0;;;;;;;;;;;38191:44;-1:-1:-1;;;;;38784:22:0;;;;;;:18;:22;;;;24168:2;38784:22;;;:70;;38822:31;38810:44;;38784:70;;;39097:31;;;:17;:31;;;;;39190:15;24685:3;39190:41;39148:84;;-1:-1:-1;39268:13:0;;24948:3;39253:56;39148:162;39097:213;;:31;;39391:23;;;;39435:14;:19;39431:635;;39475:313;39506:38;;39531:12;;-1:-1:-1;;;;;39506:38:0;;;39523:1;;39506:38;;39523:1;;39506:38;39572:69;39611:1;39615:2;39619:14;;;;;;39635:5;39572:30;:69::i;:::-;39567:174;;39677:40;;-1:-1:-1;;;39677:40:0;;;;;;;;;;;39567:174;39783:3;39768:12;:18;39475:313;;39869:12;39852:13;;:29;39848:43;;39883:8;;;39848:43;39431:635;;;39932:119;39963:40;;39988:14;;;;;-1:-1:-1;;;;;39963:40:0;;;39980:1;;39963:40;;39980:1;;39963:40;40046:3;40031:12;:18;39932:119;;39431:635;-1:-1:-1;40080:13:0;:28;;;40130:60;;40163:2;40167:12;40181:8;40130:60;:::i;11085:149::-;11148:7;11179:1;11175;:5;:51;;11310:13;11404:15;;;11440:4;11433:15;;;11487:4;11471:21;;11175:51;;;-1:-1:-1;11310:13:0;11404:15;;;11440:4;11433:15;11487:4;11471:21;;;11085:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:180::-;3215:6;3268:2;3256:9;3247:7;3243:23;3239:32;3236:52;;;3284:1;3281;3274:12;3236:52;-1:-1:-1;3307:23:1;;3156:180;-1:-1:-1;3156:180:1:o;3341:245::-;3399:6;3452:2;3440:9;3431:7;3427:23;3423:32;3420:52;;;3468:1;3465;3458:12;3420:52;3507:9;3494:23;3526:30;3550:5;3526:30;:::i;3591:249::-;3660:6;3713:2;3701:9;3692:7;3688:23;3684:32;3681:52;;;3729:1;3726;3719:12;3681:52;3761:9;3755:16;3780:30;3804:5;3780:30;:::i;3845:450::-;3914:6;3967:2;3955:9;3946:7;3942:23;3938:32;3935:52;;;3983:1;3980;3973:12;3935:52;4023:9;4010:23;4056:18;4048:6;4045:30;4042:50;;;4088:1;4085;4078:12;4042:50;4111:22;;4164:4;4156:13;;4152:27;-1:-1:-1;4142:55:1;;4193:1;4190;4183:12;4142:55;4216:73;4281:7;4276:2;4263:16;4258:2;4254;4250:11;4216:73;:::i;4485:683::-;4580:6;4588;4596;4649:2;4637:9;4628:7;4624:23;4620:32;4617:52;;;4665:1;4662;4655:12;4617:52;4701:9;4688:23;4678:33;;4762:2;4751:9;4747:18;4734:32;4785:18;4826:2;4818:6;4815:14;4812:34;;;4842:1;4839;4832:12;4812:34;4880:6;4869:9;4865:22;4855:32;;4925:7;4918:4;4914:2;4910:13;4906:27;4896:55;;4947:1;4944;4937:12;4896:55;4987:2;4974:16;5013:2;5005:6;5002:14;4999:34;;;5029:1;5026;5019:12;4999:34;5082:7;5077:2;5067:6;5064:1;5060:14;5056:2;5052:23;5048:32;5045:45;5042:65;;;5103:1;5100;5093:12;5042:65;5134:2;5130;5126:11;5116:21;;5156:6;5146:16;;;;;4485:683;;;;;:::o;5173:257::-;5214:3;5252:5;5246:12;5279:6;5274:3;5267:19;5295:63;5351:6;5344:4;5339:3;5335:14;5328:4;5321:5;5317:16;5295:63;:::i;:::-;5412:2;5391:15;-1:-1:-1;;5387:29:1;5378:39;;;;5419:4;5374:50;;5173:257;-1:-1:-1;;5173:257:1:o;5669:470::-;5848:3;5886:6;5880:13;5902:53;5948:6;5943:3;5936:4;5928:6;5924:17;5902:53;:::i;:::-;6018:13;;5977:16;;;;6040:57;6018:13;5977:16;6074:4;6062:17;;6040:57;:::i;:::-;6113:20;;5669:470;-1:-1:-1;;;;5669:470:1:o;6352:488::-;-1:-1:-1;;;;;6621:15:1;;;6603:34;;6673:15;;6668:2;6653:18;;6646:43;6720:2;6705:18;;6698:34;;;6768:3;6763:2;6748:18;;6741:31;;;6546:4;;6789:45;;6814:19;;6806:6;6789:45;:::i;:::-;6781:53;6352:488;-1:-1:-1;;;;;;6352:488:1:o;7219:219::-;7368:2;7357:9;7350:21;7331:4;7388:44;7428:2;7417:9;7413:18;7405:6;7388:44;:::i;11124:356::-;11326:2;11308:21;;;11345:18;;;11338:30;11404:34;11399:2;11384:18;;11377:62;11471:2;11456:18;;11124:356::o;13408:128::-;13448:3;13479:1;13475:6;13472:1;13469:13;13466:39;;;13485:18;;:::i;:::-;-1:-1:-1;13521:9:1;;13408:128::o;13541:168::-;13581:7;13647:1;13643;13639:6;13635:14;13632:1;13629:21;13624:1;13617:9;13610:17;13606:45;13603:71;;;13654:18;;:::i;:::-;-1:-1:-1;13694:9:1;;13541:168::o;13714:125::-;13754:4;13782:1;13779;13776:8;13773:34;;;13787:18;;:::i;:::-;-1:-1:-1;13824:9:1;;13714:125::o;13844:258::-;13916:1;13926:113;13940:6;13937:1;13934:13;13926:113;;;14016:11;;;14010:18;13997:11;;;13990:39;13962:2;13955:10;13926:113;;;14057:6;14054:1;14051:13;14048:48;;;-1:-1:-1;;14092:1:1;14074:16;;14067:27;13844:258::o;14107:380::-;14186:1;14182:12;;;;14229;;;14250:61;;14304:4;14296:6;14292:17;14282:27;;14250:61;14357:2;14349:6;14346:14;14326:18;14323:38;14320:161;;;14403:10;14398:3;14394:20;14391:1;14384:31;14438:4;14435:1;14428:15;14466:4;14463:1;14456:15;14320:161;;14107:380;;;:::o;14492:135::-;14531:3;-1:-1:-1;;14552:17:1;;14549:43;;;14572:18;;:::i;:::-;-1:-1:-1;14619:1:1;14608:13;;14492:135::o;14632:127::-;14693:10;14688:3;14684:20;14681:1;14674:31;14724:4;14721:1;14714:15;14748:4;14745:1;14738:15;14764:127;14825:10;14820:3;14816:20;14813:1;14806:31;14856:4;14853:1;14846:15;14880:4;14877:1;14870:15;14896:127;14957:10;14952:3;14948:20;14945:1;14938:31;14988:4;14985:1;14978:15;15012:4;15009:1;15002:15;15028:131;-1:-1:-1;;;;;;15102:32:1;;15092:43;;15082:71;;15149:1;15146;15139:12

Swarm Source

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