ETH Price: $3,373.60 (-3.23%)

Ape Invaders (AI)
 

Overview

TokenID

1716

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Ape Invaders are a collection of 5,500 Apes that are on a mission to invade every planet in the Metaverse. All Ape Invaders Participate in planet invasions, the ultimate battle for $Stardust.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ApeInvaders

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 14 : ApeInvaders.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract ApeInvaders is ERC721Enumerable, Ownable {
  string public baseURI;

  address public proxyRegistryAddress;
  address public verifier;

  uint256 public constant MAX_SUPPLY_PLUS_ONE = 5501;
  uint256 public constant MAX_PER_TX_PLUS_ONE = 6;
  uint256 public constant RESERVES = 100;
  uint256 public constant PRICE_IN_WEI = 0.055 ether;

  mapping(address => bool) public projectProxy;
  mapping(address => uint256) public walletCount;

  bool public paused = true;

  constructor(string memory _baseURI, address _proxyRegistryAddress)
    ERC721("Ape Invaders", "AI")
  {
    baseURI = _baseURI;
    proxyRegistryAddress = _proxyRegistryAddress;
  }

  function _recoverWallet(address _wallet, bytes memory _signature)
    internal
    pure
    returns (address)
  {
    return
      ECDSA.recover(
        ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(_wallet))),
        _signature
      );
  }

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

  function setVerifier(address _newVerifier) public onlyOwner {
    verifier = _newVerifier;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    override
    returns (string memory)
  {
    require(_exists(_tokenId), "Token does not exist");

    return string(abi.encodePacked(baseURI, Strings.toString(_tokenId)));
  }

  function setProxyRegistryAddress(address _proxyRegistryAddress)
    external
    onlyOwner
  {
    proxyRegistryAddress = _proxyRegistryAddress;
  }

  function flipProxyState(address _proxyAddress) public onlyOwner {
    projectProxy[_proxyAddress] = !projectProxy[_proxyAddress];
  }

  function collectReserves() external onlyOwner {
    require(_owners.length == 0, "Reserves already taken");

    for (uint256 i; i < RESERVES; i++) {
      _mint(_msgSender(), i);
    }
  }

  function flipSale() external onlyOwner {
    paused = !paused;
  }

  function mint(uint256 _count) external payable {
    uint256 totalSupply = _owners.length;

    require(!paused, "Minting paused");
    require(totalSupply + _count < 4001, "Excedes max supply");
    require(_count < MAX_PER_TX_PLUS_ONE, "Excedes max per transaction");
    require(_count * PRICE_IN_WEI == msg.value, "Ether sent is not correct");

    for (uint256 i; i < _count; i++) {
      _mint(_msgSender(), totalSupply + i);
    }
  }

  function whitelistMint(uint256 _count, bytes calldata _signature)
    external
    payable
  {
    address signer = _recoverWallet(_msgSender(), _signature);

    require(signer == verifier, "Unverified transaction");

    uint256 totalSupply = _owners.length;

    require(!paused, "Minting paused");
    require(totalSupply + _count < MAX_SUPPLY_PLUS_ONE, "Excedes max supply");
    require(_count < MAX_PER_TX_PLUS_ONE, "Excedes max per transaction");
    require(_count * PRICE_IN_WEI == msg.value, "Ether sent is not correct");

    if (totalSupply + _count < 4001) {
      require(
        walletCount[_msgSender()] + _count < 6,
        "Max mint per address is 5"
      );

      walletCount[_msgSender()] += _count;
    }

    for (uint256 i; i < _count; i++) {
      _mint(_msgSender(), totalSupply + i);
    }
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 tokenCount = balanceOf(_owner);

    if (tokenCount == 0) {
      return new uint256[](0);
    }

    uint256[] memory tokensId = new uint256[](tokenCount);

    for (uint256 i; i < tokenCount; i++) {
      tokensId[i] = tokenOfOwnerByIndex(_owner, i);
    }

    return tokensId;
  }

  function batchTransferFrom(
    address _from,
    address _to,
    uint256[] memory _tokenIds
  ) public {
    for (uint256 i; i < _tokenIds.length; i++) {
      transferFrom(_from, _to, _tokenIds[i]);
    }
  }

  function batchSafeTransferFrom(
    address _from,
    address _to,
    uint256[] memory _tokenIds,
    bytes memory _data
  ) public {
    for (uint256 i; i < _tokenIds.length; i++) {
      safeTransferFrom(_from, _to, _tokenIds[i], _data);
    }
  }

  function isApprovedForAll(address _owner, address _operator)
    public
    view
    override
    returns (bool)
  {
    OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(
      proxyRegistryAddress
    );

    if (
      address(proxyRegistry.proxies(_owner)) == _operator ||
      projectProxy[_operator]
    ) {
      return true;
    }

    return super.isApprovedForAll(_owner, _operator);
  }

  function _mint(address _to, uint256 _tokenId) internal virtual override {
    _owners.push(_to);

    emit Transfer(address(0), _to, _tokenId);
  }

  function withdraw() public onlyOwner {
    require(
      payable(owner()).send(address(this).balance),
      "Withdraw unsuccessful"
    );
  }
}

// solhint-disable-next-line no-empty-blocks
contract OwnableDelegateProxy {

}

