ETH Price: $3,682.98 (+1.58%)

Token

ERC-20: MetaHistory (MHXYZ)
 

Overview

Max Total Supply

1,747 MHXYZ

Holders

737

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MHXYZ
0x7a147418ab111785f82c07995d2cfe1f1ced385e
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:
FairXYZMH

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 14 : FairXYZMH.sol
// SPDX-License-Identifier: MIT
// @ Fair.xyz dev

pragma solidity 0.8.7;

import "ERC721xyz.sol";
import "Ownable.sol";
import "Pausable.sol";
import "Ownable.sol";
import "ECDSA.sol";
import "ReentrancyGuard.sol";


contract FairXYZMH is ERC721xyz, Pausable, Ownable, ReentrancyGuard{
    
    string private _name;
    string private _symbol;

    using ECDSA for bytes32;
    
    uint256 public maxTokens;
    
    uint256 internal NFT_price;

    string private baseURI;
    bool internal lockURI;

    address public immutable ukraineAddress = 0x165CD37b4C644C2921454429E7F9358d18A45e14;

    // set this number to 0 for unlimited mints per wallet (also saves gas when minting)
    uint256 internal Max_mints_per_wallet; 

    address public interface_address;

    mapping(bytes32 => bool) private usedHashes;

    mapping(address => uint256) internal mintsPerWallet;

    constructor(uint256 price_, uint max_, string memory name_, string memory symbol_,
                        uint256 mints_per_wallet, address interface_,
                        uint256 _instant_airdrop, string memory URI_base) payable ERC721xyz(_name, _symbol) {
        NFT_price = price_;
        maxTokens = max_;
        _name = name_;
        _symbol = symbol_;
        //Set to 0
        Max_mints_per_wallet = mints_per_wallet;
        interface_address = interface_;
        baseURI = URI_base; 
        // For auction
        _mint(msg.sender, _instant_airdrop);
        _pause();
    }

    // Collection Name
    function name() override public view returns (string memory) {
        return _name;
    }

    // Collection ticker
    function symbol() override public view returns (string memory) {
        return _symbol;
    }

    // Limit on NFT sale
    modifier saleIsOpen{
        require(viewMinted() < maxTokens, "Sale end");
        _;
    }

    // Lock metadata forever
    function lock_URI() external onlyOwner {
        lockURI = true;
    }

    // Modify sale price
    function change_NFT_price(uint new_price) public onlyOwner returns(uint)
    {
        NFT_price = new_price;
        return(NFT_price);
    }
    
    // View price
    function price() public view returns (uint256) {
        return NFT_price; 
    }
    
    // modify the base URI 
    function change_base_URI(string memory new_base_URI)
        onlyOwner
        public
    {   
        require(!lockURI, "URI change has been locked");
        baseURI = new_base_URI;
    }
    
    // return Base URI
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
    
    // pause minting 
    function pause() public onlyOwner {
        _pause();
    }
    
    // unpause minting 
    function unpause() public onlyOwner {
        _unpause();
    }

    function change_interface(address new_address) external onlyOwner returns(address)
    {
        interface_address = new_address;
        return interface_address;
    }

    // Airdrop a token
    function airdrop(address[] memory address_, uint256 token_count) onlyOwner public returns(uint256)
    {
        require(viewMinted() + address_.length * token_count <= maxTokens, "This exceeds the maximum number of NFTs on sale!");
        for(uint256 i = 0; i < address_.length; i++) {
            _mint(address_[i], token_count);
        }
        return viewMinted();
    }

    function hashTransaction(address sender, uint256 qty, uint256 nonce, address address_) private pure returns(bytes32) {
          bytes32 hash = keccak256(abi.encodePacked(
            "\x19Ethereum Signed Message:\n32",
            keccak256(abi.encodePacked(sender, qty, nonce, address_)))
          );
          
          return hash;
    }

    // Change the maximum number of mints per wallet
    function changeMaxMints(uint256 new_MAX) onlyOwner public returns(uint256)
    {
        Max_mints_per_wallet = new_MAX;
        return(Max_mints_per_wallet);
    }
    
    // View block number
    function view_block_number() public view returns(uint256){
        return(block.number);
    }

    // View remaining mints per wallet
    function view_remaining_mints(address address_) public view returns(uint256){
        return(Max_mints_per_wallet - mintsPerWallet[address_]);
    }

    // Mint tokens
    function mint(bytes memory signature, uint256 nonce, uint256 numberOfTokens)
        payable
        public
        whenNotPaused
        saleIsOpen
        returns (uint256)
    {
        bytes32 messageHash = hashTransaction(msg.sender, numberOfTokens, nonce, address(this));
        address sign_add = IFairXYZWallets(interface_address).view_signer();
        require(messageHash.recover(signature) == sign_add, "Unrecognizable Hash");
        require(!usedHashes[messageHash], "Reused Hash");
        require(viewMinted() + numberOfTokens <= maxTokens, "This amount exceeds the maximum number of NFTs on sale!");
        require(msg.value >= NFT_price * numberOfTokens, "You have not sent the required amount of ETH");
        require(numberOfTokens <= 20, "Token minting limit per transaction exceeded");
        require(block.number <= nonce  + 20, "Time limit has passed");

        if(Max_mints_per_wallet > 0)
            require(mintsPerWallet[msg.sender] + numberOfTokens <= Max_mints_per_wallet, "Exceeds number of mints per wallet");

        _mint(msg.sender, numberOfTokens);

        usedHashes[messageHash] = true;

        if(Max_mints_per_wallet > 0)
            mintsPerWallet[msg.sender] += numberOfTokens;
        
        return viewMinted();
    }

    // view the address of the Ukraine wallet
    function view_Ukraine() view public returns(address)
        {return(ukraineAddress);}

    // anybody - withdraw contract balance to ukraineAddress
    function withdraw()
        public
        payable
        nonReentrant
    {   
        require(msg.sender == tx.origin, "Sender must be a wallet");
        uint256 bal_ = address(this).balance;
        payable(ukraineAddress).transfer(bal_);
    }
}

