ETH Price: $2,412.01 (+3.11%)

Token

SqushyPuzzle (SQP)
 

Overview

Max Total Supply

213 SQP

Holders

117

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 SQP
0x33e9e1C826989bf29cF02aA4Df47600C47dd43fe
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:
SqushyPuzzle

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : SqushyPuzzle.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "./ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol';


contract SqushyPuzzle is ERC721, Ownable {
    using ECDSA for bytes32;
    using Strings for uint256;

    uint256 public cost = 0 ether;
    uint256 public maxSupply = 1111;
    string public baseURI;
    bool public mintingEnabled = true;
    mapping(address => uint) public claimedTokens;

    // private vars
    address private _signer;

    constructor(
        string memory _initBaseURI,
        address signer
    )
    ERC721("SqushyPuzzle", "SQP"){
        setBaseURI(_initBaseURI);
        _signer = signer;
    }

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

    function tokenURI(uint256 id) public view override returns (string memory) {
        return string(abi.encodePacked(baseURI, id.toString()));
    }

    // using signer technique for managing approved minters
    function updateSigner(address signer) external onlyOwner {
        _signer = signer;
    }

    function _hash(address _address, uint amount, uint allowedAmount) internal view returns (bytes32){
        return keccak256(abi.encode(address(this), _address, amount, allowedAmount));
    }

    function _verify(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal view returns (bool){
        return (ecrecover(hash, v, r, s) == _signer);
    }

    // enable / disable minting
    function setMintState(bool _mintingEnabled) public onlyOwner {
        mintingEnabled = _mintingEnabled;
    }

    // minting function
    function mint(uint8 v, bytes32 r, bytes32 s, uint256 allowedAmount) public payable {
        require(mintingEnabled, "CONTRACT ERROR: minting has not been enabled");
        require(claimedTokens[msg.sender] + 1 <= allowedAmount, "CONTRACT ERROR: Address has already claimed max amount");
        require(cost == msg.value, "CONTRACT ERROR: incorrect amount of ether sent");
        require(totalSupply + 1 <= maxSupply, "CONTRACT ERROR: not enough remaining in supply to support desired mint amount");
        require(_verify(_hash(msg.sender, 1, allowedAmount), v, r, s), 'CONTRACT ERROR: Invalid signature');
        _safeMint(msg.sender, totalSupply);
        claimedTokens[msg.sender] += 1;
    }

}

File 2 of 6 : ERC721.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/distractedm1nd/solmate/blob/main/src/tokens/ERC721.sol)
/// @dev Note that balanceOf does not revert if passed the zero address, in defiance of the ERC.
abstract contract ERC721 {
    /*///////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*///////////////////////////////////////////////////////////////
                          METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*///////////////////////////////////////////////////////////////
                            ERC721 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;

    mapping(uint256 => address) public ownerOf;

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*///////////////////////////////////////////////////////////////
                              CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*///////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || msg.sender == getApproved[id] || isApprovedForAll[from][msg.sender],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            balanceOf[from]--;

            balanceOf[to]++;
        }

        ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes memory data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*///////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*///////////////////////////////////////////////////////////////
                       INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            totalSupply++;

            balanceOf[to]++;
        }

        ownerOf[id] = to;

        emit Transfer(address(0), to, id);
    }

    function _burn(uint256 id) internal virtual {
        address owner = ownerOf[id];

        require(ownerOf[id] != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            totalSupply--;

            balanceOf[owner]--;
        }

        delete ownerOf[id];

        delete getApproved[id];

        emit Transfer(owner, address(0), id);
    }

    /*///////////////////////////////////////////////////////////////
                       INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
interface ERC721TokenReceiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 id,
        bytes calldata data
    ) external returns (bytes4);
}

File 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

File 4 of 6 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 6 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @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 {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. 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.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @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) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // 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 (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): 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.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @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) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @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 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint256","name":"allowedAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintingEnabled","type":"bool"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","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":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"updateSigner","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600855610457600955600b805460ff191660011790553480156200002957600080fd5b5060405162001dbb38038062001dbb8339810160408190526200004c9162000291565b604080518082018252600c81526b53717573687950757a7a6c6560a01b60208083019182528351808501909452600384526205351560ec1b9084015281519192916200009b91600091620001ce565b508051620000b1906001906020840190620001ce565b505050620000ce620000c86200010060201b60201c565b62000104565b620000d98262000156565b600d80546001600160a01b0319166001600160a01b039290921691909117905550620003cf565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007546001600160a01b03163314620001b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001ca90600a906020840190620001ce565b5050565b828054620001dc906200037c565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b5b808211156200025957600081556001016200025e565b80516001600160a01b03811681146200028c57600080fd5b919050565b60008060408385031215620002a4578182fd5b82516001600160401b0380821115620002bb578384fd5b818501915085601f830112620002cf578384fd5b815181811115620002e457620002e4620003b9565b604051601f8201601f19908116603f011681019083821181831017156200030f576200030f620003b9565b816040528281526020935088848487010111156200032b578687fd5b8691505b828210156200034e57848201840151818301850152908301906200032f565b828211156200035f57868484830101525b95506200037191505085820162000274565b925050509250929050565b6002810460018216806200039157607f821691505b60208210811415620003b357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6119dc80620003df6000396000f3fe6080604052600436106101815760003560e01c8063715018a6116100d1578063a7ecd37e1161008a578063c87b56dd11610064578063c87b56dd14610481578063d5abeb01146104a1578063e985e9c5146104b7578063f2fde38b146104f257610181565b8063a7ecd37e14610414578063a960c65f14610434578063b88d4fde1461046157610181565b8063715018a61461037f57806372e56644146103945780638da5cb5b146103a757806395d89b41146103c55780639fd6db12146103da578063a22cb465146103f457610181565b806323b872dd1161013e57806355f804b31161011857806355f804b3146102e75780636352211e146103075780636c0360eb1461033d57806370a082311461035257610181565b806323b872dd1461028757806326412aca146102a757806342842e0e146102c757610181565b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461022b57806313faede61461024d57806318160ddd14610271575b600080fd5b34801561019257600080fd5b506101a66101a1366004611603565b610512565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610566565b6040516101b29190611803565b3480156101e957600080fd5b506102136101f8366004611681565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101b2565b34801561023757600080fd5b5061024b6102463660046115c0565b6105f4565b005b34801561025957600080fd5b5061026360085481565b6040519081526020016101b2565b34801561027d57600080fd5b5061026360025481565b34801561029357600080fd5b5061024b6102a23660046114e3565b6106db565b3480156102b357600080fd5b5061024b6102c23660046115e9565b6108a2565b3480156102d357600080fd5b5061024b6102e23660046114e3565b6108df565b3480156102f357600080fd5b5061024b61030236600461163b565b6109c3565b34801561031357600080fd5b50610213610322366004611681565b6004602052600090815260409020546001600160a01b031681565b34801561034957600080fd5b506101d0610a04565b34801561035e57600080fd5b5061026361036d366004611490565b60036020526000908152604090205481565b34801561038b57600080fd5b5061024b610a11565b61024b6103a2366004611699565b610a47565b3480156103b357600080fd5b506007546001600160a01b0316610213565b3480156103d157600080fd5b506101d0610d0d565b3480156103e657600080fd5b50600b546101a69060ff1681565b34801561040057600080fd5b5061024b61040f366004611597565b610d1a565b34801561042057600080fd5b5061024b61042f366004611490565b610d86565b34801561044057600080fd5b5061026361044f366004611490565b600c6020526000908152604090205481565b34801561046d57600080fd5b5061024b61047c36600461151e565b610dd2565b34801561048d57600080fd5b506101d061049c366004611681565b610ea3565b3480156104ad57600080fd5b5061026360095481565b3480156104c357600080fd5b506101a66104d23660046114b1565b600660209081526000928352604080842090915290825290205460ff1681565b3480156104fe57600080fd5b5061024b61050d366004611490565b610ed7565b60006301ffc9a760e01b6001600160e01b03198316148061054357506380ac58cd60e01b6001600160e01b03198316145b8061055e5750635b5e139f60e01b6001600160e01b03198316145b90505b919050565b60008054610573906118e4565b80601f016020809104026020016040519081016040528092919081815260200182805461059f906118e4565b80156105ec5780601f106105c1576101008083540402835291602001916105ec565b820191906000526020600020905b8154815290600101906020018083116105cf57829003601f168201915b505050505081565b6000818152600460205260409020546001600160a01b03163381148061063d57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b61067f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600460205260409020546001600160a01b038481169116146107315760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610676565b6001600160a01b03821661077b5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610676565b336001600160a01b03841614806107a857506000818152600560205260409020546001600160a01b031633145b806107d657506001600160a01b038316600090815260066020908152604080832033845290915290205460ff165b6108135760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610676565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526004825284832080546001600160a01b03199081168317909155600590925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6007546001600160a01b031633146108cc5760405162461bcd60e51b815260040161067690611840565b600b805460ff1916911515919091179055565b6108ea8383836106db565b6001600160a01b0382163b15806109a25750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a401602060405180830381600087803b15801561095e57600080fd5b505af1158015610972573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610996919061161f565b6001600160e01b031916145b6109be5760405162461bcd60e51b815260040161067690611816565b505050565b6007546001600160a01b031633146109ed5760405162461bcd60e51b815260040161067690611840565b8051610a0090600a90602084019061135a565b5050565b600a8054610573906118e4565b6007546001600160a01b03163314610a3b5760405162461bcd60e51b815260040161067690611840565b610a456000610f72565b565b600b5460ff16610aae5760405162461bcd60e51b815260206004820152602c60248201527f434f4e5452414354204552524f523a206d696e74696e6720686173206e6f742060448201526b1899595b88195b98589b195960a21b6064820152608401610676565b336000908152600c60205260409020548190610acb906001611875565b1115610b385760405162461bcd60e51b815260206004820152603660248201527f434f4e5452414354204552524f523a20416464726573732068617320616c726560448201527518591e4818db185a5b5959081b585e08185b5bdd5b9d60521b6064820152608401610676565b3460085414610ba05760405162461bcd60e51b815260206004820152602e60248201527f434f4e5452414354204552524f523a20696e636f727265637420616d6f756e7460448201526d081bd988195d1a195c881cd95b9d60921b6064820152608401610676565b600954600254610bb1906001611875565b1115610c3b5760405162461bcd60e51b815260206004820152604d60248201527f434f4e5452414354204552524f523a206e6f7420656e6f7567682072656d616960448201527f6e696e6720696e20737570706c7920746f20737570706f72742064657369726560648201526c19081b5a5b9d08185b5bdd5b9d609a1b608482015260a401610676565b604080513060208083019190915233828401526001606083015260808083018590528351808403909101815260a09092019092528051910120610c8090858585610fc4565b610cd65760405162461bcd60e51b815260206004820152602160248201527f434f4e5452414354204552524f523a20496e76616c6964207369676e617475726044820152606560f81b6064820152608401610676565b610ce233600254611045565b336000908152600c60205260408120805460019290610d02908490611875565b909155505050505050565b60018054610573906118e4565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b03163314610db05760405162461bcd60e51b815260040161067690611840565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610ddd8484846106db565b6001600160a01b0383163b1580610e815750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a0290610e239033908990889088906004016117c6565b602060405180830381600087803b158015610e3d57600080fd5b505af1158015610e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e75919061161f565b6001600160e01b031916145b610e9d5760405162461bcd60e51b815260040161067690611816565b50505050565b6060600a610eb083611120565b604051602001610ec1929190611720565b6040516020818303038152906040529050919050565b6007546001600160a01b03163314610f015760405162461bcd60e51b815260040161067690611840565b6001600160a01b038116610f665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610676565b610f6f81610f72565b50565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d546040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905290916001600160a01b03169060019060a0016020604051602081039080840390855afa158015611027573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149050949350505050565b61104f8282611243565b6001600160a01b0382163b15806111045750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a401602060405180830381600087803b1580156110c057600080fd5b505af11580156110d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f8919061161f565b6001600160e01b031916145b610a005760405162461bcd60e51b815260040161067690611816565b60608161114557506040805180820190915260018152600360fc1b6020820152610561565b8160005b811561116f57806111598161191f565b91506111689050600a8361188d565b9150611149565b60008167ffffffffffffffff81111561119857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111c2576020820181803683370190505b5090505b841561123b576111d76001836118a1565b91506111e4600a8661193a565b6111ef906030611875565b60f81b81838151811061121257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611234600a8661188d565b94506111c6565b949350505050565b6001600160a01b03821661128d5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610676565b6000818152600460205260409020546001600160a01b0316156112e35760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610676565b6002805460019081019091556001600160a01b038316600081815260036020908152604080832080549095019094558482526004905282812080546001600160a01b0319168317905591518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611366906118e4565b90600052602060002090601f01602090048101928261138857600085556113ce565b82601f106113a157805160ff19168380011785556113ce565b828001600101855582156113ce579182015b828111156113ce5782518255916020019190600101906113b3565b506113da9291506113de565b5090565b5b808211156113da57600081556001016113df565b600067ffffffffffffffff8084111561140e5761140e61197a565b604051601f8501601f19908116603f011681019082821181831017156114365761143661197a565b8160405280935085815286868601111561144f57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461056157600080fd5b8035801515811461056157600080fd5b6000602082840312156114a1578081fd5b6114aa82611469565b9392505050565b600080604083850312156114c3578081fd5b6114cc83611469565b91506114da60208401611469565b90509250929050565b6000806000606084860312156114f7578081fd5b61150084611469565b925061150e60208501611469565b9150604084013590509250925092565b60008060008060808587031215611533578081fd5b61153c85611469565b935061154a60208601611469565b925060408501359150606085013567ffffffffffffffff81111561156c578182fd5b8501601f8101871361157c578182fd5b61158b878235602084016113f3565b91505092959194509250565b600080604083850312156115a9578182fd5b6115b283611469565b91506114da60208401611480565b600080604083850312156115d2578182fd5b6115db83611469565b946020939093013593505050565b6000602082840312156115fa578081fd5b6114aa82611480565b600060208284031215611614578081fd5b81356114aa81611990565b600060208284031215611630578081fd5b81516114aa81611990565b60006020828403121561164c578081fd5b813567ffffffffffffffff811115611662578182fd5b8201601f81018413611672578182fd5b61123b848235602084016113f3565b600060208284031215611692578081fd5b5035919050565b600080600080608085870312156116ae578384fd5b843560ff811681146116be578485fd5b966020860135965060408601359560600135945092505050565b600081518084526116f08160208601602086016118b8565b601f01601f19169290920160200192915050565b600081516117168185602086016118b8565b9290920192915050565b825460009081906002810460018083168061173c57607f831692505b602080841082141561175c57634e487b7160e01b87526022600452602487fd5b8180156117705760018114611781576117ad565b60ff198616895284890196506117ad565b60008b815260209020885b868110156117a55781548b82015290850190830161178c565b505084890196505b5050505050506117bd8185611704565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117f9908301846116d8565b9695505050505050565b6000602082526114aa60208301846116d8565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156118885761188861194e565b500190565b60008261189c5761189c611964565b500490565b6000828210156118b3576118b361194e565b500390565b60005b838110156118d35781810151838201526020016118bb565b83811115610e9d5750506000910152565b6002810460018216806118f857607f821691505b6020821081141561191957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119335761193361194e565b5060010190565b60008261194957611949611964565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f6f57600080fdfea264697066735822122094c06cf50d2bfc89f867375f8b0b63cd7d353571be2af4605dc716f04fc0d83864736f6c6343000802003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000001a54435c82dcaaa36bfa824ff4edddf30532fd46000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f643164312d3130312d3130302d3133312d3134302e6e67726f6b2e696f2f6170692f6d657461646174610000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101815760003560e01c8063715018a6116100d1578063a7ecd37e1161008a578063c87b56dd11610064578063c87b56dd14610481578063d5abeb01146104a1578063e985e9c5146104b7578063f2fde38b146104f257610181565b8063a7ecd37e14610414578063a960c65f14610434578063b88d4fde1461046157610181565b8063715018a61461037f57806372e56644146103945780638da5cb5b146103a757806395d89b41146103c55780639fd6db12146103da578063a22cb465146103f457610181565b806323b872dd1161013e57806355f804b31161011857806355f804b3146102e75780636352211e146103075780636c0360eb1461033d57806370a082311461035257610181565b806323b872dd1461028757806326412aca146102a757806342842e0e146102c757610181565b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461022b57806313faede61461024d57806318160ddd14610271575b600080fd5b34801561019257600080fd5b506101a66101a1366004611603565b610512565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610566565b6040516101b29190611803565b3480156101e957600080fd5b506102136101f8366004611681565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101b2565b34801561023757600080fd5b5061024b6102463660046115c0565b6105f4565b005b34801561025957600080fd5b5061026360085481565b6040519081526020016101b2565b34801561027d57600080fd5b5061026360025481565b34801561029357600080fd5b5061024b6102a23660046114e3565b6106db565b3480156102b357600080fd5b5061024b6102c23660046115e9565b6108a2565b3480156102d357600080fd5b5061024b6102e23660046114e3565b6108df565b3480156102f357600080fd5b5061024b61030236600461163b565b6109c3565b34801561031357600080fd5b50610213610322366004611681565b6004602052600090815260409020546001600160a01b031681565b34801561034957600080fd5b506101d0610a04565b34801561035e57600080fd5b5061026361036d366004611490565b60036020526000908152604090205481565b34801561038b57600080fd5b5061024b610a11565b61024b6103a2366004611699565b610a47565b3480156103b357600080fd5b506007546001600160a01b0316610213565b3480156103d157600080fd5b506101d0610d0d565b3480156103e657600080fd5b50600b546101a69060ff1681565b34801561040057600080fd5b5061024b61040f366004611597565b610d1a565b34801561042057600080fd5b5061024b61042f366004611490565b610d86565b34801561044057600080fd5b5061026361044f366004611490565b600c6020526000908152604090205481565b34801561046d57600080fd5b5061024b61047c36600461151e565b610dd2565b34801561048d57600080fd5b506101d061049c366004611681565b610ea3565b3480156104ad57600080fd5b5061026360095481565b3480156104c357600080fd5b506101a66104d23660046114b1565b600660209081526000928352604080842090915290825290205460ff1681565b3480156104fe57600080fd5b5061024b61050d366004611490565b610ed7565b60006301ffc9a760e01b6001600160e01b03198316148061054357506380ac58cd60e01b6001600160e01b03198316145b8061055e5750635b5e139f60e01b6001600160e01b03198316145b90505b919050565b60008054610573906118e4565b80601f016020809104026020016040519081016040528092919081815260200182805461059f906118e4565b80156105ec5780601f106105c1576101008083540402835291602001916105ec565b820191906000526020600020905b8154815290600101906020018083116105cf57829003601f168201915b505050505081565b6000818152600460205260409020546001600160a01b03163381148061063d57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b61067f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600460205260409020546001600160a01b038481169116146107315760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610676565b6001600160a01b03821661077b5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610676565b336001600160a01b03841614806107a857506000818152600560205260409020546001600160a01b031633145b806107d657506001600160a01b038316600090815260066020908152604080832033845290915290205460ff165b6108135760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610676565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526004825284832080546001600160a01b03199081168317909155600590925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6007546001600160a01b031633146108cc5760405162461bcd60e51b815260040161067690611840565b600b805460ff1916911515919091179055565b6108ea8383836106db565b6001600160a01b0382163b15806109a25750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a401602060405180830381600087803b15801561095e57600080fd5b505af1158015610972573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610996919061161f565b6001600160e01b031916145b6109be5760405162461bcd60e51b815260040161067690611816565b505050565b6007546001600160a01b031633146109ed5760405162461bcd60e51b815260040161067690611840565b8051610a0090600a90602084019061135a565b5050565b600a8054610573906118e4565b6007546001600160a01b03163314610a3b5760405162461bcd60e51b815260040161067690611840565b610a456000610f72565b565b600b5460ff16610aae5760405162461bcd60e51b815260206004820152602c60248201527f434f4e5452414354204552524f523a206d696e74696e6720686173206e6f742060448201526b1899595b88195b98589b195960a21b6064820152608401610676565b336000908152600c60205260409020548190610acb906001611875565b1115610b385760405162461bcd60e51b815260206004820152603660248201527f434f4e5452414354204552524f523a20416464726573732068617320616c726560448201527518591e4818db185a5b5959081b585e08185b5bdd5b9d60521b6064820152608401610676565b3460085414610ba05760405162461bcd60e51b815260206004820152602e60248201527f434f4e5452414354204552524f523a20696e636f727265637420616d6f756e7460448201526d081bd988195d1a195c881cd95b9d60921b6064820152608401610676565b600954600254610bb1906001611875565b1115610c3b5760405162461bcd60e51b815260206004820152604d60248201527f434f4e5452414354204552524f523a206e6f7420656e6f7567682072656d616960448201527f6e696e6720696e20737570706c7920746f20737570706f72742064657369726560648201526c19081b5a5b9d08185b5bdd5b9d609a1b608482015260a401610676565b604080513060208083019190915233828401526001606083015260808083018590528351808403909101815260a09092019092528051910120610c8090858585610fc4565b610cd65760405162461bcd60e51b815260206004820152602160248201527f434f4e5452414354204552524f523a20496e76616c6964207369676e617475726044820152606560f81b6064820152608401610676565b610ce233600254611045565b336000908152600c60205260408120805460019290610d02908490611875565b909155505050505050565b60018054610573906118e4565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b03163314610db05760405162461bcd60e51b815260040161067690611840565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610ddd8484846106db565b6001600160a01b0383163b1580610e815750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a0290610e239033908990889088906004016117c6565b602060405180830381600087803b158015610e3d57600080fd5b505af1158015610e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e75919061161f565b6001600160e01b031916145b610e9d5760405162461bcd60e51b815260040161067690611816565b50505050565b6060600a610eb083611120565b604051602001610ec1929190611720565b6040516020818303038152906040529050919050565b6007546001600160a01b03163314610f015760405162461bcd60e51b815260040161067690611840565b6001600160a01b038116610f665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610676565b610f6f81610f72565b50565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d546040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905290916001600160a01b03169060019060a0016020604051602081039080840390855afa158015611027573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149050949350505050565b61104f8282611243565b6001600160a01b0382163b15806111045750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a401602060405180830381600087803b1580156110c057600080fd5b505af11580156110d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f8919061161f565b6001600160e01b031916145b610a005760405162461bcd60e51b815260040161067690611816565b60608161114557506040805180820190915260018152600360fc1b6020820152610561565b8160005b811561116f57806111598161191f565b91506111689050600a8361188d565b9150611149565b60008167ffffffffffffffff81111561119857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111c2576020820181803683370190505b5090505b841561123b576111d76001836118a1565b91506111e4600a8661193a565b6111ef906030611875565b60f81b81838151811061121257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611234600a8661188d565b94506111c6565b949350505050565b6001600160a01b03821661128d5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610676565b6000818152600460205260409020546001600160a01b0316156112e35760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610676565b6002805460019081019091556001600160a01b038316600081815260036020908152604080832080549095019094558482526004905282812080546001600160a01b0319168317905591518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611366906118e4565b90600052602060002090601f01602090048101928261138857600085556113ce565b82601f106113a157805160ff19168380011785556113ce565b828001600101855582156113ce579182015b828111156113ce5782518255916020019190600101906113b3565b506113da9291506113de565b5090565b5b808211156113da57600081556001016113df565b600067ffffffffffffffff8084111561140e5761140e61197a565b604051601f8501601f19908116603f011681019082821181831017156114365761143661197a565b8160405280935085815286868601111561144f57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461056157600080fd5b8035801515811461056157600080fd5b6000602082840312156114a1578081fd5b6114aa82611469565b9392505050565b600080604083850312156114c3578081fd5b6114cc83611469565b91506114da60208401611469565b90509250929050565b6000806000606084860312156114f7578081fd5b61150084611469565b925061150e60208501611469565b9150604084013590509250925092565b60008060008060808587031215611533578081fd5b61153c85611469565b935061154a60208601611469565b925060408501359150606085013567ffffffffffffffff81111561156c578182fd5b8501601f8101871361157c578182fd5b61158b878235602084016113f3565b91505092959194509250565b600080604083850312156115a9578182fd5b6115b283611469565b91506114da60208401611480565b600080604083850312156115d2578182fd5b6115db83611469565b946020939093013593505050565b6000602082840312156115fa578081fd5b6114aa82611480565b600060208284031215611614578081fd5b81356114aa81611990565b600060208284031215611630578081fd5b81516114aa81611990565b60006020828403121561164c578081fd5b813567ffffffffffffffff811115611662578182fd5b8201601f81018413611672578182fd5b61123b848235602084016113f3565b600060208284031215611692578081fd5b5035919050565b600080600080608085870312156116ae578384fd5b843560ff811681146116be578485fd5b966020860135965060408601359560600135945092505050565b600081518084526116f08160208601602086016118b8565b601f01601f19169290920160200192915050565b600081516117168185602086016118b8565b9290920192915050565b825460009081906002810460018083168061173c57607f831692505b602080841082141561175c57634e487b7160e01b87526022600452602487fd5b8180156117705760018114611781576117ad565b60ff198616895284890196506117ad565b60008b815260209020885b868110156117a55781548b82015290850190830161178c565b505084890196505b5050505050506117bd8185611704565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117f9908301846116d8565b9695505050505050565b6000602082526114aa60208301846116d8565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156118885761188861194e565b500190565b60008261189c5761189c611964565b500490565b6000828210156118b3576118b361194e565b500390565b60005b838110156118d35781810151838201526020016118bb565b83811115610e9d5750506000910152565b6002810460018216806118f857607f821691505b6020821081141561191957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119335761193361194e565b5060010190565b60008261194957611949611964565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f6f57600080fdfea264697066735822122094c06cf50d2bfc89f867375f8b0b63cd7d353571be2af4605dc716f04fc0d83864736f6c63430008020033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000001a54435c82dcaaa36bfa824ff4edddf30532fd46000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f643164312d3130312d3130302d3133312d3134302e6e67726f6b2e696f2f6170692f6d657461646174610000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://d1d1-101-100-131-140.ngrok.io/api/metadata
Arg [1] : signer (address): 0x1a54435c82dCAaA36bfA824FF4edddf30532fD46

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000001a54435c82dcaaa36bfa824ff4edddf30532fd46
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [3] : 68747470733a2f2f643164312d3130312d3130302d3133312d3134302e6e6772
Arg [4] : 6f6b2e696f2f6170692f6d657461646174610000000000000000000000000000


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.