ETH Price: $3,403.62 (-2.00%)
Gas: 6 Gwei

Token

RoyalIsoroom (RISOROOM)
 

Overview

Max Total Supply

417 RISOROOM

Holders

223

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
m3x1d0.eth
Balance
1 RISOROOM
0xbAc5c05FEacef303D742BA8e32365bC37C51dC2C
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:
RoyalIsoroom

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : RoyalIsoroom.sol
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.10;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract RoyalIsoroom is ERC721A, Ownable {
    string private _baseURIextended;

    string private constant ERR_LIMIT_EXCEED = "Limit exceeded";
    string private constant ERR_NOT_TARGET = "Not target address";
    string private constant ERR_NOT_SET_VAULT = "Vault not found";

    address public signer = 0x8168e7d3a63b08f8E4609cA74547e911809140d7;
    address public vaultAddress;
    bool public sealVaultAddress = false;

    uint256 public maxSupply = 1000;

    mapping(address => uint16) public mintingRecord;

    constructor() ERC721A("RoyalIsoroom", "RISOROOM") {}

    function setSigner(address _signer) external onlyOwner {
        signer = _signer;
    }

    function mint(
        bytes calldata _message,
        uint8 _v,
        bytes32 _r,
        bytes32 _s,
        uint16 _numberOfTokens
    ) external payable {
        address targetAddress = bytesToAddress(_message[:20]);
        require(msg.sender == targetAddress, ERR_NOT_TARGET);

        uint256 totalSupply = totalSupply();
        require(totalSupply + _numberOfTokens <= maxSupply, ERR_LIMIT_EXCEED);

        uint32 quota = uint32(bytes4(_message[20:24]));
        require(mintingRecord[msg.sender] + _numberOfTokens <= quota, ERR_LIMIT_EXCEED);

        address recoveredSigner = recoverSigner(_message, _v, _r, _s);
        require(signer == recoveredSigner, "Not correct signer");

        mintingRecord[msg.sender] += _numberOfTokens;
        _safeMint(msg.sender, _numberOfTokens);
    }

    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        /**
         * Approval for isoroom vault for skiping transaction
         */
        if (operator == vaultAddress) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    function setBaseURI(string memory baseURI_) external onlyOwner {
        _baseURIextended = baseURI_;
    }

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

    function reserve(uint256 _numberOfTokens) external onlyOwner {
        _safeMint(msg.sender, _numberOfTokens);
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function bytesToAddress(bytes memory bys)
        private
        pure
        returns (address addr)
    {
        assembly {
            addr := mload(add(bys, 20))
        }
    }

    function recoverSigner(
        bytes calldata _message,
        uint8 _v,
        bytes32 _r,
        bytes32 _s
    ) private pure returns (address addr) {
        bytes memory prefix = "\x19Ethereum Signed Message:\n24";
        bytes32 prefixedHashMessage = keccak256(
            abi.encodePacked(prefix, _message)
        );
        address recoveredSigner = ecrecover(prefixedHashMessage, _v, _r, _s);
        return recoveredSigner;
    }

    function setSealVaultAddress() external onlyOwner {
        require(vaultAddress != address(0x0), ERR_NOT_SET_VAULT);
        sealVaultAddress = true;
    }

    function updateMaxSupply(uint256 _maxSupply) external onlyOwner {
        require(_maxSupply >= totalSupply(), ERR_LIMIT_EXCEED);
        maxSupply = _maxSupply;
    }
}

File 2 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev 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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, 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 overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

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

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

File 4 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 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 6 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 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 9 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 10 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 11 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 12 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"},{"internalType":"uint16","name":"_numberOfTokens","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintingRecord","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"reserve","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":[],"name":"sealVaultAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSealVaultAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","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":"uint256","name":"_maxSupply","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052738168e7d3a63b08f8e4609ca74547e911809140d7600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60146101000a81548160ff0219169083151502179055506103e8600c553480156200008757600080fd5b506040518060400160405280600c81526020017f526f79616c49736f726f6f6d00000000000000000000000000000000000000008152506040518060400160405280600881526020017f5249534f524f4f4d00000000000000000000000000000000000000000000000081525081600290805190602001906200010c92919062000237565b5080600390805190602001906200012592919062000237565b50620001366200016460201b60201c565b60008190555050506200015e620001526200016960201b60201c565b6200017160201b60201c565b6200034c565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002459062000316565b90600052602060002090601f016020900481019282620002695760008555620002b5565b82601f106200028457805160ff1916838001178555620002b5565b82800160010185558215620002b5579182015b82811115620002b457825182559160200191906001019062000297565b5b509050620002c49190620002c8565b5090565b5b80821115620002e3576000816000905550600101620002c9565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200032f57607f821691505b60208210811415620003465762000345620002e7565b5b50919050565b613c4a806200035c6000396000f3fe6080604052600436106101c25760003560e01c806370a08231116100f7578063b88d4fde11610095578063f103b43311610064578063f103b43314610631578063f10af5341461065a578063f2fde38b14610671578063ff137d881461069a576101c2565b8063b88d4fde14610563578063c87b56dd1461058c578063d5abeb01146105c9578063e985e9c5146105f4576101c2565b80638da5cb5b116100d15780638da5cb5b146104a757806395d89b41146104d2578063a22cb465146104fd578063af3b35b714610526576101c2565b806370a082311461042a578063715018a614610467578063819b25ba1461047e576101c2565b80633ccfd60b1161016457806355f804b31161013e57806355f804b31461037f5780636229b201146103a85780636352211e146103c45780636c19e78314610401576101c2565b80633ccfd60b1461031457806342842e0e1461032b578063430bf08a14610354576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd14610295578063238ac933146102c057806323b872dd146102eb576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612d58565b6106c5565b6040516101fb9190612da0565b60405180910390f35b34801561021057600080fd5b506102196107a7565b6040516102269190612e54565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190612eac565b610839565b6040516102639190612f1a565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190612f61565b6108b5565b005b3480156102a157600080fd5b506102aa6109c0565b6040516102b79190612fb0565b60405180910390f35b3480156102cc57600080fd5b506102d56109d7565b6040516102e29190612f1a565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d9190612fcb565b6109fd565b005b34801561032057600080fd5b50610329610a0d565b005b34801561033757600080fd5b50610352600480360381019061034d9190612fcb565b610ad8565b005b34801561036057600080fd5b50610369610af8565b6040516103769190612f1a565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190613153565b610b1e565b005b6103c260048036038101906103bd91906132a5565b610bb4565b005b3480156103d057600080fd5b506103eb60048036038101906103e69190612eac565b610f8c565b6040516103f89190612f1a565b60405180910390f35b34801561040d57600080fd5b506104286004803603810190610423919061333f565b610fa2565b005b34801561043657600080fd5b50610451600480360381019061044c919061333f565b611062565b60405161045e9190612fb0565b60405180910390f35b34801561047357600080fd5b5061047c611132565b005b34801561048a57600080fd5b506104a560048036038101906104a09190612eac565b6111ba565b005b3480156104b357600080fd5b506104bc611243565b6040516104c99190612f1a565b60405180910390f35b3480156104de57600080fd5b506104e761126d565b6040516104f49190612e54565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f9190613398565b6112ff565b005b34801561053257600080fd5b5061054d6004803603810190610548919061333f565b611477565b60405161055a91906133e7565b60405180910390f35b34801561056f57600080fd5b5061058a600480360381019061058591906134a3565b611498565b005b34801561059857600080fd5b506105b360048036038101906105ae9190612eac565b611514565b6040516105c09190612e54565b60405180910390f35b3480156105d557600080fd5b506105de6115b3565b6040516105eb9190612fb0565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613526565b6115b9565b6040516106289190612da0565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190612eac565b61162d565b005b34801561066657600080fd5b5061066f611736565b005b34801561067d57600080fd5b506106986004803603810190610693919061333f565b61189a565b005b3480156106a657600080fd5b506106af611992565b6040516106bc9190612da0565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a0575061079f826119a5565b5b9050919050565b6060600280546107b690613595565b80601f01602080910402602001604051908101604052809291908181526020018280546107e290613595565b801561082f5780601f106108045761010080835404028352916020019161082f565b820191906000526020600020905b81548152906001019060200180831161081257829003601f168201915b5050505050905090565b600061084482611a0f565b61087a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c082610f8c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610928576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610947611a5d565b73ffffffffffffffffffffffffffffffffffffffff1614158015610979575061097781610972611a5d565b6115b9565b155b156109b0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109bb838383611a65565b505050565b60006109ca611b17565b6001546000540303905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a08838383611b1c565b505050565b610a15611a5d565b73ffffffffffffffffffffffffffffffffffffffff16610a33611243565b73ffffffffffffffffffffffffffffffffffffffff1614610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8090613613565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ad4573d6000803e3d6000fd5b5050565b610af383838360405180602001604052806000815250611498565b505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b26611a5d565b73ffffffffffffffffffffffffffffffffffffffff16610b44611243565b73ffffffffffffffffffffffffffffffffffffffff1614610b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9190613613565b60405180910390fd5b8060099080519060200190610bb0929190612c06565b5050565b6000610c158787600090601492610bcd9392919061363d565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611fd2565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280601281526020017f4e6f74207461726765742061646472657373000000000000000000000000000081525090610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb49190612e54565b60405180910390fd5b506000610cc86109c0565b9050600c548361ffff1682610cdd91906136a7565b11156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d9190612e54565b60405180910390fd5b5060008888601490601892610d6d9392919061363d565b90610d789190613715565b60e01c90508063ffffffff1684600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16610ddd9190613774565b61ffff1611156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e519190612e54565b60405180910390fd5b506000610e6a8a8a8a8a8a611fe0565b90508073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef3906137f8565b60405180910390fd5b84600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16610f589190613774565b92506101000a81548161ffff021916908361ffff160217905550610f80338661ffff166120ac565b50505050505050505050565b6000610f97826120ca565b600001519050919050565b610faa611a5d565b73ffffffffffffffffffffffffffffffffffffffff16610fc8611243565b73ffffffffffffffffffffffffffffffffffffffff161461101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101590613613565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110ca576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61113a611a5d565b73ffffffffffffffffffffffffffffffffffffffff16611158611243565b73ffffffffffffffffffffffffffffffffffffffff16146111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a590613613565b60405180910390fd5b6111b86000612359565b565b6111c2611a5d565b73ffffffffffffffffffffffffffffffffffffffff166111e0611243565b73ffffffffffffffffffffffffffffffffffffffff1614611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90613613565b60405180910390fd5b61124033826120ac565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461127c90613595565b80601f01602080910402602001604051908101604052809291908181526020018280546112a890613595565b80156112f55780601f106112ca576101008083540402835291602001916112f5565b820191906000526020600020905b8154815290600101906020018083116112d857829003601f168201915b5050505050905090565b611307611a5d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561136c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611379611a5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611426611a5d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161146b9190612da0565b60405180910390a35050565b600d6020528060005260406000206000915054906101000a900461ffff1681565b6114a3848484611b1c565b6114c28373ffffffffffffffffffffffffffffffffffffffff1661241f565b80156114d757506114d584848484612442565b155b1561150e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061151f82611a0f565b611555576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061155f612593565b905060008151141561158057604051806020016040528060008152506115ab565b8061158a84612625565b60405160200161159b929190613854565b6040516020818303038152906040525b915050919050565b600c5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561161a5760019050611627565b6116248383612786565b90505b92915050565b611635611a5d565b73ffffffffffffffffffffffffffffffffffffffff16611653611243565b73ffffffffffffffffffffffffffffffffffffffff16146116a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a090613613565b60405180910390fd5b6116b16109c0565b8110156040518060400160405280600e81526020017f4c696d69742065786365656465640000000000000000000000000000000000008152509061172b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117229190612e54565b60405180910390fd5b5080600c8190555050565b61173e611a5d565b73ffffffffffffffffffffffffffffffffffffffff1661175c611243565b73ffffffffffffffffffffffffffffffffffffffff16146117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990613613565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600f81526020017f5661756c74206e6f7420666f756e6400000000000000000000000000000000008152509061187c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118739190612e54565b60405180910390fd5b506001600b60146101000a81548160ff021916908315150217905550565b6118a2611a5d565b73ffffffffffffffffffffffffffffffffffffffff166118c0611243565b73ffffffffffffffffffffffffffffffffffffffff1614611916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190d90613613565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d906138ea565b60405180910390fd5b61198f81612359565b50565b600b60149054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611a1a611b17565b11158015611a29575060005482105b8015611a56575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611b27826120ca565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611b92576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611bb3611a5d565b73ffffffffffffffffffffffffffffffffffffffff161480611be25750611be185611bdc611a5d565b6115b9565b5b80611c275750611bf0611a5d565b73ffffffffffffffffffffffffffffffffffffffff16611c0f84610839565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611c60576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cc7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cd4858585600161281a565b611ce060008487611a65565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f60576000548214611f5f57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fcb8585856001612820565b5050505050565b600060148201519050919050565b6000806040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3234000000008152509050600081888860405160200161203293929190613976565b60405160208183030381529060405280519060200120905060006001828888886040516000815260200160405260405161206f94939291906139ba565b6020604051602081039080840390855afa158015612091573d6000803e3d6000fd5b50505060206040510351905080935050505095945050505050565b6120c6828260405180602001604052806000815250612826565b5050565b6120d2612c8c565b6000829050806120e0611b17565b111580156120ef575060005481105b15612322576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161232057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612204578092505050612354565b5b60011561231f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461231a578092505050612354565b612205565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612468611a5d565b8786866040518563ffffffff1660e01b815260040161248a9493929190613a49565b6020604051808303816000875af19250505080156124c657506040513d601f19601f820116820180604052508101906124c39190613aaa565b60015b612540573d80600081146124f6576040519150601f19603f3d011682016040523d82523d6000602084013e6124fb565b606091505b50600081511415612538576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600980546125a290613595565b80601f01602080910402602001604051908101604052809291908181526020018280546125ce90613595565b801561261b5780601f106125f05761010080835404028352916020019161261b565b820191906000526020600020905b8154815290600101906020018083116125fe57829003601f168201915b5050505050905090565b6060600082141561266d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612781565b600082905060005b6000821461269f57808061268890613ad7565b915050600a826126989190613b4f565b9150612675565b60008167ffffffffffffffff8111156126bb576126ba613028565b5b6040519080825280601f01601f1916602001820160405280156126ed5781602001600182028036833780820191505090505b5090505b6000851461277a576001826127069190613b80565b9150600a856127159190613bb4565b603061272191906136a7565b60f81b81838151811061273757612736613be5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127739190613b4f565b94506126f1565b8093505050505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b50505050565b6128338383836001612838565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156128a5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156128e0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128ed600086838761281a565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612ab75750612ab68773ffffffffffffffffffffffffffffffffffffffff1661241f565b5b15612b7d575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b2c6000888480600101955088612442565b612b62576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612abd578260005414612b7857600080fd5b612be9565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612b7e575b816000819055505050612bff6000868387612820565b5050505050565b828054612c1290613595565b90600052602060002090601f016020900481019282612c345760008555612c7b565b82601f10612c4d57805160ff1916838001178555612c7b565b82800160010185558215612c7b579182015b82811115612c7a578251825591602001919060010190612c5f565b5b509050612c889190612ccf565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612ce8576000816000905550600101612cd0565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d3581612d00565b8114612d4057600080fd5b50565b600081359050612d5281612d2c565b92915050565b600060208284031215612d6e57612d6d612cf6565b5b6000612d7c84828501612d43565b91505092915050565b60008115159050919050565b612d9a81612d85565b82525050565b6000602082019050612db56000830184612d91565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612df5578082015181840152602081019050612dda565b83811115612e04576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e2682612dbb565b612e308185612dc6565b9350612e40818560208601612dd7565b612e4981612e0a565b840191505092915050565b60006020820190508181036000830152612e6e8184612e1b565b905092915050565b6000819050919050565b612e8981612e76565b8114612e9457600080fd5b50565b600081359050612ea681612e80565b92915050565b600060208284031215612ec257612ec1612cf6565b5b6000612ed084828501612e97565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f0482612ed9565b9050919050565b612f1481612ef9565b82525050565b6000602082019050612f2f6000830184612f0b565b92915050565b612f3e81612ef9565b8114612f4957600080fd5b50565b600081359050612f5b81612f35565b92915050565b60008060408385031215612f7857612f77612cf6565b5b6000612f8685828601612f4c565b9250506020612f9785828601612e97565b9150509250929050565b612faa81612e76565b82525050565b6000602082019050612fc56000830184612fa1565b92915050565b600080600060608486031215612fe457612fe3612cf6565b5b6000612ff286828701612f4c565b935050602061300386828701612f4c565b925050604061301486828701612e97565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61306082612e0a565b810181811067ffffffffffffffff8211171561307f5761307e613028565b5b80604052505050565b6000613092612cec565b905061309e8282613057565b919050565b600067ffffffffffffffff8211156130be576130bd613028565b5b6130c782612e0a565b9050602081019050919050565b82818337600083830152505050565b60006130f66130f1846130a3565b613088565b90508281526020810184848401111561311257613111613023565b5b61311d8482856130d4565b509392505050565b600082601f83011261313a5761313961301e565b5b813561314a8482602086016130e3565b91505092915050565b60006020828403121561316957613168612cf6565b5b600082013567ffffffffffffffff81111561318757613186612cfb565b5b61319384828501613125565b91505092915050565b600080fd5b600080fd5b60008083601f8401126131bc576131bb61301e565b5b8235905067ffffffffffffffff8111156131d9576131d861319c565b5b6020830191508360018202830111156131f5576131f46131a1565b5b9250929050565b600060ff82169050919050565b613212816131fc565b811461321d57600080fd5b50565b60008135905061322f81613209565b92915050565b6000819050919050565b61324881613235565b811461325357600080fd5b50565b6000813590506132658161323f565b92915050565b600061ffff82169050919050565b6132828161326b565b811461328d57600080fd5b50565b60008135905061329f81613279565b92915050565b60008060008060008060a087890312156132c2576132c1612cf6565b5b600087013567ffffffffffffffff8111156132e0576132df612cfb565b5b6132ec89828a016131a6565b965096505060206132ff89828a01613220565b945050604061331089828a01613256565b935050606061332189828a01613256565b925050608061333289828a01613290565b9150509295509295509295565b60006020828403121561335557613354612cf6565b5b600061336384828501612f4c565b91505092915050565b61337581612d85565b811461338057600080fd5b50565b6000813590506133928161336c565b92915050565b600080604083850312156133af576133ae612cf6565b5b60006133bd85828601612f4c565b92505060206133ce85828601613383565b9150509250929050565b6133e18161326b565b82525050565b60006020820190506133fc60008301846133d8565b92915050565b600067ffffffffffffffff82111561341d5761341c613028565b5b61342682612e0a565b9050602081019050919050565b600061344661344184613402565b613088565b90508281526020810184848401111561346257613461613023565b5b61346d8482856130d4565b509392505050565b600082601f83011261348a5761348961301e565b5b813561349a848260208601613433565b91505092915050565b600080600080608085870312156134bd576134bc612cf6565b5b60006134cb87828801612f4c565b94505060206134dc87828801612f4c565b93505060406134ed87828801612e97565b925050606085013567ffffffffffffffff81111561350e5761350d612cfb565b5b61351a87828801613475565b91505092959194509250565b6000806040838503121561353d5761353c612cf6565b5b600061354b85828601612f4c565b925050602061355c85828601612f4c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135ad57607f821691505b602082108114156135c1576135c0613566565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135fd602083612dc6565b9150613608826135c7565b602082019050919050565b6000602082019050818103600083015261362c816135f0565b9050919050565b600080fd5b600080fd5b6000808585111561365157613650613633565b5b8386111561366257613661613638565b5b6001850283019150848603905094509492505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006136b282612e76565b91506136bd83612e76565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136f2576136f1613678565b5b828201905092915050565b600082905092915050565b600082821b905092915050565b600061372183836136fd565b8261372c8135612d00565b9250600482101561376c576137677fffffffff0000000000000000000000000000000000000000000000000000000083600403600802613708565b831692505b505092915050565b600061377f8261326b565b915061378a8361326b565b92508261ffff038211156137a1576137a0613678565b5b828201905092915050565b7f4e6f7420636f7272656374207369676e65720000000000000000000000000000600082015250565b60006137e2601283612dc6565b91506137ed826137ac565b602082019050919050565b60006020820190508181036000830152613811816137d5565b9050919050565b600081905092915050565b600061382e82612dbb565b6138388185613818565b9350613848818560208601612dd7565b80840191505092915050565b60006138608285613823565b915061386c8284613823565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138d4602683612dc6565b91506138df82613878565b604082019050919050565b60006020820190508181036000830152613903816138c7565b9050919050565b600081519050919050565b600081905092915050565b600061392b8261390a565b6139358185613915565b9350613945818560208601612dd7565b80840191505092915050565b600061395d8385613915565b935061396a8385846130d4565b82840190509392505050565b60006139828286613920565b915061398f828486613951565b9150819050949350505050565b6139a581613235565b82525050565b6139b4816131fc565b82525050565b60006080820190506139cf600083018761399c565b6139dc60208301866139ab565b6139e9604083018561399c565b6139f6606083018461399c565b95945050505050565b600082825260208201905092915050565b6000613a1b8261390a565b613a2581856139ff565b9350613a35818560208601612dd7565b613a3e81612e0a565b840191505092915050565b6000608082019050613a5e6000830187612f0b565b613a6b6020830186612f0b565b613a786040830185612fa1565b8181036060830152613a8a8184613a10565b905095945050505050565b600081519050613aa481612d2c565b92915050565b600060208284031215613ac057613abf612cf6565b5b6000613ace84828501613a95565b91505092915050565b6000613ae282612e76565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b1557613b14613678565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b5a82612e76565b9150613b6583612e76565b925082613b7557613b74613b20565b5b828204905092915050565b6000613b8b82612e76565b9150613b9683612e76565b925082821015613ba957613ba8613678565b5b828203905092915050565b6000613bbf82612e76565b9150613bca83612e76565b925082613bda57613bd9613b20565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212206f71980abf59c57572a85cd8b665f9a17c53cb4c84cac930f76eae11b92617eb64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106101c25760003560e01c806370a08231116100f7578063b88d4fde11610095578063f103b43311610064578063f103b43314610631578063f10af5341461065a578063f2fde38b14610671578063ff137d881461069a576101c2565b8063b88d4fde14610563578063c87b56dd1461058c578063d5abeb01146105c9578063e985e9c5146105f4576101c2565b80638da5cb5b116100d15780638da5cb5b146104a757806395d89b41146104d2578063a22cb465146104fd578063af3b35b714610526576101c2565b806370a082311461042a578063715018a614610467578063819b25ba1461047e576101c2565b80633ccfd60b1161016457806355f804b31161013e57806355f804b31461037f5780636229b201146103a85780636352211e146103c45780636c19e78314610401576101c2565b80633ccfd60b1461031457806342842e0e1461032b578063430bf08a14610354576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd14610295578063238ac933146102c057806323b872dd146102eb576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612d58565b6106c5565b6040516101fb9190612da0565b60405180910390f35b34801561021057600080fd5b506102196107a7565b6040516102269190612e54565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190612eac565b610839565b6040516102639190612f1a565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190612f61565b6108b5565b005b3480156102a157600080fd5b506102aa6109c0565b6040516102b79190612fb0565b60405180910390f35b3480156102cc57600080fd5b506102d56109d7565b6040516102e29190612f1a565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d9190612fcb565b6109fd565b005b34801561032057600080fd5b50610329610a0d565b005b34801561033757600080fd5b50610352600480360381019061034d9190612fcb565b610ad8565b005b34801561036057600080fd5b50610369610af8565b6040516103769190612f1a565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190613153565b610b1e565b005b6103c260048036038101906103bd91906132a5565b610bb4565b005b3480156103d057600080fd5b506103eb60048036038101906103e69190612eac565b610f8c565b6040516103f89190612f1a565b60405180910390f35b34801561040d57600080fd5b506104286004803603810190610423919061333f565b610fa2565b005b34801561043657600080fd5b50610451600480360381019061044c919061333f565b611062565b60405161045e9190612fb0565b60405180910390f35b34801561047357600080fd5b5061047c611132565b005b34801561048a57600080fd5b506104a560048036038101906104a09190612eac565b6111ba565b005b3480156104b357600080fd5b506104bc611243565b6040516104c99190612f1a565b60405180910390f35b3480156104de57600080fd5b506104e761126d565b6040516104f49190612e54565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f9190613398565b6112ff565b005b34801561053257600080fd5b5061054d6004803603810190610548919061333f565b611477565b60405161055a91906133e7565b60405180910390f35b34801561056f57600080fd5b5061058a600480360381019061058591906134a3565b611498565b005b34801561059857600080fd5b506105b360048036038101906105ae9190612eac565b611514565b6040516105c09190612e54565b60405180910390f35b3480156105d557600080fd5b506105de6115b3565b6040516105eb9190612fb0565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613526565b6115b9565b6040516106289190612da0565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190612eac565b61162d565b005b34801561066657600080fd5b5061066f611736565b005b34801561067d57600080fd5b506106986004803603810190610693919061333f565b61189a565b005b3480156106a657600080fd5b506106af611992565b6040516106bc9190612da0565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a0575061079f826119a5565b5b9050919050565b6060600280546107b690613595565b80601f01602080910402602001604051908101604052809291908181526020018280546107e290613595565b801561082f5780601f106108045761010080835404028352916020019161082f565b820191906000526020600020905b81548152906001019060200180831161081257829003601f168201915b5050505050905090565b600061084482611a0f565b61087a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c082610f8c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610928576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610947611a5d565b73ffffffffffffffffffffffffffffffffffffffff1614158015610979575061097781610972611a5d565b6115b9565b155b156109b0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109bb838383611a65565b505050565b60006109ca611b17565b6001546000540303905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a08838383611b1c565b505050565b610a15611a5d565b73ffffffffffffffffffffffffffffffffffffffff16610a33611243565b73ffffffffffffffffffffffffffffffffffffffff1614610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8090613613565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ad4573d6000803e3d6000fd5b5050565b610af383838360405180602001604052806000815250611498565b505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b26611a5d565b73ffffffffffffffffffffffffffffffffffffffff16610b44611243565b73ffffffffffffffffffffffffffffffffffffffff1614610b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9190613613565b60405180910390fd5b8060099080519060200190610bb0929190612c06565b5050565b6000610c158787600090601492610bcd9392919061363d565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611fd2565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280601281526020017f4e6f74207461726765742061646472657373000000000000000000000000000081525090610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb49190612e54565b60405180910390fd5b506000610cc86109c0565b9050600c548361ffff1682610cdd91906136a7565b11156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d9190612e54565b60405180910390fd5b5060008888601490601892610d6d9392919061363d565b90610d789190613715565b60e01c90508063ffffffff1684600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16610ddd9190613774565b61ffff1611156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e519190612e54565b60405180910390fd5b506000610e6a8a8a8a8a8a611fe0565b90508073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef3906137f8565b60405180910390fd5b84600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16610f589190613774565b92506101000a81548161ffff021916908361ffff160217905550610f80338661ffff166120ac565b50505050505050505050565b6000610f97826120ca565b600001519050919050565b610faa611a5d565b73ffffffffffffffffffffffffffffffffffffffff16610fc8611243565b73ffffffffffffffffffffffffffffffffffffffff161461101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101590613613565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110ca576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61113a611a5d565b73ffffffffffffffffffffffffffffffffffffffff16611158611243565b73ffffffffffffffffffffffffffffffffffffffff16146111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a590613613565b60405180910390fd5b6111b86000612359565b565b6111c2611a5d565b73ffffffffffffffffffffffffffffffffffffffff166111e0611243565b73ffffffffffffffffffffffffffffffffffffffff1614611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90613613565b60405180910390fd5b61124033826120ac565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461127c90613595565b80601f01602080910402602001604051908101604052809291908181526020018280546112a890613595565b80156112f55780601f106112ca576101008083540402835291602001916112f5565b820191906000526020600020905b8154815290600101906020018083116112d857829003601f168201915b5050505050905090565b611307611a5d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561136c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611379611a5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611426611a5d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161146b9190612da0565b60405180910390a35050565b600d6020528060005260406000206000915054906101000a900461ffff1681565b6114a3848484611b1c565b6114c28373ffffffffffffffffffffffffffffffffffffffff1661241f565b80156114d757506114d584848484612442565b155b1561150e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061151f82611a0f565b611555576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061155f612593565b905060008151141561158057604051806020016040528060008152506115ab565b8061158a84612625565b60405160200161159b929190613854565b6040516020818303038152906040525b915050919050565b600c5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561161a5760019050611627565b6116248383612786565b90505b92915050565b611635611a5d565b73ffffffffffffffffffffffffffffffffffffffff16611653611243565b73ffffffffffffffffffffffffffffffffffffffff16146116a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a090613613565b60405180910390fd5b6116b16109c0565b8110156040518060400160405280600e81526020017f4c696d69742065786365656465640000000000000000000000000000000000008152509061172b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117229190612e54565b60405180910390fd5b5080600c8190555050565b61173e611a5d565b73ffffffffffffffffffffffffffffffffffffffff1661175c611243565b73ffffffffffffffffffffffffffffffffffffffff16146117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990613613565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600f81526020017f5661756c74206e6f7420666f756e6400000000000000000000000000000000008152509061187c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118739190612e54565b60405180910390fd5b506001600b60146101000a81548160ff021916908315150217905550565b6118a2611a5d565b73ffffffffffffffffffffffffffffffffffffffff166118c0611243565b73ffffffffffffffffffffffffffffffffffffffff1614611916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190d90613613565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d906138ea565b60405180910390fd5b61198f81612359565b50565b600b60149054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611a1a611b17565b11158015611a29575060005482105b8015611a56575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611b27826120ca565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611b92576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611bb3611a5d565b73ffffffffffffffffffffffffffffffffffffffff161480611be25750611be185611bdc611a5d565b6115b9565b5b80611c275750611bf0611a5d565b73ffffffffffffffffffffffffffffffffffffffff16611c0f84610839565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611c60576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cc7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cd4858585600161281a565b611ce060008487611a65565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f60576000548214611f5f57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fcb8585856001612820565b5050505050565b600060148201519050919050565b6000806040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3234000000008152509050600081888860405160200161203293929190613976565b60405160208183030381529060405280519060200120905060006001828888886040516000815260200160405260405161206f94939291906139ba565b6020604051602081039080840390855afa158015612091573d6000803e3d6000fd5b50505060206040510351905080935050505095945050505050565b6120c6828260405180602001604052806000815250612826565b5050565b6120d2612c8c565b6000829050806120e0611b17565b111580156120ef575060005481105b15612322576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161232057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612204578092505050612354565b5b60011561231f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461231a578092505050612354565b612205565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612468611a5d565b8786866040518563ffffffff1660e01b815260040161248a9493929190613a49565b6020604051808303816000875af19250505080156124c657506040513d601f19601f820116820180604052508101906124c39190613aaa565b60015b612540573d80600081146124f6576040519150601f19603f3d011682016040523d82523d6000602084013e6124fb565b606091505b50600081511415612538576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600980546125a290613595565b80601f01602080910402602001604051908101604052809291908181526020018280546125ce90613595565b801561261b5780601f106125f05761010080835404028352916020019161261b565b820191906000526020600020905b8154815290600101906020018083116125fe57829003601f168201915b5050505050905090565b6060600082141561266d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612781565b600082905060005b6000821461269f57808061268890613ad7565b915050600a826126989190613b4f565b9150612675565b60008167ffffffffffffffff8111156126bb576126ba613028565b5b6040519080825280601f01601f1916602001820160405280156126ed5781602001600182028036833780820191505090505b5090505b6000851461277a576001826127069190613b80565b9150600a856127159190613bb4565b603061272191906136a7565b60f81b81838151811061273757612736613be5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127739190613b4f565b94506126f1565b8093505050505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b50505050565b6128338383836001612838565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156128a5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156128e0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128ed600086838761281a565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612ab75750612ab68773ffffffffffffffffffffffffffffffffffffffff1661241f565b5b15612b7d575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b2c6000888480600101955088612442565b612b62576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612abd578260005414612b7857600080fd5b612be9565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612b7e575b816000819055505050612bff6000868387612820565b5050505050565b828054612c1290613595565b90600052602060002090601f016020900481019282612c345760008555612c7b565b82601f10612c4d57805160ff1916838001178555612c7b565b82800160010185558215612c7b579182015b82811115612c7a578251825591602001919060010190612c5f565b5b509050612c889190612ccf565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612ce8576000816000905550600101612cd0565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d3581612d00565b8114612d4057600080fd5b50565b600081359050612d5281612d2c565b92915050565b600060208284031215612d6e57612d6d612cf6565b5b6000612d7c84828501612d43565b91505092915050565b60008115159050919050565b612d9a81612d85565b82525050565b6000602082019050612db56000830184612d91565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612df5578082015181840152602081019050612dda565b83811115612e04576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e2682612dbb565b612e308185612dc6565b9350612e40818560208601612dd7565b612e4981612e0a565b840191505092915050565b60006020820190508181036000830152612e6e8184612e1b565b905092915050565b6000819050919050565b612e8981612e76565b8114612e9457600080fd5b50565b600081359050612ea681612e80565b92915050565b600060208284031215612ec257612ec1612cf6565b5b6000612ed084828501612e97565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f0482612ed9565b9050919050565b612f1481612ef9565b82525050565b6000602082019050612f2f6000830184612f0b565b92915050565b612f3e81612ef9565b8114612f4957600080fd5b50565b600081359050612f5b81612f35565b92915050565b60008060408385031215612f7857612f77612cf6565b5b6000612f8685828601612f4c565b9250506020612f9785828601612e97565b9150509250929050565b612faa81612e76565b82525050565b6000602082019050612fc56000830184612fa1565b92915050565b600080600060608486031215612fe457612fe3612cf6565b5b6000612ff286828701612f4c565b935050602061300386828701612f4c565b925050604061301486828701612e97565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61306082612e0a565b810181811067ffffffffffffffff8211171561307f5761307e613028565b5b80604052505050565b6000613092612cec565b905061309e8282613057565b919050565b600067ffffffffffffffff8211156130be576130bd613028565b5b6130c782612e0a565b9050602081019050919050565b82818337600083830152505050565b60006130f66130f1846130a3565b613088565b90508281526020810184848401111561311257613111613023565b5b61311d8482856130d4565b509392505050565b600082601f83011261313a5761313961301e565b5b813561314a8482602086016130e3565b91505092915050565b60006020828403121561316957613168612cf6565b5b600082013567ffffffffffffffff81111561318757613186612cfb565b5b61319384828501613125565b91505092915050565b600080fd5b600080fd5b60008083601f8401126131bc576131bb61301e565b5b8235905067ffffffffffffffff8111156131d9576131d861319c565b5b6020830191508360018202830111156131f5576131f46131a1565b5b9250929050565b600060ff82169050919050565b613212816131fc565b811461321d57600080fd5b50565b60008135905061322f81613209565b92915050565b6000819050919050565b61324881613235565b811461325357600080fd5b50565b6000813590506132658161323f565b92915050565b600061ffff82169050919050565b6132828161326b565b811461328d57600080fd5b50565b60008135905061329f81613279565b92915050565b60008060008060008060a087890312156132c2576132c1612cf6565b5b600087013567ffffffffffffffff8111156132e0576132df612cfb565b5b6132ec89828a016131a6565b965096505060206132ff89828a01613220565b945050604061331089828a01613256565b935050606061332189828a01613256565b925050608061333289828a01613290565b9150509295509295509295565b60006020828403121561335557613354612cf6565b5b600061336384828501612f4c565b91505092915050565b61337581612d85565b811461338057600080fd5b50565b6000813590506133928161336c565b92915050565b600080604083850312156133af576133ae612cf6565b5b60006133bd85828601612f4c565b92505060206133ce85828601613383565b9150509250929050565b6133e18161326b565b82525050565b60006020820190506133fc60008301846133d8565b92915050565b600067ffffffffffffffff82111561341d5761341c613028565b5b61342682612e0a565b9050602081019050919050565b600061344661344184613402565b613088565b90508281526020810184848401111561346257613461613023565b5b61346d8482856130d4565b509392505050565b600082601f83011261348a5761348961301e565b5b813561349a848260208601613433565b91505092915050565b600080600080608085870312156134bd576134bc612cf6565b5b60006134cb87828801612f4c565b94505060206134dc87828801612f4c565b93505060406134ed87828801612e97565b925050606085013567ffffffffffffffff81111561350e5761350d612cfb565b5b61351a87828801613475565b91505092959194509250565b6000806040838503121561353d5761353c612cf6565b5b600061354b85828601612f4c565b925050602061355c85828601612f4c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135ad57607f821691505b602082108114156135c1576135c0613566565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135fd602083612dc6565b9150613608826135c7565b602082019050919050565b6000602082019050818103600083015261362c816135f0565b9050919050565b600080fd5b600080fd5b6000808585111561365157613650613633565b5b8386111561366257613661613638565b5b6001850283019150848603905094509492505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006136b282612e76565b91506136bd83612e76565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136f2576136f1613678565b5b828201905092915050565b600082905092915050565b600082821b905092915050565b600061372183836136fd565b8261372c8135612d00565b9250600482101561376c576137677fffffffff0000000000000000000000000000000000000000000000000000000083600403600802613708565b831692505b505092915050565b600061377f8261326b565b915061378a8361326b565b92508261ffff038211156137a1576137a0613678565b5b828201905092915050565b7f4e6f7420636f7272656374207369676e65720000000000000000000000000000600082015250565b60006137e2601283612dc6565b91506137ed826137ac565b602082019050919050565b60006020820190508181036000830152613811816137d5565b9050919050565b600081905092915050565b600061382e82612dbb565b6138388185613818565b9350613848818560208601612dd7565b80840191505092915050565b60006138608285613823565b915061386c8284613823565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138d4602683612dc6565b91506138df82613878565b604082019050919050565b60006020820190508181036000830152613903816138c7565b9050919050565b600081519050919050565b600081905092915050565b600061392b8261390a565b6139358185613915565b9350613945818560208601612dd7565b80840191505092915050565b600061395d8385613915565b935061396a8385846130d4565b82840190509392505050565b60006139828286613920565b915061398f828486613951565b9150819050949350505050565b6139a581613235565b82525050565b6139b4816131fc565b82525050565b60006080820190506139cf600083018761399c565b6139dc60208301866139ab565b6139e9604083018561399c565b6139f6606083018461399c565b95945050505050565b600082825260208201905092915050565b6000613a1b8261390a565b613a2581856139ff565b9350613a35818560208601612dd7565b613a3e81612e0a565b840191505092915050565b6000608082019050613a5e6000830187612f0b565b613a6b6020830186612f0b565b613a786040830185612fa1565b8181036060830152613a8a8184613a10565b905095945050505050565b600081519050613aa481612d2c565b92915050565b600060208284031215613ac057613abf612cf6565b5b6000613ace84828501613a95565b91505092915050565b6000613ae282612e76565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b1557613b14613678565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b5a82612e76565b9150613b6583612e76565b925082613b7557613b74613b20565b5b828204905092915050565b6000613b8b82612e76565b9150613b9683612e76565b925082821015613ba957613ba8613678565b5b828203905092915050565b6000613bbf82612e76565b9150613bca83612e76565b925082613bda57613bd9613b20565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212206f71980abf59c57572a85cd8b665f9a17c53cb4c84cac930f76eae11b92617eb64736f6c634300080a0033

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.