ETH Price: $3,169.90 (+1.09%)

Token

MinterTokenXYZ (MTXYZ)
 

Overview

Max Total Supply

7,868 MTXYZ

Holders

7,275

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
teridivane.eth
Balance
1 MTXYZ
0x041C53268E9f8247A90d8A7690c9469A01f072CC
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:
MinterTokenXYZ

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 12 : MinterTokenXYZ.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

/// @author: Fair.xyz

import "ERC721.sol";
import "Ownable.sol";
import "ECDSA.sol";
import "Strings.sol";

abstract contract DiamondHandsInterface721 {
    function balanceOf(address whom) virtual view public returns (uint);
}

abstract contract DiamondHandsInterface1155 {
    function balanceOf(address whom, uint256 tokenId) virtual view public returns (uint);
}

contract MinterTokenXYZ is ERC721, Ownable {
    
    using Strings for uint256;

    // Keep track of minted token count
    uint256 private _mintedTokens;

    // Hashing
    using ECDSA for bytes32;

    mapping(address => mapping(address => mapping(uint256 => bool))) private usedToken;

    // For non-compliant contracts
    mapping(address => bool) internal blacklistedContract;
    mapping(address => string) internal blacklistedURI;

    // Token contract provenance. When a token is minted, the struct is populated with the 
    // contract address and token ID which the SBT represents
    struct tokenMap {
        address minterContract;
        string minterURI;
    }

    mapping(uint256 => tokenMap) internal _tokenContractMap;

    mapping(address => mapping(address => uint256)) tokensByOwner;
    
    string internal baseURI_;

    // Emit an event detailing the provenance of the token which the SBT represents
    event MinterTokenEmitted(address tokenMinter, uint256 mintedTokenId, address minterContractAddress, uint256 mintedTokenID);

    // Signature address
    address public signerAddress;

    constructor(address _signerAddress) payable ERC721("MinterTokenXYZ", "MTXYZ") {
        signerAddress = _signerAddress;
    }

    /**
     * @dev Change Signer Address
     */
    function setSignerAddress(address newSignerAddress) onlyOwner external returns(address)
    {
        signerAddress = newSignerAddress; 
        return(signerAddress);
    }

    /**
     * @dev Base URI
     */
    function setBaseURI(string memory newBaseURI) onlyOwner external returns(string memory)
    {
        baseURI_ = newBaseURI;
        return(baseURI_);
    }

    /**
     * @dev Flip contract state and URI for blacklisted contracts
     */
    function flipContractState(address contractAddress, string memory contractURI) onlyOwner external returns(string memory)
    {
        blacklistedContract[contractAddress] = !blacklistedContract[contractAddress];
        blacklistedURI[contractAddress] = contractURI;
        return(contractURI);
    }

    /**
     * @dev Amend individual token URI for metadata updates
     */
    function setTokenURI(uint256 tokenId, string memory newURI) onlyOwner external returns(string memory)
    {
        _tokenContractMap[tokenId].minterURI = newURI;
        return(newURI);
    }

    /**
     * @dev Token URI
     */
    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        require(_mintedTokens >= tokenId, "Token does not exist!");

        address tokenAddress = _tokenContractMap[tokenId].minterContract;

        if(blacklistedContract[tokenAddress])
        {
            return blacklistedURI[tokenAddress];
        }
        
        if(bytes(baseURI_).length == 0)
        {
            return _tokenContractMap[tokenId].minterURI;
        }
        else
        {
            return string(abi.encodePacked(baseURI_, tokenId.toString()));
        }
    }

    /**
     * @dev Ensure that tokens can only be minted, but not transferred
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        virtual
        override(ERC721)
    {
        require(from == address(0), "MinterTokenXYZ: this is a Soul-Bond Token!");
        super._beforeTokenTransfer(from, to, tokenId);
    }
    
    /**
     * @dev Returns total supply for the collection. Given Minter Tokens are not burnable
     * we can simply return the minted token count
     */
    function totalSupply() external view returns(uint256)
    {
        return _mintedTokens;
    }

    /**
     * @dev Returns for a given token ID the original smart contract to which it maps
     */
    function viewTokenProvenance(uint256 tokenId) external view returns(address)
    {
        require(_mintedTokens >= tokenId, "Token does not exist!" );
        return (_tokenContractMap[tokenId].minterContract);
    }

    /**
     * @dev Returns for a given user address and contract address whether the user address is a minter 
     * and how many they minted
     */
    function viewMinterCount(address owner, address contractAdd) public view returns(uint256)
    {
        return tokensByOwner[owner][contractAdd];
    }

    /**
     * @dev Returns for a given user address and ERC721 contract address whether the user address is diamond-handing
     */
    function viewDiamondHands721(address owner, address contractAdd) external view returns(bool)
    {
        DiamondHandsInterface721 DHI = DiamondHandsInterface721(contractAdd);
        return (DHI.balanceOf(owner) > 0) && (viewMinterCount(owner, contractAdd) > 0);
    }

    /**
     * @dev Returns for a given user address and ERC1155 contract address whether the user address is diamond-handing
     * The token ID input must be the ERC1155 token that the user still holds in the ERC1155 contract
     */
    function viewDiamondHands1155(address owner, address contractAdd, uint256 tokenId) external view returns(bool)
    {
        DiamondHandsInterface1155 DHI = DiamondHandsInterface1155(contractAdd);
        return (DHI.balanceOf(owner, tokenId) > 0) && (viewMinterCount(owner, contractAdd) > 0);
    }
    
    /**
     * @dev Mint function transaction hashing; will be verified for recognition versus the signer address
     */
    function hashTransaction(address _sender, address _thisContract, address _tokenContract, 
                            uint256 _contractToken, string memory _uri) private pure returns(bytes32) 
    {
          bytes32 hash = keccak256(abi.encodePacked(
            "\x19Ethereum Signed Message:\n32",
            keccak256(abi.encodePacked(_sender, _thisContract, _tokenContract, _contractToken, _uri)))
          );    
          return hash;
    }
    
    /**
     * @dev Mint a Minter Token
     */
    function createMinterToken(bytes memory signature, address contractAddress, 
                                uint256 contractToken, string memory uri, address recipient)
        external
    {   
        bytes32 messageHash = hashTransaction(recipient, address(this), contractAddress, contractToken, uri);

        require(messageHash.recover(signature) == signerAddress, "Unrecognizable Hash");
        require(!usedToken[recipient][contractAddress][contractToken], "Used token");
        require(contractAddress != address(this), "Cannot mint SBTs for Minter Tokens");
        
        usedToken[recipient][contractAddress][contractToken] = true;

        unchecked{
            ++_mintedTokens;
        }
    
        _safeMint(recipient, _mintedTokens);

        _tokenContractMap[_mintedTokens] = tokenMap(contractAddress, uri);

        unchecked{
            ++tokensByOwner[recipient][contractAddress];
        }       

        emit MinterTokenEmitted(recipient, _mintedTokens, contractAddress, contractToken);
    }

}

