ETH Price: $3,442.89 (-2.65%)
Gas: 2 Gwei

Token

Syn City Genesis Passes (SYNP)
 

Overview

Max Total Supply

0 SYNP

Holders

185

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 SYNP
0xcc434fF13d9BAF19489170A40014ef5Eb1F440D3
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SynCityPasses

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

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

// Author: Francesco Sullo <[email protected]>
// Superpower Labs / Syn City
// Cryptography forked from Everdragons2(.com)'s code

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

//import "hardhat/console.sol";

contract SynCityPasses is ERC721, Ownable {
  using Address for address;
  using ECDSA for bytes32;

  event ValidatorSet(address validator);
  event OperatorSet(address operator);
  event OperatorRevoked(address operator);
  event BaseURIUpdated();
  event BaseURIFrozen();

  uint256 public nextTokenId = 1;
  uint256 public maxTokenId = 888;
  uint256[] internal _remaining = [200, 200, 200, 200, 80];

  string private _baseTokenURI = "https://nft.syn.city/meta/SYNP/";
  bool public tokenURIHasBeenFrozen;

  using ECDSA for bytes32;
  using SafeMath for uint256;

  address public validator;
  mapping(address => bool) public operators;
  mapping(bytes32 => address) public usedCodes;

  modifier onlyOperator() {
    require(_msgSender() != address(0) && operators[_msgSender()], "forbidden");
    _;
  }

  address[] public team = [
    0x70f41fE744657DF9cC5BD317C58D3e7928e22E1B,
    0x16244cdFb0D364ac5c4B42Aa530497AA762E7bb3,
    0xe360cDb9B5348DB79CD630d0D1DE854b44638C64,
    0xE14615C5B0d4f262153343e1590f196DCd52164e,
    0x777eFBFd78D38Acd0753ef2eBe7cdA620C0f409a,
    0xca17b266C872aAa553d2fC2e13187EcE3e2Bc54a,
    0xE73B2AEB8A9f360FB16F7D8Df721B1b40076Aa5E,
    0x231540a54823De2EFC7631E40A5DD9dD2Ee965bc
  ];

  constructor(address _validator) ERC721("Syn City Genesis Passes", "SYNP") {
    setValidator(_validator);
    for (uint256 i = 0; i < team.length; i++) {
      _safeMint(team[i], nextTokenId++);
    }
  }

  function getRemaining(uint256 typeIndex) external view returns (uint256) {
    return _remaining[typeIndex];
  }

  function setValidator(address validator_) public onlyOwner {
    require(validator_ != address(0), "validator cannot be 0x0");
    validator = validator_;
    emit ValidatorSet(validator);
  }

  function setOperators(address[] memory _operators) public onlyOwner {
    for (uint256 j = 0; j < _operators.length; j++) {
      require(_operators[j] != address(0), "operator cannot be 0x0");
      operators[_operators[j]] = true;
      emit OperatorSet(_operators[j]);
    }
  }

  function revokeOperator(address operator_) external onlyOwner {
    delete operators[operator_];
    emit OperatorRevoked(operator_);
  }

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

  function updateBaseTokenURI(string memory uri) external onlyOwner {
    require(!tokenURIHasBeenFrozen, "token uri has been frozen");
    _baseTokenURI = uri;
    emit BaseURIUpdated();
  }

  function freezeBaseTokenURI() external onlyOwner {
    tokenURIHasBeenFrozen = true;
    emit BaseURIFrozen();
  }

  function contractURI() external view returns (string memory) {
    return _baseTokenURI;
  }

  function claimFreeToken(
    bytes32 authCode,
    uint256 typeIndex,
    bytes memory signature
  ) external {
    _mintToken(_msgSender(), authCode, typeIndex, signature);
  }

  function giveawayToken(
    address to,
    bytes32 authCode,
    bytes memory signature
  ) external onlyOperator {
    _mintToken(to, authCode, 4, signature);
  }

  function _mintToken(
    address to,
    bytes32 authCode,
    uint256 typeIndex,
    bytes memory signature
  ) internal {
    require(to != address(0), "invalid sender");
    require(usedCodes[authCode] == address(0), "authCode already used");
    require(balanceOf(to) == 0, "one pass per wallet");
    require(_remaining[typeIndex] > 0, "no more tokens for this season");
    require(_isSignedByValidator(encodeForSignature(to, authCode, typeIndex), signature), "invalid signature");
    require(nextTokenId <= maxTokenId, "distribution ended");
    usedCodes[authCode] = to;
    _remaining[typeIndex]--;
    _safeMint(to, nextTokenId++);
  }

  function _isSignedByValidator(bytes32 _hash, bytes memory _signature) private view returns (bool) {
    return validator != address(0) && validator == _hash.recover(_signature);
  }

  // this is called internally by _mintToken
  // and externally by the web3 app
  function encodeForSignature(
    address to,
    bytes32 authCode,
    uint256 typeIndex
  ) public pure returns (bytes32) {
    return
      keccak256(
        abi.encodePacked(
          "\x19\x01", // EIP-191
          to,
          authCode,
          typeIndex
        )
      );
  }
}