File 2 of 14 : ERC721xyz.sol
// SPDX-License-Identifier: MIT

// @ Fair.xyz dev

pragma solidity 0.8.7;

import "IERC721.sol";
import "IERC721Receiver.sol";
import "IERC721Metadata.sol";
import "Address.sol";
import "Context.sol";
import "Strings.sol";
import "ERC165.sol";

interface IFairXYZWallets {
    function view_signer() view external returns(address);
    function view_withdraw() view external returns(address);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721xyz is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Token mint count
    uint256 _mintedTokens;

    // Token burnt count
    uint256 _burntTokens;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping from token ID to original owner address
    mapping(uint256 => address) private orig_owners;

    // Burnt tokens
    mapping(uint256 => bool) private burnedTokens;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev Returns number of minted Tokens
     */
    function viewMinted() public view virtual returns(uint256) {
        return _mintedTokens;
    }

    // return all tokens

    function totalSupply() public view virtual returns(uint256) {
        return _mintedTokens - _burntTokens;
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * FAIR.xyz 
     * Batch minting optimisation
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 numberOfTokens) internal virtual {

        require(to != address(0), "ERC721: mint to the zero address");

        uint256 orig_count = _mintedTokens;
  
        _mintedTokens += numberOfTokens;

        _beforeTokenTransfer(address(0), to, _mintedTokens);

        _balances[to] += numberOfTokens;

        orig_owners[_mintedTokens] = to;

        for (uint i = orig_count + 1; i <= orig_count + numberOfTokens; i++) {
                emit Transfer(address(0), to, i);
            }        

        _afterTokenTransfer(address(0), to, _mintedTokens);
    }