contract OpenSeaProxyRegistry {
  mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

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

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

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

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

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

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

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.7;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
  /**
   * @dev See {IERC165-supportsInterface}.
   */
  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(IERC165, ERC721)
    returns (bool)
  {
    return
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view virtual override returns (uint256) {
    return _owners.length;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index)
    public
    view
    virtual
    override
    returns (uint256)
  {
    require(
      index < _owners.length,
      "ERC721Enumerable: global index out of bounds"
    );
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    virtual
    override
    returns (uint256 tokenId)
  {
    require(
      index < balanceOf(owner),
      "ERC721Enumerable: owner index out of bounds"
    );

    uint256 count;
    for (uint256 i; i < _owners.length; i++) {
      if (owner == _owners[i]) {
        if (count == index) return i;
        else count++;
      }
    }

    revert("ERC721Enumerable: owner index out of bounds");
  }
}

File 5 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

pragma solidity ^0.8.7;

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

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
  using Address for address;
  using Strings for uint256;

  string private _name;
  string private _symbol;

  // Mapping from token ID to owner address
  address[] internal _owners;

  mapping(uint256 => address) private _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;

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

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

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

    uint256 count;
    for (uint256 i; i < _owners.length; ++i) {
      if (owner == _owners[i]) ++count;
    }
    return count;
  }

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

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

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

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

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

    _approve(to, tokenId);
  }

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

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved)
    public
    virtual
    override
  {
    require(operator != _msgSender(), "ERC721: approve to caller");

    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

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

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

    _transfer(from, to, tokenId);
  }

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

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

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

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

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

  /**
   * @dev Safely mints `tokenId` and transfers it to `to`.
   *
   * Requirements:
   *
   * - `tokenId` must not exist.
   * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(address to, uint256 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);
    _owners.push(to);

    emit Transfer(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);
    _owners[tokenId] = address(0);

    emit Transfer(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 of token that is not own"
    );
    require(to != address(0), "ERC721: transfer to the zero address");

    _beforeTokenTransfer(from, to, tokenId);

    // Clear approvals from the previous owner
    _approve(address(0), tokenId);
    _owners[tokenId] = to;

    emit Transfer(from, to, tokenId);
  }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

library Address {
  function isContract(address account) internal view returns (bool) {
    uint256 size;
    assembly {
      size := extcodesize(account)
    }
    return size > 0;
  }
}

File 10 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 14 : 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": true,
    "runs": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"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":[],"name":"MAX_PER_TX_PLUS_ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_PLUS_ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_IN_WEI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newVerifier","type":"address"}],"name":"setVerifier","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"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":"verifier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600b805460ff191660011790553480156200001e57600080fd5b50604051620037d0380380620037d083398101604081905262000041916200022e565b604080518082018252600c81526b41706520496e76616465727360a01b602080830191825283518085019094526002845261414960f01b9084015281519192916200008f9160009162000155565b508051620000a590600190602084019062000155565b505050620000c2620000bc620000ff60201b60201c565b62000103565b8151620000d790600690602085019062000155565b50600780546001600160a01b0319166001600160a01b0392909216919091179055506200035c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000163906200031f565b90600052602060002090601f016020900481019282620001875760008555620001d2565b82601f10620001a257805160ff1916838001178555620001d2565b82800160010185558215620001d2579182015b82811115620001d2578251825591602001919060010190620001b5565b50620001e0929150620001e4565b5090565b5b80821115620001e05760008155600101620001e5565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200022957600080fd5b919050565b600080604083850312156200024257600080fd5b82516001600160401b03808211156200025a57600080fd5b818501915085601f8301126200026f57600080fd5b815181811115620002845762000284620001fb565b604051601f8201601f19908116603f01168101908382118183101715620002af57620002af620001fb565b81604052828152602093508884848701011115620002cc57600080fd5b600091505b82821015620002f05784820184015181830185015290830190620002d1565b82821115620003025760008484830101525b95506200031491505085820162000211565b925050509250929050565b600181811c908216806200033457607f821691505b602082108114156200035657634e487b7160e01b600052602260045260246000fd5b50919050565b613464806200036c6000396000f3fe6080604052600436106102c65760003560e01c80636c0360eb11610179578063a0712d68116100d6578063cd7c03261161008a578063f2fde38b11610064578063f2fde38b14610760578063f3993d1114610780578063f73c814b146107a057600080fd5b8063cd7c032614610700578063d26ea6c014610720578063e985e9c51461074057600080fd5b8063a7e0122e116100bb578063a7e0122e14610693578063b88d4fde146106c0578063c87b56dd146106e057600080fd5b8063a0712d6814610660578063a22cb4651461067357600080fd5b806382d5b2491161012d5780638da5cb5b116101125780638da5cb5b1461061a57806395d89b41146106385780639e852f751461064d57600080fd5b806382d5b249146105ef57806386242c131461060557600080fd5b8063714e25c31161015e578063714e25c3146105aa578063715018a6146105c55780637ba5e621146105da57600080fd5b80636c0360eb1461057557806370a082311461058a57600080fd5b80633ccfd60b1161022757806355f804b3116101db5780635bab26e2116101c05780635bab26e21461050b5780635c975abb1461053b5780636352211e1461055557600080fd5b806355f804b3146104cb5780635a4fee30146104eb57600080fd5b8063438b63001161020c578063438b63001461045e5780634f6ccce71461048b5780635437988d146104ab57600080fd5b80633ccfd60b1461042957806342842e0e1461043e57600080fd5b8063095ea7b31161027e57806323b872dd1161026357806323b872dd146103c95780632b7ac3f3146103e95780632f745c591461040957600080fd5b8063095ea7b31461039457806318160ddd146103b457600080fd5b806306fdde03116102af57806306fdde0314610317578063081812fc146103395780630922f9c51461037157600080fd5b806301ffc9a7146102cb578063029877b614610300575b600080fd5b3480156102d757600080fd5b506102eb6102e6366004612b2f565b6107c0565b60405190151581526020015b60405180910390f35b34801561030c57600080fd5b5061031561081c565b005b34801561032357600080fd5b5061032c6108f6565b6040516102f79190612bc2565b34801561034557600080fd5b50610359610354366004612bd5565b610988565b6040516001600160a01b0390911681526020016102f7565b34801561037d57600080fd5b50610386606481565b6040519081526020016102f7565b3480156103a057600080fd5b506103156103af366004612c03565b610a21565b3480156103c057600080fd5b50600254610386565b3480156103d557600080fd5b506103156103e4366004612c2f565b610b53565b3480156103f557600080fd5b50600854610359906001600160a01b031681565b34801561041557600080fd5b50610386610424366004612c03565b610bda565b34801561043557600080fd5b50610315610d39565b34801561044a57600080fd5b50610315610459366004612c2f565b610e09565b34801561046a57600080fd5b5061047e610479366004612c70565b610e24565b6040516102f79190612c8d565b34801561049757600080fd5b506103866104a6366004612bd5565b610edd565b3480156104b757600080fd5b506103156104c6366004612c70565b610f5b565b3480156104d757600080fd5b506103156104e6366004612dc5565b610fef565b3480156104f757600080fd5b50610315610506366004612eae565b611060565b34801561051757600080fd5b506102eb610526366004612c70565b60096020526000908152604090205460ff1681565b34801561054757600080fd5b50600b546102eb9060ff1681565b34801561056157600080fd5b50610359610570366004612bd5565b6110aa565b34801561058157600080fd5b5061032c61114a565b34801561059657600080fd5b506103866105a5366004612c70565b6111d8565b3480156105b657600080fd5b5061038666c3663566a5800081565b3480156105d157600080fd5b506103156112b9565b3480156105e657600080fd5b5061031561131d565b3480156105fb57600080fd5b5061038661157d81565b34801561061157600080fd5b50610386600681565b34801561062657600080fd5b506005546001600160a01b0316610359565b34801561064457600080fd5b5061032c6113a9565b61031561065b366004612f37565b6113b8565b61031561066e366004612bd5565b611695565b34801561067f57600080fd5b5061031561068e366004612fb3565b61181a565b34801561069f57600080fd5b506103866106ae366004612c70565b600a6020526000908152604090205481565b3480156106cc57600080fd5b506103156106db366004612ff1565b6118fd565b3480156106ec57600080fd5b5061032c6106fb366004612bd5565b61198b565b34801561070c57600080fd5b50600754610359906001600160a01b031681565b34801561072c57600080fd5b5061031561073b366004612c70565b611a14565b34801561074c57600080fd5b506102eb61075b366004613051565b611aa8565b34801561076c57600080fd5b5061031561077b366004612c70565b611ba5565b34801561078c57600080fd5b5061031561079b36600461307f565b611c84565b3480156107ac57600080fd5b506103156107bb366004612c70565b611cc6565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610816575061081682611d67565b92915050565b6005546001600160a01b0316331461087b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600254156108cb5760405162461bcd60e51b815260206004820152601660248201527f526573657276657320616c72656164792074616b656e000000000000000000006044820152606401610872565b60005b60648110156108f3576108e13382611e4a565b806108eb81613110565b9150506108ce565b50565b60606000805461090590613149565b80601f016020809104026020016040519081016040528092919081815260200182805461093190613149565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b5050505050905090565b600061099382611ede565b610a055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610872565b506000908152600360205260409020546001600160a01b031690565b6000610a2c826110aa565b9050806001600160a01b0316836001600160a01b03161415610ab65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610872565b336001600160a01b0382161480610ad25750610ad28133611aa8565b610b445760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610872565b610b4e8383611f28565b505050565b610b5d3382611fae565b610bcf5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610872565b610b4e838383612081565b6000610be5836111d8565b8210610c595760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610872565b6000805b600254811015610cca5760028181548110610c7a57610c7a61319d565b6000918252602090912001546001600160a01b0386811691161415610cb85783821415610caa5791506108169050565b81610cb481613110565b9250505b80610cc281613110565b915050610c5d565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610872565b6005546001600160a01b03163314610d935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050610e075760405162461bcd60e51b815260206004820152601560248201527f576974686472617720756e7375636365737366756c00000000000000000000006044820152606401610872565b565b610b4e838383604051806020016040528060008152506118fd565b60606000610e31836111d8565b905080610e525760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610e6d57610e6d612cd1565b604051908082528060200260200182016040528015610e96578160200160208202803683370190505b50905060005b82811015610e4a57610eae8582610bda565b828281518110610ec057610ec061319d565b602090810291909101015280610ed581613110565b915050610e9c565b6002546000908210610f575760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610872565b5090565b6005546001600160a01b03163314610fb55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b805161105c906006906020840190612a71565b5050565b60005b82518110156110a35761109185858584815181106110835761108361319d565b6020026020010151856118fd565b8061109b81613110565b915050611063565b5050505050565b600080600283815481106110c0576110c061319d565b6000918252602090912001546001600160a01b03169050806108165760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610872565b6006805461115790613149565b80601f016020809104026020016040519081016040528092919081815260200182805461118390613149565b80156111d05780601f106111a5576101008083540402835291602001916111d0565b820191906000526020600020905b8154815290600101906020018083116111b357829003601f168201915b505050505081565b60006001600160a01b0382166112565760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610872565b6000805b6002548110156112b257600281815481106112775761127761319d565b6000918252602090912001546001600160a01b03858116911614156112a25761129f82613110565b91505b6112ab81613110565b905061125a565b5092915050565b6005546001600160a01b031633146113135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b610e07600061221c565b6005546001600160a01b031633146113775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60606001805461090590613149565b60006113fa3384848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061228692505050565b6008549091506001600160a01b0380831691161461145a5760405162461bcd60e51b815260206004820152601660248201527f556e7665726966696564207472616e73616374696f6e000000000000000000006044820152606401610872565b600254600b5460ff16156114b05760405162461bcd60e51b815260206004820152600e60248201527f4d696e74696e67207061757365640000000000000000000000000000000000006044820152606401610872565b61157d6114bd86836131cc565b1061150a5760405162461bcd60e51b815260206004820152601260248201527f45786365646573206d617820737570706c7900000000000000000000000000006044820152606401610872565b6006851061155a5760405162461bcd60e51b815260206004820152601b60248201527f45786365646573206d617820706572207472616e73616374696f6e00000000006044820152606401610872565b3461156c66c3663566a58000876131e4565b146115b95760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610872565b610fa16115c686836131cc565b101561165c57336000908152600a60205260409020546006906115ea9087906131cc565b106116375760405162461bcd60e51b815260206004820152601960248201527f4d6178206d696e742070657220616464726573732069732035000000000000006044820152606401610872565b336000908152600a6020526040812080548792906116569084906131cc565b90915550505b60005b8581101561168d5761167b335b61167683856131cc565b611e4a565b8061168581613110565b91505061165f565b505050505050565b600254600b5460ff16156116eb5760405162461bcd60e51b815260206004820152600e60248201527f4d696e74696e67207061757365640000000000000000000000000000000000006044820152606401610872565b610fa16116f883836131cc565b106117455760405162461bcd60e51b815260206004820152601260248201527f45786365646573206d617820737570706c7900000000000000000000000000006044820152606401610872565b600682106117955760405162461bcd60e51b815260206004820152601b60248201527f45786365646573206d617820706572207472616e73616374696f6e00000000006044820152606401610872565b346117a766c3663566a58000846131e4565b146117f45760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610872565b60005b82811015610b4e576118083361166c565b8061181281613110565b9150506117f7565b6001600160a01b0382163314156118735760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610872565b3360008181526004602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6119073383611fae565b6119795760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610872565b6119858484848461232a565b50505050565b606061199682611ede565b6119e25760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610872565b60066119ed836123b3565b6040516020016119fe92919061323d565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611a6e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611b13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b37919061331b565b6001600160a01b03161480611b6457506001600160a01b03831660009081526009602052604090205460ff165b15611b73576001915050610816565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611bff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b6001600160a01b038116611c7b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610872565b6108f38161221c565b60005b815181101561198557611cb48484848481518110611ca757611ca761319d565b6020026020010151610b53565b80611cbe81613110565b915050611c87565b6005546001600160a01b03163314611d205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b6001600160a01b0316600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480611dfa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061081657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610816565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60025460009082108015610816575060006001600160a01b031660028381548110611f0b57611f0b61319d565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190611f75826110aa565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fb982611ede565b61202b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610872565b6000612036836110aa565b9050806001600160a01b0316846001600160a01b031614806120715750836001600160a01b031661206684610988565b6001600160a01b0316145b80611b9d5750611b9d8185611aa8565b826001600160a01b0316612094826110aa565b6001600160a01b0316146121105760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610872565b6001600160a01b03821661218b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610872565b612196600082611f28565b81600282815481106121aa576121aa61319d565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051606084901b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602080830191909152825160148184030181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a3332000000006054840152607080840191909152835180840390910181526090909201909252805191012060009061232390836124e5565b9392505050565b612335848484612081565b61234184848484612501565b6119855760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610872565b6060816123f357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561241d578061240781613110565b91506124169050600a83613367565b91506123f7565b60008167ffffffffffffffff81111561243857612438612cd1565b6040519080825280601f01601f191660200182016040528015612462576020820181803683370190505b5090505b8415611b9d5761247760018361337b565b9150612484600a86613392565b61248f9060306131cc565b60f81b8183815181106124a4576124a461319d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506124de600a86613367565b9450612466565b60008060006124f485856126bd565b91509150610e4a8161272d565b60006001600160a01b0384163b156126b2576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061255e9033908990889088906004016133a6565b6020604051808303816000875af19250505080156125b7575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526125b4918101906133e2565b60015b612667573d8080156125e5576040519150601f19603f3d011682016040523d82523d6000602084013e6125ea565b606091505b50805161265f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610872565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611b9d565b506001949350505050565b6000808251604114156126f45760208301516040840151606085015160001a6126e88782858561291e565b94509450505050612726565b82516040141561271e5760208301516040840151612713868383612a29565b935093505050612726565b506000905060025b9250929050565b6000816004811115612741576127416133ff565b141561274a5750565b600181600481111561275e5761275e6133ff565b14156127ac5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610872565b60028160048111156127c0576127c06133ff565b141561280e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610872565b6003816004811115612822576128226133ff565b14156128965760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610872565b60048160048111156128aa576128aa6133ff565b14156108f35760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610872565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156129555750600090506003612a20565b8460ff16601b1415801561296d57508460ff16601c14155b1561297e5750600090506004612a20565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156129d2573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001519150506001600160a01b038116612a1957600060019250925050612a20565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01612a638782888561291e565b935093505050935093915050565b828054612a7d90613149565b90600052602060002090601f016020900481019282612a9f5760008555612ae5565b82601f10612ab857805160ff1916838001178555612ae5565b82800160010185558215612ae5579182015b82811115612ae5578251825591602001919060010190612aca565b50610f579291505b80821115610f575760008155600101612aed565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146108f357600080fd5b600060208284031215612b4157600080fd5b813561232381612b01565b60005b83811015612b67578181015183820152602001612b4f565b838111156119855750506000910152565b60008151808452612b90816020860160208601612b4c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006123236020830184612b78565b600060208284031215612be757600080fd5b5035919050565b6001600160a01b03811681146108f357600080fd5b60008060408385031215612c1657600080fd5b8235612c2181612bee565b946020939093013593505050565b600080600060608486031215612c4457600080fd5b8335612c4f81612bee565b92506020840135612c5f81612bee565b929592945050506040919091013590565b600060208284031215612c8257600080fd5b813561232381612bee565b6020808252825182820181905260009190848201906040850190845b81811015612cc557835183529284019291840191600101612ca9565b50909695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612d4757612d47612cd1565b604052919050565b600067ffffffffffffffff831115612d6957612d69612cd1565b612d9a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601612d00565b9050828152838383011115612dae57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612dd757600080fd5b813567ffffffffffffffff811115612dee57600080fd5b8201601f81018413612dff57600080fd5b611b9d84823560208401612d4f565b600082601f830112612e1f57600080fd5b8135602067ffffffffffffffff821115612e3b57612e3b612cd1565b8160051b612e4a828201612d00565b9283528481018201928281019087851115612e6457600080fd5b83870192505b84831015612e8357823582529183019190830190612e6a565b979650505050505050565b600082601f830112612e9f57600080fd5b61232383833560208501612d4f565b60008060008060808587031215612ec457600080fd5b8435612ecf81612bee565b93506020850135612edf81612bee565b9250604085013567ffffffffffffffff80821115612efc57600080fd5b612f0888838901612e0e565b93506060870135915080821115612f1e57600080fd5b50612f2b87828801612e8e565b91505092959194509250565b600080600060408486031215612f4c57600080fd5b83359250602084013567ffffffffffffffff80821115612f6b57600080fd5b818601915086601f830112612f7f57600080fd5b813581811115612f8e57600080fd5b876020828501011115612fa057600080fd5b6020830194508093505050509250925092565b60008060408385031215612fc657600080fd5b8235612fd181612bee565b915060208301358015158114612fe657600080fd5b809150509250929050565b6000806000806080858703121561300757600080fd5b843561301281612bee565b9350602085013561302281612bee565b925060408501359150606085013567ffffffffffffffff81111561304557600080fd5b612f2b87828801612e8e565b6000806040838503121561306457600080fd5b823561306f81612bee565b91506020830135612fe681612bee565b60008060006060848603121561309457600080fd5b833561309f81612bee565b925060208401356130af81612bee565b9150604084013567ffffffffffffffff8111156130cb57600080fd5b6130d786828701612e0e565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613142576131426130e1565b5060010190565b600181811c9082168061315d57607f821691505b60208210811415613197577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082198211156131df576131df6130e1565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561321c5761321c6130e1565b500290565b60008151613233818560208601612b4c565b9290920192915050565b600080845481600182811c91508083168061325957607f831692505b6020808410821415613292577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156132a657600181146132d557613302565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613302565b60008b81526020902060005b868110156132fa5781548b8201529085019083016132e1565b505084890196505b5050505050506133128185613221565b95945050505050565b60006020828403121561332d57600080fd5b815161232381612bee565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261337657613376613338565b500490565b60008282101561338d5761338d6130e1565b500390565b6000826133a1576133a1613338565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526133d86080830184612b78565b9695505050505050565b6000602082840312156133f457600080fd5b815161232381612b01565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220e619b98921eee734713ae3c37579fdbaf5c36ba57a87cc1c92291922a7f2866264736f6c634300080b00330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d547a65776b783158474379617535565764517770396733576857475153386177733668735463356a334b63503f00000000000000000000

Deployed Bytecode

0x6080604052600436106102c65760003560e01c80636c0360eb11610179578063a0712d68116100d6578063cd7c03261161008a578063f2fde38b11610064578063f2fde38b14610760578063f3993d1114610780578063f73c814b146107a057600080fd5b8063cd7c032614610700578063d26ea6c014610720578063e985e9c51461074057600080fd5b8063a7e0122e116100bb578063a7e0122e14610693578063b88d4fde146106c0578063c87b56dd146106e057600080fd5b8063a0712d6814610660578063a22cb4651461067357600080fd5b806382d5b2491161012d5780638da5cb5b116101125780638da5cb5b1461061a57806395d89b41146106385780639e852f751461064d57600080fd5b806382d5b249146105ef57806386242c131461060557600080fd5b8063714e25c31161015e578063714e25c3146105aa578063715018a6146105c55780637ba5e621146105da57600080fd5b80636c0360eb1461057557806370a082311461058a57600080fd5b80633ccfd60b1161022757806355f804b3116101db5780635bab26e2116101c05780635bab26e21461050b5780635c975abb1461053b5780636352211e1461055557600080fd5b806355f804b3146104cb5780635a4fee30146104eb57600080fd5b8063438b63001161020c578063438b63001461045e5780634f6ccce71461048b5780635437988d146104ab57600080fd5b80633ccfd60b1461042957806342842e0e1461043e57600080fd5b8063095ea7b31161027e57806323b872dd1161026357806323b872dd146103c95780632b7ac3f3146103e95780632f745c591461040957600080fd5b8063095ea7b31461039457806318160ddd146103b457600080fd5b806306fdde03116102af57806306fdde0314610317578063081812fc146103395780630922f9c51461037157600080fd5b806301ffc9a7146102cb578063029877b614610300575b600080fd5b3480156102d757600080fd5b506102eb6102e6366004612b2f565b6107c0565b60405190151581526020015b60405180910390f35b34801561030c57600080fd5b5061031561081c565b005b34801561032357600080fd5b5061032c6108f6565b6040516102f79190612bc2565b34801561034557600080fd5b50610359610354366004612bd5565b610988565b6040516001600160a01b0390911681526020016102f7565b34801561037d57600080fd5b50610386606481565b6040519081526020016102f7565b3480156103a057600080fd5b506103156103af366004612c03565b610a21565b3480156103c057600080fd5b50600254610386565b3480156103d557600080fd5b506103156103e4366004612c2f565b610b53565b3480156103f557600080fd5b50600854610359906001600160a01b031681565b34801561041557600080fd5b50610386610424366004612c03565b610bda565b34801561043557600080fd5b50610315610d39565b34801561044a57600080fd5b50610315610459366004612c2f565b610e09565b34801561046a57600080fd5b5061047e610479366004612c70565b610e24565b6040516102f79190612c8d565b34801561049757600080fd5b506103866104a6366004612bd5565b610edd565b3480156104b757600080fd5b506103156104c6366004612c70565b610f5b565b3480156104d757600080fd5b506103156104e6366004612dc5565b610fef565b3480156104f757600080fd5b50610315610506366004612eae565b611060565b34801561051757600080fd5b506102eb610526366004612c70565b60096020526000908152604090205460ff1681565b34801561054757600080fd5b50600b546102eb9060ff1681565b34801561056157600080fd5b50610359610570366004612bd5565b6110aa565b34801561058157600080fd5b5061032c61114a565b34801561059657600080fd5b506103866105a5366004612c70565b6111d8565b3480156105b657600080fd5b5061038666c3663566a5800081565b3480156105d157600080fd5b506103156112b9565b3480156105e657600080fd5b5061031561131d565b3480156105fb57600080fd5b5061038661157d81565b34801561061157600080fd5b50610386600681565b34801561062657600080fd5b506005546001600160a01b0316610359565b34801561064457600080fd5b5061032c6113a9565b61031561065b366004612f37565b6113b8565b61031561066e366004612bd5565b611695565b34801561067f57600080fd5b5061031561068e366004612fb3565b61181a565b34801561069f57600080fd5b506103866106ae366004612c70565b600a6020526000908152604090205481565b3480156106cc57600080fd5b506103156106db366004612ff1565b6118fd565b3480156106ec57600080fd5b5061032c6106fb366004612bd5565b61198b565b34801561070c57600080fd5b50600754610359906001600160a01b031681565b34801561072c57600080fd5b5061031561073b366004612c70565b611a14565b34801561074c57600080fd5b506102eb61075b366004613051565b611aa8565b34801561076c57600080fd5b5061031561077b366004612c70565b611ba5565b34801561078c57600080fd5b5061031561079b36600461307f565b611c84565b3480156107ac57600080fd5b506103156107bb366004612c70565b611cc6565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610816575061081682611d67565b92915050565b6005546001600160a01b0316331461087b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600254156108cb5760405162461bcd60e51b815260206004820152601660248201527f526573657276657320616c72656164792074616b656e000000000000000000006044820152606401610872565b60005b60648110156108f3576108e13382611e4a565b806108eb81613110565b9150506108ce565b50565b60606000805461090590613149565b80601f016020809104026020016040519081016040528092919081815260200182805461093190613149565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b5050505050905090565b600061099382611ede565b610a055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610872565b506000908152600360205260409020546001600160a01b031690565b6000610a2c826110aa565b9050806001600160a01b0316836001600160a01b03161415610ab65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610872565b336001600160a01b0382161480610ad25750610ad28133611aa8565b610b445760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610872565b610b4e8383611f28565b505050565b610b5d3382611fae565b610bcf5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610872565b610b4e838383612081565b6000610be5836111d8565b8210610c595760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610872565b6000805b600254811015610cca5760028181548110610c7a57610c7a61319d565b6000918252602090912001546001600160a01b0386811691161415610cb85783821415610caa5791506108169050565b81610cb481613110565b9250505b80610cc281613110565b915050610c5d565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610872565b6005546001600160a01b03163314610d935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050610e075760405162461bcd60e51b815260206004820152601560248201527f576974686472617720756e7375636365737366756c00000000000000000000006044820152606401610872565b565b610b4e838383604051806020016040528060008152506118fd565b60606000610e31836111d8565b905080610e525760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610e6d57610e6d612cd1565b604051908082528060200260200182016040528015610e96578160200160208202803683370190505b50905060005b82811015610e4a57610eae8582610bda565b828281518110610ec057610ec061319d565b602090810291909101015280610ed581613110565b915050610e9c565b6002546000908210610f575760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610872565b5090565b6005546001600160a01b03163314610fb55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b805161105c906006906020840190612a71565b5050565b60005b82518110156110a35761109185858584815181106110835761108361319d565b6020026020010151856118fd565b8061109b81613110565b915050611063565b5050505050565b600080600283815481106110c0576110c061319d565b6000918252602090912001546001600160a01b03169050806108165760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610872565b6006805461115790613149565b80601f016020809104026020016040519081016040528092919081815260200182805461118390613149565b80156111d05780601f106111a5576101008083540402835291602001916111d0565b820191906000526020600020905b8154815290600101906020018083116111b357829003601f168201915b505050505081565b60006001600160a01b0382166112565760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610872565b6000805b6002548110156112b257600281815481106112775761127761319d565b6000918252602090912001546001600160a01b03858116911614156112a25761129f82613110565b91505b6112ab81613110565b905061125a565b5092915050565b6005546001600160a01b031633146113135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b610e07600061221c565b6005546001600160a01b031633146113775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60606001805461090590613149565b60006113fa3384848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061228692505050565b6008549091506001600160a01b0380831691161461145a5760405162461bcd60e51b815260206004820152601660248201527f556e7665726966696564207472616e73616374696f6e000000000000000000006044820152606401610872565b600254600b5460ff16156114b05760405162461bcd60e51b815260206004820152600e60248201527f4d696e74696e67207061757365640000000000000000000000000000000000006044820152606401610872565b61157d6114bd86836131cc565b1061150a5760405162461bcd60e51b815260206004820152601260248201527f45786365646573206d617820737570706c7900000000000000000000000000006044820152606401610872565b6006851061155a5760405162461bcd60e51b815260206004820152601b60248201527f45786365646573206d617820706572207472616e73616374696f6e00000000006044820152606401610872565b3461156c66c3663566a58000876131e4565b146115b95760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610872565b610fa16115c686836131cc565b101561165c57336000908152600a60205260409020546006906115ea9087906131cc565b106116375760405162461bcd60e51b815260206004820152601960248201527f4d6178206d696e742070657220616464726573732069732035000000000000006044820152606401610872565b336000908152600a6020526040812080548792906116569084906131cc565b90915550505b60005b8581101561168d5761167b335b61167683856131cc565b611e4a565b8061168581613110565b91505061165f565b505050505050565b600254600b5460ff16156116eb5760405162461bcd60e51b815260206004820152600e60248201527f4d696e74696e67207061757365640000000000000000000000000000000000006044820152606401610872565b610fa16116f883836131cc565b106117455760405162461bcd60e51b815260206004820152601260248201527f45786365646573206d617820737570706c7900000000000000000000000000006044820152606401610872565b600682106117955760405162461bcd60e51b815260206004820152601b60248201527f45786365646573206d617820706572207472616e73616374696f6e00000000006044820152606401610872565b346117a766c3663566a58000846131e4565b146117f45760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610872565b60005b82811015610b4e576118083361166c565b8061181281613110565b9150506117f7565b6001600160a01b0382163314156118735760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610872565b3360008181526004602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6119073383611fae565b6119795760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610872565b6119858484848461232a565b50505050565b606061199682611ede565b6119e25760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610872565b60066119ed836123b3565b6040516020016119fe92919061323d565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611a6e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611b13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b37919061331b565b6001600160a01b03161480611b6457506001600160a01b03831660009081526009602052604090205460ff165b15611b73576001915050610816565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611bff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b6001600160a01b038116611c7b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610872565b6108f38161221c565b60005b815181101561198557611cb48484848481518110611ca757611ca761319d565b6020026020010151610b53565b80611cbe81613110565b915050611c87565b6005546001600160a01b03163314611d205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610872565b6001600160a01b0316600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480611dfa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061081657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610816565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60025460009082108015610816575060006001600160a01b031660028381548110611f0b57611f0b61319d565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190611f75826110aa565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fb982611ede565b61202b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610872565b6000612036836110aa565b9050806001600160a01b0316846001600160a01b031614806120715750836001600160a01b031661206684610988565b6001600160a01b0316145b80611b9d5750611b9d8185611aa8565b826001600160a01b0316612094826110aa565b6001600160a01b0316146121105760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610872565b6001600160a01b03821661218b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610872565b612196600082611f28565b81600282815481106121aa576121aa61319d565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051606084901b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602080830191909152825160148184030181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a3332000000006054840152607080840191909152835180840390910181526090909201909252805191012060009061232390836124e5565b9392505050565b612335848484612081565b61234184848484612501565b6119855760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610872565b6060816123f357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561241d578061240781613110565b91506124169050600a83613367565b91506123f7565b60008167ffffffffffffffff81111561243857612438612cd1565b6040519080825280601f01601f191660200182016040528015612462576020820181803683370190505b5090505b8415611b9d5761247760018361337b565b9150612484600a86613392565b61248f9060306131cc565b60f81b8183815181106124a4576124a461319d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506124de600a86613367565b9450612466565b60008060006124f485856126bd565b91509150610e4a8161272d565b60006001600160a01b0384163b156126b2576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061255e9033908990889088906004016133a6565b6020604051808303816000875af19250505080156125b7575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526125b4918101906133e2565b60015b612667573d8080156125e5576040519150601f19603f3d011682016040523d82523d6000602084013e6125ea565b606091505b50805161265f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610872565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611b9d565b506001949350505050565b6000808251604114156126f45760208301516040840151606085015160001a6126e88782858561291e565b94509450505050612726565b82516040141561271e5760208301516040840151612713868383612a29565b935093505050612726565b506000905060025b9250929050565b6000816004811115612741576127416133ff565b141561274a5750565b600181600481111561275e5761275e6133ff565b14156127ac5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610872565b60028160048111156127c0576127c06133ff565b141561280e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610872565b6003816004811115612822576128226133ff565b14156128965760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610872565b60048160048111156128aa576128aa6133ff565b14156108f35760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610872565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156129555750600090506003612a20565b8460ff16601b1415801561296d57508460ff16601c14155b1561297e5750600090506004612a20565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156129d2573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001519150506001600160a01b038116612a1957600060019250925050612a20565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01612a638782888561291e565b935093505050935093915050565b828054612a7d90613149565b90600052602060002090601f016020900481019282612a9f5760008555612ae5565b82601f10612ab857805160ff1916838001178555612ae5565b82800160010185558215612ae5579182015b82811115612ae5578251825591602001919060010190612aca565b50610f579291505b80821115610f575760008155600101612aed565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146108f357600080fd5b600060208284031215612b4157600080fd5b813561232381612b01565b60005b83811015612b67578181015183820152602001612b4f565b838111156119855750506000910152565b60008151808452612b90816020860160208601612b4c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006123236020830184612b78565b600060208284031215612be757600080fd5b5035919050565b6001600160a01b03811681146108f357600080fd5b60008060408385031215612c1657600080fd5b8235612c2181612bee565b946020939093013593505050565b600080600060608486031215612c4457600080fd5b8335612c4f81612bee565b92506020840135612c5f81612bee565b929592945050506040919091013590565b600060208284031215612c8257600080fd5b813561232381612bee565b6020808252825182820181905260009190848201906040850190845b81811015612cc557835183529284019291840191600101612ca9565b50909695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612d4757612d47612cd1565b604052919050565b600067ffffffffffffffff831115612d6957612d69612cd1565b612d9a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601612d00565b9050828152838383011115612dae57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612dd757600080fd5b813567ffffffffffffffff811115612dee57600080fd5b8201601f81018413612dff57600080fd5b611b9d84823560208401612d4f565b600082601f830112612e1f57600080fd5b8135602067ffffffffffffffff821115612e3b57612e3b612cd1565b8160051b612e4a828201612d00565b9283528481018201928281019087851115612e6457600080fd5b83870192505b84831015612e8357823582529183019190830190612e6a565b979650505050505050565b600082601f830112612e9f57600080fd5b61232383833560208501612d4f565b60008060008060808587031215612ec457600080fd5b8435612ecf81612bee565b93506020850135612edf81612bee565b9250604085013567ffffffffffffffff80821115612efc57600080fd5b612f0888838901612e0e565b93506060870135915080821115612f1e57600080fd5b50612f2b87828801612e8e565b91505092959194509250565b600080600060408486031215612f4c57600080fd5b83359250602084013567ffffffffffffffff80821115612f6b57600080fd5b818601915086601f830112612f7f57600080fd5b813581811115612f8e57600080fd5b876020828501011115612fa057600080fd5b6020830194508093505050509250925092565b60008060408385031215612fc657600080fd5b8235612fd181612bee565b915060208301358015158114612fe657600080fd5b809150509250929050565b6000806000806080858703121561300757600080fd5b843561301281612bee565b9350602085013561302281612bee565b925060408501359150606085013567ffffffffffffffff81111561304557600080fd5b612f2b87828801612e8e565b6000806040838503121561306457600080fd5b823561306f81612bee565b91506020830135612fe681612bee565b60008060006060848603121561309457600080fd5b833561309f81612bee565b925060208401356130af81612bee565b9150604084013567ffffffffffffffff8111156130cb57600080fd5b6130d786828701612e0e565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613142576131426130e1565b5060010190565b600181811c9082168061315d57607f821691505b60208210811415613197577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082198211156131df576131df6130e1565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561321c5761321c6130e1565b500290565b60008151613233818560208601612b4c565b9290920192915050565b600080845481600182811c91508083168061325957607f831692505b6020808410821415613292577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156132a657600181146132d557613302565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613302565b60008b81526020902060005b868110156132fa5781548b8201529085019083016132e1565b505084890196505b5050505050506133128185613221565b95945050505050565b60006020828403121561332d57600080fd5b815161232381612bee565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261337657613376613338565b500490565b60008282101561338d5761338d6130e1565b500390565b6000826133a1576133a1613338565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526133d86080830184612b78565b9695505050505050565b6000602082840312156133f457600080fd5b815161232381612b01565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220e619b98921eee734713ae3c37579fdbaf5c36ba57a87cc1c92291922a7f2866264736f6c634300080b0033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d547a65776b783158474379617535565764517770396733576857475153386177733668735463356a334b63503f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmTzewkx1XGCyau5VWdQwp9g3WhWGQS8aws6hsTc5j3KcP?
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d547a65776b783158474379617535565764517770396733
Arg [4] : 576857475153386177733668735463356a334b63503f00000000000000000000


Loading...
Loading
Loading...
Loading
[ 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.