File 2 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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 {
    /**
     * @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) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // 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) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @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) {
        // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @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 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 4 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 5 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public 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 _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);

        _balances[to] += 1;
        _owners[tokenId] = 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);

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

        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);

        _balances[from] -= 1;
        _balances[to] += 1;
        _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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 6 of 13 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 7 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

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 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 9 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

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": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_validator","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":[],"name":"BaseURIFrozen","type":"event"},{"anonymous":false,"inputs":[],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"}],"name":"OperatorRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"}],"name":"OperatorSet","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"validator","type":"address"}],"name":"ValidatorSet","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"authCode","type":"bytes32"},{"internalType":"uint256","name":"typeIndex","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claimFreeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"authCode","type":"bytes32"},{"internalType":"uint256","name":"typeIndex","type":"uint256"}],"name":"encodeForSignature","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"freezeBaseTokenURI","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":"uint256","name":"typeIndex","type":"uint256"}],"name":"getRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"authCode","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"giveawayToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"operators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator_","type":"address"}],"name":"revokeOperator","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":"address[]","name":"_operators","type":"address[]"}],"name":"setOperators","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"validator_","type":"address"}],"name":"setValidator","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":"","type":"uint256"}],"name":"team","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"tokenURIHasBeenFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"updateBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"usedCodes","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"validator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

600160075561037860085561012060405260c8608081815260a082905260c082905260e0919091526050610100526200003d906009906005620006a6565b5060408051808201909152601f8082527f68747470733a2f2f6e66742e73796e2e636974792f6d6574612f53594e502f0060209092019182526200008491600a91620006fb565b5060408051610100810182527370f41fe744657df9cc5bd317c58d3e7928e22e1b81527316244cdfb0d364ac5c4b42aa530497aa762e7bb3602082015273e360cdb9b5348db79cd630d0d1de854b44638c649181019190915273e14615c5b0d4f262153343e1590f196dcd52164e606082015273777efbfd78d38acd0753ef2ebe7cda620c0f409a608082015273ca17b266c872aaa553d2fc2e13187ece3e2bc54a60a082015273e73b2aeb8a9f360fb16f7d8df721b1b40076aa5e60c082015273231540a54823de2efc7631e40a5dd9dd2ee965bc60e08201526200016f90600e90600862000778565b503480156200017d57600080fd5b50604051620031bd380380620031bd833981016040819052620001a091620007e7565b604080518082018252601781527f53796e20436974792047656e6573697320506173736573000000000000000000602080830191825283518085019094526004845263053594e560e41b9084015281519192916200020191600091620006fb565b50805162000217906001906020840190620006fb565b50505060006200022c6200030660201b60201c565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35062000285816200030a565b60005b600e54811015620002fe57620002e9600e8281548110620002b957634e487b7160e01b600052603260045260246000fd5b6000918252602082200154600780546001600160a01b0390921692620002df8362000a50565b90915550620003eb565b80620002f58162000a50565b91505062000288565b505062000a84565b3390565b6200031462000306565b6001600160a01b03166200032762000411565b6001600160a01b031614620003595760405162461bcd60e51b815260040162000350906200098c565b60405180910390fd5b6001600160a01b038116620003825760405162461bcd60e51b81526004016200035090620009c1565b600b8054610100600160a81b0319166101006001600160a01b03848116820292909217928390556040517f128d225533052ebf55fcccaa33435927c3530b794ac392f55bfda36e7d47454393620003e0939290049091169062000841565b60405180910390a150565b6200040d8282604051806020016040528060008152506200042060201b60201c565b5050565b6006546001600160a01b031690565b6200042c83836200045f565b6200043b60008484846200054a565b6200045a5760405162461bcd60e51b81526004016200035090620008ce565b505050565b6001600160a01b038216620004885760405162461bcd60e51b8152600401620003509062000957565b620004938162000683565b15620004b35760405162461bcd60e51b8152600401620003509062000920565b620004c1600083836200045a565b6001600160a01b0382166000908152600360205260408120805460019290620004ec908490620009f8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200056b846001600160a01b0316620006a060201b62000f651760201c565b1562000677576001600160a01b03841663150b7a026200058a62000306565b8786866040518563ffffffff1660e01b8152600401620005ae949392919062000855565b602060405180830381600087803b158015620005c957600080fd5b505af1925050508015620005fc575060408051601f3d908101601f19168201909252620005f99181019062000817565b60015b6200065c573d8080156200062d576040519150601f19603f3d011682016040523d82523d6000602084013e62000632565b606091505b508051620006545760405162461bcd60e51b81526004016200035090620008ce565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200067b565b5060015b949350505050565b6000908152600260205260409020546001600160a01b0316151590565b3b151590565b828054828255906000526020600020908101928215620006e9579160200282015b82811115620006e9578251829060ff16905591602001919060010190620006c7565b50620006f7929150620007d0565b5090565b828054620007099062000a13565b90600052602060002090601f0160209004810192826200072d5760008555620006e9565b82601f106200074857805160ff1916838001178555620006e9565b82800160010185558215620006e9579182015b82811115620006e95782518255916020019190600101906200075b565b828054828255906000526020600020908101928215620006e9579160200282015b82811115620006e957825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000799565b5b80821115620006f75760008155600101620007d1565b600060208284031215620007f9578081fd5b81516001600160a01b038116811462000810578182fd5b9392505050565b60006020828403121562000829578081fd5b81516001600160e01b03198116811462000810578182fd5b6001600160a01b0391909116815260200190565b600060018060a01b0380871683526020818716818501528560408501526080606085015284519150816080850152825b82811015620008a35785810182015185820160a00152810162000885565b82811115620008b5578360a084870101525b5050601f01601f19169190910160a00195945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f76616c696461746f722063616e6e6f7420626520307830000000000000000000604082015260600190565b6000821982111562000a0e5762000a0e62000a6e565b500190565b60028104600182168062000a2857607f821691505b6020821081141562000a4a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000a675762000a6762000a6e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6127298062000a946000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806370a082311161011a57806395d89b41116100ad578063ddf71cd51161007c578063ddf71cd5146103f0578063e8a3d48514610403578063e985e9c51461040b578063f2fde38b1461041e578063fad8b32a14610431576101fb565b806395d89b41146103af578063a22cb465146103b7578063b88d4fde146103ca578063c87b56dd146103dd576101fb565b80638da5cb5b116100e95780638da5cb5b14610384578063904077a01461038c578063910f7f121461039f57806391ba317a146103a7576101fb565b806370a082311461034e578063715018a61461036157806375794a3c1461036957806377c8c4b314610371576101fb565b8063224cb5d011610192578063566b813d11610161578063566b813d146103025780636352211e1461031557806365224c2c14610328578063655391c91461033b576101fb565b8063224cb5d0146102b457806323b872dd146102d45780633a5381b5146102e757806342842e0e146102ef576101fb565b80631327d3d8116101ce5780631327d3d81461027357806313e7c9d814610286578063197b831414610299578063197ebd53146102a1576101fb565b806301ffc9a71461020057806306fdde0314610229578063081812fc1461023e578063095ea7b31461025e575b600080fd5b61021361020e366004611cb9565b610444565b6040516102209190611e0e565b60405180910390f35b61023161048c565b6040516102209190611e40565b61025161024c366004611c69565b61051e565b6040516102209190611dc7565b61027161026c366004611b92565b61056a565b005b6102716102813660046119e4565b610602565b6102136102943660046119e4565b6106ce565b6102716106e3565b6102516102af366004611c69565b61075a565b6102c76102c2366004611c69565b610784565b6040516102209190611e19565b6102716102e2366004611a30565b6107b9565b6102516107f1565b6102716102fd366004611a30565b610805565b610271610310366004611c81565b610820565b610251610323366004611c69565b610833565b6102c7610336366004611b60565b610868565b610271610349366004611cf1565b61089e565b6102c761035c3660046119e4565b610940565b610271610984565b6102c7610a0d565b61027161037f366004611b0b565b610a13565b610251610a82565b61025161039a366004611c69565b610a91565b610213610aac565b6102c7610ab5565b610231610abb565b6102716103c5366004611ad1565b610aca565b6102716103d8366004611a6b565b610b98565b6102316103eb366004611c69565b610bd7565b6102716103fe366004611bbb565b610c5a565b610231610dd8565b6102136104193660046119fe565b610de7565b61027161042c3660046119e4565b610e15565b61027161043f3660046119e4565b610ed6565b60006001600160e01b031982166380ac58cd60e01b148061047557506001600160e01b03198216635b5e139f60e01b145b80610484575061048482610f6b565b90505b919050565b60606000805461049b9061262e565b80601f01602080910402602001604051908101604052809291908181526020018280546104c79061262e565b80156105145780601f106104e957610100808354040283529160200191610514565b820191906000526020600020905b8154815290600101906020018083116104f757829003601f168201915b5050505050905090565b600061052982610f84565b61054e5760405162461bcd60e51b8152600401610545906122da565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061057582610833565b9050806001600160a01b0316836001600160a01b031614156105a95760405162461bcd60e51b815260040161054590612452565b806001600160a01b03166105bb610fa1565b6001600160a01b031614806105d757506105d781610419610fa1565b6105f35760405162461bcd60e51b815260040161054590612146565b6105fd8383610fa5565b505050565b61060a610fa1565b6001600160a01b031661061b610a82565b6001600160a01b0316146106415760405162461bcd60e51b815260040161054590612355565b6001600160a01b0381166106675760405162461bcd60e51b815260040161054590612493565b600b8054610100600160a81b0319166101006001600160a01b03848116820292909217928390556040517f128d225533052ebf55fcccaa33435927c3530b794ac392f55bfda36e7d474543936106c39392900490911690611dc7565b60405180910390a150565b600c6020526000908152604090205460ff1681565b6106eb610fa1565b6001600160a01b03166106fc610a82565b6001600160a01b0316146107225760405162461bcd60e51b815260040161054590612355565b600b805460ff191660011790556040517fcb8ee1250825b65fb9f9db82cf9039335db3185b4258fa3f81453f21741b425190600090a1565b600e818154811061076a57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000600982815481106107a757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6107ca6107c4610fa1565b82611013565b6107e65760405162461bcd60e51b8152600401610545906124ca565b6105fd838383611098565b600b5461010090046001600160a01b031681565b6105fd83838360405180602001604052806000815250610b98565b6105fd61082b610fa1565b8484846111c5565b6000818152600260205260408120546001600160a01b0316806104845760405162461bcd60e51b8152600401610545906121ed565b600083838360405160200161087f93929190611d92565b6040516020818303038152906040528051906020012090509392505050565b6108a6610fa1565b6001600160a01b03166108b7610a82565b6001600160a01b0316146108dd5760405162461bcd60e51b815260040161054590612355565b600b5460ff16156109005760405162461bcd60e51b81526004016105459061251b565b805161091390600a9060208401906118bd565b506040517fa1731ca444c73d019f0dbb4ee5546c98730f4ffcdaa1c29776ab542aa64d5e1b90600090a150565b60006001600160a01b0382166109685760405162461bcd60e51b8152600401610545906121a3565b506001600160a01b031660009081526003602052604090205490565b61098c610fa1565b6001600160a01b031661099d610a82565b6001600160a01b0316146109c35760405162461bcd60e51b815260040161054590612355565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b60075481565b6000610a1d610fa1565b6001600160a01b031614158015610a595750600c6000610a3b610fa1565b6001600160a01b0316815260208101919091526040016000205460ff165b610a755760405162461bcd60e51b815260040161054590611f9d565b6105fd83836004846111c5565b6006546001600160a01b031690565b600d602052600090815260409020546001600160a01b031681565b600b5460ff1681565b60085481565b60606001805461049b9061262e565b610ad2610fa1565b6001600160a01b0316826001600160a01b03161415610b035760405162461bcd60e51b815260040161054590612081565b8060056000610b10610fa1565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b54610fa1565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b8c9190611e0e565b60405180910390a35050565b610ba9610ba3610fa1565b83611013565b610bc55760405162461bcd60e51b8152600401610545906124ca565b610bd184848484611368565b50505050565b6060610be282610f84565b610bfe5760405162461bcd60e51b8152600401610545906123d3565b6000610c08610dd8565b90506000815111610c285760405180602001604052806000815250610c53565b80610c328461139b565b604051602001610c43929190611d63565b6040516020818303038152906040525b9392505050565b610c62610fa1565b6001600160a01b0316610c73610a82565b6001600160a01b031614610c995760405162461bcd60e51b815260040161054590612355565b60005b8151811015610dd45760006001600160a01b0316828281518110610cd057634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03161415610cff5760405162461bcd60e51b815260040161054590612422565b6001600c6000848481518110610d2557634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055507f99d737e0adf2c449d71890b86772885ec7959b152ddb265f76325b6e68e105d3828281518110610da557634e487b7160e01b600052603260045260246000fd5b6020026020010151604051610dba9190611dc7565b60405180910390a180610dcc81612669565b915050610c9c565b5050565b6060600a805461049b9061262e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610e1d610fa1565b6001600160a01b0316610e2e610a82565b6001600160a01b031614610e545760405162461bcd60e51b815260040161054590612355565b6001600160a01b038116610e7a5760405162461bcd60e51b815260040161054590611fc0565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610ede610fa1565b6001600160a01b0316610eef610a82565b6001600160a01b031614610f155760405162461bcd60e51b815260040161054590612355565b6001600160a01b0381166000908152600c602052604090819020805460ff19169055517fa5f3b7626fd86ff989f1d22cf3d41d74591ea6eb99241079400b0c332a9a8f11906106c3908390611dc7565b3b151590565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fda82610833565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061101e82610f84565b61103a5760405162461bcd60e51b8152600401610545906120fa565b600061104583610833565b9050806001600160a01b0316846001600160a01b031614806110805750836001600160a01b03166110758461051e565b6001600160a01b0316145b8061109057506110908185610de7565b949350505050565b826001600160a01b03166110ab82610833565b6001600160a01b0316146110d15760405162461bcd60e51b81526004016105459061238a565b6001600160a01b0382166110f75760405162461bcd60e51b81526004016105459061203d565b6111028383836105fd565b61110d600082610fa5565b6001600160a01b03831660009081526003602052604081208054600192906111369084906125d4565b90915550506001600160a01b03821660009081526003602052604081208054600192906111649084906125a8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0384166111eb5760405162461bcd60e51b815260040161054590611eec565b6000838152600d60205260409020546001600160a01b0316156112205760405162461bcd60e51b815260040161054590612326565b61122984610940565b156112465760405162461bcd60e51b815260040161054590612278565b60006009838154811061126957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154116112915760405162461bcd60e51b815260040161054590611f14565b6112a561129f858585610868565b826114b6565b6112c15760405162461bcd60e51b815260040161054590611e8a565b60085460075411156112e55760405162461bcd60e51b815260040161054590612552565b6000838152600d6020526040902080546001600160a01b0319166001600160a01b038616179055600980548390811061132e57634e487b7160e01b600052603260045260246000fd5b6000918252602082200180549161134483612617565b909155505060078054610bd191869190600061135f83612669565b919050556114fa565b611373848484611098565b61137f84848484611514565b610bd15760405162461bcd60e51b815260040161054590611f4b565b6060816113c057506040805180820190915260018152600360fc1b6020820152610487565b8160005b81156113ea57806113d481612669565b91506113e39050600a836125c0565b91506113c4565b60008167ffffffffffffffff81111561141357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561143d576020820181803683370190505b5090505b8415611090576114526001836125d4565b915061145f600a86612684565b61146a9060306125a8565b60f81b81838151811061148d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506114af600a866125c0565b9450611441565b600b5460009061010090046001600160a01b031615801590610c5357506114dd838361162f565b600b5461010090046001600160a01b039081169116149392505050565b610dd48282604051806020016040528060008152506116b5565b6000611528846001600160a01b0316610f65565b1561162457836001600160a01b031663150b7a02611544610fa1565b8786866040518563ffffffff1660e01b81526004016115669493929190611ddb565b602060405180830381600087803b15801561158057600080fd5b505af19250505080156115b0575060408051601f3d908101601f191682019092526115ad91810190611cd5565b60015b61160a573d8080156115de576040519150601f19603f3d011682016040523d82523d6000602084013e6115e3565b606091505b5080516116025760405162461bcd60e51b815260040161054590611f4b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611090565b506001949350505050565b6000806000808451604114156116595750505060208201516040830151606084015160001a61169f565b8451604014156116875750505060408201516020830151906001600160ff1b0381169060ff1c601b0161169f565b60405162461bcd60e51b815260040161054590611eb5565b6116ab868285856116e8565b9695505050505050565b6116bf83836117de565b6116cc6000848484611514565b6105fd5760405162461bcd60e51b815260040161054590611f4b565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561172a5760405162461bcd60e51b8152600401610545906120b8565b8360ff16601b148061173f57508360ff16601c145b61175b5760405162461bcd60e51b815260040161054590612236565b6000600186868686604051600081526020016040526040516117809493929190611e22565b6020604051602081039080840390855afa1580156117a2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117d55760405162461bcd60e51b815260040161054590611e53565b95945050505050565b6001600160a01b0382166118045760405162461bcd60e51b8152600401610545906122a5565b61180d81610f84565b1561182a5760405162461bcd60e51b815260040161054590612006565b611836600083836105fd565b6001600160a01b038216600090815260036020526040812080546001929061185f9084906125a8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546118c99061262e565b90600052602060002090601f0160209004810192826118eb5760008555611931565b82601f1061190457805160ff1916838001178555611931565b82800160010185558215611931579182015b82811115611931578251825591602001919060010190611916565b5061193d929150611941565b5090565b5b8082111561193d5760008155600101611942565b600067ffffffffffffffff831115611970576119706126c4565b611983601f8401601f191660200161257e565b905082815283838301111561199757600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461048757600080fd5b600082601f8301126119d5578081fd5b610c5383833560208501611956565b6000602082840312156119f5578081fd5b610c53826119ae565b60008060408385031215611a10578081fd5b611a19836119ae565b9150611a27602084016119ae565b90509250929050565b600080600060608486031215611a44578081fd5b611a4d846119ae565b9250611a5b602085016119ae565b9150604084013590509250925092565b60008060008060808587031215611a80578081fd5b611a89856119ae565b9350611a97602086016119ae565b925060408501359150606085013567ffffffffffffffff811115611ab9578182fd5b611ac5878288016119c5565b91505092959194509250565b60008060408385031215611ae3578182fd5b611aec836119ae565b915060208301358015158114611b00578182fd5b809150509250929050565b600080600060608486031215611b1f578283fd5b611b28846119ae565b925060208401359150604084013567ffffffffffffffff811115611b4a578182fd5b611b56868287016119c5565b9150509250925092565b600080600060608486031215611b74578283fd5b611b7d846119ae565b95602085013595506040909401359392505050565b60008060408385031215611ba4578182fd5b611bad836119ae565b946020939093013593505050565b60006020808385031215611bcd578182fd5b823567ffffffffffffffff80821115611be4578384fd5b818501915085601f830112611bf7578384fd5b813581811115611c0957611c096126c4565b8381029150611c1984830161257e565b8181528481019084860184860187018a1015611c33578788fd5b8795505b83861015611c5c57611c48816119ae565b835260019590950194918601918601611c37565b5098975050505050505050565b600060208284031215611c7a578081fd5b5035919050565b600080600060608486031215611c95578081fd5b8335925060208401359150604084013567ffffffffffffffff811115611b4a578182fd5b600060208284031215611cca578081fd5b8135610c53816126da565b600060208284031215611ce6578081fd5b8151610c53816126da565b600060208284031215611d02578081fd5b813567ffffffffffffffff811115611d18578182fd5b8201601f81018413611d28578182fd5b61109084823560208401611956565b60008151808452611d4f8160208601602086016125eb565b601f01601f19169290920160200192915050565b60008351611d758184602088016125eb565b835190830190611d898183602088016125eb565b01949350505050565b61190160f01b815260609390931b6bffffffffffffffffffffffff191660028401526016830191909152603682015260560190565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116ab90830184611d37565b901515815260200190565b90815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610c536020830184611d37565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b602080825260119082015270696e76616c6964207369676e617475726560781b604082015260600190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252600e908201526d34b73b30b634b21039b2b73232b960911b604082015260600190565b6020808252601e908201527f6e6f206d6f726520746f6b656e7320666f72207468697320736561736f6e0000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600990820152683337b93134b23232b760b91b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252601390820152721bdb99481c185cdcc81c195c881dd85b1b195d606a1b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b602080825260159082015274185d5d1a10dbd91948185b1c9958591e481d5cd959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526016908201527506f70657261746f722063616e6e6f74206265203078360541b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526017908201527f76616c696461746f722063616e6e6f7420626520307830000000000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526019908201527f746f6b656e2075726920686173206265656e2066726f7a656e00000000000000604082015260600190565b602080825260129082015271191a5cdd1c9a589d5d1a5bdb88195b99195960721b604082015260600190565b60405181810167ffffffffffffffff811182821017156125a0576125a06126c4565b604052919050565b600082198211156125bb576125bb612698565b500190565b6000826125cf576125cf6126ae565b500490565b6000828210156125e6576125e6612698565b500390565b60005b838110156126065781810151838201526020016125ee565b83811115610bd15750506000910152565b60008161262657612626612698565b506000190190565b60028104600182168061264257607f821691505b6020821081141561266357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561267d5761267d612698565b5060010190565b600082612693576126936126ae565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146126f057600080fd5b5056fea2646970667358221220396fe4f53a283be10e3b08732737a444104c82d341a0470f0c40187830acccd164736f6c63430008000033000000000000000000000000c626be886d4b7d09898152c61959a9a898a78d6f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c806370a082311161011a57806395d89b41116100ad578063ddf71cd51161007c578063ddf71cd5146103f0578063e8a3d48514610403578063e985e9c51461040b578063f2fde38b1461041e578063fad8b32a14610431576101fb565b806395d89b41146103af578063a22cb465146103b7578063b88d4fde146103ca578063c87b56dd146103dd576101fb565b80638da5cb5b116100e95780638da5cb5b14610384578063904077a01461038c578063910f7f121461039f57806391ba317a146103a7576101fb565b806370a082311461034e578063715018a61461036157806375794a3c1461036957806377c8c4b314610371576101fb565b8063224cb5d011610192578063566b813d11610161578063566b813d146103025780636352211e1461031557806365224c2c14610328578063655391c91461033b576101fb565b8063224cb5d0146102b457806323b872dd146102d45780633a5381b5146102e757806342842e0e146102ef576101fb565b80631327d3d8116101ce5780631327d3d81461027357806313e7c9d814610286578063197b831414610299578063197ebd53146102a1576101fb565b806301ffc9a71461020057806306fdde0314610229578063081812fc1461023e578063095ea7b31461025e575b600080fd5b61021361020e366004611cb9565b610444565b6040516102209190611e0e565b60405180910390f35b61023161048c565b6040516102209190611e40565b61025161024c366004611c69565b61051e565b6040516102209190611dc7565b61027161026c366004611b92565b61056a565b005b6102716102813660046119e4565b610602565b6102136102943660046119e4565b6106ce565b6102716106e3565b6102516102af366004611c69565b61075a565b6102c76102c2366004611c69565b610784565b6040516102209190611e19565b6102716102e2366004611a30565b6107b9565b6102516107f1565b6102716102fd366004611a30565b610805565b610271610310366004611c81565b610820565b610251610323366004611c69565b610833565b6102c7610336366004611b60565b610868565b610271610349366004611cf1565b61089e565b6102c761035c3660046119e4565b610940565b610271610984565b6102c7610a0d565b61027161037f366004611b0b565b610a13565b610251610a82565b61025161039a366004611c69565b610a91565b610213610aac565b6102c7610ab5565b610231610abb565b6102716103c5366004611ad1565b610aca565b6102716103d8366004611a6b565b610b98565b6102316103eb366004611c69565b610bd7565b6102716103fe366004611bbb565b610c5a565b610231610dd8565b6102136104193660046119fe565b610de7565b61027161042c3660046119e4565b610e15565b61027161043f3660046119e4565b610ed6565b60006001600160e01b031982166380ac58cd60e01b148061047557506001600160e01b03198216635b5e139f60e01b145b80610484575061048482610f6b565b90505b919050565b60606000805461049b9061262e565b80601f01602080910402602001604051908101604052809291908181526020018280546104c79061262e565b80156105145780601f106104e957610100808354040283529160200191610514565b820191906000526020600020905b8154815290600101906020018083116104f757829003601f168201915b5050505050905090565b600061052982610f84565b61054e5760405162461bcd60e51b8152600401610545906122da565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061057582610833565b9050806001600160a01b0316836001600160a01b031614156105a95760405162461bcd60e51b815260040161054590612452565b806001600160a01b03166105bb610fa1565b6001600160a01b031614806105d757506105d781610419610fa1565b6105f35760405162461bcd60e51b815260040161054590612146565b6105fd8383610fa5565b505050565b61060a610fa1565b6001600160a01b031661061b610a82565b6001600160a01b0316146106415760405162461bcd60e51b815260040161054590612355565b6001600160a01b0381166106675760405162461bcd60e51b815260040161054590612493565b600b8054610100600160a81b0319166101006001600160a01b03848116820292909217928390556040517f128d225533052ebf55fcccaa33435927c3530b794ac392f55bfda36e7d474543936106c39392900490911690611dc7565b60405180910390a150565b600c6020526000908152604090205460ff1681565b6106eb610fa1565b6001600160a01b03166106fc610a82565b6001600160a01b0316146107225760405162461bcd60e51b815260040161054590612355565b600b805460ff191660011790556040517fcb8ee1250825b65fb9f9db82cf9039335db3185b4258fa3f81453f21741b425190600090a1565b600e818154811061076a57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000600982815481106107a757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6107ca6107c4610fa1565b82611013565b6107e65760405162461bcd60e51b8152600401610545906124ca565b6105fd838383611098565b600b5461010090046001600160a01b031681565b6105fd83838360405180602001604052806000815250610b98565b6105fd61082b610fa1565b8484846111c5565b6000818152600260205260408120546001600160a01b0316806104845760405162461bcd60e51b8152600401610545906121ed565b600083838360405160200161087f93929190611d92565b6040516020818303038152906040528051906020012090509392505050565b6108a6610fa1565b6001600160a01b03166108b7610a82565b6001600160a01b0316146108dd5760405162461bcd60e51b815260040161054590612355565b600b5460ff16156109005760405162461bcd60e51b81526004016105459061251b565b805161091390600a9060208401906118bd565b506040517fa1731ca444c73d019f0dbb4ee5546c98730f4ffcdaa1c29776ab542aa64d5e1b90600090a150565b60006001600160a01b0382166109685760405162461bcd60e51b8152600401610545906121a3565b506001600160a01b031660009081526003602052604090205490565b61098c610fa1565b6001600160a01b031661099d610a82565b6001600160a01b0316146109c35760405162461bcd60e51b815260040161054590612355565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b60075481565b6000610a1d610fa1565b6001600160a01b031614158015610a595750600c6000610a3b610fa1565b6001600160a01b0316815260208101919091526040016000205460ff165b610a755760405162461bcd60e51b815260040161054590611f9d565b6105fd83836004846111c5565b6006546001600160a01b031690565b600d602052600090815260409020546001600160a01b031681565b600b5460ff1681565b60085481565b60606001805461049b9061262e565b610ad2610fa1565b6001600160a01b0316826001600160a01b03161415610b035760405162461bcd60e51b815260040161054590612081565b8060056000610b10610fa1565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b54610fa1565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b8c9190611e0e565b60405180910390a35050565b610ba9610ba3610fa1565b83611013565b610bc55760405162461bcd60e51b8152600401610545906124ca565b610bd184848484611368565b50505050565b6060610be282610f84565b610bfe5760405162461bcd60e51b8152600401610545906123d3565b6000610c08610dd8565b90506000815111610c285760405180602001604052806000815250610c53565b80610c328461139b565b604051602001610c43929190611d63565b6040516020818303038152906040525b9392505050565b610c62610fa1565b6001600160a01b0316610c73610a82565b6001600160a01b031614610c995760405162461bcd60e51b815260040161054590612355565b60005b8151811015610dd45760006001600160a01b0316828281518110610cd057634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03161415610cff5760405162461bcd60e51b815260040161054590612422565b6001600c6000848481518110610d2557634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055507f99d737e0adf2c449d71890b86772885ec7959b152ddb265f76325b6e68e105d3828281518110610da557634e487b7160e01b600052603260045260246000fd5b6020026020010151604051610dba9190611dc7565b60405180910390a180610dcc81612669565b915050610c9c565b5050565b6060600a805461049b9061262e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610e1d610fa1565b6001600160a01b0316610e2e610a82565b6001600160a01b031614610e545760405162461bcd60e51b815260040161054590612355565b6001600160a01b038116610e7a5760405162461bcd60e51b815260040161054590611fc0565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610ede610fa1565b6001600160a01b0316610eef610a82565b6001600160a01b031614610f155760405162461bcd60e51b815260040161054590612355565b6001600160a01b0381166000908152600c602052604090819020805460ff19169055517fa5f3b7626fd86ff989f1d22cf3d41d74591ea6eb99241079400b0c332a9a8f11906106c3908390611dc7565b3b151590565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fda82610833565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061101e82610f84565b61103a5760405162461bcd60e51b8152600401610545906120fa565b600061104583610833565b9050806001600160a01b0316846001600160a01b031614806110805750836001600160a01b03166110758461051e565b6001600160a01b0316145b8061109057506110908185610de7565b949350505050565b826001600160a01b03166110ab82610833565b6001600160a01b0316146110d15760405162461bcd60e51b81526004016105459061238a565b6001600160a01b0382166110f75760405162461bcd60e51b81526004016105459061203d565b6111028383836105fd565b61110d600082610fa5565b6001600160a01b03831660009081526003602052604081208054600192906111369084906125d4565b90915550506001600160a01b03821660009081526003602052604081208054600192906111649084906125a8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0384166111eb5760405162461bcd60e51b815260040161054590611eec565b6000838152600d60205260409020546001600160a01b0316156112205760405162461bcd60e51b815260040161054590612326565b61122984610940565b156112465760405162461bcd60e51b815260040161054590612278565b60006009838154811061126957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154116112915760405162461bcd60e51b815260040161054590611f14565b6112a561129f858585610868565b826114b6565b6112c15760405162461bcd60e51b815260040161054590611e8a565b60085460075411156112e55760405162461bcd60e51b815260040161054590612552565b6000838152600d6020526040902080546001600160a01b0319166001600160a01b038616179055600980548390811061132e57634e487b7160e01b600052603260045260246000fd5b6000918252602082200180549161134483612617565b909155505060078054610bd191869190600061135f83612669565b919050556114fa565b611373848484611098565b61137f84848484611514565b610bd15760405162461bcd60e51b815260040161054590611f4b565b6060816113c057506040805180820190915260018152600360fc1b6020820152610487565b8160005b81156113ea57806113d481612669565b91506113e39050600a836125c0565b91506113c4565b60008167ffffffffffffffff81111561141357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561143d576020820181803683370190505b5090505b8415611090576114526001836125d4565b915061145f600a86612684565b61146a9060306125a8565b60f81b81838151811061148d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506114af600a866125c0565b9450611441565b600b5460009061010090046001600160a01b031615801590610c5357506114dd838361162f565b600b5461010090046001600160a01b039081169116149392505050565b610dd48282604051806020016040528060008152506116b5565b6000611528846001600160a01b0316610f65565b1561162457836001600160a01b031663150b7a02611544610fa1565b8786866040518563ffffffff1660e01b81526004016115669493929190611ddb565b602060405180830381600087803b15801561158057600080fd5b505af19250505080156115b0575060408051601f3d908101601f191682019092526115ad91810190611cd5565b60015b61160a573d8080156115de576040519150601f19603f3d011682016040523d82523d6000602084013e6115e3565b606091505b5080516116025760405162461bcd60e51b815260040161054590611f4b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611090565b506001949350505050565b6000806000808451604114156116595750505060208201516040830151606084015160001a61169f565b8451604014156116875750505060408201516020830151906001600160ff1b0381169060ff1c601b0161169f565b60405162461bcd60e51b815260040161054590611eb5565b6116ab868285856116e8565b9695505050505050565b6116bf83836117de565b6116cc6000848484611514565b6105fd5760405162461bcd60e51b815260040161054590611f4b565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561172a5760405162461bcd60e51b8152600401610545906120b8565b8360ff16601b148061173f57508360ff16601c145b61175b5760405162461bcd60e51b815260040161054590612236565b6000600186868686604051600081526020016040526040516117809493929190611e22565b6020604051602081039080840390855afa1580156117a2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117d55760405162461bcd60e51b815260040161054590611e53565b95945050505050565b6001600160a01b0382166118045760405162461bcd60e51b8152600401610545906122a5565b61180d81610f84565b1561182a5760405162461bcd60e51b815260040161054590612006565b611836600083836105fd565b6001600160a01b038216600090815260036020526040812080546001929061185f9084906125a8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546118c99061262e565b90600052602060002090601f0160209004810192826118eb5760008555611931565b82601f1061190457805160ff1916838001178555611931565b82800160010185558215611931579182015b82811115611931578251825591602001919060010190611916565b5061193d929150611941565b5090565b5b8082111561193d5760008155600101611942565b600067ffffffffffffffff831115611970576119706126c4565b611983601f8401601f191660200161257e565b905082815283838301111561199757600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461048757600080fd5b600082601f8301126119d5578081fd5b610c5383833560208501611956565b6000602082840312156119f5578081fd5b610c53826119ae565b60008060408385031215611a10578081fd5b611a19836119ae565b9150611a27602084016119ae565b90509250929050565b600080600060608486031215611a44578081fd5b611a4d846119ae565b9250611a5b602085016119ae565b9150604084013590509250925092565b60008060008060808587031215611a80578081fd5b611a89856119ae565b9350611a97602086016119ae565b925060408501359150606085013567ffffffffffffffff811115611ab9578182fd5b611ac5878288016119c5565b91505092959194509250565b60008060408385031215611ae3578182fd5b611aec836119ae565b915060208301358015158114611b00578182fd5b809150509250929050565b600080600060608486031215611b1f578283fd5b611b28846119ae565b925060208401359150604084013567ffffffffffffffff811115611b4a578182fd5b611b56868287016119c5565b9150509250925092565b600080600060608486031215611b74578283fd5b611b7d846119ae565b95602085013595506040909401359392505050565b60008060408385031215611ba4578182fd5b611bad836119ae565b946020939093013593505050565b60006020808385031215611bcd578182fd5b823567ffffffffffffffff80821115611be4578384fd5b818501915085601f830112611bf7578384fd5b813581811115611c0957611c096126c4565b8381029150611c1984830161257e565b8181528481019084860184860187018a1015611c33578788fd5b8795505b83861015611c5c57611c48816119ae565b835260019590950194918601918601611c37565b5098975050505050505050565b600060208284031215611c7a578081fd5b5035919050565b600080600060608486031215611c95578081fd5b8335925060208401359150604084013567ffffffffffffffff811115611b4a578182fd5b600060208284031215611cca578081fd5b8135610c53816126da565b600060208284031215611ce6578081fd5b8151610c53816126da565b600060208284031215611d02578081fd5b813567ffffffffffffffff811115611d18578182fd5b8201601f81018413611d28578182fd5b61109084823560208401611956565b60008151808452611d4f8160208601602086016125eb565b601f01601f19169290920160200192915050565b60008351611d758184602088016125eb565b835190830190611d898183602088016125eb565b01949350505050565b61190160f01b815260609390931b6bffffffffffffffffffffffff191660028401526016830191909152603682015260560190565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116ab90830184611d37565b901515815260200190565b90815260200190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610c536020830184611d37565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b602080825260119082015270696e76616c6964207369676e617475726560781b604082015260600190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252600e908201526d34b73b30b634b21039b2b73232b960911b604082015260600190565b6020808252601e908201527f6e6f206d6f726520746f6b656e7320666f72207468697320736561736f6e0000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600990820152683337b93134b23232b760b91b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252601390820152721bdb99481c185cdcc81c195c881dd85b1b195d606a1b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b602080825260159082015274185d5d1a10dbd91948185b1c9958591e481d5cd959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526016908201527506f70657261746f722063616e6e6f74206265203078360541b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526017908201527f76616c696461746f722063616e6e6f7420626520307830000000000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526019908201527f746f6b656e2075726920686173206265656e2066726f7a656e00000000000000604082015260600190565b602080825260129082015271191a5cdd1c9a589d5d1a5bdb88195b99195960721b604082015260600190565b60405181810167ffffffffffffffff811182821017156125a0576125a06126c4565b604052919050565b600082198211156125bb576125bb612698565b500190565b6000826125cf576125cf6126ae565b500490565b6000828210156125e6576125e6612698565b500390565b60005b838110156126065781810151838201526020016125ee565b83811115610bd15750506000910152565b60008161262657612626612698565b506000190190565b60028104600182168061264257607f821691505b6020821081141561266357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561267d5761267d612698565b5060010190565b600082612693576126936126ae565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146126f057600080fd5b5056fea2646970667358221220396fe4f53a283be10e3b08732737a444104c82d341a0470f0c40187830acccd164736f6c63430008000033

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

000000000000000000000000c626be886d4b7d09898152c61959a9a898a78d6f

-----Decoded View---------------
Arg [0] : _validator (address): 0xc626be886d4b7D09898152c61959A9a898a78D6f

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


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.