ETH Price: $2,274.85 (+0.10%)

Token

OQ Magazine (OQ)
 

Overview

Max Total Supply

91 OQ

Holders

43

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 OQ
0x021e3c1a8fb6be941a649c2b85b76488684cc5a1
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:
OQMag

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

pragma solidity >=0.7.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract OQMag is ERC721, Ownable {
  using Strings for uint256;
  using Counters for Counters.Counter;

  Counters.Counter private supply;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  
  uint256 public cost = 0.031 ether;
  uint256 public currentMaxSupply = 50;
  uint256 public finalMaxSupply = 500;
  uint256 public maxMintAmountPerTx = 50;

  bool public paused = true;
  bool public revealed = false;

  constructor() ERC721("OQ Magazine", "OQ") {
    setHiddenMetadataUri("https://owmag.mypinata.cloud/ipfs/QmTLtQE7X4UAEjv5SXJjV3nqmstWH9iywQbmQzKiughgz2/hiddenMeta.json");
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
    require(supply.current() + _mintAmount <= currentMaxSupply, "Max supply exceeded!");
    _;
  }

  function totalSupply() public view returns (uint256) {
    return supply.current();
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(!paused, "The contract is paused!");
    require(msg.value >= cost * _mintAmount, "Insufficient funds!");

    _mintLoop(msg.sender, _mintAmount);
  }

    function adminMint(uint256 _mintAmount) public onlyOwner mintCompliance(_mintAmount) {

    _mintLoop(msg.sender, _mintAmount);

  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    _mintLoop(_receiver, _mintAmount);
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= currentMaxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function setCurrentMaxSupply(uint256 _supply) public onlyOwner {
    require(_supply <= finalMaxSupply && _supply >= totalSupply());
    currentMaxSupply = _supply;
  }

  function resetFinalMaxSupply() public onlyOwner {
    finalMaxSupply = currentMaxSupply;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    if (revealed == false) {
      return hiddenMetadataUri;
    }

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

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  function withdraw() public onlyOwner {
    // This will pay OQ Magazine Founding Members thier % of the initial sale.
    (bool rl, ) = payable(0xaf16BECE4C1b8612649EdeD817d92CE511C15dda).call{value: address(this).balance * 10 / 100}("");
    require(rl);
    (bool di, ) = payable(0x53D785A16006Fa2010d45d64fEf818bB76b65137).call{value: address(this).balance * 15 / 100}("");
    require(di);
    (bool tb, ) = payable(0xD5Fd92317468d34607bFF917cbb3D0cA4a9c2839).call{value: address(this).balance * 18 / 100}("");
    require(tb);
    (bool oc, ) = payable(0xA2215bDEc9f3f4Daed848032Df35440f36763027).call{value: address(this).balance * 40 / 100}("");
    require(oc);
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
    // =============================================================================
  }

  function _mintLoop(address _receiver, uint256 _mintAmount) internal {
    for (uint256 i = 0; i < _mintAmount; i++) {
      supply.increment();
      _safeMint(_receiver, supply.current());
    }
  }

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

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 3 of 12 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

File 5 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 6 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 7 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 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"uint256","name":"_mintAmount","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalMaxSupply","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":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetFinalMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setCurrentMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600890805190602001906200002b9291906200037e565b506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060099080519060200190620000799291906200037e565b50666e2255f4098000600b556032600c556101f4600d556032600e556001600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff021916908315150217905550348015620000d857600080fd5b506040518060400160405280600b81526020017f4f51204d6167617a696e650000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4f5100000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200015d9291906200037e565b508060019080519060200190620001769291906200037e565b505050620001996200018d620001c960201b60201c565b620001d160201b60201c565b620001c360405180608001604052806060815260200162004576606091396200029760201b60201c565b62000516565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002a7620002c360201b60201c565b80600a9080519060200190620002bf9291906200037e565b5050565b620002d3620001c960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002f96200035460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000352576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003499062000455565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200038c9062000488565b90600052602060002090601f016020900481019282620003b05760008555620003fc565b82601f10620003cb57805160ff1916838001178555620003fc565b82800160010185558215620003fc579182015b82811115620003fb578251825591602001919060010190620003de565b5b5090506200040b91906200040f565b5090565b5b808211156200042a57600081600090555060010162000410565b5090565b60006200043d60208362000477565b91506200044a82620004ed565b602082019050919050565b6000602082019050818103600083015262000470816200042e565b9050919050565b600082825260208201905092915050565b60006002820490506001821680620004a157607f821691505b60208210811415620004b857620004b7620004be565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61405080620005266000396000f3fe60806040526004361061023b5760003560e01c806362b99ad41161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610816578063e0a8085314610853578063e985e9c51461087c578063efbd73f4146108b9578063f2fde38b146108e25761023b565b8063a22cb46514610747578063a45ba8e714610770578063b071401b1461079b578063b88d4fde146107c4578063c1f26123146107ed5761023b565b80637ec4a659116100f25780637ec4a659146106815780638da5cb5b146106aa57806394354fd0146106d557806395d89b4114610700578063a0712d681461072b5761023b565b806362b99ad41461059c5780636352211e146105c757806370a0823114610604578063715018a61461064157806373022011146106585761023b565b80633ccfd60b116101bc5780634fdd43cb116101805780634fdd43cb146104db57806351830227146105045780635503a0e81461052f578063569b75f81461055a5780635c975abb146105715761023b565b80633ccfd60b1461040a57806342842e0e14610421578063438b63001461044a57806344a0d68a146104875780634ad66811146104b05761023b565b806313faede61161020357806313faede61461033957806316ba10e01461036457806316c38b3c1461038d57806318160ddd146103b657806323b872dd146103e15761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e5578063104aeef81461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190612dc4565b61090b565b6040516102749190613410565b60405180910390f35b34801561028957600080fd5b506102926109ed565b60405161029f919061342b565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190612e67565b610a7f565b6040516102dc9190613387565b60405180910390f35b3480156102f157600080fd5b5061030c60048036038101906103079190612d57565b610ac5565b005b34801561031a57600080fd5b50610323610bdd565b604051610330919061368d565b60405180910390f35b34801561034557600080fd5b5061034e610be3565b60405161035b919061368d565b60405180910390f35b34801561037057600080fd5b5061038b60048036038101906103869190612e1e565b610be9565b005b34801561039957600080fd5b506103b460048036038101906103af9190612d97565b610c0b565b005b3480156103c257600080fd5b506103cb610c30565b6040516103d8919061368d565b60405180910390f35b3480156103ed57600080fd5b5061040860048036038101906104039190612c41565b610c41565b005b34801561041657600080fd5b5061041f610ca1565b005b34801561042d57600080fd5b5061044860048036038101906104439190612c41565b610fb5565b005b34801561045657600080fd5b50610471600480360381019061046c9190612bd4565b610fd5565b60405161047e91906133ee565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190612e67565b6110e0565b005b3480156104bc57600080fd5b506104c56110f2565b6040516104d2919061368d565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190612e1e565b6110f8565b005b34801561051057600080fd5b5061051961111a565b6040516105269190613410565b60405180910390f35b34801561053b57600080fd5b5061054461112d565b604051610551919061342b565b60405180910390f35b34801561056657600080fd5b5061056f6111bb565b005b34801561057d57600080fd5b506105866111ce565b6040516105939190613410565b60405180910390f35b3480156105a857600080fd5b506105b16111e1565b6040516105be919061342b565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190612e67565b61126f565b6040516105fb9190613387565b60405180910390f35b34801561061057600080fd5b5061062b60048036038101906106269190612bd4565b611321565b604051610638919061368d565b60405180910390f35b34801561064d57600080fd5b506106566113d9565b005b34801561066457600080fd5b5061067f600480360381019061067a9190612e67565b6113ed565b005b34801561068d57600080fd5b506106a860048036038101906106a39190612e1e565b611421565b005b3480156106b657600080fd5b506106bf611443565b6040516106cc9190613387565b60405180910390f35b3480156106e157600080fd5b506106ea61146d565b6040516106f7919061368d565b60405180910390f35b34801561070c57600080fd5b50610715611473565b604051610722919061342b565b60405180910390f35b61074560048036038101906107409190612e67565b611505565b005b34801561075357600080fd5b5061076e60048036038101906107699190612d17565b61165e565b005b34801561077c57600080fd5b50610785611674565b604051610792919061342b565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd9190612e67565b611702565b005b3480156107d057600080fd5b506107eb60048036038101906107e69190612c94565b611714565b005b3480156107f957600080fd5b50610814600480360381019061080f9190612e67565b611776565b005b34801561082257600080fd5b5061083d60048036038101906108389190612e67565b611837565b60405161084a919061342b565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190612d97565b611990565b005b34801561088857600080fd5b506108a3600480360381019061089e9190612c01565b6119b5565b6040516108b09190613410565b60405180910390f35b3480156108c557600080fd5b506108e060048036038101906108db9190612e94565b611a49565b005b3480156108ee57600080fd5b5061090960048036038101906109049190612bd4565b611b0b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109e657506109e582611b8f565b5b9050919050565b6060600080546109fc90613996565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2890613996565b8015610a755780601f10610a4a57610100808354040283529160200191610a75565b820191906000526020600020905b815481529060010190602001808311610a5857829003601f168201915b5050505050905090565b6000610a8a82611bf9565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad08261126f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b389061360d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b60611c44565b73ffffffffffffffffffffffffffffffffffffffff161480610b8f5750610b8e81610b89611c44565b6119b5565b5b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc59061354d565b60405180910390fd5b610bd88383611c4c565b505050565b600c5481565b600b5481565b610bf1611d05565b8060099080519060200190610c079291906129e8565b5050565b610c13611d05565b80600f60006101000a81548160ff02191690831515021790555050565b6000610c3c6007611d83565b905090565b610c52610c4c611c44565b82611d91565b610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c889061364d565b60405180910390fd5b610c9c838383611e26565b505050565b610ca9611d05565b600073af16bece4c1b8612649eded817d92ce511c15dda73ffffffffffffffffffffffffffffffffffffffff166064600a47610ce59190613852565b610cef9190613821565b604051610cfb90613372565b60006040518083038185875af1925050503d8060008114610d38576040519150601f19603f3d011682016040523d82523d6000602084013e610d3d565b606091505b5050905080610d4b57600080fd5b60007353d785a16006fa2010d45d64fef818bb76b6513773ffffffffffffffffffffffffffffffffffffffff166064600f47610d879190613852565b610d919190613821565b604051610d9d90613372565b60006040518083038185875af1925050503d8060008114610dda576040519150601f19603f3d011682016040523d82523d6000602084013e610ddf565b606091505b5050905080610ded57600080fd5b600073d5fd92317468d34607bff917cbb3d0ca4a9c283973ffffffffffffffffffffffffffffffffffffffff166064601247610e299190613852565b610e339190613821565b604051610e3f90613372565b60006040518083038185875af1925050503d8060008114610e7c576040519150601f19603f3d011682016040523d82523d6000602084013e610e81565b606091505b5050905080610e8f57600080fd5b600073a2215bdec9f3f4daed848032df35440f3676302773ffffffffffffffffffffffffffffffffffffffff166064602847610ecb9190613852565b610ed59190613821565b604051610ee190613372565b60006040518083038185875af1925050503d8060008114610f1e576040519150601f19603f3d011682016040523d82523d6000602084013e610f23565b606091505b5050905080610f3157600080fd5b6000610f3b611443565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f5e90613372565b60006040518083038185875af1925050503d8060008114610f9b576040519150601f19603f3d011682016040523d82523d6000602084013e610fa0565b606091505b5050905080610fae57600080fd5b5050505050565b610fd083838360405180602001604052806000815250611714565b505050565b60606000610fe283611321565b905060008167ffffffffffffffff81111561100057610fff613b2f565b5b60405190808252806020026020018201604052801561102e5781602001602082028036833780820191505090505b50905060006001905060005b838110801561104b5750600c548211155b156110d457600061105b8361126f565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c057828483815181106110a5576110a4613b00565b5b60200260200101818152505081806110bc906139f9565b9250505b82806110cb906139f9565b9350505061103a565b82945050505050919050565b6110e8611d05565b80600b8190555050565b600d5481565b611100611d05565b80600a90805190602001906111169291906129e8565b5050565b600f60019054906101000a900460ff1681565b6009805461113a90613996565b80601f016020809104026020016040519081016040528092919081815260200182805461116690613996565b80156111b35780601f10611188576101008083540402835291602001916111b3565b820191906000526020600020905b81548152906001019060200180831161119657829003601f168201915b505050505081565b6111c3611d05565b600c54600d81905550565b600f60009054906101000a900460ff1681565b600880546111ee90613996565b80601f016020809104026020016040519081016040528092919081815260200182805461121a90613996565b80156112675780601f1061123c57610100808354040283529160200191611267565b820191906000526020600020905b81548152906001019060200180831161124a57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f906135ed565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611392576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113899061352d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113e1611d05565b6113eb600061208d565b565b6113f5611d05565b600d54811115801561140e575061140a610c30565b8110155b61141757600080fd5b80600c8190555050565b611429611d05565b806008908051906020019061143f9291906129e8565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b60606001805461148290613996565b80601f01602080910402602001604051908101604052809291908181526020018280546114ae90613996565b80156114fb5780601f106114d0576101008083540402835291602001916114fb565b820191906000526020600020905b8154815290600101906020018083116114de57829003601f168201915b5050505050905090565b806000811180156115185750600e548111155b611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e906134cd565b60405180910390fd5b600c54816115656007611d83565b61156f91906137cb565b11156115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a79061362d565b60405180910390fd5b600f60009054906101000a900460ff1615611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f7906135ad565b60405180910390fd5b81600b5461160e9190613852565b341015611650576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116479061366d565b60405180910390fd5b61165a3383612153565b5050565b611670611669611c44565b8383612193565b5050565b600a805461168190613996565b80601f01602080910402602001604051908101604052809291908181526020018280546116ad90613996565b80156116fa5780601f106116cf576101008083540402835291602001916116fa565b820191906000526020600020905b8154815290600101906020018083116116dd57829003601f168201915b505050505081565b61170a611d05565b80600e8190555050565b61172561171f611c44565b83611d91565b611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b9061364d565b60405180910390fd5b61177084848484612300565b50505050565b61177e611d05565b806000811180156117915750600e548111155b6117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c7906134cd565b60405180910390fd5b600c54816117de6007611d83565b6117e891906137cb565b1115611829576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118209061362d565b60405180910390fd5b6118333383612153565b5050565b60606118428261235c565b611881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611878906135cd565b60405180910390fd5b60001515600f60019054906101000a900460ff161515141561192f57600a80546118aa90613996565b80601f01602080910402602001604051908101604052809291908181526020018280546118d690613996565b80156119235780601f106118f857610100808354040283529160200191611923565b820191906000526020600020905b81548152906001019060200180831161190657829003601f168201915b5050505050905061198b565b60006119396123c8565b905060008151116119595760405180602001604052806000815250611987565b806119638461245a565b600960405160200161197793929190613341565b6040516020818303038152906040525b9150505b919050565b611998611d05565b80600f60016101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b81600081118015611a5c5750600e548111155b611a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a92906134cd565b60405180910390fd5b600c5481611aa96007611d83565b611ab391906137cb565b1115611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb9061362d565b60405180910390fd5b611afc611d05565b611b068284612153565b505050565b611b13611d05565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a9061346d565b60405180910390fd5b611b8c8161208d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611c028161235c565b611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c38906135ed565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cbf8361126f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611d0d611c44565b73ffffffffffffffffffffffffffffffffffffffff16611d2b611443565b73ffffffffffffffffffffffffffffffffffffffff1614611d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d789061358d565b60405180910390fd5b565b600081600001549050919050565b600080611d9d8361126f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ddf5750611dde81856119b5565b5b80611e1d57508373ffffffffffffffffffffffffffffffffffffffff16611e0584610a7f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e468261126f565b73ffffffffffffffffffffffffffffffffffffffff1614611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e939061348d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f03906134ed565b60405180910390fd5b611f178383836125bb565b611f22600082611c4c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7291906138ac565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc991906137cb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120888383836125c0565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b8181101561218e5761216860076125c5565b61217b836121766007611d83565b6125db565b8080612186906139f9565b915050612156565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f99061350d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122f39190613410565b60405180910390a3505050565b61230b848484611e26565b612317848484846125f9565b612356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234d9061344d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600880546123d790613996565b80601f016020809104026020016040519081016040528092919081815260200182805461240390613996565b80156124505780601f1061242557610100808354040283529160200191612450565b820191906000526020600020905b81548152906001019060200180831161243357829003601f168201915b5050505050905090565b606060008214156124a2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125b6565b600082905060005b600082146124d45780806124bd906139f9565b915050600a826124cd9190613821565b91506124aa565b60008167ffffffffffffffff8111156124f0576124ef613b2f565b5b6040519080825280601f01601f1916602001820160405280156125225781602001600182028036833780820191505090505b5090505b600085146125af5760018261253b91906138ac565b9150600a8561254a9190613a42565b603061255691906137cb565b60f81b81838151811061256c5761256b613b00565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125a89190613821565b9450612526565b8093505050505b919050565b505050565b505050565b6001816000016000828254019250508190555050565b6125f5828260405180602001604052806000815250612790565b5050565b600061261a8473ffffffffffffffffffffffffffffffffffffffff166127eb565b15612783578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612643611c44565b8786866040518563ffffffff1660e01b815260040161266594939291906133a2565b602060405180830381600087803b15801561267f57600080fd5b505af19250505080156126b057506040513d601f19601f820116820180604052508101906126ad9190612df1565b60015b612733573d80600081146126e0576040519150601f19603f3d011682016040523d82523d6000602084013e6126e5565b606091505b5060008151141561272b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127229061344d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612788565b600190505b949350505050565b61279a838361280e565b6127a760008484846125f9565b6127e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dd9061344d565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561287e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128759061356d565b60405180910390fd5b6128878161235c565b156128c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128be906134ad565b60405180910390fd5b6128d3600083836125bb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461292391906137cb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129e4600083836125c0565b5050565b8280546129f490613996565b90600052602060002090601f016020900481019282612a165760008555612a5d565b82601f10612a2f57805160ff1916838001178555612a5d565b82800160010185558215612a5d579182015b82811115612a5c578251825591602001919060010190612a41565b5b509050612a6a9190612a6e565b5090565b5b80821115612a87576000816000905550600101612a6f565b5090565b6000612a9e612a99846136cd565b6136a8565b905082815260208101848484011115612aba57612ab9613b63565b5b612ac5848285613954565b509392505050565b6000612ae0612adb846136fe565b6136a8565b905082815260208101848484011115612afc57612afb613b63565b5b612b07848285613954565b509392505050565b600081359050612b1e81613fbe565b92915050565b600081359050612b3381613fd5565b92915050565b600081359050612b4881613fec565b92915050565b600081519050612b5d81613fec565b92915050565b600082601f830112612b7857612b77613b5e565b5b8135612b88848260208601612a8b565b91505092915050565b600082601f830112612ba657612ba5613b5e565b5b8135612bb6848260208601612acd565b91505092915050565b600081359050612bce81614003565b92915050565b600060208284031215612bea57612be9613b6d565b5b6000612bf884828501612b0f565b91505092915050565b60008060408385031215612c1857612c17613b6d565b5b6000612c2685828601612b0f565b9250506020612c3785828601612b0f565b9150509250929050565b600080600060608486031215612c5a57612c59613b6d565b5b6000612c6886828701612b0f565b9350506020612c7986828701612b0f565b9250506040612c8a86828701612bbf565b9150509250925092565b60008060008060808587031215612cae57612cad613b6d565b5b6000612cbc87828801612b0f565b9450506020612ccd87828801612b0f565b9350506040612cde87828801612bbf565b925050606085013567ffffffffffffffff811115612cff57612cfe613b68565b5b612d0b87828801612b63565b91505092959194509250565b60008060408385031215612d2e57612d2d613b6d565b5b6000612d3c85828601612b0f565b9250506020612d4d85828601612b24565b9150509250929050565b60008060408385031215612d6e57612d6d613b6d565b5b6000612d7c85828601612b0f565b9250506020612d8d85828601612bbf565b9150509250929050565b600060208284031215612dad57612dac613b6d565b5b6000612dbb84828501612b24565b91505092915050565b600060208284031215612dda57612dd9613b6d565b5b6000612de884828501612b39565b91505092915050565b600060208284031215612e0757612e06613b6d565b5b6000612e1584828501612b4e565b91505092915050565b600060208284031215612e3457612e33613b6d565b5b600082013567ffffffffffffffff811115612e5257612e51613b68565b5b612e5e84828501612b91565b91505092915050565b600060208284031215612e7d57612e7c613b6d565b5b6000612e8b84828501612bbf565b91505092915050565b60008060408385031215612eab57612eaa613b6d565b5b6000612eb985828601612bbf565b9250506020612eca85828601612b0f565b9150509250929050565b6000612ee08383613323565b60208301905092915050565b612ef5816138e0565b82525050565b6000612f0682613754565b612f108185613782565b9350612f1b8361372f565b8060005b83811015612f4c578151612f338882612ed4565b9750612f3e83613775565b925050600181019050612f1f565b5085935050505092915050565b612f62816138f2565b82525050565b6000612f738261375f565b612f7d8185613793565b9350612f8d818560208601613963565b612f9681613b72565b840191505092915050565b6000612fac8261376a565b612fb681856137af565b9350612fc6818560208601613963565b612fcf81613b72565b840191505092915050565b6000612fe58261376a565b612fef81856137c0565b9350612fff818560208601613963565b80840191505092915050565b6000815461301881613996565b61302281866137c0565b9450600182166000811461303d576001811461304e57613081565b60ff19831686528186019350613081565b6130578561373f565b60005b838110156130795781548189015260018201915060208101905061305a565b838801955050505b50505092915050565b60006130976032836137af565b91506130a282613b83565b604082019050919050565b60006130ba6026836137af565b91506130c582613bd2565b604082019050919050565b60006130dd6025836137af565b91506130e882613c21565b604082019050919050565b6000613100601c836137af565b915061310b82613c70565b602082019050919050565b60006131236014836137af565b915061312e82613c99565b602082019050919050565b60006131466024836137af565b915061315182613cc2565b604082019050919050565b60006131696019836137af565b915061317482613d11565b602082019050919050565b600061318c6029836137af565b915061319782613d3a565b604082019050919050565b60006131af603e836137af565b91506131ba82613d89565b604082019050919050565b60006131d26020836137af565b91506131dd82613dd8565b602082019050919050565b60006131f56020836137af565b915061320082613e01565b602082019050919050565b60006132186017836137af565b915061322382613e2a565b602082019050919050565b600061323b602f836137af565b915061324682613e53565b604082019050919050565b600061325e6018836137af565b915061326982613ea2565b602082019050919050565b60006132816021836137af565b915061328c82613ecb565b604082019050919050565b60006132a46000836137a4565b91506132af82613f1a565b600082019050919050565b60006132c76014836137af565b91506132d282613f1d565b602082019050919050565b60006132ea602e836137af565b91506132f582613f46565b604082019050919050565b600061330d6013836137af565b915061331882613f95565b602082019050919050565b61332c8161394a565b82525050565b61333b8161394a565b82525050565b600061334d8286612fda565b91506133598285612fda565b9150613365828461300b565b9150819050949350505050565b600061337d82613297565b9150819050919050565b600060208201905061339c6000830184612eec565b92915050565b60006080820190506133b76000830187612eec565b6133c46020830186612eec565b6133d16040830185613332565b81810360608301526133e38184612f68565b905095945050505050565b600060208201905081810360008301526134088184612efb565b905092915050565b60006020820190506134256000830184612f59565b92915050565b600060208201905081810360008301526134458184612fa1565b905092915050565b600060208201905081810360008301526134668161308a565b9050919050565b60006020820190508181036000830152613486816130ad565b9050919050565b600060208201905081810360008301526134a6816130d0565b9050919050565b600060208201905081810360008301526134c6816130f3565b9050919050565b600060208201905081810360008301526134e681613116565b9050919050565b6000602082019050818103600083015261350681613139565b9050919050565b600060208201905081810360008301526135268161315c565b9050919050565b600060208201905081810360008301526135468161317f565b9050919050565b60006020820190508181036000830152613566816131a2565b9050919050565b60006020820190508181036000830152613586816131c5565b9050919050565b600060208201905081810360008301526135a6816131e8565b9050919050565b600060208201905081810360008301526135c68161320b565b9050919050565b600060208201905081810360008301526135e68161322e565b9050919050565b6000602082019050818103600083015261360681613251565b9050919050565b6000602082019050818103600083015261362681613274565b9050919050565b60006020820190508181036000830152613646816132ba565b9050919050565b60006020820190508181036000830152613666816132dd565b9050919050565b6000602082019050818103600083015261368681613300565b9050919050565b60006020820190506136a26000830184613332565b92915050565b60006136b26136c3565b90506136be82826139c8565b919050565b6000604051905090565b600067ffffffffffffffff8211156136e8576136e7613b2f565b5b6136f182613b72565b9050602081019050919050565b600067ffffffffffffffff82111561371957613718613b2f565b5b61372282613b72565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006137d68261394a565b91506137e18361394a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561381657613815613a73565b5b828201905092915050565b600061382c8261394a565b91506138378361394a565b92508261384757613846613aa2565b5b828204905092915050565b600061385d8261394a565b91506138688361394a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138a1576138a0613a73565b5b828202905092915050565b60006138b78261394a565b91506138c28361394a565b9250828210156138d5576138d4613a73565b5b828203905092915050565b60006138eb8261392a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613981578082015181840152602081019050613966565b83811115613990576000848401525b50505050565b600060028204905060018216806139ae57607f821691505b602082108114156139c2576139c1613ad1565b5b50919050565b6139d182613b72565b810181811067ffffffffffffffff821117156139f0576139ef613b2f565b5b80604052505050565b6000613a048261394a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a3757613a36613a73565b5b600182019050919050565b6000613a4d8261394a565b9150613a588361394a565b925082613a6857613a67613aa2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b613fc7816138e0565b8114613fd257600080fd5b50565b613fde816138f2565b8114613fe957600080fd5b50565b613ff5816138fe565b811461400057600080fd5b50565b61400c8161394a565b811461401757600080fd5b5056fea2646970667358221220fbbf1243f2efb4c50293da09408179ce4bd21e8034d05e42f5edf3a322c46dc064736f6c6343000807003368747470733a2f2f6f776d61672e6d7970696e6174612e636c6f75642f697066732f516d544c7451453758345541456a763553584a6a56336e716d737457483969797751626d517a4b69756768677a322f68696464656e4d6574612e6a736f6e

Deployed Bytecode

0x60806040526004361061023b5760003560e01c806362b99ad41161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610816578063e0a8085314610853578063e985e9c51461087c578063efbd73f4146108b9578063f2fde38b146108e25761023b565b8063a22cb46514610747578063a45ba8e714610770578063b071401b1461079b578063b88d4fde146107c4578063c1f26123146107ed5761023b565b80637ec4a659116100f25780637ec4a659146106815780638da5cb5b146106aa57806394354fd0146106d557806395d89b4114610700578063a0712d681461072b5761023b565b806362b99ad41461059c5780636352211e146105c757806370a0823114610604578063715018a61461064157806373022011146106585761023b565b80633ccfd60b116101bc5780634fdd43cb116101805780634fdd43cb146104db57806351830227146105045780635503a0e81461052f578063569b75f81461055a5780635c975abb146105715761023b565b80633ccfd60b1461040a57806342842e0e14610421578063438b63001461044a57806344a0d68a146104875780634ad66811146104b05761023b565b806313faede61161020357806313faede61461033957806316ba10e01461036457806316c38b3c1461038d57806318160ddd146103b657806323b872dd146103e15761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e5578063104aeef81461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190612dc4565b61090b565b6040516102749190613410565b60405180910390f35b34801561028957600080fd5b506102926109ed565b60405161029f919061342b565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190612e67565b610a7f565b6040516102dc9190613387565b60405180910390f35b3480156102f157600080fd5b5061030c60048036038101906103079190612d57565b610ac5565b005b34801561031a57600080fd5b50610323610bdd565b604051610330919061368d565b60405180910390f35b34801561034557600080fd5b5061034e610be3565b60405161035b919061368d565b60405180910390f35b34801561037057600080fd5b5061038b60048036038101906103869190612e1e565b610be9565b005b34801561039957600080fd5b506103b460048036038101906103af9190612d97565b610c0b565b005b3480156103c257600080fd5b506103cb610c30565b6040516103d8919061368d565b60405180910390f35b3480156103ed57600080fd5b5061040860048036038101906104039190612c41565b610c41565b005b34801561041657600080fd5b5061041f610ca1565b005b34801561042d57600080fd5b5061044860048036038101906104439190612c41565b610fb5565b005b34801561045657600080fd5b50610471600480360381019061046c9190612bd4565b610fd5565b60405161047e91906133ee565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190612e67565b6110e0565b005b3480156104bc57600080fd5b506104c56110f2565b6040516104d2919061368d565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190612e1e565b6110f8565b005b34801561051057600080fd5b5061051961111a565b6040516105269190613410565b60405180910390f35b34801561053b57600080fd5b5061054461112d565b604051610551919061342b565b60405180910390f35b34801561056657600080fd5b5061056f6111bb565b005b34801561057d57600080fd5b506105866111ce565b6040516105939190613410565b60405180910390f35b3480156105a857600080fd5b506105b16111e1565b6040516105be919061342b565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190612e67565b61126f565b6040516105fb9190613387565b60405180910390f35b34801561061057600080fd5b5061062b60048036038101906106269190612bd4565b611321565b604051610638919061368d565b60405180910390f35b34801561064d57600080fd5b506106566113d9565b005b34801561066457600080fd5b5061067f600480360381019061067a9190612e67565b6113ed565b005b34801561068d57600080fd5b506106a860048036038101906106a39190612e1e565b611421565b005b3480156106b657600080fd5b506106bf611443565b6040516106cc9190613387565b60405180910390f35b3480156106e157600080fd5b506106ea61146d565b6040516106f7919061368d565b60405180910390f35b34801561070c57600080fd5b50610715611473565b604051610722919061342b565b60405180910390f35b61074560048036038101906107409190612e67565b611505565b005b34801561075357600080fd5b5061076e60048036038101906107699190612d17565b61165e565b005b34801561077c57600080fd5b50610785611674565b604051610792919061342b565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd9190612e67565b611702565b005b3480156107d057600080fd5b506107eb60048036038101906107e69190612c94565b611714565b005b3480156107f957600080fd5b50610814600480360381019061080f9190612e67565b611776565b005b34801561082257600080fd5b5061083d60048036038101906108389190612e67565b611837565b60405161084a919061342b565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190612d97565b611990565b005b34801561088857600080fd5b506108a3600480360381019061089e9190612c01565b6119b5565b6040516108b09190613410565b60405180910390f35b3480156108c557600080fd5b506108e060048036038101906108db9190612e94565b611a49565b005b3480156108ee57600080fd5b5061090960048036038101906109049190612bd4565b611b0b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109e657506109e582611b8f565b5b9050919050565b6060600080546109fc90613996565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2890613996565b8015610a755780601f10610a4a57610100808354040283529160200191610a75565b820191906000526020600020905b815481529060010190602001808311610a5857829003601f168201915b5050505050905090565b6000610a8a82611bf9565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad08261126f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b389061360d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b60611c44565b73ffffffffffffffffffffffffffffffffffffffff161480610b8f5750610b8e81610b89611c44565b6119b5565b5b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc59061354d565b60405180910390fd5b610bd88383611c4c565b505050565b600c5481565b600b5481565b610bf1611d05565b8060099080519060200190610c079291906129e8565b5050565b610c13611d05565b80600f60006101000a81548160ff02191690831515021790555050565b6000610c3c6007611d83565b905090565b610c52610c4c611c44565b82611d91565b610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c889061364d565b60405180910390fd5b610c9c838383611e26565b505050565b610ca9611d05565b600073af16bece4c1b8612649eded817d92ce511c15dda73ffffffffffffffffffffffffffffffffffffffff166064600a47610ce59190613852565b610cef9190613821565b604051610cfb90613372565b60006040518083038185875af1925050503d8060008114610d38576040519150601f19603f3d011682016040523d82523d6000602084013e610d3d565b606091505b5050905080610d4b57600080fd5b60007353d785a16006fa2010d45d64fef818bb76b6513773ffffffffffffffffffffffffffffffffffffffff166064600f47610d879190613852565b610d919190613821565b604051610d9d90613372565b60006040518083038185875af1925050503d8060008114610dda576040519150601f19603f3d011682016040523d82523d6000602084013e610ddf565b606091505b5050905080610ded57600080fd5b600073d5fd92317468d34607bff917cbb3d0ca4a9c283973ffffffffffffffffffffffffffffffffffffffff166064601247610e299190613852565b610e339190613821565b604051610e3f90613372565b60006040518083038185875af1925050503d8060008114610e7c576040519150601f19603f3d011682016040523d82523d6000602084013e610e81565b606091505b5050905080610e8f57600080fd5b600073a2215bdec9f3f4daed848032df35440f3676302773ffffffffffffffffffffffffffffffffffffffff166064602847610ecb9190613852565b610ed59190613821565b604051610ee190613372565b60006040518083038185875af1925050503d8060008114610f1e576040519150601f19603f3d011682016040523d82523d6000602084013e610f23565b606091505b5050905080610f3157600080fd5b6000610f3b611443565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f5e90613372565b60006040518083038185875af1925050503d8060008114610f9b576040519150601f19603f3d011682016040523d82523d6000602084013e610fa0565b606091505b5050905080610fae57600080fd5b5050505050565b610fd083838360405180602001604052806000815250611714565b505050565b60606000610fe283611321565b905060008167ffffffffffffffff81111561100057610fff613b2f565b5b60405190808252806020026020018201604052801561102e5781602001602082028036833780820191505090505b50905060006001905060005b838110801561104b5750600c548211155b156110d457600061105b8361126f565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c057828483815181106110a5576110a4613b00565b5b60200260200101818152505081806110bc906139f9565b9250505b82806110cb906139f9565b9350505061103a565b82945050505050919050565b6110e8611d05565b80600b8190555050565b600d5481565b611100611d05565b80600a90805190602001906111169291906129e8565b5050565b600f60019054906101000a900460ff1681565b6009805461113a90613996565b80601f016020809104026020016040519081016040528092919081815260200182805461116690613996565b80156111b35780601f10611188576101008083540402835291602001916111b3565b820191906000526020600020905b81548152906001019060200180831161119657829003601f168201915b505050505081565b6111c3611d05565b600c54600d81905550565b600f60009054906101000a900460ff1681565b600880546111ee90613996565b80601f016020809104026020016040519081016040528092919081815260200182805461121a90613996565b80156112675780601f1061123c57610100808354040283529160200191611267565b820191906000526020600020905b81548152906001019060200180831161124a57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f906135ed565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611392576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113899061352d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113e1611d05565b6113eb600061208d565b565b6113f5611d05565b600d54811115801561140e575061140a610c30565b8110155b61141757600080fd5b80600c8190555050565b611429611d05565b806008908051906020019061143f9291906129e8565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b60606001805461148290613996565b80601f01602080910402602001604051908101604052809291908181526020018280546114ae90613996565b80156114fb5780601f106114d0576101008083540402835291602001916114fb565b820191906000526020600020905b8154815290600101906020018083116114de57829003601f168201915b5050505050905090565b806000811180156115185750600e548111155b611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e906134cd565b60405180910390fd5b600c54816115656007611d83565b61156f91906137cb565b11156115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a79061362d565b60405180910390fd5b600f60009054906101000a900460ff1615611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f7906135ad565b60405180910390fd5b81600b5461160e9190613852565b341015611650576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116479061366d565b60405180910390fd5b61165a3383612153565b5050565b611670611669611c44565b8383612193565b5050565b600a805461168190613996565b80601f01602080910402602001604051908101604052809291908181526020018280546116ad90613996565b80156116fa5780601f106116cf576101008083540402835291602001916116fa565b820191906000526020600020905b8154815290600101906020018083116116dd57829003601f168201915b505050505081565b61170a611d05565b80600e8190555050565b61172561171f611c44565b83611d91565b611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b9061364d565b60405180910390fd5b61177084848484612300565b50505050565b61177e611d05565b806000811180156117915750600e548111155b6117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c7906134cd565b60405180910390fd5b600c54816117de6007611d83565b6117e891906137cb565b1115611829576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118209061362d565b60405180910390fd5b6118333383612153565b5050565b60606118428261235c565b611881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611878906135cd565b60405180910390fd5b60001515600f60019054906101000a900460ff161515141561192f57600a80546118aa90613996565b80601f01602080910402602001604051908101604052809291908181526020018280546118d690613996565b80156119235780601f106118f857610100808354040283529160200191611923565b820191906000526020600020905b81548152906001019060200180831161190657829003601f168201915b5050505050905061198b565b60006119396123c8565b905060008151116119595760405180602001604052806000815250611987565b806119638461245a565b600960405160200161197793929190613341565b6040516020818303038152906040525b9150505b919050565b611998611d05565b80600f60016101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b81600081118015611a5c5750600e548111155b611a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a92906134cd565b60405180910390fd5b600c5481611aa96007611d83565b611ab391906137cb565b1115611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb9061362d565b60405180910390fd5b611afc611d05565b611b068284612153565b505050565b611b13611d05565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a9061346d565b60405180910390fd5b611b8c8161208d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611c028161235c565b611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c38906135ed565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cbf8361126f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611d0d611c44565b73ffffffffffffffffffffffffffffffffffffffff16611d2b611443565b73ffffffffffffffffffffffffffffffffffffffff1614611d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d789061358d565b60405180910390fd5b565b600081600001549050919050565b600080611d9d8361126f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ddf5750611dde81856119b5565b5b80611e1d57508373ffffffffffffffffffffffffffffffffffffffff16611e0584610a7f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e468261126f565b73ffffffffffffffffffffffffffffffffffffffff1614611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e939061348d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f03906134ed565b60405180910390fd5b611f178383836125bb565b611f22600082611c4c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7291906138ac565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc991906137cb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120888383836125c0565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b8181101561218e5761216860076125c5565b61217b836121766007611d83565b6125db565b8080612186906139f9565b915050612156565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f99061350d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122f39190613410565b60405180910390a3505050565b61230b848484611e26565b612317848484846125f9565b612356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234d9061344d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600880546123d790613996565b80601f016020809104026020016040519081016040528092919081815260200182805461240390613996565b80156124505780601f1061242557610100808354040283529160200191612450565b820191906000526020600020905b81548152906001019060200180831161243357829003601f168201915b5050505050905090565b606060008214156124a2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125b6565b600082905060005b600082146124d45780806124bd906139f9565b915050600a826124cd9190613821565b91506124aa565b60008167ffffffffffffffff8111156124f0576124ef613b2f565b5b6040519080825280601f01601f1916602001820160405280156125225781602001600182028036833780820191505090505b5090505b600085146125af5760018261253b91906138ac565b9150600a8561254a9190613a42565b603061255691906137cb565b60f81b81838151811061256c5761256b613b00565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125a89190613821565b9450612526565b8093505050505b919050565b505050565b505050565b6001816000016000828254019250508190555050565b6125f5828260405180602001604052806000815250612790565b5050565b600061261a8473ffffffffffffffffffffffffffffffffffffffff166127eb565b15612783578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612643611c44565b8786866040518563ffffffff1660e01b815260040161266594939291906133a2565b602060405180830381600087803b15801561267f57600080fd5b505af19250505080156126b057506040513d601f19601f820116820180604052508101906126ad9190612df1565b60015b612733573d80600081146126e0576040519150601f19603f3d011682016040523d82523d6000602084013e6126e5565b606091505b5060008151141561272b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127229061344d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612788565b600190505b949350505050565b61279a838361280e565b6127a760008484846125f9565b6127e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dd9061344d565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561287e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128759061356d565b60405180910390fd5b6128878161235c565b156128c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128be906134ad565b60405180910390fd5b6128d3600083836125bb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461292391906137cb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129e4600083836125c0565b5050565b8280546129f490613996565b90600052602060002090601f016020900481019282612a165760008555612a5d565b82601f10612a2f57805160ff1916838001178555612a5d565b82800160010185558215612a5d579182015b82811115612a5c578251825591602001919060010190612a41565b5b509050612a6a9190612a6e565b5090565b5b80821115612a87576000816000905550600101612a6f565b5090565b6000612a9e612a99846136cd565b6136a8565b905082815260208101848484011115612aba57612ab9613b63565b5b612ac5848285613954565b509392505050565b6000612ae0612adb846136fe565b6136a8565b905082815260208101848484011115612afc57612afb613b63565b5b612b07848285613954565b509392505050565b600081359050612b1e81613fbe565b92915050565b600081359050612b3381613fd5565b92915050565b600081359050612b4881613fec565b92915050565b600081519050612b5d81613fec565b92915050565b600082601f830112612b7857612b77613b5e565b5b8135612b88848260208601612a8b565b91505092915050565b600082601f830112612ba657612ba5613b5e565b5b8135612bb6848260208601612acd565b91505092915050565b600081359050612bce81614003565b92915050565b600060208284031215612bea57612be9613b6d565b5b6000612bf884828501612b0f565b91505092915050565b60008060408385031215612c1857612c17613b6d565b5b6000612c2685828601612b0f565b9250506020612c3785828601612b0f565b9150509250929050565b600080600060608486031215612c5a57612c59613b6d565b5b6000612c6886828701612b0f565b9350506020612c7986828701612b0f565b9250506040612c8a86828701612bbf565b9150509250925092565b60008060008060808587031215612cae57612cad613b6d565b5b6000612cbc87828801612b0f565b9450506020612ccd87828801612b0f565b9350506040612cde87828801612bbf565b925050606085013567ffffffffffffffff811115612cff57612cfe613b68565b5b612d0b87828801612b63565b91505092959194509250565b60008060408385031215612d2e57612d2d613b6d565b5b6000612d3c85828601612b0f565b9250506020612d4d85828601612b24565b9150509250929050565b60008060408385031215612d6e57612d6d613b6d565b5b6000612d7c85828601612b0f565b9250506020612d8d85828601612bbf565b9150509250929050565b600060208284031215612dad57612dac613b6d565b5b6000612dbb84828501612b24565b91505092915050565b600060208284031215612dda57612dd9613b6d565b5b6000612de884828501612b39565b91505092915050565b600060208284031215612e0757612e06613b6d565b5b6000612e1584828501612b4e565b91505092915050565b600060208284031215612e3457612e33613b6d565b5b600082013567ffffffffffffffff811115612e5257612e51613b68565b5b612e5e84828501612b91565b91505092915050565b600060208284031215612e7d57612e7c613b6d565b5b6000612e8b84828501612bbf565b91505092915050565b60008060408385031215612eab57612eaa613b6d565b5b6000612eb985828601612bbf565b9250506020612eca85828601612b0f565b9150509250929050565b6000612ee08383613323565b60208301905092915050565b612ef5816138e0565b82525050565b6000612f0682613754565b612f108185613782565b9350612f1b8361372f565b8060005b83811015612f4c578151612f338882612ed4565b9750612f3e83613775565b925050600181019050612f1f565b5085935050505092915050565b612f62816138f2565b82525050565b6000612f738261375f565b612f7d8185613793565b9350612f8d818560208601613963565b612f9681613b72565b840191505092915050565b6000612fac8261376a565b612fb681856137af565b9350612fc6818560208601613963565b612fcf81613b72565b840191505092915050565b6000612fe58261376a565b612fef81856137c0565b9350612fff818560208601613963565b80840191505092915050565b6000815461301881613996565b61302281866137c0565b9450600182166000811461303d576001811461304e57613081565b60ff19831686528186019350613081565b6130578561373f565b60005b838110156130795781548189015260018201915060208101905061305a565b838801955050505b50505092915050565b60006130976032836137af565b91506130a282613b83565b604082019050919050565b60006130ba6026836137af565b91506130c582613bd2565b604082019050919050565b60006130dd6025836137af565b91506130e882613c21565b604082019050919050565b6000613100601c836137af565b915061310b82613c70565b602082019050919050565b60006131236014836137af565b915061312e82613c99565b602082019050919050565b60006131466024836137af565b915061315182613cc2565b604082019050919050565b60006131696019836137af565b915061317482613d11565b602082019050919050565b600061318c6029836137af565b915061319782613d3a565b604082019050919050565b60006131af603e836137af565b91506131ba82613d89565b604082019050919050565b60006131d26020836137af565b91506131dd82613dd8565b602082019050919050565b60006131f56020836137af565b915061320082613e01565b602082019050919050565b60006132186017836137af565b915061322382613e2a565b602082019050919050565b600061323b602f836137af565b915061324682613e53565b604082019050919050565b600061325e6018836137af565b915061326982613ea2565b602082019050919050565b60006132816021836137af565b915061328c82613ecb565b604082019050919050565b60006132a46000836137a4565b91506132af82613f1a565b600082019050919050565b60006132c76014836137af565b91506132d282613f1d565b602082019050919050565b60006132ea602e836137af565b91506132f582613f46565b604082019050919050565b600061330d6013836137af565b915061331882613f95565b602082019050919050565b61332c8161394a565b82525050565b61333b8161394a565b82525050565b600061334d8286612fda565b91506133598285612fda565b9150613365828461300b565b9150819050949350505050565b600061337d82613297565b9150819050919050565b600060208201905061339c6000830184612eec565b92915050565b60006080820190506133b76000830187612eec565b6133c46020830186612eec565b6133d16040830185613332565b81810360608301526133e38184612f68565b905095945050505050565b600060208201905081810360008301526134088184612efb565b905092915050565b60006020820190506134256000830184612f59565b92915050565b600060208201905081810360008301526134458184612fa1565b905092915050565b600060208201905081810360008301526134668161308a565b9050919050565b60006020820190508181036000830152613486816130ad565b9050919050565b600060208201905081810360008301526134a6816130d0565b9050919050565b600060208201905081810360008301526134c6816130f3565b9050919050565b600060208201905081810360008301526134e681613116565b9050919050565b6000602082019050818103600083015261350681613139565b9050919050565b600060208201905081810360008301526135268161315c565b9050919050565b600060208201905081810360008301526135468161317f565b9050919050565b60006020820190508181036000830152613566816131a2565b9050919050565b60006020820190508181036000830152613586816131c5565b9050919050565b600060208201905081810360008301526135a6816131e8565b9050919050565b600060208201905081810360008301526135c68161320b565b9050919050565b600060208201905081810360008301526135e68161322e565b9050919050565b6000602082019050818103600083015261360681613251565b9050919050565b6000602082019050818103600083015261362681613274565b9050919050565b60006020820190508181036000830152613646816132ba565b9050919050565b60006020820190508181036000830152613666816132dd565b9050919050565b6000602082019050818103600083015261368681613300565b9050919050565b60006020820190506136a26000830184613332565b92915050565b60006136b26136c3565b90506136be82826139c8565b919050565b6000604051905090565b600067ffffffffffffffff8211156136e8576136e7613b2f565b5b6136f182613b72565b9050602081019050919050565b600067ffffffffffffffff82111561371957613718613b2f565b5b61372282613b72565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006137d68261394a565b91506137e18361394a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561381657613815613a73565b5b828201905092915050565b600061382c8261394a565b91506138378361394a565b92508261384757613846613aa2565b5b828204905092915050565b600061385d8261394a565b91506138688361394a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138a1576138a0613a73565b5b828202905092915050565b60006138b78261394a565b91506138c28361394a565b9250828210156138d5576138d4613a73565b5b828203905092915050565b60006138eb8261392a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613981578082015181840152602081019050613966565b83811115613990576000848401525b50505050565b600060028204905060018216806139ae57607f821691505b602082108114156139c2576139c1613ad1565b5b50919050565b6139d182613b72565b810181811067ffffffffffffffff821117156139f0576139ef613b2f565b5b80604052505050565b6000613a048261394a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a3757613a36613a73565b5b600182019050919050565b6000613a4d8261394a565b9150613a588361394a565b925082613a6857613a67613aa2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b613fc7816138e0565b8114613fd257600080fd5b50565b613fde816138f2565b8114613fe957600080fd5b50565b613ff5816138fe565b811461400057600080fd5b50565b61400c8161394a565b811461401757600080fd5b5056fea2646970667358221220fbbf1243f2efb4c50293da09408179ce4bd21e8034d05e42f5edf3a322c46dc064736f6c63430008070033

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.