    /**
     * @dev See {IERC721-ownerOf}.
     *
     * FAIR.xyz
     * Batch minting modification
     *
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {

        require( 0 < tokenId && tokenId <= _mintedTokens, "ERC721xyz: owner query for nonexistent token" );      
        require( !burnedTokens[tokenId], "ERC721xyz: burnt token" );
        
        uint256 counter = tokenId;
        
        if(_owners[tokenId] == address(0))
        {
            while (true) {
                        
                        address first_owner = orig_owners[counter];
                        if (first_owner != address(0)) {
                            return first_owner;
                        }
                        counter++;
            }
        } else {
            return _owners[tokenId];
        }

        revert ("TokenDoesNotExist");
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721xyz.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {

        if(burnedTokens[tokenId]) return false;

        return (0 < tokenId && tokenId <= _mintedTokens);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721xyz.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenCount) internal virtual {
        _safeMint(to, tokenCount, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenCount,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenCount);
        require(
            _checkOnERC721Received(address(0), to, _mintedTokens, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        burnedTokens[tokenId] = true;
        _burntTokens += 1;

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721xyz.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 5 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 7 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 9 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 10 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC165.sol";

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

File 11 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 12 of 14 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 13 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            revert("ECDSA: invalid signature length");
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        return recover(hash, v, r, s);
    }

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

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

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

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 14 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "FairXYZMH.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"uint256","name":"max_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"mints_per_wallet","type":"uint256"},{"internalType":"address","name":"interface_","type":"address"},{"internalType":"uint256","name":"_instant_airdrop","type":"uint256"},{"internalType":"string","name":"URI_base","type":"string"}],"stateMutability":"payable","type":"constructor"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address[]","name":"address_","type":"address[]"},{"internalType":"uint256","name":"token_count","type":"uint256"}],"name":"airdrop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"new_MAX","type":"uint256"}],"name":"changeMaxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_price","type":"uint256"}],"name":"change_NFT_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"new_base_URI","type":"string"}],"name":"change_base_URI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new_address","type":"address"}],"name":"change_interface","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"interface_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lock_URI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"ukraineAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"viewMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"view_Ukraine","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"view_block_number","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"view_remaining_mints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60a060408190527f165cd37b4c644c2921454429e7f9358d18a45e14000000000000000000000000608052620030b6388190039081908339810160408190526200004991620005f4565b600c80546200005890620006db565b80601f01602080910402602001604051908101604052809291908181526020018280546200008690620006db565b8015620000d75780601f10620000ab57610100808354040283529160200191620000d7565b820191906000526020600020905b815481529060010190602001808311620000b957829003601f168201915b5050505050600d8054620000eb90620006db565b80601f01602080910402602001604051908101604052809291908181526020018280546200011990620006db565b80156200016a5780601f106200013e576101008083540402835291602001916200016a565b820191906000526020600020905b8154815290600101906020018083116200014c57829003601f168201915b50508451620001849350600092506020860191506200047a565b5080516200019a9060019060208401906200047a565b5050600a80546001600160a81b0319163361010081029190911790915560405190915081906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600b55600f889055600e87905585516200020c90600c9060208901906200047a565b5084516200022290600d9060208801906200047a565b506012849055601380546001600160a01b0319166001600160a01b0385161790558051620002589060109060208401906200047a565b506200026533836200027d565b6200026f620003df565b505050505050505062000762565b6001600160a01b038216620002d95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064015b60405180910390fd5b600280549082906000620002ee8385620006c0565b90915550620002fa9050565b6001600160a01b0383166000908152600760205260408120805484929062000324908490620006c0565b9091555050600254600090815260056020526040812080546001600160a01b0319166001600160a01b03861617905562000360826001620006c0565b90505b6200036f8383620006c0565b8111620003c35760405181906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480620003ba8162000718565b91505062000363565b50620003da600084600254620003da60201b60201c565b505050565b600a5460ff1615620004275760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620002d0565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200045d3390565b6040516001600160a01b03909116815260200160405180910390a1565b8280546200048890620006db565b90600052602060002090601f016020900481019282620004ac5760008555620004f7565b82601f10620004c757805160ff1916838001178555620004f7565b82800160010185558215620004f7579182015b82811115620004f7578251825591602001919060010190620004da565b506200050592915062000509565b5090565b5b808211156200050557600081556001016200050a565b80516001600160a01b03811681146200053857600080fd5b919050565b600082601f8301126200054f57600080fd5b81516001600160401b03808211156200056c576200056c6200074c565b604051601f8301601f19908116603f011681019082821181831017156200059757620005976200074c565b81604052838152602092508683858801011115620005b457600080fd5b600091505b83821015620005d85785820183015181830184015290820190620005b9565b83821115620005ea5760008385830101525b9695505050505050565b600080600080600080600080610100898b0312156200061257600080fd5b885160208a015160408b015191995097506001600160401b03808211156200063957600080fd5b620006478c838d016200053d565b975060608b01519150808211156200065e57600080fd5b6200066c8c838d016200053d565b965060808b015195506200068360a08c0162000520565b945060c08b0151935060e08b0151915080821115620006a157600080fd5b50620006b08b828c016200053d565b9150509295985092959890939650565b60008219821115620006d657620006d662000736565b500190565b600181811c90821680620006f057607f821691505b602082108114156200071257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200072f576200072f62000736565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160601c6129276200078f60003960008181610438015281816104db0152610a0b01526129276000f3fe60806040526004361061020f5760003560e01c8063848bacbc11610118578063c204642c116100a0578063e83157421161006f578063e8315742146105c7578063e985e9c5146105dd578063edf9fcda14610626578063f2fde38b14610646578063f4389da01461066657600080fd5b8063c204642c14610552578063c87b56dd14610572578063cf2aca6914610592578063e05ec56e146105a757600080fd5b806395d89b41116100e757806395d89b41146104b457806399c16503146104c9578063a035b1fe146104fd578063a22cb46514610512578063b88d4fde1461053257600080fd5b8063848bacbc146104295780638c50a5d81461045c5780638da5cb5b1461047c57806390411aca1461049f57600080fd5b806342842e0e1161019b57806364ea60b61161016a57806364ea60b6146103ac57806370a08231146103cc57806370f93ede146103ec578063715018a6146103ff5780638456cb591461041457600080fd5b806342842e0e146103345780635c975abb14610354578063605470261461036c5780636352211e1461038c57600080fd5b8063095ea7b3116101e2578063095ea7b3146102c057806318160ddd146102e257806323b872dd146102f75780633ccfd60b146103175780633f4ba83a1461031f57600080fd5b806301ffc9a71461021457806306fdde031461024957806307bd8b9b1461026b578063081812fc14610288575b600080fd5b34801561022057600080fd5b5061023461022f3660046124df565b610686565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106d8565b6040516102409190612657565b34801561027757600080fd5b50435b604051908152602001610240565b34801561029457600080fd5b506102a86102a33660046125b0565b61076a565b6040516001600160a01b039091168152602001610240565b3480156102cc57600080fd5b506102e06102db3660046123f4565b6107f7565b005b3480156102ee57600080fd5b5061027a61090d565b34801561030357600080fd5b506102e0610312366004612314565b610924565b6102e0610955565b34801561032b57600080fd5b506102e0610a5d565b34801561034057600080fd5b506102e061034f366004612314565b610a97565b34801561036057600080fd5b50600a5460ff16610234565b34801561037857600080fd5b5061027a6103873660046125b0565b610ab2565b34801561039857600080fd5b506102a86103a73660046125b0565b610aee565b3480156103b857600080fd5b506102e06103c7366004612567565b610c2f565b3480156103d857600080fd5b5061027a6103e73660046122a1565b610cc9565b61027a6103fa366004612519565b610d50565b34801561040b57600080fd5b506102e0611230565b34801561042057600080fd5b506102e06112b0565b34801561043557600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102a8565b34801561046857600080fd5b506102a86104773660046122a1565b6112e8565b34801561048857600080fd5b50600a5461010090046001600160a01b03166102a8565b3480156104ab57600080fd5b5060025461027a565b3480156104c057600080fd5b5061025e61133e565b3480156104d557600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561050957600080fd5b50600f5461027a565b34801561051e57600080fd5b506102e061052d3660046123c1565b61134d565b34801561053e57600080fd5b506102e061054d366004612355565b611358565b34801561055e57600080fd5b5061027a61056d366004612420565b611390565b34801561057e57600080fd5b5061025e61058d3660046125b0565b611494565b34801561059e57600080fd5b506102e061155e565b3480156105b357600080fd5b5061027a6105c23660046122a1565b61159d565b3480156105d357600080fd5b5061027a600e5481565b3480156105e957600080fd5b506102346105f83660046122db565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561063257600080fd5b506013546102a8906001600160a01b031681565b34801561065257600080fd5b506102e06106613660046122a1565b6115c3565b34801561067257600080fd5b5061027a6106813660046125b0565b6116bf565b60006001600160e01b031982166380ac58cd60e01b14806106b757506001600160e01b03198216635b5e139f60e01b145b806106d257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600c80546106e790612801565b80601f016020809104026020016040519081016040528092919081815260200182805461071390612801565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5050505050905090565b6000610775826116fb565b6107db5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061080282610aee565b9050806001600160a01b0316836001600160a01b031614156108705760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107d2565b336001600160a01b038216148061088c575061088c81336105f8565b6108fe5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107d2565b610908838361172e565b505050565b600060035460025461091f91906127be565b905090565b61092e338261179c565b61094a5760405162461bcd60e51b81526004016107d2906126f1565b610908838383611886565b6002600b5414156109a85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107d2565b6002600b553332146109fc5760405162461bcd60e51b815260206004820152601760248201527f53656e646572206d75737420626520612077616c6c657400000000000000000060448201526064016107d2565b60405147906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169082156108fc029083906000818181858888f19350505050158015610a54573d6000803e3d6000fd5b50506001600b55565b600a546001600160a01b03610100909104163314610a8d5760405162461bcd60e51b81526004016107d2906126bc565b610a95611a22565b565b61090883838360405180602001604052806000815250611358565b600a546000906001600160a01b03610100909104163314610ae55760405162461bcd60e51b81526004016107d2906126bc565b50600f81905590565b6000816000108015610b0257506002548211155b610b635760405162461bcd60e51b815260206004820152602c60248201527f45524337323178797a3a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d2565b60008281526006602052604090205460ff1615610bbb5760405162461bcd60e51b815260206004820152601660248201527522a9219b9918bc3cbd1d10313ab9373a103a37b5b2b760511b60448201526064016107d2565b60008281526004602052604090205482906001600160a01b0316610c12575b6000818152600560205260409020546001600160a01b03168015610bff579392505050565b81610c098161283c565b92505050610bda565b50506000908152600460205260409020546001600160a01b031690565b600a546001600160a01b03610100909104163314610c5f5760405162461bcd60e51b81526004016107d2906126bc565b60115460ff1615610cb25760405162461bcd60e51b815260206004820152601a60248201527f555249206368616e676520686173206265656e206c6f636b656400000000000060448201526064016107d2565b8051610cc5906010906020840190612190565b5050565b60006001600160a01b038216610d345760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107d2565b506001600160a01b031660009081526007602052604090205490565b6000610d5e600a5460ff1690565b15610d9e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107d2565b600e5460025410610ddc5760405162461bcd60e51b815260206004820152600860248201526714d85b1948195b9960c21b60448201526064016107d2565b6040805133606090811b6bffffffffffffffffffffffff1990811660208085019190915260348401879052605484018890523090921b166074830152825160688184030181526088830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060a884015260c4808401919091528351808403909101815260e48301808552815191830191909120601354633b65869960e01b90925293516000936001600160a01b0390921692633b6586999260e88082019391829003018186803b158015610eb757600080fd5b505afa158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef91906122be565b90506001600160a01b038116610f058388611ab5565b6001600160a01b031614610f515760405162461bcd60e51b81526020600482015260136024820152720aadce4cac6decedcd2f4c2c4d8ca4090c2e6d606b1b60448201526064016107d2565b60008281526014602052604090205460ff1615610f9e5760405162461bcd60e51b815260206004820152600b60248201526a0a4caeae6cac84090c2e6d60ab1b60448201526064016107d2565b600e5484610fab60025490565b610fb59190612773565b11156110295760405162461bcd60e51b815260206004820152603760248201527f5468697320616d6f756e74206578636565647320746865206d6178696d756d2060448201527f6e756d626572206f66204e465473206f6e2073616c652100000000000000000060648201526084016107d2565b83600f54611037919061279f565b34101561109b5760405162461bcd60e51b815260206004820152602c60248201527f596f752068617665206e6f742073656e7420746865207265717569726564206160448201526b0dadeeadce840decc408aa8960a31b60648201526084016107d2565b60148411156111015760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e206d696e74696e67206c696d697420706572207472616e7361637460448201526b1a5bdb88195e18d95959195960a21b60648201526084016107d2565b61110c856014612773565b4311156111535760405162461bcd60e51b8152602060048201526015602482015274151a5b59481b1a5b5a5d081a185cc81c185cdcd959605a1b60448201526064016107d2565b601254156111d25760125433600090815260156020526040902054611179908690612773565b11156111d25760405162461bcd60e51b815260206004820152602260248201527f45786365656473206e756d626572206f66206d696e7473207065722077616c6c604482015261195d60f21b60648201526084016107d2565b6111dc3385611b26565b6000828152601460205260409020805460ff191660011790556012541561122257336000908152601560205260408120805486929061121c908490612773565b90915550505b6002545b9695505050505050565b600a546001600160a01b036101009091041633146112605760405162461bcd60e51b81526004016107d2906126bc565b600a5460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a8054610100600160a81b0319169055565b600a546001600160a01b036101009091041633146112e05760405162461bcd60e51b81526004016107d2906126bc565b610a95611c53565b600a546000906001600160a01b0361010090910416331461131b5760405162461bcd60e51b81526004016107d2906126bc565b50601380546001600160a01b0319166001600160a01b0392909216918217905590565b6060600d80546106e790612801565b610cc5338383611cce565b611362338361179c565b61137e5760405162461bcd60e51b81526004016107d2906126f1565b61138a84848484611d9d565b50505050565b600a546000906001600160a01b036101009091041633146113c35760405162461bcd60e51b81526004016107d2906126bc565b600e548284516113d3919061279f565b6002546113e09190612773565b11156114475760405162461bcd60e51b815260206004820152603060248201527f54686973206578636565647320746865206d6178696d756d206e756d6265722060448201526f6f66204e465473206f6e2073616c652160801b60648201526084016107d2565b60005b83518110156114885761147684828151811061146857611468612897565b602002602001015184611b26565b806114808161283c565b91505061144a565b506002545b9392505050565b606061149f826116fb565b6115035760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107d2565b600061150d611dd0565b9050600081511161152d576040518060200160405280600081525061148d565b8061153784611ddf565b6040516020016115489291906125f5565b6040516020818303038152906040529392505050565b600a546001600160a01b0361010090910416331461158e5760405162461bcd60e51b81526004016107d2906126bc565b6011805460ff19166001179055565b6001600160a01b0381166000908152601560205260408120546012546106d291906127be565b600a546001600160a01b036101009091041633146115f35760405162461bcd60e51b81526004016107d2906126bc565b6001600160a01b0381166116585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d2565b600a546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600a546000906001600160a01b036101009091041633146116f25760405162461bcd60e51b81526004016107d2906126bc565b50601281905590565b60008181526006602052604081205460ff161561171a57506000919050565b8160001080156106d2575050600254101590565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061176382610aee565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117a7826116fb565b6118085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d2565b600061181383610aee565b9050806001600160a01b0316846001600160a01b0316148061184e5750836001600160a01b03166118438461076a565b6001600160a01b0316145b8061187e57506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661189982610aee565b6001600160a01b0316146118fd5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107d2565b6001600160a01b03821661195f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107d2565b61196a60008261172e565b6001600160a01b03831660009081526007602052604081208054600192906119939084906127be565b90915550506001600160a01b03821660009081526007602052604081208054600192906119c1908490612773565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a5460ff16611a6b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107d2565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008151604114611b085760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107d2565b60208201516040830151606084015160001a61122686828585611edd565b6001600160a01b038216611b7c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d2565b600280549082906000611b8f8385612773565b90915550506001600160a01b03831660009081526007602052604081208054849290611bbc908490612773565b9091555050600254600090815260056020526040812080546001600160a01b0319166001600160a01b038616179055611bf6826001612773565b90505b611c038383612773565b811161138a5760405181906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480611c4b8161283c565b915050611bf9565b600a5460ff1615611c995760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107d2565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a983390565b816001600160a01b0316836001600160a01b03161415611d305760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d2565b6001600160a01b03838116600081815260096020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611da8848484611886565b611db484848484612086565b61138a5760405162461bcd60e51b81526004016107d29061266a565b6060601080546106e790612801565b606081611e035750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e2d5780611e178161283c565b9150611e269050600a8361278b565b9150611e07565b60008167ffffffffffffffff811115611e4857611e486128ad565b6040519080825280601f01601f191660200182016040528015611e72576020820181803683370190505b5090505b841561187e57611e876001836127be565b9150611e94600a86612857565b611e9f906030612773565b60f81b818381518110611eb457611eb4612897565b60200101906001600160f81b031916908160001a905350611ed6600a8661278b565b9450611e76565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611f5a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107d2565b8360ff16601b1480611f6f57508360ff16601c145b611fc65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107d2565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561201a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661207d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107d2565b95945050505050565b60006001600160a01b0384163b1561218857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120ca903390899088908890600401612624565b602060405180830381600087803b1580156120e457600080fd5b505af1925050508015612114575060408051601f3d908101601f19168201909252612111918101906124fc565b60015b61216e573d808015612142576040519150601f19603f3d011682016040523d82523d6000602084013e612147565b606091505b5080516121665760405162461bcd60e51b81526004016107d29061266a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061187e565b50600161187e565b82805461219c90612801565b90600052602060002090601f0160209004810192826121be5760008555612204565b82601f106121d757805160ff1916838001178555612204565b82800160010185558215612204579182015b828111156122045782518255916020019190600101906121e9565b50612210929150612214565b5090565b5b808211156122105760008155600101612215565b600067ffffffffffffffff831115612243576122436128ad565b612256601f8401601f1916602001612742565b905082815283838301111561226a57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261229257600080fd5b61148d83833560208501612229565b6000602082840312156122b357600080fd5b813561148d816128c3565b6000602082840312156122d057600080fd5b815161148d816128c3565b600080604083850312156122ee57600080fd5b82356122f9816128c3565b91506020830135612309816128c3565b809150509250929050565b60008060006060848603121561232957600080fd5b8335612334816128c3565b92506020840135612344816128c3565b929592945050506040919091013590565b6000806000806080858703121561236b57600080fd5b8435612376816128c3565b93506020850135612386816128c3565b925060408501359150606085013567ffffffffffffffff8111156123a957600080fd5b6123b587828801612281565b91505092959194509250565b600080604083850312156123d457600080fd5b82356123df816128c3565b91506020830135801515811461230957600080fd5b6000806040838503121561240757600080fd5b8235612412816128c3565b946020939093013593505050565b6000806040838503121561243357600080fd5b823567ffffffffffffffff8082111561244b57600080fd5b818501915085601f83011261245f57600080fd5b8135602082821115612473576124736128ad565b8160051b9250612484818401612742565b8281528181019085830185870184018b101561249f57600080fd5b600096505b848710156124ce57803595506124b9866128c3565b858352600196909601959183019183016124a4565b509997909101359750505050505050565b6000602082840312156124f157600080fd5b813561148d816128db565b60006020828403121561250e57600080fd5b815161148d816128db565b60008060006060848603121561252e57600080fd5b833567ffffffffffffffff81111561254557600080fd5b61255186828701612281565b9660208601359650604090950135949350505050565b60006020828403121561257957600080fd5b813567ffffffffffffffff81111561259057600080fd5b8201601f810184136125a157600080fd5b61187e84823560208401612229565b6000602082840312156125c257600080fd5b5035919050565b600081518084526125e18160208601602086016127d5565b601f01601f19169290920160200192915050565b600083516126078184602088016127d5565b83519083019061261b8183602088016127d5565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611226908301846125c9565b60208152600061148d60208301846125c9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561276b5761276b6128ad565b604052919050565b600082198211156127865761278661286b565b500190565b60008261279a5761279a612881565b500490565b60008160001904831182151516156127b9576127b961286b565b500290565b6000828210156127d0576127d061286b565b500390565b60005b838110156127f05781810151838201526020016127d8565b8381111561138a5750506000910152565b600181811c9082168061281557607f821691505b6020821081141561283657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128505761285061286b565b5060010190565b60008261286657612866612881565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146128d857600080fd5b50565b6001600160e01b0319811681146128d857600080fdfea2646970667358221220c69a47424b6aa40053a3e0a28bb2d699d63057e8ad5a2d913ade3c7a193a2cb464736f6c634300080700330000000000000000000000000000000000000000000000000214e8348c4f00000000000000000000000000000000000000000000000000000000000000000886000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000032000000000000000000000000a81e4bc05e57ad79514f56546992d46adf6ad44600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000b4d657461486973746f727900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4858595a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d553367484634357352586279786f6a6857454a56316d36743551466b3744754369344c6553504b3837514a362f00000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c8063848bacbc11610118578063c204642c116100a0578063e83157421161006f578063e8315742146105c7578063e985e9c5146105dd578063edf9fcda14610626578063f2fde38b14610646578063f4389da01461066657600080fd5b8063c204642c14610552578063c87b56dd14610572578063cf2aca6914610592578063e05ec56e146105a757600080fd5b806395d89b41116100e757806395d89b41146104b457806399c16503146104c9578063a035b1fe146104fd578063a22cb46514610512578063b88d4fde1461053257600080fd5b8063848bacbc146104295780638c50a5d81461045c5780638da5cb5b1461047c57806390411aca1461049f57600080fd5b806342842e0e1161019b57806364ea60b61161016a57806364ea60b6146103ac57806370a08231146103cc57806370f93ede146103ec578063715018a6146103ff5780638456cb591461041457600080fd5b806342842e0e146103345780635c975abb14610354578063605470261461036c5780636352211e1461038c57600080fd5b8063095ea7b3116101e2578063095ea7b3146102c057806318160ddd146102e257806323b872dd146102f75780633ccfd60b146103175780633f4ba83a1461031f57600080fd5b806301ffc9a71461021457806306fdde031461024957806307bd8b9b1461026b578063081812fc14610288575b600080fd5b34801561022057600080fd5b5061023461022f3660046124df565b610686565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106d8565b6040516102409190612657565b34801561027757600080fd5b50435b604051908152602001610240565b34801561029457600080fd5b506102a86102a33660046125b0565b61076a565b6040516001600160a01b039091168152602001610240565b3480156102cc57600080fd5b506102e06102db3660046123f4565b6107f7565b005b3480156102ee57600080fd5b5061027a61090d565b34801561030357600080fd5b506102e0610312366004612314565b610924565b6102e0610955565b34801561032b57600080fd5b506102e0610a5d565b34801561034057600080fd5b506102e061034f366004612314565b610a97565b34801561036057600080fd5b50600a5460ff16610234565b34801561037857600080fd5b5061027a6103873660046125b0565b610ab2565b34801561039857600080fd5b506102a86103a73660046125b0565b610aee565b3480156103b857600080fd5b506102e06103c7366004612567565b610c2f565b3480156103d857600080fd5b5061027a6103e73660046122a1565b610cc9565b61027a6103fa366004612519565b610d50565b34801561040b57600080fd5b506102e0611230565b34801561042057600080fd5b506102e06112b0565b34801561043557600080fd5b507f000000000000000000000000165cd37b4c644c2921454429e7f9358d18a45e146102a8565b34801561046857600080fd5b506102a86104773660046122a1565b6112e8565b34801561048857600080fd5b50600a5461010090046001600160a01b03166102a8565b3480156104ab57600080fd5b5060025461027a565b3480156104c057600080fd5b5061025e61133e565b3480156104d557600080fd5b506102a87f000000000000000000000000165cd37b4c644c2921454429e7f9358d18a45e1481565b34801561050957600080fd5b50600f5461027a565b34801561051e57600080fd5b506102e061052d3660046123c1565b61134d565b34801561053e57600080fd5b506102e061054d366004612355565b611358565b34801561055e57600080fd5b5061027a61056d366004612420565b611390565b34801561057e57600080fd5b5061025e61058d3660046125b0565b611494565b34801561059e57600080fd5b506102e061155e565b3480156105b357600080fd5b5061027a6105c23660046122a1565b61159d565b3480156105d357600080fd5b5061027a600e5481565b3480156105e957600080fd5b506102346105f83660046122db565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561063257600080fd5b506013546102a8906001600160a01b031681565b34801561065257600080fd5b506102e06106613660046122a1565b6115c3565b34801561067257600080fd5b5061027a6106813660046125b0565b6116bf565b60006001600160e01b031982166380ac58cd60e01b14806106b757506001600160e01b03198216635b5e139f60e01b145b806106d257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600c80546106e790612801565b80601f016020809104026020016040519081016040528092919081815260200182805461071390612801565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5050505050905090565b6000610775826116fb565b6107db5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061080282610aee565b9050806001600160a01b0316836001600160a01b031614156108705760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107d2565b336001600160a01b038216148061088c575061088c81336105f8565b6108fe5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107d2565b610908838361172e565b505050565b600060035460025461091f91906127be565b905090565b61092e338261179c565b61094a5760405162461bcd60e51b81526004016107d2906126f1565b610908838383611886565b6002600b5414156109a85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107d2565b6002600b553332146109fc5760405162461bcd60e51b815260206004820152601760248201527f53656e646572206d75737420626520612077616c6c657400000000000000000060448201526064016107d2565b60405147906001600160a01b037f000000000000000000000000165cd37b4c644c2921454429e7f9358d18a45e14169082156108fc029083906000818181858888f19350505050158015610a54573d6000803e3d6000fd5b50506001600b55565b600a546001600160a01b03610100909104163314610a8d5760405162461bcd60e51b81526004016107d2906126bc565b610a95611a22565b565b61090883838360405180602001604052806000815250611358565b600a546000906001600160a01b03610100909104163314610ae55760405162461bcd60e51b81526004016107d2906126bc565b50600f81905590565b6000816000108015610b0257506002548211155b610b635760405162461bcd60e51b815260206004820152602c60248201527f45524337323178797a3a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d2565b60008281526006602052604090205460ff1615610bbb5760405162461bcd60e51b815260206004820152601660248201527522a9219b9918bc3cbd1d10313ab9373a103a37b5b2b760511b60448201526064016107d2565b60008281526004602052604090205482906001600160a01b0316610c12575b6000818152600560205260409020546001600160a01b03168015610bff579392505050565b81610c098161283c565b92505050610bda565b50506000908152600460205260409020546001600160a01b031690565b600a546001600160a01b03610100909104163314610c5f5760405162461bcd60e51b81526004016107d2906126bc565b60115460ff1615610cb25760405162461bcd60e51b815260206004820152601a60248201527f555249206368616e676520686173206265656e206c6f636b656400000000000060448201526064016107d2565b8051610cc5906010906020840190612190565b5050565b60006001600160a01b038216610d345760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107d2565b506001600160a01b031660009081526007602052604090205490565b6000610d5e600a5460ff1690565b15610d9e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107d2565b600e5460025410610ddc5760405162461bcd60e51b815260206004820152600860248201526714d85b1948195b9960c21b60448201526064016107d2565b6040805133606090811b6bffffffffffffffffffffffff1990811660208085019190915260348401879052605484018890523090921b166074830152825160688184030181526088830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060a884015260c4808401919091528351808403909101815260e48301808552815191830191909120601354633b65869960e01b90925293516000936001600160a01b0390921692633b6586999260e88082019391829003018186803b158015610eb757600080fd5b505afa158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef91906122be565b90506001600160a01b038116610f058388611ab5565b6001600160a01b031614610f515760405162461bcd60e51b81526020600482015260136024820152720aadce4cac6decedcd2f4c2c4d8ca4090c2e6d606b1b60448201526064016107d2565b60008281526014602052604090205460ff1615610f9e5760405162461bcd60e51b815260206004820152600b60248201526a0a4caeae6cac84090c2e6d60ab1b60448201526064016107d2565b600e5484610fab60025490565b610fb59190612773565b11156110295760405162461bcd60e51b815260206004820152603760248201527f5468697320616d6f756e74206578636565647320746865206d6178696d756d2060448201527f6e756d626572206f66204e465473206f6e2073616c652100000000000000000060648201526084016107d2565b83600f54611037919061279f565b34101561109b5760405162461bcd60e51b815260206004820152602c60248201527f596f752068617665206e6f742073656e7420746865207265717569726564206160448201526b0dadeeadce840decc408aa8960a31b60648201526084016107d2565b60148411156111015760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e206d696e74696e67206c696d697420706572207472616e7361637460448201526b1a5bdb88195e18d95959195960a21b60648201526084016107d2565b61110c856014612773565b4311156111535760405162461bcd60e51b8152602060048201526015602482015274151a5b59481b1a5b5a5d081a185cc81c185cdcd959605a1b60448201526064016107d2565b601254156111d25760125433600090815260156020526040902054611179908690612773565b11156111d25760405162461bcd60e51b815260206004820152602260248201527f45786365656473206e756d626572206f66206d696e7473207065722077616c6c604482015261195d60f21b60648201526084016107d2565b6111dc3385611b26565b6000828152601460205260409020805460ff191660011790556012541561122257336000908152601560205260408120805486929061121c908490612773565b90915550505b6002545b9695505050505050565b600a546001600160a01b036101009091041633146112605760405162461bcd60e51b81526004016107d2906126bc565b600a5460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a8054610100600160a81b0319169055565b600a546001600160a01b036101009091041633146112e05760405162461bcd60e51b81526004016107d2906126bc565b610a95611c53565b600a546000906001600160a01b0361010090910416331461131b5760405162461bcd60e51b81526004016107d2906126bc565b50601380546001600160a01b0319166001600160a01b0392909216918217905590565b6060600d80546106e790612801565b610cc5338383611cce565b611362338361179c565b61137e5760405162461bcd60e51b81526004016107d2906126f1565b61138a84848484611d9d565b50505050565b600a546000906001600160a01b036101009091041633146113c35760405162461bcd60e51b81526004016107d2906126bc565b600e548284516113d3919061279f565b6002546113e09190612773565b11156114475760405162461bcd60e51b815260206004820152603060248201527f54686973206578636565647320746865206d6178696d756d206e756d6265722060448201526f6f66204e465473206f6e2073616c652160801b60648201526084016107d2565b60005b83518110156114885761147684828151811061146857611468612897565b602002602001015184611b26565b806114808161283c565b91505061144a565b506002545b9392505050565b606061149f826116fb565b6115035760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107d2565b600061150d611dd0565b9050600081511161152d576040518060200160405280600081525061148d565b8061153784611ddf565b6040516020016115489291906125f5565b6040516020818303038152906040529392505050565b600a546001600160a01b0361010090910416331461158e5760405162461bcd60e51b81526004016107d2906126bc565b6011805460ff19166001179055565b6001600160a01b0381166000908152601560205260408120546012546106d291906127be565b600a546001600160a01b036101009091041633146115f35760405162461bcd60e51b81526004016107d2906126bc565b6001600160a01b0381166116585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d2565b600a546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600a546000906001600160a01b036101009091041633146116f25760405162461bcd60e51b81526004016107d2906126bc565b50601281905590565b60008181526006602052604081205460ff161561171a57506000919050565b8160001080156106d2575050600254101590565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061176382610aee565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117a7826116fb565b6118085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d2565b600061181383610aee565b9050806001600160a01b0316846001600160a01b0316148061184e5750836001600160a01b03166118438461076a565b6001600160a01b0316145b8061187e57506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661189982610aee565b6001600160a01b0316146118fd5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107d2565b6001600160a01b03821661195f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107d2565b61196a60008261172e565b6001600160a01b03831660009081526007602052604081208054600192906119939084906127be565b90915550506001600160a01b03821660009081526007602052604081208054600192906119c1908490612773565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a5460ff16611a6b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107d2565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008151604114611b085760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107d2565b60208201516040830151606084015160001a61122686828585611edd565b6001600160a01b038216611b7c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d2565b600280549082906000611b8f8385612773565b90915550506001600160a01b03831660009081526007602052604081208054849290611bbc908490612773565b9091555050600254600090815260056020526040812080546001600160a01b0319166001600160a01b038616179055611bf6826001612773565b90505b611c038383612773565b811161138a5760405181906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480611c4b8161283c565b915050611bf9565b600a5460ff1615611c995760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107d2565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a983390565b816001600160a01b0316836001600160a01b03161415611d305760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d2565b6001600160a01b03838116600081815260096020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611da8848484611886565b611db484848484612086565b61138a5760405162461bcd60e51b81526004016107d29061266a565b6060601080546106e790612801565b606081611e035750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e2d5780611e178161283c565b9150611e269050600a8361278b565b9150611e07565b60008167ffffffffffffffff811115611e4857611e486128ad565b6040519080825280601f01601f191660200182016040528015611e72576020820181803683370190505b5090505b841561187e57611e876001836127be565b9150611e94600a86612857565b611e9f906030612773565b60f81b818381518110611eb457611eb4612897565b60200101906001600160f81b031916908160001a905350611ed6600a8661278b565b9450611e76565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611f5a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107d2565b8360ff16601b1480611f6f57508360ff16601c145b611fc65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107d2565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561201a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661207d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107d2565b95945050505050565b60006001600160a01b0384163b1561218857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120ca903390899088908890600401612624565b602060405180830381600087803b1580156120e457600080fd5b505af1925050508015612114575060408051601f3d908101601f19168201909252612111918101906124fc565b60015b61216e573d808015612142576040519150601f19603f3d011682016040523d82523d6000602084013e612147565b606091505b5080516121665760405162461bcd60e51b81526004016107d29061266a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061187e565b50600161187e565b82805461219c90612801565b90600052602060002090601f0160209004810192826121be5760008555612204565b82601f106121d757805160ff1916838001178555612204565b82800160010185558215612204579182015b828111156122045782518255916020019190600101906121e9565b50612210929150612214565b5090565b5b808211156122105760008155600101612215565b600067ffffffffffffffff831115612243576122436128ad565b612256601f8401601f1916602001612742565b905082815283838301111561226a57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261229257600080fd5b61148d83833560208501612229565b6000602082840312156122b357600080fd5b813561148d816128c3565b6000602082840312156122d057600080fd5b815161148d816128c3565b600080604083850312156122ee57600080fd5b82356122f9816128c3565b91506020830135612309816128c3565b809150509250929050565b60008060006060848603121561232957600080fd5b8335612334816128c3565b92506020840135612344816128c3565b929592945050506040919091013590565b6000806000806080858703121561236b57600080fd5b8435612376816128c3565b93506020850135612386816128c3565b925060408501359150606085013567ffffffffffffffff8111156123a957600080fd5b6123b587828801612281565b91505092959194509250565b600080604083850312156123d457600080fd5b82356123df816128c3565b91506020830135801515811461230957600080fd5b6000806040838503121561240757600080fd5b8235612412816128c3565b946020939093013593505050565b6000806040838503121561243357600080fd5b823567ffffffffffffffff8082111561244b57600080fd5b818501915085601f83011261245f57600080fd5b8135602082821115612473576124736128ad565b8160051b9250612484818401612742565b8281528181019085830185870184018b101561249f57600080fd5b600096505b848710156124ce57803595506124b9866128c3565b858352600196909601959183019183016124a4565b509997909101359750505050505050565b6000602082840312156124f157600080fd5b813561148d816128db565b60006020828403121561250e57600080fd5b815161148d816128db565b60008060006060848603121561252e57600080fd5b833567ffffffffffffffff81111561254557600080fd5b61255186828701612281565b9660208601359650604090950135949350505050565b60006020828403121561257957600080fd5b813567ffffffffffffffff81111561259057600080fd5b8201601f810184136125a157600080fd5b61187e84823560208401612229565b6000602082840312156125c257600080fd5b5035919050565b600081518084526125e18160208601602086016127d5565b601f01601f19169290920160200192915050565b600083516126078184602088016127d5565b83519083019061261b8183602088016127d5565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611226908301846125c9565b60208152600061148d60208301846125c9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561276b5761276b6128ad565b604052919050565b600082198211156127865761278661286b565b500190565b60008261279a5761279a612881565b500490565b60008160001904831182151516156127b9576127b961286b565b500290565b6000828210156127d0576127d061286b565b500390565b60005b838110156127f05781810151838201526020016127d8565b8381111561138a5750506000910152565b600181811c9082168061281557607f821691505b6020821081141561283657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128505761285061286b565b5060010190565b60008261286657612866612881565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146128d857600080fd5b50565b6001600160e01b0319811681146128d857600080fdfea2646970667358221220c69a47424b6aa40053a3e0a28bb2d699d63057e8ad5a2d913ade3c7a193a2cb464736f6c63430008070033

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

0000000000000000000000000000000000000000000000000214e8348c4f00000000000000000000000000000000000000000000000000000000000000000886000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000032000000000000000000000000a81e4bc05e57ad79514f56546992d46adf6ad44600000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000b4d657461486973746f727900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4858595a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d553367484634357352586279786f6a6857454a56316d36743551466b3744754369344c6553504b3837514a362f00000000000000000000

-----Decoded View---------------
Arg [0] : price_ (uint256): 150000000000000000
Arg [1] : max_ (uint256): 2182
Arg [2] : name_ (string): MetaHistory
Arg [3] : symbol_ (string): MHXYZ
Arg [4] : mints_per_wallet (uint256): 50
Arg [5] : interface_ (address): 0xa81E4bC05E57ad79514f56546992D46aDF6aD446
Arg [6] : _instant_airdrop (uint256): 4
Arg [7] : URI_base (string): ipfs://QmU3gHF45sRXbyxojhWEJV1m6t5QFk7DuCi4LeSPK87QJ6/

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000214e8348c4f0000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000886
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [5] : 000000000000000000000000a81e4bc05e57ad79514f56546992d46adf6ad446
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [9] : 4d657461486973746f7279000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 4d4858595a000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [13] : 697066733a2f2f516d553367484634357352586279786f6a6857454a56316d36
Arg [14] : 743551466b3744754369344c6553504b3837514a362f00000000000000000000


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.