ETH Price: $3,108.03 (+0.86%)
Gas: 4 Gwei

Token

CryptoMax (Max)
 

Overview

Max Total Supply

10,000 Max

Holders

1,109

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cbb0f.eth
Balance
5 Max
0x7e95Da20083bcB74FEcec9C77966c7d376B5A0d0
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:
CryptoMax

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : CryptoMax.sol
/**
 *Submitted for verification at Etherscan.io on 2022-07-11
*/
// File: @openzeppelin/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: 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: CryptoMax.sol


pragma solidity ^0.8.0;
contract CryptoMax is ERC721A, Ownable, ReentrancyGuard { 

    uint256 public _maxSupply = 10000;
    uint256 public _mintPrice = 0.002 ether;
    uint256 public _maxMintPerTx = 20;

    uint256 public _maxFreeMintPerAddr = 5;
    uint256 public _maxFreeMintSupply = 7500;

    using Strings for uint256;
    string public baseURI ="QmU4hSJdqC7mA1GaHU3gmzP8H6eEaz87YDckbYy9dGvkA5";
    mapping(address => uint256) private _mintedFreeAmount;

    constructor(string memory initBaseURI) ERC721A("CryptoMax", "Max") {
        baseURI = initBaseURI;
    }

    function mint(uint256 count) external payable {
        uint256 cost = _mintPrice;
        bool isFree = ((totalSupply() + count < _maxFreeMintSupply + 1) &&
            (_mintedFreeAmount[msg.sender] + count <= _maxFreeMintPerAddr)) ||
            (msg.sender == owner());

        if (isFree) {
            cost = 0;
        }

        require(msg.value >= count * cost, "Please send the exact amount.");
        require(totalSupply() + count < _maxSupply + 1, "Sold out!");
        require(count < _maxMintPerTx + 1, "Max per TX reached.");

        if (isFree) {
            _mintedFreeAmount[msg.sender] += count;
        }

        _safeMint(msg.sender, count);
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return string(abi.encodePacked(baseURI, tokenId.toString(), ".json"));
    }

    function setBaseURI(string memory uri) public onlyOwner {
        baseURI = uri;
    }

    function setFreeAmount(uint256 amount) external onlyOwner {
        _maxFreeMintSupply = amount;
    }

    function setPrice(uint256 _newPrice) external onlyOwner {
        _mintPrice = _newPrice;
    }

    function withdraw() public payable onlyOwner nonReentrant {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"}],"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":[],"name":"_maxFreeMintPerAddr","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxFreeMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxMintPerTx","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":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052612710600a5566071afd498d0000600b556014600c556005600d55611d4c600e556040518060600160405280602e815260200162003674602e9139600f9080519060200190620000569291906200025b565b503480156200006457600080fd5b50604051620036a2380380620036a283398181016040528101906200008a919062000389565b6040518060400160405280600981526020017f43727970746f4d617800000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d6178000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200010e9291906200025b565b508060039080519060200190620001279291906200025b565b50620001386200018860201b60201c565b600081905550505062000160620001546200018d60201b60201c565b6200019560201b60201c565b600160098190555080600f9080519060200190620001809291906200025b565b50506200055e565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000269906200046f565b90600052602060002090601f0160209004810192826200028d5760008555620002d9565b82601f10620002a857805160ff1916838001178555620002d9565b82800160010185558215620002d9579182015b82811115620002d8578251825591602001919060010190620002bb565b5b509050620002e89190620002ec565b5090565b5b8082111562000307576000816000905550600101620002ed565b5090565b6000620003226200031c8462000403565b620003da565b9050828152602081018484840111156200034157620003406200053e565b5b6200034e84828562000439565b509392505050565b600082601f8301126200036e576200036d62000539565b5b8151620003808482602086016200030b565b91505092915050565b600060208284031215620003a257620003a162000548565b5b600082015167ffffffffffffffff811115620003c357620003c262000543565b5b620003d18482850162000356565b91505092915050565b6000620003e6620003f9565b9050620003f48282620004a5565b919050565b6000604051905090565b600067ffffffffffffffff8211156200042157620004206200050a565b5b6200042c826200054d565b9050602081019050919050565b60005b83811015620004595780820151818401526020810190506200043c565b8381111562000469576000848401525b50505050565b600060028204905060018216806200048857607f821691505b602082108114156200049f576200049e620004db565b5b50919050565b620004b0826200054d565b810181811067ffffffffffffffff82111715620004d257620004d16200050a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b613106806200056e6000396000f3fe6080604052600436106101b75760003560e01c806370a08231116100ec578063a0712d681161008a578063c87b56dd11610064578063c87b56dd146105b8578063de314a59146105f5578063e985e9c514610620578063f2fde38b1461065d576101b7565b8063a0712d681461054a578063a22cb46514610566578063b88d4fde1461058f576101b7565b806391b7f5ed116100c657806391b7f5ed146104a257806392910eec146104cb57806395d89b41146104f45780639cb57d201461051f576101b7565b806370a0823114610423578063715018a6146104605780638da5cb5b14610477576101b7565b806323b872dd1161015957806355f804b31161013357806355f804b3146103675780635e1c4b60146103905780636352211e146103bb5780636c0360eb146103f8576101b7565b806323b872dd1461030b5780633ccfd60b1461033457806342842e0e1461033e576101b7565b8063081812fc11610195578063081812fc1461024f578063095ea7b31461028c57806318160ddd146102b557806322f4596f146102e0576101b7565b806301ffc9a7146101bc5780630387da42146101f957806306fdde0314610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de91906124fe565b610686565b6040516101f09190612903565b60405180910390f35b34801561020557600080fd5b5061020e610718565b60405161021b9190612a20565b60405180910390f35b34801561023057600080fd5b5061023961071e565b604051610246919061291e565b60405180910390f35b34801561025b57600080fd5b50610276600480360381019061027191906125a1565b6107b0565b604051610283919061289c565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae91906124be565b61082c565b005b3480156102c157600080fd5b506102ca6109d3565b6040516102d79190612a20565b60405180910390f35b3480156102ec57600080fd5b506102f56109ea565b6040516103029190612a20565b60405180910390f35b34801561031757600080fd5b50610332600480360381019061032d91906123a8565b6109f0565b005b61033c610a00565b005b34801561034a57600080fd5b50610365600480360381019061036091906123a8565b610b4b565b005b34801561037357600080fd5b5061038e60048036038101906103899190612558565b610b6b565b005b34801561039c57600080fd5b506103a5610c01565b6040516103b29190612a20565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd91906125a1565b610c07565b6040516103ef919061289c565b60405180910390f35b34801561040457600080fd5b5061040d610c19565b60405161041a919061291e565b60405180910390f35b34801561042f57600080fd5b5061044a6004803603810190610445919061233b565b610ca7565b6040516104579190612a20565b60405180910390f35b34801561046c57600080fd5b50610475610d60565b005b34801561048357600080fd5b5061048c610de8565b604051610499919061289c565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906125a1565b610e12565b005b3480156104d757600080fd5b506104f260048036038101906104ed91906125a1565b610e98565b005b34801561050057600080fd5b50610509610f1e565b604051610516919061291e565b60405180910390f35b34801561052b57600080fd5b50610534610fb0565b6040516105419190612a20565b60405180910390f35b610564600480360381019061055f91906125a1565b610fb6565b005b34801561057257600080fd5b5061058d6004803603810190610588919061247e565b6111f0565b005b34801561059b57600080fd5b506105b660048036038101906105b191906123fb565b611368565b005b3480156105c457600080fd5b506105df60048036038101906105da91906125a1565b6113db565b6040516105ec919061291e565b60405180910390f35b34801561060157600080fd5b5061060a611457565b6040516106179190612a20565b60405180910390f35b34801561062c57600080fd5b5061064760048036038101906106429190612368565b61145d565b6040516106549190612903565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f919061233b565b6114f1565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106e157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107115750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600b5481565b60606002805461072d90612cf0565b80601f016020809104026020016040519081016040528092919081815260200182805461075990612cf0565b80156107a65780601f1061077b576101008083540402835291602001916107a6565b820191906000526020600020905b81548152906001019060200180831161078957829003601f168201915b5050505050905090565b60006107bb826115e9565b6107f1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061083782611648565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561089f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108be611716565b73ffffffffffffffffffffffffffffffffffffffff1614610921576108ea816108e5611716565b61145d565b610920576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006109dd61171e565b6001546000540303905090565b600a5481565b6109fb838383611723565b505050565b610a08611acd565b73ffffffffffffffffffffffffffffffffffffffff16610a26610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7390612960565b60405180910390fd5b60026009541415610ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab9906129e0565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051610af090612887565b60006040518083038185875af1925050503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b5050905080610b4057600080fd5b506001600981905550565b610b6683838360405180602001604052806000815250611368565b505050565b610b73611acd565b73ffffffffffffffffffffffffffffffffffffffff16610b91610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde90612960565b60405180910390fd5b80600f9080519060200190610bfd92919061214f565b5050565b600e5481565b6000610c1282611648565b9050919050565b600f8054610c2690612cf0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5290612cf0565b8015610c9f5780601f10610c7457610100808354040283529160200191610c9f565b820191906000526020600020905b815481529060010190602001808311610c8257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d0f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610d68611acd565b73ffffffffffffffffffffffffffffffffffffffff16610d86610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390612960565b60405180910390fd5b610de66000611ad5565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e1a611acd565b73ffffffffffffffffffffffffffffffffffffffff16610e38610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590612960565b60405180910390fd5b80600b8190555050565b610ea0611acd565b73ffffffffffffffffffffffffffffffffffffffff16610ebe610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b90612960565b60405180910390fd5b80600e8190555050565b606060038054610f2d90612cf0565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5990612cf0565b8015610fa65780601f10610f7b57610100808354040283529160200191610fa6565b820191906000526020600020905b815481529060010190602001808311610f8957829003601f168201915b5050505050905090565b600d5481565b6000600b54905060006001600e54610fce9190612b25565b83610fd76109d3565b610fe19190612b25565b10801561103a5750600d5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110379190612b25565b11155b806110775750611048610de8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b9050801561108457600091505b81836110909190612bac565b3410156110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c9906129a0565b60405180910390fd5b6001600a546110e19190612b25565b836110ea6109d3565b6110f49190612b25565b10611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90612a00565b60405180910390fd5b6001600c546111439190612b25565b8310611184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117b906129c0565b60405180910390fd5b80156111e15782601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111d99190612b25565b925050819055505b6111eb3384611b9b565b505050565b6111f8611716565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561125d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061126a611716565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611317611716565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161135c9190612903565b60405180910390a35050565b611373848484611723565b60008373ffffffffffffffffffffffffffffffffffffffff163b146113d55761139e84848484611bb9565b6113d4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606113e6826115e9565b611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141c90612980565b60405180910390fd5b600f61143083611d19565b604051602001611441929190612858565b6040516020818303038152906040529050919050565b600c5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114f9611acd565b73ffffffffffffffffffffffffffffffffffffffff16611517610de8565b73ffffffffffffffffffffffffffffffffffffffff161461156d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156490612960565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d490612940565b60405180910390fd5b6115e681611ad5565b50565b6000816115f461171e565b11158015611603575060005482105b8015611641575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061165761171e565b116116df576000548110156116de5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156116dc575b60008114156116d25760046000836001900393508381526020019081526020016000205490506116a7565b8092505050611711565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b600061172e82611648565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611795576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166117b6611716565b73ffffffffffffffffffffffffffffffffffffffff1614806117e557506117e4856117df611716565b61145d565b5b8061182a57506117f3611716565b73ffffffffffffffffffffffffffffffffffffffff16611812846107b0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611863576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118ca576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118d78585856001611e7a565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6119d486611e80565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611a5e576000600184019050600060046000838152602001908152602001600020541415611a5c576000548114611a5b578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ac68585856001611e8a565b5050505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611bb5828260405180602001604052806000815250611e90565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611bdf611716565b8786866040518563ffffffff1660e01b8152600401611c0194939291906128b7565b602060405180830381600087803b158015611c1b57600080fd5b505af1925050508015611c4c57506040513d601f19601f82011682018060405250810190611c49919061252b565b60015b611cc6573d8060008114611c7c576040519150601f19603f3d011682016040523d82523d6000602084013e611c81565b606091505b50600081511415611cbe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415611d61576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e75565b600082905060005b60008214611d93578080611d7c90612d53565b915050600a82611d8c9190612b7b565b9150611d69565b60008167ffffffffffffffff811115611daf57611dae612e89565b5b6040519080825280601f01601f191660200182016040528015611de15781602001600182028036833780820191505090505b5090505b60008514611e6e57600182611dfa9190612c06565b9150600a85611e099190612d9c565b6030611e159190612b25565b60f81b818381518110611e2b57611e2a612e5a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e679190612b7b565b9450611de5565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611efd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415611f38576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f456000858386611e7a565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611faa60018514612145565b901b60a042901b611fba86611e80565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146120be575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461206e6000878480600101955087611bb9565b6120a4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210611fff5782600054146120b957600080fd5b612129565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106120bf575b81600081905550505061213f6000858386611e8a565b50505050565b6000819050919050565b82805461215b90612cf0565b90600052602060002090601f01602090048101928261217d57600085556121c4565b82601f1061219657805160ff19168380011785556121c4565b828001600101855582156121c4579182015b828111156121c35782518255916020019190600101906121a8565b5b5090506121d191906121d5565b5090565b5b808211156121ee5760008160009055506001016121d6565b5090565b600061220561220084612a60565b612a3b565b90508281526020810184848401111561222157612220612ebd565b5b61222c848285612cae565b509392505050565b600061224761224284612a91565b612a3b565b90508281526020810184848401111561226357612262612ebd565b5b61226e848285612cae565b509392505050565b60008135905061228581613074565b92915050565b60008135905061229a8161308b565b92915050565b6000813590506122af816130a2565b92915050565b6000815190506122c4816130a2565b92915050565b600082601f8301126122df576122de612eb8565b5b81356122ef8482602086016121f2565b91505092915050565b600082601f83011261230d5761230c612eb8565b5b813561231d848260208601612234565b91505092915050565b600081359050612335816130b9565b92915050565b60006020828403121561235157612350612ec7565b5b600061235f84828501612276565b91505092915050565b6000806040838503121561237f5761237e612ec7565b5b600061238d85828601612276565b925050602061239e85828601612276565b9150509250929050565b6000806000606084860312156123c1576123c0612ec7565b5b60006123cf86828701612276565b93505060206123e086828701612276565b92505060406123f186828701612326565b9150509250925092565b6000806000806080858703121561241557612414612ec7565b5b600061242387828801612276565b945050602061243487828801612276565b935050604061244587828801612326565b925050606085013567ffffffffffffffff81111561246657612465612ec2565b5b612472878288016122ca565b91505092959194509250565b6000806040838503121561249557612494612ec7565b5b60006124a385828601612276565b92505060206124b48582860161228b565b9150509250929050565b600080604083850312156124d5576124d4612ec7565b5b60006124e385828601612276565b92505060206124f485828601612326565b9150509250929050565b60006020828403121561251457612513612ec7565b5b6000612522848285016122a0565b91505092915050565b60006020828403121561254157612540612ec7565b5b600061254f848285016122b5565b91505092915050565b60006020828403121561256e5761256d612ec7565b5b600082013567ffffffffffffffff81111561258c5761258b612ec2565b5b612598848285016122f8565b91505092915050565b6000602082840312156125b7576125b6612ec7565b5b60006125c584828501612326565b91505092915050565b6125d781612c3a565b82525050565b6125e681612c4c565b82525050565b60006125f782612ad7565b6126018185612aed565b9350612611818560208601612cbd565b61261a81612ecc565b840191505092915050565b600061263082612ae2565b61263a8185612b09565b935061264a818560208601612cbd565b61265381612ecc565b840191505092915050565b600061266982612ae2565b6126738185612b1a565b9350612683818560208601612cbd565b80840191505092915050565b6000815461269c81612cf0565b6126a68186612b1a565b945060018216600081146126c157600181146126d257612705565b60ff19831686528186019350612705565b6126db85612ac2565b60005b838110156126fd578154818901526001820191506020810190506126de565b838801955050505b50505092915050565b600061271b602683612b09565b915061272682612edd565b604082019050919050565b600061273e600583612b1a565b915061274982612f2c565b600582019050919050565b6000612761602083612b09565b915061276c82612f55565b602082019050919050565b6000612784602f83612b09565b915061278f82612f7e565b604082019050919050565b60006127a7601d83612b09565b91506127b282612fcd565b602082019050919050565b60006127ca600083612afe565b91506127d582612ff6565b600082019050919050565b60006127ed601383612b09565b91506127f882612ff9565b602082019050919050565b6000612810601f83612b09565b915061281b82613022565b602082019050919050565b6000612833600983612b09565b915061283e8261304b565b602082019050919050565b61285281612ca4565b82525050565b6000612864828561268f565b9150612870828461265e565b915061287b82612731565b91508190509392505050565b6000612892826127bd565b9150819050919050565b60006020820190506128b160008301846125ce565b92915050565b60006080820190506128cc60008301876125ce565b6128d960208301866125ce565b6128e66040830185612849565b81810360608301526128f881846125ec565b905095945050505050565b600060208201905061291860008301846125dd565b92915050565b600060208201905081810360008301526129388184612625565b905092915050565b600060208201905081810360008301526129598161270e565b9050919050565b6000602082019050818103600083015261297981612754565b9050919050565b6000602082019050818103600083015261299981612777565b9050919050565b600060208201905081810360008301526129b98161279a565b9050919050565b600060208201905081810360008301526129d9816127e0565b9050919050565b600060208201905081810360008301526129f981612803565b9050919050565b60006020820190508181036000830152612a1981612826565b9050919050565b6000602082019050612a356000830184612849565b92915050565b6000612a45612a56565b9050612a518282612d22565b919050565b6000604051905090565b600067ffffffffffffffff821115612a7b57612a7a612e89565b5b612a8482612ecc565b9050602081019050919050565b600067ffffffffffffffff821115612aac57612aab612e89565b5b612ab582612ecc565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612b3082612ca4565b9150612b3b83612ca4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612b7057612b6f612dcd565b5b828201905092915050565b6000612b8682612ca4565b9150612b9183612ca4565b925082612ba157612ba0612dfc565b5b828204905092915050565b6000612bb782612ca4565b9150612bc283612ca4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612bfb57612bfa612dcd565b5b828202905092915050565b6000612c1182612ca4565b9150612c1c83612ca4565b925082821015612c2f57612c2e612dcd565b5b828203905092915050565b6000612c4582612c84565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612cdb578082015181840152602081019050612cc0565b83811115612cea576000848401525b50505050565b60006002820490506001821680612d0857607f821691505b60208210811415612d1c57612d1b612e2b565b5b50919050565b612d2b82612ecc565b810181811067ffffffffffffffff82111715612d4a57612d49612e89565b5b80604052505050565b6000612d5e82612ca4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d9157612d90612dcd565b5b600182019050919050565b6000612da782612ca4565b9150612db283612ca4565b925082612dc257612dc1612dfc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b50565b7f4d61782070657220545820726561636865642e00000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b61307d81612c3a565b811461308857600080fd5b50565b61309481612c4c565b811461309f57600080fd5b50565b6130ab81612c58565b81146130b657600080fd5b50565b6130c281612ca4565b81146130cd57600080fd5b5056fea26469706673582212202c8a89c4a231b31f28b6f7ec74693b7c45bbd41b9602cb6f36e9d7a0fdd84b2564736f6c63430008070033516d553468534a647143376d41314761485533676d7a503848366545617a38375944636b625979396447766b413500000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d553468534a647143376d41314761485533676d7a503848366545617a38375944636b625979396447766b41352f00000000000000000000

Deployed Bytecode

0x6080604052600436106101b75760003560e01c806370a08231116100ec578063a0712d681161008a578063c87b56dd11610064578063c87b56dd146105b8578063de314a59146105f5578063e985e9c514610620578063f2fde38b1461065d576101b7565b8063a0712d681461054a578063a22cb46514610566578063b88d4fde1461058f576101b7565b806391b7f5ed116100c657806391b7f5ed146104a257806392910eec146104cb57806395d89b41146104f45780639cb57d201461051f576101b7565b806370a0823114610423578063715018a6146104605780638da5cb5b14610477576101b7565b806323b872dd1161015957806355f804b31161013357806355f804b3146103675780635e1c4b60146103905780636352211e146103bb5780636c0360eb146103f8576101b7565b806323b872dd1461030b5780633ccfd60b1461033457806342842e0e1461033e576101b7565b8063081812fc11610195578063081812fc1461024f578063095ea7b31461028c57806318160ddd146102b557806322f4596f146102e0576101b7565b806301ffc9a7146101bc5780630387da42146101f957806306fdde0314610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de91906124fe565b610686565b6040516101f09190612903565b60405180910390f35b34801561020557600080fd5b5061020e610718565b60405161021b9190612a20565b60405180910390f35b34801561023057600080fd5b5061023961071e565b604051610246919061291e565b60405180910390f35b34801561025b57600080fd5b50610276600480360381019061027191906125a1565b6107b0565b604051610283919061289c565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae91906124be565b61082c565b005b3480156102c157600080fd5b506102ca6109d3565b6040516102d79190612a20565b60405180910390f35b3480156102ec57600080fd5b506102f56109ea565b6040516103029190612a20565b60405180910390f35b34801561031757600080fd5b50610332600480360381019061032d91906123a8565b6109f0565b005b61033c610a00565b005b34801561034a57600080fd5b50610365600480360381019061036091906123a8565b610b4b565b005b34801561037357600080fd5b5061038e60048036038101906103899190612558565b610b6b565b005b34801561039c57600080fd5b506103a5610c01565b6040516103b29190612a20565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd91906125a1565b610c07565b6040516103ef919061289c565b60405180910390f35b34801561040457600080fd5b5061040d610c19565b60405161041a919061291e565b60405180910390f35b34801561042f57600080fd5b5061044a6004803603810190610445919061233b565b610ca7565b6040516104579190612a20565b60405180910390f35b34801561046c57600080fd5b50610475610d60565b005b34801561048357600080fd5b5061048c610de8565b604051610499919061289c565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906125a1565b610e12565b005b3480156104d757600080fd5b506104f260048036038101906104ed91906125a1565b610e98565b005b34801561050057600080fd5b50610509610f1e565b604051610516919061291e565b60405180910390f35b34801561052b57600080fd5b50610534610fb0565b6040516105419190612a20565b60405180910390f35b610564600480360381019061055f91906125a1565b610fb6565b005b34801561057257600080fd5b5061058d6004803603810190610588919061247e565b6111f0565b005b34801561059b57600080fd5b506105b660048036038101906105b191906123fb565b611368565b005b3480156105c457600080fd5b506105df60048036038101906105da91906125a1565b6113db565b6040516105ec919061291e565b60405180910390f35b34801561060157600080fd5b5061060a611457565b6040516106179190612a20565b60405180910390f35b34801561062c57600080fd5b5061064760048036038101906106429190612368565b61145d565b6040516106549190612903565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f919061233b565b6114f1565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106e157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107115750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600b5481565b60606002805461072d90612cf0565b80601f016020809104026020016040519081016040528092919081815260200182805461075990612cf0565b80156107a65780601f1061077b576101008083540402835291602001916107a6565b820191906000526020600020905b81548152906001019060200180831161078957829003601f168201915b5050505050905090565b60006107bb826115e9565b6107f1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061083782611648565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561089f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108be611716565b73ffffffffffffffffffffffffffffffffffffffff1614610921576108ea816108e5611716565b61145d565b610920576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006109dd61171e565b6001546000540303905090565b600a5481565b6109fb838383611723565b505050565b610a08611acd565b73ffffffffffffffffffffffffffffffffffffffff16610a26610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7390612960565b60405180910390fd5b60026009541415610ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab9906129e0565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051610af090612887565b60006040518083038185875af1925050503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b5050905080610b4057600080fd5b506001600981905550565b610b6683838360405180602001604052806000815250611368565b505050565b610b73611acd565b73ffffffffffffffffffffffffffffffffffffffff16610b91610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde90612960565b60405180910390fd5b80600f9080519060200190610bfd92919061214f565b5050565b600e5481565b6000610c1282611648565b9050919050565b600f8054610c2690612cf0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5290612cf0565b8015610c9f5780601f10610c7457610100808354040283529160200191610c9f565b820191906000526020600020905b815481529060010190602001808311610c8257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d0f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610d68611acd565b73ffffffffffffffffffffffffffffffffffffffff16610d86610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390612960565b60405180910390fd5b610de66000611ad5565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e1a611acd565b73ffffffffffffffffffffffffffffffffffffffff16610e38610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590612960565b60405180910390fd5b80600b8190555050565b610ea0611acd565b73ffffffffffffffffffffffffffffffffffffffff16610ebe610de8565b73ffffffffffffffffffffffffffffffffffffffff1614610f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b90612960565b60405180910390fd5b80600e8190555050565b606060038054610f2d90612cf0565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5990612cf0565b8015610fa65780601f10610f7b57610100808354040283529160200191610fa6565b820191906000526020600020905b815481529060010190602001808311610f8957829003601f168201915b5050505050905090565b600d5481565b6000600b54905060006001600e54610fce9190612b25565b83610fd76109d3565b610fe19190612b25565b10801561103a5750600d5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110379190612b25565b11155b806110775750611048610de8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b9050801561108457600091505b81836110909190612bac565b3410156110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c9906129a0565b60405180910390fd5b6001600a546110e19190612b25565b836110ea6109d3565b6110f49190612b25565b10611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90612a00565b60405180910390fd5b6001600c546111439190612b25565b8310611184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117b906129c0565b60405180910390fd5b80156111e15782601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111d99190612b25565b925050819055505b6111eb3384611b9b565b505050565b6111f8611716565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561125d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061126a611716565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611317611716565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161135c9190612903565b60405180910390a35050565b611373848484611723565b60008373ffffffffffffffffffffffffffffffffffffffff163b146113d55761139e84848484611bb9565b6113d4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606113e6826115e9565b611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141c90612980565b60405180910390fd5b600f61143083611d19565b604051602001611441929190612858565b6040516020818303038152906040529050919050565b600c5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114f9611acd565b73ffffffffffffffffffffffffffffffffffffffff16611517610de8565b73ffffffffffffffffffffffffffffffffffffffff161461156d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156490612960565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d490612940565b60405180910390fd5b6115e681611ad5565b50565b6000816115f461171e565b11158015611603575060005482105b8015611641575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061165761171e565b116116df576000548110156116de5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156116dc575b60008114156116d25760046000836001900393508381526020019081526020016000205490506116a7565b8092505050611711565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b600061172e82611648565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611795576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166117b6611716565b73ffffffffffffffffffffffffffffffffffffffff1614806117e557506117e4856117df611716565b61145d565b5b8061182a57506117f3611716565b73ffffffffffffffffffffffffffffffffffffffff16611812846107b0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611863576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118ca576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118d78585856001611e7a565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6119d486611e80565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611a5e576000600184019050600060046000838152602001908152602001600020541415611a5c576000548114611a5b578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ac68585856001611e8a565b5050505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611bb5828260405180602001604052806000815250611e90565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611bdf611716565b8786866040518563ffffffff1660e01b8152600401611c0194939291906128b7565b602060405180830381600087803b158015611c1b57600080fd5b505af1925050508015611c4c57506040513d601f19601f82011682018060405250810190611c49919061252b565b60015b611cc6573d8060008114611c7c576040519150601f19603f3d011682016040523d82523d6000602084013e611c81565b606091505b50600081511415611cbe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415611d61576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e75565b600082905060005b60008214611d93578080611d7c90612d53565b915050600a82611d8c9190612b7b565b9150611d69565b60008167ffffffffffffffff811115611daf57611dae612e89565b5b6040519080825280601f01601f191660200182016040528015611de15781602001600182028036833780820191505090505b5090505b60008514611e6e57600182611dfa9190612c06565b9150600a85611e099190612d9c565b6030611e159190612b25565b60f81b818381518110611e2b57611e2a612e5a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e679190612b7b565b9450611de5565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611efd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415611f38576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f456000858386611e7a565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611faa60018514612145565b901b60a042901b611fba86611e80565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146120be575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461206e6000878480600101955087611bb9565b6120a4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210611fff5782600054146120b957600080fd5b612129565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106120bf575b81600081905550505061213f6000858386611e8a565b50505050565b6000819050919050565b82805461215b90612cf0565b90600052602060002090601f01602090048101928261217d57600085556121c4565b82601f1061219657805160ff19168380011785556121c4565b828001600101855582156121c4579182015b828111156121c35782518255916020019190600101906121a8565b5b5090506121d191906121d5565b5090565b5b808211156121ee5760008160009055506001016121d6565b5090565b600061220561220084612a60565b612a3b565b90508281526020810184848401111561222157612220612ebd565b5b61222c848285612cae565b509392505050565b600061224761224284612a91565b612a3b565b90508281526020810184848401111561226357612262612ebd565b5b61226e848285612cae565b509392505050565b60008135905061228581613074565b92915050565b60008135905061229a8161308b565b92915050565b6000813590506122af816130a2565b92915050565b6000815190506122c4816130a2565b92915050565b600082601f8301126122df576122de612eb8565b5b81356122ef8482602086016121f2565b91505092915050565b600082601f83011261230d5761230c612eb8565b5b813561231d848260208601612234565b91505092915050565b600081359050612335816130b9565b92915050565b60006020828403121561235157612350612ec7565b5b600061235f84828501612276565b91505092915050565b6000806040838503121561237f5761237e612ec7565b5b600061238d85828601612276565b925050602061239e85828601612276565b9150509250929050565b6000806000606084860312156123c1576123c0612ec7565b5b60006123cf86828701612276565b93505060206123e086828701612276565b92505060406123f186828701612326565b9150509250925092565b6000806000806080858703121561241557612414612ec7565b5b600061242387828801612276565b945050602061243487828801612276565b935050604061244587828801612326565b925050606085013567ffffffffffffffff81111561246657612465612ec2565b5b612472878288016122ca565b91505092959194509250565b6000806040838503121561249557612494612ec7565b5b60006124a385828601612276565b92505060206124b48582860161228b565b9150509250929050565b600080604083850312156124d5576124d4612ec7565b5b60006124e385828601612276565b92505060206124f485828601612326565b9150509250929050565b60006020828403121561251457612513612ec7565b5b6000612522848285016122a0565b91505092915050565b60006020828403121561254157612540612ec7565b5b600061254f848285016122b5565b91505092915050565b60006020828403121561256e5761256d612ec7565b5b600082013567ffffffffffffffff81111561258c5761258b612ec2565b5b612598848285016122f8565b91505092915050565b6000602082840312156125b7576125b6612ec7565b5b60006125c584828501612326565b91505092915050565b6125d781612c3a565b82525050565b6125e681612c4c565b82525050565b60006125f782612ad7565b6126018185612aed565b9350612611818560208601612cbd565b61261a81612ecc565b840191505092915050565b600061263082612ae2565b61263a8185612b09565b935061264a818560208601612cbd565b61265381612ecc565b840191505092915050565b600061266982612ae2565b6126738185612b1a565b9350612683818560208601612cbd565b80840191505092915050565b6000815461269c81612cf0565b6126a68186612b1a565b945060018216600081146126c157600181146126d257612705565b60ff19831686528186019350612705565b6126db85612ac2565b60005b838110156126fd578154818901526001820191506020810190506126de565b838801955050505b50505092915050565b600061271b602683612b09565b915061272682612edd565b604082019050919050565b600061273e600583612b1a565b915061274982612f2c565b600582019050919050565b6000612761602083612b09565b915061276c82612f55565b602082019050919050565b6000612784602f83612b09565b915061278f82612f7e565b604082019050919050565b60006127a7601d83612b09565b91506127b282612fcd565b602082019050919050565b60006127ca600083612afe565b91506127d582612ff6565b600082019050919050565b60006127ed601383612b09565b91506127f882612ff9565b602082019050919050565b6000612810601f83612b09565b915061281b82613022565b602082019050919050565b6000612833600983612b09565b915061283e8261304b565b602082019050919050565b61285281612ca4565b82525050565b6000612864828561268f565b9150612870828461265e565b915061287b82612731565b91508190509392505050565b6000612892826127bd565b9150819050919050565b60006020820190506128b160008301846125ce565b92915050565b60006080820190506128cc60008301876125ce565b6128d960208301866125ce565b6128e66040830185612849565b81810360608301526128f881846125ec565b905095945050505050565b600060208201905061291860008301846125dd565b92915050565b600060208201905081810360008301526129388184612625565b905092915050565b600060208201905081810360008301526129598161270e565b9050919050565b6000602082019050818103600083015261297981612754565b9050919050565b6000602082019050818103600083015261299981612777565b9050919050565b600060208201905081810360008301526129b98161279a565b9050919050565b600060208201905081810360008301526129d9816127e0565b9050919050565b600060208201905081810360008301526129f981612803565b9050919050565b60006020820190508181036000830152612a1981612826565b9050919050565b6000602082019050612a356000830184612849565b92915050565b6000612a45612a56565b9050612a518282612d22565b919050565b6000604051905090565b600067ffffffffffffffff821115612a7b57612a7a612e89565b5b612a8482612ecc565b9050602081019050919050565b600067ffffffffffffffff821115612aac57612aab612e89565b5b612ab582612ecc565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612b3082612ca4565b9150612b3b83612ca4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612b7057612b6f612dcd565b5b828201905092915050565b6000612b8682612ca4565b9150612b9183612ca4565b925082612ba157612ba0612dfc565b5b828204905092915050565b6000612bb782612ca4565b9150612bc283612ca4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612bfb57612bfa612dcd565b5b828202905092915050565b6000612c1182612ca4565b9150612c1c83612ca4565b925082821015612c2f57612c2e612dcd565b5b828203905092915050565b6000612c4582612c84565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612cdb578082015181840152602081019050612cc0565b83811115612cea576000848401525b50505050565b60006002820490506001821680612d0857607f821691505b60208210811415612d1c57612d1b612e2b565b5b50919050565b612d2b82612ecc565b810181811067ffffffffffffffff82111715612d4a57612d49612e89565b5b80604052505050565b6000612d5e82612ca4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d9157612d90612dcd565b5b600182019050919050565b6000612da782612ca4565b9150612db283612ca4565b925082612dc257612dc1612dfc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b50565b7f4d61782070657220545820726561636865642e00000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b61307d81612c3a565b811461308857600080fd5b50565b61309481612c4c565b811461309f57600080fd5b50565b6130ab81612c58565b81146130b657600080fd5b50565b6130c281612ca4565b81146130cd57600080fd5b5056fea26469706673582212202c8a89c4a231b31f28b6f7ec74693b7c45bbd41b9602cb6f36e9d7a0fdd84b2564736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d553468534a647143376d41314761485533676d7a503848366545617a38375944636b625979396447766b41352f00000000000000000000

-----Decoded View---------------
Arg [0] : initBaseURI (string): ipfs://QmU4hSJdqC7mA1GaHU3gmzP8H6eEaz87YDckbYy9dGvkA5/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d553468534a647143376d41314761485533676d7a503848
Arg [3] : 366545617a38375944636b625979396447766b41352f00000000000000000000


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.