File 2 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @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 ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // 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 See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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 = ERC721.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) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @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 = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @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 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @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.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

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

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

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

    /**
     * @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 = ERC721.ownerOf(tokenId);

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

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

        _balances[owner] -= 1;
        delete _owners[tokenId];

        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(ERC721.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(ERC721.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 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

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

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

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

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

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

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

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

File 4 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 6 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 12 : 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;
    }
}

File 9 of 12 : 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 10 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _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 12 of 12 : 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));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"}],"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":false,"internalType":"address","name":"tokenMinter","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintedTokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"minterContractAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintedTokenID","type":"uint256"}],"name":"MinterTokenEmitted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"contractToken","type":"uint256"},{"internalType":"string","name":"uri","type":"string"},{"internalType":"address","name":"recipient","type":"address"}],"name":"createMinterToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"string","name":"contractURI","type":"string"}],"name":"flipContractState","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSignerAddress","type":"address"}],"name":"setSignerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newURI","type":"string"}],"name":"setTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"contractAdd","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"viewDiamondHands1155","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"contractAdd","type":"address"}],"name":"viewDiamondHands721","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"contractAdd","type":"address"}],"name":"viewMinterCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"viewTokenProvenance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052604051620027b3380380620027b38339810160408190526200002691620001ce565b604080518082018252600e81526d26b4b73a32b92a37b5b2b72c2cad60911b60208083019182528351808501909452600584526426aa2c2cad60d91b908401528151919291620000799160009162000128565b5080516200008f90600190602084019062000128565b505050620000ac620000a6620000d260201b60201c565b620000d6565b600e80546001600160a01b0319166001600160a01b03929092169190911790556200023d565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001369062000200565b90600052602060002090601f0160209004810192826200015a5760008555620001a5565b82601f106200017557805160ff1916838001178555620001a5565b82800160010185558215620001a5579182015b82811115620001a557825182559160200191906001019062000188565b50620001b3929150620001b7565b5090565b5b80821115620001b35760008155600101620001b8565b600060208284031215620001e157600080fd5b81516001600160a01b0381168114620001f957600080fd5b9392505050565b600181811c908216806200021557607f821691505b602082108114156200023757634e487b7160e01b600052602260045260246000fd5b50919050565b612566806200024d6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80635b7633d0116100f95780639fb0e69911610097578063b88d4fde11610071578063b88d4fde1461037b578063c87b56dd1461038e578063e985e9c5146103a1578063f2fde38b146103dd57600080fd5b80639fb0e699146103425780639fd3efe914610355578063a22cb4651461036857600080fd5b806370a08231116100d357806370a082311461030e578063715018a6146103215780638da5cb5b1461032957806395d89b411461033a57600080fd5b80635b7633d0146102d55780636352211e146102e857806369aa6f26146102fb57600080fd5b806318160ddd116101665780633eff2e0d116101405780633eff2e0d146102895780633f56bcf71461029c57806342842e0e146102af57806355f804b3146102c257600080fd5b806318160ddd1461025157806323b872dd146102635780632cfd42091461027657600080fd5b806301ffc9a7146101ae578063046dc166146101d657806306fdde0314610201578063081812fc14610216578063095ea7b314610229578063162094c41461023e575b600080fd5b6101c16101bc366004612011565b6103f0565b60405190151581526020015b60405180910390f35b6101e96101e4366004611e64565b610442565b6040516001600160a01b0390911681526020016101cd565b61020961049d565b6040516101cd91906122ee565b6101e961022436600461210f565b61052f565b61023c610237366004611fe7565b6105c4565b005b61020961024c366004612141565b6106da565b6007545b6040519081526020016101cd565b61023c610271366004611eb9565b610734565b6101e961028436600461210f565b610765565b61023c61029736600461204b565b6107cd565b6102556102aa366004611e86565b610a3e565b61023c6102bd366004611eb9565b610a69565b6102096102d03660046120da565b610a84565b600e546101e9906001600160a01b031681565b6101e96102f636600461210f565b610b57565b6101c1610309366004611eb9565b610bce565b61025561031c366004611e64565b610c73565b61023c610cfa565b6006546001600160a01b03166101e9565b610209610d30565b610209610350366004611f99565b610d3f565b6101c1610363366004611e86565b610dac565b61023c610376366004611f5d565b610e4b565b61023c610389366004611ef5565b610e5a565b61020961039c36600461210f565b610e92565b6101c16103af366004611e86565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61023c6103eb366004611e64565b611020565b60006001600160e01b031982166380ac58cd60e01b148061042157506001600160e01b03198216635b5e139f60e01b145b8061043c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546000906001600160a01b031633146104785760405162461bcd60e51b815260040161046f90612353565b60405180910390fd5b50600e80546001600160a01b0319166001600160a01b0383169081179091555b919050565b6060600080546104ac90612448565b80601f01602080910402602001604051908101604052809291908181526020018280546104d890612448565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105a85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161046f565b506000908152600460205260409020546001600160a01b031690565b60006105cf82610b57565b9050806001600160a01b0316836001600160a01b0316141561063d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161046f565b336001600160a01b0382161480610659575061065981336103af565b6106cb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161046f565b6106d583836110bb565b505050565b6006546060906001600160a01b031633146107075760405162461bcd60e51b815260040161046f90612353565b6000838152600b60209081526040909120835161072c92600190920191850190611d27565b509092915050565b61073e3382611129565b61075a5760405162461bcd60e51b815260040161046f90612388565b6106d583838361121f565b60008160075410156107b15760405162461bcd60e51b8152602060048201526015602482015274546f6b656e20646f6573206e6f742065786973742160581b604482015260640161046f565b506000908152600b60205260409020546001600160a01b031690565b60006107dc82308787876113c6565b600e549091506001600160a01b03166107f5828861144e565b6001600160a01b0316146108415760405162461bcd60e51b81526020600482015260136024820152720aadce4cac6decedcd2f4c2c4d8ca4090c2e6d606b1b604482015260640161046f565b6001600160a01b03808316600090815260086020908152604080832093891683529281528282208783529052205460ff16156108ac5760405162461bcd60e51b815260206004820152600a6024820152692ab9b2b2103a37b5b2b760b11b604482015260640161046f565b6001600160a01b0385163014156109105760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74206d696e74205342547320666f72204d696e74657220546f6b656044820152616e7360f01b606482015260840161046f565b6001600160a01b0380831660009081526008602090815260408083209389168352928152828220878352905220805460ff191660019081179091556007805490910190819055610961908390611472565b6040805180820182526001600160a01b03878116825260208083018781526007546000908152600b835294909420835181546001600160a01b031916931692909217825592518051929391926109bd9260018501920190611d27565b5050506001600160a01b038281166000818152600c60209081526040808320948a168084529482529182902080546001019055600754825193845290830152810191909152606081018590527f6c8681720a22de042c305b70c73c6e2b6373556222883c4d8473348aec533b179060800160405180910390a1505050505050565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b6106d583838360405180602001604052806000815250610e5a565b6006546060906001600160a01b03163314610ab15760405162461bcd60e51b815260040161046f90612353565b8151610ac490600d906020850190611d27565b50600d8054610ad290612448565b80601f0160208091040260200160405190810160405280929190818152602001828054610afe90612448565b8015610b4b5780601f10610b2057610100808354040283529160200191610b4b565b820191906000526020600020905b815481529060010190602001808311610b2e57829003601f168201915b50505050509050919050565b6000818152600260205260408120546001600160a01b03168061043c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161046f565b604051627eeac760e11b81526001600160a01b03848116600483015260248201839052600091849183919083169062fdd58e9060440160206040518083038186803b158015610c1c57600080fd5b505afa158015610c30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c549190612128565b118015610c6a57506000610c688686610a3e565b115b95945050505050565b60006001600160a01b038216610cde5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161046f565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d245760405162461bcd60e51b815260040161046f90612353565b610d2e600061148c565b565b6060600180546104ac90612448565b6006546060906001600160a01b03163314610d6c5760405162461bcd60e51b815260040161046f90612353565b6001600160a01b0383166000908152600960209081526040808320805460ff19811660ff90911615179055600a8252909120835161072c92850190611d27565b6040516370a0823160e01b81526001600160a01b03838116600483015260009183918391908316906370a082319060240160206040518083038186803b158015610df557600080fd5b505afa158015610e09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2d9190612128565b118015610e4357506000610e418585610a3e565b115b949350505050565b610e563383836114de565b5050565b610e643383611129565b610e805760405162461bcd60e51b815260040161046f90612388565b610e8c848484846115ad565b50505050565b6060816007541015610ede5760405162461bcd60e51b8152602060048201526015602482015274546f6b656e20646f6573206e6f742065786973742160581b604482015260640161046f565b6000828152600b60209081526040808320546001600160a01b031680845260099092529091205460ff1615610fb6576001600160a01b0381166000908152600a602052604090208054610f3090612448565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5c90612448565b8015610fa95780601f10610f7e57610100808354040283529160200191610fa9565b820191906000526020600020905b815481529060010190602001808311610f8c57829003601f168201915b5050505050915050919050565b600d8054610fc390612448565b15159050610fe7576000838152600b602052604090206001018054610f3090612448565b600d610ff2846115e0565b604051602001611003929190612213565b604051602081830303815290604052915050919050565b50919050565b6006546001600160a01b0316331461104a5760405162461bcd60e51b815260040161046f90612353565b6001600160a01b0381166110af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161046f565b6110b88161148c565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110f082610b57565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111a25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161046f565b60006111ad83610b57565b9050806001600160a01b0316846001600160a01b031614806111f457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610e435750836001600160a01b031661120d8461052f565b6001600160a01b031614949350505050565b826001600160a01b031661123282610b57565b6001600160a01b0316146112965760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161046f565b6001600160a01b0382166112f85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161046f565b6113038383836116de565b61130e6000826110bb565b6001600160a01b0383166000908152600360205260408120805460019290611337908490612405565b90915550506001600160a01b03821660009081526003602052604081208054600192906113659084906123d9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008086868686866040516020016113e29594939291906121ba565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051808303601f190181529190528051602090910120979650505050505050565b600080600061145d8585611748565b9150915061146a816117b8565b509392505050565b610e56828260405180602001604052806000815250611973565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156115405760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161046f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6115b884848461121f565b6115c4848484846119a6565b610e8c5760405162461bcd60e51b815260040161046f90612301565b6060816116045750506040805180820190915260018152600360fc1b602082015290565b8160005b811561162e57806116188161247d565b91506116279050600a836123f1565b9150611608565b60008167ffffffffffffffff81111561164957611649612504565b6040519080825280601f01601f191660200182016040528015611673576020820181803683370190505b5090505b8415610e4357611688600183612405565b9150611695600a86612498565b6116a09060306123d9565b60f81b8183815181106116b5576116b56124ee565b60200101906001600160f81b031916908160001a9053506116d7600a866123f1565b9450611677565b6001600160a01b038316156106d55760405162461bcd60e51b815260206004820152602a60248201527f4d696e746572546f6b656e58595a3a2074686973206973206120536f756c2d426044820152696f6e6420546f6b656e2160b01b606482015260840161046f565b60008082516041141561177f5760208301516040840151606085015160001a61177387828585611ab3565b945094505050506117b1565b8251604014156117a9576020830151604084015161179e868383611ba0565b9350935050506117b1565b506000905060025b9250929050565b60008160048111156117cc576117cc6124d8565b14156117d55750565b60018160048111156117e9576117e96124d8565b14156118375760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161046f565b600281600481111561184b5761184b6124d8565b14156118995760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161046f565b60038160048111156118ad576118ad6124d8565b14156119065760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161046f565b600481600481111561191a5761191a6124d8565b14156110b85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161046f565b61197d8383611bd9565b61198a60008484846119a6565b6106d55760405162461bcd60e51b815260040161046f90612301565b60006001600160a01b0384163b15611aa857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119ea9033908990889088906004016122b1565b602060405180830381600087803b158015611a0457600080fd5b505af1925050508015611a34575060408051601f3d908101601f19168201909252611a319181019061202e565b60015b611a8e573d808015611a62576040519150601f19603f3d011682016040523d82523d6000602084013e611a67565b606091505b508051611a865760405162461bcd60e51b815260040161046f90612301565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e43565b506001949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611aea5750600090506003611b97565b8460ff16601b14158015611b0257508460ff16601c14155b15611b135750600090506004611b97565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611b67573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b9057600060019250925050611b97565b9150600090505b94509492505050565b6000806001600160ff1b03831681611bbd60ff86901c601b6123d9565b9050611bcb87828885611ab3565b935093505050935093915050565b6001600160a01b038216611c2f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161046f565b6000818152600260205260409020546001600160a01b031615611c945760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161046f565b611ca0600083836116de565b6001600160a01b0382166000908152600360205260408120805460019290611cc99084906123d9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611d3390612448565b90600052602060002090601f016020900481019282611d555760008555611d9b565b82601f10611d6e57805160ff1916838001178555611d9b565b82800160010185558215611d9b579182015b82811115611d9b578251825591602001919060010190611d80565b50611da7929150611dab565b5090565b5b80821115611da75760008155600101611dac565b80356001600160a01b038116811461049857600080fd5b600082601f830112611de857600080fd5b813567ffffffffffffffff80821115611e0357611e03612504565b604051601f8301601f19908116603f01168101908282118183101715611e2b57611e2b612504565b81604052838152866020858801011115611e4457600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611e7657600080fd5b611e7f82611dc0565b9392505050565b60008060408385031215611e9957600080fd5b611ea283611dc0565b9150611eb060208401611dc0565b90509250929050565b600080600060608486031215611ece57600080fd5b611ed784611dc0565b9250611ee560208501611dc0565b9150604084013590509250925092565b60008060008060808587031215611f0b57600080fd5b611f1485611dc0565b9350611f2260208601611dc0565b925060408501359150606085013567ffffffffffffffff811115611f4557600080fd5b611f5187828801611dd7565b91505092959194509250565b60008060408385031215611f7057600080fd5b611f7983611dc0565b915060208301358015158114611f8e57600080fd5b809150509250929050565b60008060408385031215611fac57600080fd5b611fb583611dc0565b9150602083013567ffffffffffffffff811115611fd157600080fd5b611fdd85828601611dd7565b9150509250929050565b60008060408385031215611ffa57600080fd5b61200383611dc0565b946020939093013593505050565b60006020828403121561202357600080fd5b8135611e7f8161251a565b60006020828403121561204057600080fd5b8151611e7f8161251a565b600080600080600060a0868803121561206357600080fd5b853567ffffffffffffffff8082111561207b57600080fd5b61208789838a01611dd7565b965061209560208901611dc0565b95506040880135945060608801359150808211156120b257600080fd5b506120bf88828901611dd7565b9250506120ce60808701611dc0565b90509295509295909350565b6000602082840312156120ec57600080fd5b813567ffffffffffffffff81111561210357600080fd5b610e4384828501611dd7565b60006020828403121561212157600080fd5b5035919050565b60006020828403121561213a57600080fd5b5051919050565b6000806040838503121561215457600080fd5b82359150602083013567ffffffffffffffff811115611fd157600080fd5b6000815180845261218a81602086016020860161241c565b601f01601f19169290920160200192915050565b600081516121b081856020860161241c565b9290920192915050565b60006bffffffffffffffffffffffff19808860601b168352808760601b166014840152808660601b1660288401525083603c830152825161220281605c85016020870161241c565b91909101605c019695505050505050565b600080845481600182811c91508083168061222f57607f831692505b602080841082141561224f57634e487b7160e01b86526022600452602486fd5b8180156122635760018114612274576122a1565b60ff198616895284890196506122a1565b60008b81526020902060005b868110156122995781548b820152908501908301612280565b505084890196505b505050505050610c6a818561219e565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122e490830184612172565b9695505050505050565b602081526000611e7f6020830184612172565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156123ec576123ec6124ac565b500190565b600082612400576124006124c2565b500490565b600082821015612417576124176124ac565b500390565b60005b8381101561243757818101518382015260200161241f565b83811115610e8c5750506000910152565b600181811c9082168061245c57607f821691505b6020821081141561101a57634e487b7160e01b600052602260045260246000fd5b6000600019821415612491576124916124ac565b5060010190565b6000826124a7576124a76124c2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146110b857600080fdfea264697066735822122018710325931f334939fd52bb4a1b72638213593b4b56ac95274db5fa7f65d0a964736f6c63430008070033000000000000000000000000b403d77946b4ac4fc7ca2ee1059e73f1b72d6e93

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80635b7633d0116100f95780639fb0e69911610097578063b88d4fde11610071578063b88d4fde1461037b578063c87b56dd1461038e578063e985e9c5146103a1578063f2fde38b146103dd57600080fd5b80639fb0e699146103425780639fd3efe914610355578063a22cb4651461036857600080fd5b806370a08231116100d357806370a082311461030e578063715018a6146103215780638da5cb5b1461032957806395d89b411461033a57600080fd5b80635b7633d0146102d55780636352211e146102e857806369aa6f26146102fb57600080fd5b806318160ddd116101665780633eff2e0d116101405780633eff2e0d146102895780633f56bcf71461029c57806342842e0e146102af57806355f804b3146102c257600080fd5b806318160ddd1461025157806323b872dd146102635780632cfd42091461027657600080fd5b806301ffc9a7146101ae578063046dc166146101d657806306fdde0314610201578063081812fc14610216578063095ea7b314610229578063162094c41461023e575b600080fd5b6101c16101bc366004612011565b6103f0565b60405190151581526020015b60405180910390f35b6101e96101e4366004611e64565b610442565b6040516001600160a01b0390911681526020016101cd565b61020961049d565b6040516101cd91906122ee565b6101e961022436600461210f565b61052f565b61023c610237366004611fe7565b6105c4565b005b61020961024c366004612141565b6106da565b6007545b6040519081526020016101cd565b61023c610271366004611eb9565b610734565b6101e961028436600461210f565b610765565b61023c61029736600461204b565b6107cd565b6102556102aa366004611e86565b610a3e565b61023c6102bd366004611eb9565b610a69565b6102096102d03660046120da565b610a84565b600e546101e9906001600160a01b031681565b6101e96102f636600461210f565b610b57565b6101c1610309366004611eb9565b610bce565b61025561031c366004611e64565b610c73565b61023c610cfa565b6006546001600160a01b03166101e9565b610209610d30565b610209610350366004611f99565b610d3f565b6101c1610363366004611e86565b610dac565b61023c610376366004611f5d565b610e4b565b61023c610389366004611ef5565b610e5a565b61020961039c36600461210f565b610e92565b6101c16103af366004611e86565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61023c6103eb366004611e64565b611020565b60006001600160e01b031982166380ac58cd60e01b148061042157506001600160e01b03198216635b5e139f60e01b145b8061043c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546000906001600160a01b031633146104785760405162461bcd60e51b815260040161046f90612353565b60405180910390fd5b50600e80546001600160a01b0319166001600160a01b0383169081179091555b919050565b6060600080546104ac90612448565b80601f01602080910402602001604051908101604052809291908181526020018280546104d890612448565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105a85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161046f565b506000908152600460205260409020546001600160a01b031690565b60006105cf82610b57565b9050806001600160a01b0316836001600160a01b0316141561063d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161046f565b336001600160a01b0382161480610659575061065981336103af565b6106cb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161046f565b6106d583836110bb565b505050565b6006546060906001600160a01b031633146107075760405162461bcd60e51b815260040161046f90612353565b6000838152600b60209081526040909120835161072c92600190920191850190611d27565b509092915050565b61073e3382611129565b61075a5760405162461bcd60e51b815260040161046f90612388565b6106d583838361121f565b60008160075410156107b15760405162461bcd60e51b8152602060048201526015602482015274546f6b656e20646f6573206e6f742065786973742160581b604482015260640161046f565b506000908152600b60205260409020546001600160a01b031690565b60006107dc82308787876113c6565b600e549091506001600160a01b03166107f5828861144e565b6001600160a01b0316146108415760405162461bcd60e51b81526020600482015260136024820152720aadce4cac6decedcd2f4c2c4d8ca4090c2e6d606b1b604482015260640161046f565b6001600160a01b03808316600090815260086020908152604080832093891683529281528282208783529052205460ff16156108ac5760405162461bcd60e51b815260206004820152600a6024820152692ab9b2b2103a37b5b2b760b11b604482015260640161046f565b6001600160a01b0385163014156109105760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74206d696e74205342547320666f72204d696e74657220546f6b656044820152616e7360f01b606482015260840161046f565b6001600160a01b0380831660009081526008602090815260408083209389168352928152828220878352905220805460ff191660019081179091556007805490910190819055610961908390611472565b6040805180820182526001600160a01b03878116825260208083018781526007546000908152600b835294909420835181546001600160a01b031916931692909217825592518051929391926109bd9260018501920190611d27565b5050506001600160a01b038281166000818152600c60209081526040808320948a168084529482529182902080546001019055600754825193845290830152810191909152606081018590527f6c8681720a22de042c305b70c73c6e2b6373556222883c4d8473348aec533b179060800160405180910390a1505050505050565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b6106d583838360405180602001604052806000815250610e5a565b6006546060906001600160a01b03163314610ab15760405162461bcd60e51b815260040161046f90612353565b8151610ac490600d906020850190611d27565b50600d8054610ad290612448565b80601f0160208091040260200160405190810160405280929190818152602001828054610afe90612448565b8015610b4b5780601f10610b2057610100808354040283529160200191610b4b565b820191906000526020600020905b815481529060010190602001808311610b2e57829003601f168201915b50505050509050919050565b6000818152600260205260408120546001600160a01b03168061043c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161046f565b604051627eeac760e11b81526001600160a01b03848116600483015260248201839052600091849183919083169062fdd58e9060440160206040518083038186803b158015610c1c57600080fd5b505afa158015610c30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c549190612128565b118015610c6a57506000610c688686610a3e565b115b95945050505050565b60006001600160a01b038216610cde5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161046f565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d245760405162461bcd60e51b815260040161046f90612353565b610d2e600061148c565b565b6060600180546104ac90612448565b6006546060906001600160a01b03163314610d6c5760405162461bcd60e51b815260040161046f90612353565b6001600160a01b0383166000908152600960209081526040808320805460ff19811660ff90911615179055600a8252909120835161072c92850190611d27565b6040516370a0823160e01b81526001600160a01b03838116600483015260009183918391908316906370a082319060240160206040518083038186803b158015610df557600080fd5b505afa158015610e09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2d9190612128565b118015610e4357506000610e418585610a3e565b115b949350505050565b610e563383836114de565b5050565b610e643383611129565b610e805760405162461bcd60e51b815260040161046f90612388565b610e8c848484846115ad565b50505050565b6060816007541015610ede5760405162461bcd60e51b8152602060048201526015602482015274546f6b656e20646f6573206e6f742065786973742160581b604482015260640161046f565b6000828152600b60209081526040808320546001600160a01b031680845260099092529091205460ff1615610fb6576001600160a01b0381166000908152600a602052604090208054610f3090612448565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5c90612448565b8015610fa95780601f10610f7e57610100808354040283529160200191610fa9565b820191906000526020600020905b815481529060010190602001808311610f8c57829003601f168201915b5050505050915050919050565b600d8054610fc390612448565b15159050610fe7576000838152600b602052604090206001018054610f3090612448565b600d610ff2846115e0565b604051602001611003929190612213565b604051602081830303815290604052915050919050565b50919050565b6006546001600160a01b0316331461104a5760405162461bcd60e51b815260040161046f90612353565b6001600160a01b0381166110af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161046f565b6110b88161148c565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110f082610b57565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111a25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161046f565b60006111ad83610b57565b9050806001600160a01b0316846001600160a01b031614806111f457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610e435750836001600160a01b031661120d8461052f565b6001600160a01b031614949350505050565b826001600160a01b031661123282610b57565b6001600160a01b0316146112965760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161046f565b6001600160a01b0382166112f85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161046f565b6113038383836116de565b61130e6000826110bb565b6001600160a01b0383166000908152600360205260408120805460019290611337908490612405565b90915550506001600160a01b03821660009081526003602052604081208054600192906113659084906123d9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008086868686866040516020016113e29594939291906121ba565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051808303601f190181529190528051602090910120979650505050505050565b600080600061145d8585611748565b9150915061146a816117b8565b509392505050565b610e56828260405180602001604052806000815250611973565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156115405760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161046f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6115b884848461121f565b6115c4848484846119a6565b610e8c5760405162461bcd60e51b815260040161046f90612301565b6060816116045750506040805180820190915260018152600360fc1b602082015290565b8160005b811561162e57806116188161247d565b91506116279050600a836123f1565b9150611608565b60008167ffffffffffffffff81111561164957611649612504565b6040519080825280601f01601f191660200182016040528015611673576020820181803683370190505b5090505b8415610e4357611688600183612405565b9150611695600a86612498565b6116a09060306123d9565b60f81b8183815181106116b5576116b56124ee565b60200101906001600160f81b031916908160001a9053506116d7600a866123f1565b9450611677565b6001600160a01b038316156106d55760405162461bcd60e51b815260206004820152602a60248201527f4d696e746572546f6b656e58595a3a2074686973206973206120536f756c2d426044820152696f6e6420546f6b656e2160b01b606482015260840161046f565b60008082516041141561177f5760208301516040840151606085015160001a61177387828585611ab3565b945094505050506117b1565b8251604014156117a9576020830151604084015161179e868383611ba0565b9350935050506117b1565b506000905060025b9250929050565b60008160048111156117cc576117cc6124d8565b14156117d55750565b60018160048111156117e9576117e96124d8565b14156118375760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161046f565b600281600481111561184b5761184b6124d8565b14156118995760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161046f565b60038160048111156118ad576118ad6124d8565b14156119065760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161046f565b600481600481111561191a5761191a6124d8565b14156110b85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161046f565b61197d8383611bd9565b61198a60008484846119a6565b6106d55760405162461bcd60e51b815260040161046f90612301565b60006001600160a01b0384163b15611aa857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119ea9033908990889088906004016122b1565b602060405180830381600087803b158015611a0457600080fd5b505af1925050508015611a34575060408051601f3d908101601f19168201909252611a319181019061202e565b60015b611a8e573d808015611a62576040519150601f19603f3d011682016040523d82523d6000602084013e611a67565b606091505b508051611a865760405162461bcd60e51b815260040161046f90612301565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e43565b506001949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611aea5750600090506003611b97565b8460ff16601b14158015611b0257508460ff16601c14155b15611b135750600090506004611b97565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611b67573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b9057600060019250925050611b97565b9150600090505b94509492505050565b6000806001600160ff1b03831681611bbd60ff86901c601b6123d9565b9050611bcb87828885611ab3565b935093505050935093915050565b6001600160a01b038216611c2f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161046f565b6000818152600260205260409020546001600160a01b031615611c945760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161046f565b611ca0600083836116de565b6001600160a01b0382166000908152600360205260408120805460019290611cc99084906123d9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611d3390612448565b90600052602060002090601f016020900481019282611d555760008555611d9b565b82601f10611d6e57805160ff1916838001178555611d9b565b82800160010185558215611d9b579182015b82811115611d9b578251825591602001919060010190611d80565b50611da7929150611dab565b5090565b5b80821115611da75760008155600101611dac565b80356001600160a01b038116811461049857600080fd5b600082601f830112611de857600080fd5b813567ffffffffffffffff80821115611e0357611e03612504565b604051601f8301601f19908116603f01168101908282118183101715611e2b57611e2b612504565b81604052838152866020858801011115611e4457600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611e7657600080fd5b611e7f82611dc0565b9392505050565b60008060408385031215611e9957600080fd5b611ea283611dc0565b9150611eb060208401611dc0565b90509250929050565b600080600060608486031215611ece57600080fd5b611ed784611dc0565b9250611ee560208501611dc0565b9150604084013590509250925092565b60008060008060808587031215611f0b57600080fd5b611f1485611dc0565b9350611f2260208601611dc0565b925060408501359150606085013567ffffffffffffffff811115611f4557600080fd5b611f5187828801611dd7565b91505092959194509250565b60008060408385031215611f7057600080fd5b611f7983611dc0565b915060208301358015158114611f8e57600080fd5b809150509250929050565b60008060408385031215611fac57600080fd5b611fb583611dc0565b9150602083013567ffffffffffffffff811115611fd157600080fd5b611fdd85828601611dd7565b9150509250929050565b60008060408385031215611ffa57600080fd5b61200383611dc0565b946020939093013593505050565b60006020828403121561202357600080fd5b8135611e7f8161251a565b60006020828403121561204057600080fd5b8151611e7f8161251a565b600080600080600060a0868803121561206357600080fd5b853567ffffffffffffffff8082111561207b57600080fd5b61208789838a01611dd7565b965061209560208901611dc0565b95506040880135945060608801359150808211156120b257600080fd5b506120bf88828901611dd7565b9250506120ce60808701611dc0565b90509295509295909350565b6000602082840312156120ec57600080fd5b813567ffffffffffffffff81111561210357600080fd5b610e4384828501611dd7565b60006020828403121561212157600080fd5b5035919050565b60006020828403121561213a57600080fd5b5051919050565b6000806040838503121561215457600080fd5b82359150602083013567ffffffffffffffff811115611fd157600080fd5b6000815180845261218a81602086016020860161241c565b601f01601f19169290920160200192915050565b600081516121b081856020860161241c565b9290920192915050565b60006bffffffffffffffffffffffff19808860601b168352808760601b166014840152808660601b1660288401525083603c830152825161220281605c85016020870161241c565b91909101605c019695505050505050565b600080845481600182811c91508083168061222f57607f831692505b602080841082141561224f57634e487b7160e01b86526022600452602486fd5b8180156122635760018114612274576122a1565b60ff198616895284890196506122a1565b60008b81526020902060005b868110156122995781548b820152908501908301612280565b505084890196505b505050505050610c6a818561219e565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122e490830184612172565b9695505050505050565b602081526000611e7f6020830184612172565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156123ec576123ec6124ac565b500190565b600082612400576124006124c2565b500490565b600082821015612417576124176124ac565b500390565b60005b8381101561243757818101518382015260200161241f565b83811115610e8c5750506000910152565b600181811c9082168061245c57607f821691505b6020821081141561101a57634e487b7160e01b600052602260045260246000fd5b6000600019821415612491576124916124ac565b5060010190565b6000826124a7576124a76124c2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146110b857600080fdfea264697066735822122018710325931f334939fd52bb4a1b72638213593b4b56ac95274db5fa7f65d0a964736f6c63430008070033

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

000000000000000000000000b403d77946b4ac4fc7ca2ee1059e73f1b72d6e93

-----Decoded View---------------
Arg [0] : _signerAddress (address): 0xb403d77946B4Ac4FC7CA2EE1059e73f1b72D6e93

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b403d77946b4ac4fc7ca2ee1059e73f1b72d6e93


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.