ETH Price: $3,104.57 (+0.37%)
Gas: 4 Gwei

Token

Dream Landscapes NFT (DREAMLANDSCAPE)
 

Overview

Max Total Supply

153 DREAMLANDSCAPE

Holders

97

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
reagentzero.eth
Balance
1 DREAMLANDSCAPE
0xaad1195adcec96c05534c80069fa30d19e19b1f1
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

All dream seeds possess the power to birth new botanical worlds and gardens. When a dream seed is planted, it re-manifests as a fully new Dream Landscape NFT a wide high-resolution image created using supercomputer clusters running generative AI models.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DreamLandscapesNFT

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 22 : DreamLandscapesNFT.sol
// SPDX-License-Identifier: MIT
//                _                                  
//               (`  ).                   _           
//              (     ).              .:(`  )`.       
// )           _(       '`.          :(   .    )      
//         .=(`(      .   )     .--  `.  (    ) )      
//        ((    (..__.:'-'   .+(   )   ` _`  ) )                 
// `.     `(       ) )       (   .  )     (   )  ._   
//   )      ` __.:'   )     (   (   ))     `-'.-(`  ) 
// )  )  ( )       --'       `- __.'         :(      )) 
// .-'  (_.'          .')                    `(    )  ))
//                   (_  )  dream landscapes   ` __.:'          
//                                         
// --..,___.--,--'`,---..-.--+--.,,-,,..._.--..-._.-a:f--.
//
// by @eddietree

pragma solidity ^0.8.0;

import "./Base64.sol";
import "./DreamSeedProduct.sol";

contract DreamLandscapesNFT is DreamSeedProduct {

  bool public isRevealed = false;
  string internal _revealedMetaURI = "https://gateway.pinata.cloud/ipfs/QmRA71NveXF5EFUSds873WqxkVuT8HvvATgz65ev3ea9d5/";
  
  constructor(address _proxyRegistryAddress) ERC721TradableBurnable("Dream Landscapes NFT", "DREAMLANDSCAPE", _proxyRegistryAddress) {  
    _prerevealMetaURI = "https://gateway.pinata.cloud/ipfs/QmPWgEDgbkg9EuuEegGwdzTi5E3MzJu7uMYZ6YSWVb5NuC";
  }

  function setRevealedURI(string memory _value) external onlyOwner {
    _revealedMetaURI = _value;
  }

  function revealAll(bool state) external onlyOwner {
      isRevealed = state;
  }

  function tokenURI(uint256 _tokenId) override public view returns (string memory) {
    require(_tokenId >= 1 && _tokenId <= MAX_SUPPLY, "Not valid token range");

    if (!isRevealed) { // prereveal

      string memory json = Base64.encode(
          bytes(string(
              abi.encodePacked(
                  '{"name": ', '"Dream Landscape #',Strings.toString(_tokenId),'",',
                  '"description": "A doorway opening into another cycle of life...",',
                  '"attributes":[{"trait_type":"Status", "value":"Unrevealed"}],',
                  '"image": "', _prerevealMetaURI, '"}' 
              )
          ))
      );
      return string(abi.encodePacked('data:application/json;base64,', json));
    }  else { // revealed
      return string(abi.encodePacked(_revealedMetaURI, Strings.toString(_tokenId), ".json"));
    }
  }

  function reserveLandscape() public onlyOwner {
    require(totalSupply() < MAX_SUPPLY, "Purchase would exceed max tokens");
    mintTo(msg.sender);
  }

  function mintLandscape(uint256 seedTokenId) external {
    require(mintIsActive, "Must be active to mint tokens");
    require(totalSupply() < MAX_SUPPLY, "Purchase would exceed max tokens");

    burnDreamSeed(seedTokenId);
    mintTo(msg.sender);
  }
}

File 2 of 22 : Base64.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 3 of 22 : DreamSeedProduct.sol
// SPDX-License-Identifier: MIT
// by @eddietree

pragma solidity ^0.8.0;

import "./DreamSeedsNFT.sol";
import "./ERC721TradableBurnable.sol";

abstract contract DreamSeedProduct is ERC721TradableBurnable {
  uint256 public constant MAX_SUPPLY = 1300;

  string internal _prerevealMetaURI;
  DreamSeedsNFT public contractDreamSeeds;

  bool public mintIsActive = true;

  function setPreRevealURI(string memory _value) external onlyOwner {
    _prerevealMetaURI = _value;
  }

  function setMintState(bool newState) external onlyOwner {
      mintIsActive = newState;
  }

  function setContractDreamSeeds(address newAddress) external onlyOwner {
      contractDreamSeeds = DreamSeedsNFT(newAddress);
  }

  function ownerOfSeed(uint256 seedTokenId) private view returns (address) {
    return contractDreamSeeds.ownerOf(seedTokenId) ;
  }

  function burnDreamSeed(uint256 seedTokenId) internal {
    require(ownerOfSeed(seedTokenId) == msg.sender, "not owner of dream seed");
    contractDreamSeeds.burnDreamSeed(seedTokenId);
  }

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

File 4 of 22 : DreamSeedsNFT.sol
// SPDX-License-Identifier: MIT
//                _                                  
//               (`  ).                   _           
//              (     ).              .:(`  )`.       
// )           _(       '`.          :(   .    )      
//         .=(`(      .   )     .--  `.  (    ) )      
//        ((    (..__.:'-'   .+(   )   ` _`  ) )                 
// `.     `(       ) )       (   .  )     (   )  ._   
//   )      ` __.:'   )     (   (   ))     `-'.-(`  ) 
// )  )  ( )       --'       `- __.'         :(      )) 
// .-'  (_.'          .')                    `(    )  ))
//                   (_  )  dream seeds        ` __.:'          
//                                         
// --..,___.--,--'`,---..-.--+--.,,-,,..._.--..-._.-a:f--.
//
// by @eddietree

pragma solidity ^0.8.0;

import "./ERC721TradableBurnable.sol";
import "./Base64.sol";

contract DreamSeedsNFT is ERC721TradableBurnable {

  uint256 public constant MAX_SUPPLY = 1300;
  uint256 public constant PRICE_PER_TOKEN = 0.04 ether;

  // reveal
  bool public isRevealed = false;
  uint256 public maxPublicMintPerTransaction = 4;
  string private _prerevealMetaURI = "https://gateway.pinata.cloud/ipfs/QmPJN5t944PSZK3vLeff8EP2za2bgHd7eafs5U6kbjCmCt";
  string private _revealedMetaURI = "https://gateway.pinata.cloud/ipfs/QmRA71NveXF5EFUSds873WqxkVuT8HvvATgz65ev3ea9d5/";
  
  // sale states
  bool public saleIsActive = false;
  bool public presaleIsActive = false;
  mapping(address => uint8) private _allowList; // for presale minting

  // burnable -- used when minting gardeners or landscapes
  mapping(address => bool) private _allowListBurn;
  bool public dreamSeedsBurnableThruAllowlist = true;

  constructor(address _proxyRegistryAddress) ERC721TradableBurnable("Dream Seeds NFT", "DREAMSEED", _proxyRegistryAddress) {  
  }

  function setSaleState(bool newState) external onlyOwner {
      saleIsActive = newState;
  }

  function setMaxPublicMintPerTransaction(uint256 newState) external onlyOwner {
      maxPublicMintPerTransaction = newState;
  }

  function setPresaleState(bool newState) external onlyOwner {
      presaleIsActive = newState;
  }

  function setAllowList(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner {
      for (uint256 i = 0; i < addresses.length; i++) {
          _allowList[addresses[i]] = numAllowedToMint;
      }
  }

  function setAllowListBurn(address[] calldata addresses, bool allowBurn) external onlyOwner {
      for (uint256 i = 0; i < addresses.length; i++) {
          _allowListBurn[addresses[i]] = allowBurn;
      }
  }

  function allowListNumAvailableToMint(address addr) external view returns (uint8) {
      return _allowList[addr];
  }

  function allowListBurn(address addr) external view returns (bool) {
      return _allowListBurn[addr];
  }

  function revealAll(bool state) external onlyOwner {
      isRevealed = state;
  }

  ///////////////////// URI
  function setPreRevealURI(string memory _value) external onlyOwner {
    _prerevealMetaURI = _value;
  }

  function setRevealedURI(string memory _value) external onlyOwner {
    _revealedMetaURI = _value;
  }

  function tokenURI(uint256 _tokenId) override public view returns (string memory) {
    require(_tokenId >= 1 && _tokenId <= MAX_SUPPLY, "Not valid token range");

    if (!isRevealed) { // prereveal
      string memory json = Base64.encode(
          bytes(string(
              abi.encodePacked(
                  '{"name": ', '"Dream Seed #',Strings.toString(_tokenId),'",',
                  '"description": "Inside the seed lingers a world of possibility, endless beating hearts of regenerative dreams...",',
                  '"attributes":[{"trait_type":"Status", "value":"Unrevealed"}],',
                  '"image": "', _prerevealMetaURI, '"}' 
              )
          ))
      );
      return string(abi.encodePacked('data:application/json;base64,', json));
    }  else { // revealed
      return string(abi.encodePacked(_revealedMetaURI, Strings.toString(_tokenId), ".json"));
    }
  }

  ///////////////  mint
  function reserveSeed(uint numberOfTokens) external onlyOwner {
    uint256 ts = totalSupply();
    require(ts + numberOfTokens <= MAX_SUPPLY, "Mint would exceed max tokens");

    for (uint256 i = 0; i < numberOfTokens; i++) {
      mintTo(msg.sender);
    }
  }

  function reserveSeedGift(uint numberOfTokens, address addr) external onlyOwner {
    uint256 ts = totalSupply();
    require(ts + numberOfTokens <= MAX_SUPPLY, "Mint would exceed max tokens");

    for (uint256 i = 0; i < numberOfTokens; i++) {
      mintTo(addr);
    }
  }

  function mintSeedAllowlist(uint8 numberOfTokens) external payable {
    uint256 ts = totalSupply();

    require(presaleIsActive, "Presale not active yet!");
    require(numberOfTokens > 0, "Need to mint at least 1 token");
    require(numberOfTokens <= _allowList[msg.sender], "Exceeded max available to purchase");
    require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
    require(PRICE_PER_TOKEN * numberOfTokens <= msg.value, "Ether value sent is not correct");

    _allowList[msg.sender] -= numberOfTokens;

    for (uint256 i = 0; i < numberOfTokens; i++) {
        mintTo(msg.sender);
    }
  }

  function mintSeed(uint numberOfTokens) external payable {
    uint256 ts = totalSupply();

    require(saleIsActive, "Sale must be active to mint tokens");
    require(numberOfTokens <= maxPublicMintPerTransaction, "Exceeded max token purchase");
    require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
    require(PRICE_PER_TOKEN * numberOfTokens <= msg.value, "Ether value sent is not correct");

    for (uint256 i = 0; i < numberOfTokens; i++) {
        mintTo(msg.sender);
    }
  }

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

  // used externally for phase 2 minting of characters + landscapes
  function burnDreamSeed(uint256 tokenId) external {
    require(dreamSeedsBurnableThruAllowlist == true, "unable to burn");
    require(tokenId >= 1 && tokenId <= MAX_SUPPLY, "Not valid token range");
    require(_allowListBurn[msg.sender], "ERC721Burnable: caller is not owner nor approved");

    _burn(tokenId);
  }

  // will disable burning mechanics once phase 2 is complete
  function permanentlyDisableAllowlistBurn() external onlyOwner {
      dreamSeedsBurnableThruAllowlist = false;
  }
}

File 5 of 22 : ERC721TradableBurnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";


import "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";

contract OwnableDelegateProxy {}

/**
 * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
 */
contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC721TradableBurnable
 * ERC721TradableBurnable - ERC721 contract that whitelists a trading address, and has minting functionality.
 */
abstract contract ERC721TradableBurnable is ERC721, ContextMixin, ERC721Burnable, NativeMetaTransaction, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;


    Counters.Counter private _nextTokenId;
    address proxyRegistryAddress;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721(_name, _symbol) {
        proxyRegistryAddress = _proxyRegistryAddress;
        // nextTokenId is initialized to 1, since starting at 0 leads to higher gas cost for the first minter
        _nextTokenId.increment();
        _initializeEIP712(_name);
    }

    /**
     * @dev Mints a token to an address with a tokenURI.
     * @param _to address of the future owner of the token
     */
    function mintTo(address _to) internal {
        uint256 currentTokenId = _nextTokenId.current();
        _nextTokenId.increment();
        _safeMint(_to, currentTokenId);
    }

    /**
        @dev Returns the total tokens minted so far.
        1 is always subtracted from the Counter since it tracks the next available tokenId.
     */
    function totalSupply() public view returns (uint256) {
        return _nextTokenId.current() - 1;
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || 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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 22 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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. 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 11 of 22 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 12 of 22 : ContentMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 13 of 22 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {SafeMath} from  "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 22 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 17 of 22 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 21 of 22 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {Initializable} from "./Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

File 22 of 22 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractDreamSeeds","outputs":[{"internalType":"contract DreamSeedsNFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seedTokenId","type":"uint256"}],"name":"mintLandscape","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveLandscape","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"revealAll","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":"newAddress","type":"address"}],"name":"setContractDreamSeeds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6006805460ff19169055600d805460ff60a81b1960ff60a01b19909116600160a01b1716905561010060405260516080818152906200371360a03980516200005091600e916020909101906200036b565b503480156200005e57600080fd5b50604051620037b4380380620037b4833981016040819052620000819162000424565b6040518060400160405280601481526020017f447265616d204c616e64736361706573204e46540000000000000000000000008152506040518060400160405280600e81526020016d445245414d4c414e44534341504560901b8152508282828160009080519060200190620000f99291906200036b565b5080516200010f9060019060208401906200036b565b5050506200012c62000126620001a560201b60201c565b620001c2565b600b80546001600160a01b0319166001600160a01b0383161790556200015f600a62000214602090811b6200109717901c565b6200016a836200021d565b505050604051806080016040528060508152602001620037646050913980516200019d91600c916020909101906200036b565b505062000579565b6000620001bc6200026760201b620010a01760201c565b90505b90565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b60065460ff16156200024c5760405162461bcd60e51b81526004016200024390620004eb565b60405180910390fd5b6200025781620002c5565b506006805460ff19166001179055565b600033301415620002c057600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620001bf9050565b503390565b6040518060800160405280604f8152602001620036c4604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6306200033362000367565b6040516200034995949392919060200162000495565b60408051601f19818403018152919052805160209091012060075550565b4690565b828054620003799062000518565b90600052602060002090601f0160209004810192826200039d5760008555620003e8565b82601f10620003b857805160ff1916838001178555620003e8565b82800160010185558215620003e8579182015b82811115620003e8578251825591602001919060010190620003cb565b50620003f6929150620003fa565b5090565b5b80821115620003f65760008155600101620003fb565b80516200041e816200055f565b92915050565b6000602082840312156200043757600080fd5b600062000445848462000411565b949350505050565b620004588162000506565b82525050565b6200045881620001bf565b600062000478600e83620004fd565b6d185b1c9958591e481a5b9a5d195960921b815260200192915050565b60a08101620004a582886200045e565b620004b460208301876200045e565b620004c360408301866200045e565b620004d260608301856200044d565b620004e160808301846200045e565b9695505050505050565b602080825281016200041e8162000469565b90815260200190565b60006001600160a01b0382166200041e565b6002810460018216806200052d57607f821691505b6020821081141562000543576200054362000549565b50919050565b634e487b7160e01b600052602260045260246000fd5b6200056a8162000506565b81146200057657600080fd5b50565b61313b80620005896000396000f3fe6080604052600436106102045760003560e01c80633b97dd5b116101185780638da5cb5b116100a0578063c87b56dd1161006f578063c87b56dd1461056c578063d1b828971461058c578063e73a0f41146105ae578063e985e9c5146105ce578063f2fde38b146105ee57610204565b80638da5cb5b1461050257806395d89b4114610517578063a22cb4651461052c578063b88d4fde1461054c57610204565b8063471a4294116100e7578063471a42941461048357806354214f69146104985780636352211e146104ad57806370a08231146104cd578063715018a6146104ed57610204565b80633b97dd5b1461040e5780633ccfd60b1461042e57806342842e0e1461044357806342966c681461046357610204565b806323b872dd1161019b578063326d43881161016a578063326d43881461038f57806332cb6b0c146103af5780633408e470146103c4578063348a29b7146103d957806338b3c0e2146103ee57610204565b806323b872dd1461030f57806326412aca1461032f5780632a85db551461034f5780632d0335ab1461036f57610204565b80630c53c51c116101d75780630c53c51c146102b05780630f7e5970146102c357806318160ddd146102d857806320379ee5146102fa57610204565b806301ffc9a71461020957806306fdde031461023f578063081812fc14610261578063095ea7b31461028e575b600080fd5b34801561021557600080fd5b5061022961022436600461202a565b61060e565b6040516102369190612ba9565b60405180910390f35b34801561024b57600080fd5b50610254610656565b6040516102369190612c22565b34801561026d57600080fd5b5061028161027c3660046120b9565b6106e9565b6040516102369190612b2a565b34801561029a57600080fd5b506102ae6102a9366004611fdc565b610735565b005b6102546102be366004611f4f565b6107cd565b3480156102cf57600080fd5b5061025461094f565b3480156102e457600080fd5b506102ed61096c565b6040516102369190612bb7565b34801561030657600080fd5b506102ed610989565b34801561031b57600080fd5b506102ae61032a366004611e59565b61098f565b34801561033b57600080fd5b506102ae61034a36600461200c565b6109c7565b34801561035b57600080fd5b506102ae61036a366004612084565b610a24565b34801561037b57600080fd5b506102ed61038a366004611de3565b610a7a565b34801561039b57600080fd5b506102ae6103aa366004612084565b610a95565b3480156103bb57600080fd5b506102ed610ae7565b3480156103d057600080fd5b506102ed610aed565b3480156103e557600080fd5b506102ae610af1565b3480156103fa57600080fd5b506102ae61040936600461200c565b610b63565b34801561041a57600080fd5b506102ae610429366004611de3565b610bc0565b34801561043a57600080fd5b506102ae610c21565b34801561044f57600080fd5b506102ae61045e366004611e59565b610c8f565b34801561046f57600080fd5b506102ae61047e3660046120b9565b610caa565b34801561048f57600080fd5b50610229610cdd565b3480156104a457600080fd5b50610229610ced565b3480156104b957600080fd5b506102816104c83660046120b9565b610cfd565b3480156104d957600080fd5b506102ed6104e8366004611de3565b610d32565b3480156104f957600080fd5b506102ae610d76565b34801561050e57600080fd5b50610281610dbf565b34801561052357600080fd5b50610254610dce565b34801561053857600080fd5b506102ae610547366004611f1f565b610ddd565b34801561055857600080fd5b506102ae610567366004611ea6565b610def565b34801561057857600080fd5b506102546105873660046120b9565b610e2e565b34801561059857600080fd5b506105a1610f01565b6040516102369190612c33565b3480156105ba57600080fd5b506102ae6105c93660046120b9565b610f10565b3480156105da57600080fd5b506102296105e9366004611e1f565b610f73565b3480156105fa57600080fd5b506102ae610609366004611de3565b611029565b60006001600160e01b031982166380ac58cd60e01b148061063f57506001600160e01b03198216635b5e139f60e01b145b8061064e575061064e826110fc565b90505b919050565b60606000805461066590612f4b565b80601f016020809104026020016040519081016040528092919081815260200182805461069190612f4b565b80156106de5780601f106106b3576101008083540402835291602001916106de565b820191906000526020600020905b8154815290600101906020018083116106c157829003601f168201915b505050505090505b90565b60006106f482611115565b6107195760405162461bcd60e51b815260040161071090612d31565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061074082610cfd565b9050806001600160a01b0316836001600160a01b031614156107745760405162461bcd60e51b815260040161071090612d71565b806001600160a01b0316610786611132565b6001600160a01b031614806107a257506107a2816105e9611132565b6107be5760405162461bcd60e51b815260040161071090612cf1565b6107c8838361113c565b505050565b60408051606081810183526001600160a01b0388166000818152600860209081529085902054845283015291810186905261080b87828787876111aa565b6108275760405162461bcd60e51b815260040161071090612d61565b6001600160a01b03871660009081526008602052604090205461084b906001611250565b6001600160a01b0388166000908152600860205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061089b90899033908a90612b38565b60405180910390a1600080306001600160a01b0316888a6040516020016108c3929190612a38565b60408051601f19818403018152908290526108dd91612a2c565b6000604051808303816000865af19150503d806000811461091a576040519150601f19603f3d011682016040523d82523d6000602084013e61091f565b606091505b5091509150816109415760405162461bcd60e51b815260040161071090612c71565b925050505b95945050505050565b604051806040016040528060018152602001603160f81b81525081565b6000600161097a600a611263565b6109849190612eac565b905090565b60075490565b6109a061099a611132565b82611267565b6109bc5760405162461bcd60e51b815260040161071090612d91565b6107c88383836112e4565b6109cf611132565b6001600160a01b03166109e0610dbf565b6001600160a01b031614610a065760405162461bcd60e51b815260040161071090612d41565b600d8054911515600160a01b0260ff60a01b19909216919091179055565b610a2c611132565b6001600160a01b0316610a3d610dbf565b6001600160a01b031614610a635760405162461bcd60e51b815260040161071090612d41565b8051610a7690600c906020840190611c93565b5050565b6001600160a01b031660009081526008602052604090205490565b610a9d611132565b6001600160a01b0316610aae610dbf565b6001600160a01b031614610ad45760405162461bcd60e51b815260040161071090612d41565b8051610a7690600e906020840190611c93565b61051481565b4690565b610af9611132565b6001600160a01b0316610b0a610dbf565b6001600160a01b031614610b305760405162461bcd60e51b815260040161071090612d41565b610514610b3b61096c565b10610b585760405162461bcd60e51b815260040161071090612c81565b610b6133611411565b565b610b6b611132565b6001600160a01b0316610b7c610dbf565b6001600160a01b031614610ba25760405162461bcd60e51b815260040161071090612d41565b600d8054911515600160a81b0260ff60a81b19909216919091179055565b610bc8611132565b6001600160a01b0316610bd9610dbf565b6001600160a01b031614610bff5760405162461bcd60e51b815260040161071090612d41565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610c29611132565b6001600160a01b0316610c3a610dbf565b6001600160a01b031614610c605760405162461bcd60e51b815260040161071090612d41565b6040514790339082156108fc029083906000818181858888f19350505050158015610a76573d6000803e3d6000fd5b6107c883838360405180602001604052806000815250610def565b610cb561099a611132565b610cd15760405162461bcd60e51b815260040161071090612da1565b610cda81611433565b50565b600d54600160a01b900460ff1681565b600d54600160a81b900460ff1681565b6000818152600260205260408120546001600160a01b03168061064e5760405162461bcd60e51b815260040161071090612d11565b60006001600160a01b038216610d5a5760405162461bcd60e51b815260040161071090612d01565b506001600160a01b031660009081526003602052604090205490565b610d7e611132565b6001600160a01b0316610d8f610dbf565b6001600160a01b031614610db55760405162461bcd60e51b815260040161071090612d41565b610b6160006114da565b6009546001600160a01b031690565b60606001805461066590612f4b565b610a76610de8611132565b838361152c565b610e00610dfa611132565b83611267565b610e1c5760405162461bcd60e51b815260040161071090612d91565b610e28848484846115cf565b50505050565b606060018210158015610e4357506105148211155b610e5f5760405162461bcd60e51b815260040161071090612ca1565b600d54600160a81b900460ff16610ecf576000610ea5610e7e84611602565b600c604051602001610e91929190612aae565b604051602081830303815290604052611725565b905080604051602001610eb89190612b13565b604051602081830303815290604052915050610651565b600e610eda83611602565b604051602001610eeb929190612a5a565b6040516020818303038152906040529050610651565b600d546001600160a01b031681565b600d54600160a01b900460ff16610f395760405162461bcd60e51b815260040161071090612c41565b610514610f4461096c565b10610f615760405162461bcd60e51b815260040161071090612c81565b610f6a81611888565b610cda33611411565b600b5460405163c455279160e01b81526000916001600160a01b039081169190841690829063c455279190610fac908890600401612b2a565b60206040518083038186803b158015610fc457600080fd5b505afa158015610fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffc9190612066565b6001600160a01b03161415611015576001915050611023565b61101f848461191d565b9150505b92915050565b611031611132565b6001600160a01b0316611042610dbf565b6001600160a01b0316146110685760405162461bcd60e51b815260040161071090612d41565b6001600160a01b03811661108e5760405162461bcd60e51b815260040161071090612c61565b610cda816114da565b80546001019055565b6000333014156110f757600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506106e69050565b503390565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b60006109846110a0565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061117182610cfd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166111d25760405162461bcd60e51b815260040161071090612ce1565b60016111e56111e08761194b565b6119a9565b838686604051600081526020016040526040516112059493929190612bfa565b6020604051602081039080840390855afa158015611227573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061125c8284612e1f565b9392505050565b5490565b600061127282611115565b61128e5760405162461bcd60e51b815260040161071090612cd1565b600061129983610cfd565b9050806001600160a01b0316846001600160a01b031614806112d45750836001600160a01b03166112c9846106e9565b6001600160a01b0316145b8061101f575061101f8185610f73565b826001600160a01b03166112f782610cfd565b6001600160a01b03161461131d5760405162461bcd60e51b815260040161071090612d51565b6001600160a01b0382166113435760405162461bcd60e51b815260040161071090612cb1565b61134e8383836107c8565b61135960008261113c565b6001600160a01b0383166000908152600360205260408120805460019290611382908490612eac565b90915550506001600160a01b03821660009081526003602052604081208054600192906113b0908490612e1f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061141d600a611263565b9050611429600a611097565b610a7682826119c5565b600061143e82610cfd565b905061144c816000846107c8565b61145760008361113c565b6001600160a01b0381166000908152600360205260408120805460019290611480908490612eac565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561155e5760405162461bcd60e51b815260040161071090612cc1565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906115c2908590612ba9565b60405180910390a3505050565b6115da8484846112e4565b6115e6848484846119df565b610e285760405162461bcd60e51b815260040161071090612c51565b60608161162757506040805180820190915260018152600360fc1b6020820152610651565b8160005b8115611651578061163b81612f78565b915061164a9050600a83612e4d565b915061162b565b60008167ffffffffffffffff81111561167a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116a4576020820181803683370190505b5090505b841561171d576116b9600183612eac565b91506116c6600a86612faf565b6116d1906030612e1f565b60f81b8183815181106116f457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611716600a86612e4d565b94506116a8565b949350505050565b60608151600014156117465750604080516020810190915260008152610651565b60006040518060600160405280604081526020016130c660409139905060006003845160026117759190612e1f565b61177f9190612e4d565b61178a906004612e77565b67ffffffffffffffff8111156117b057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117da576020820181803683370190505b509050600182016020820185865187015b80821015611846576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506117eb565b505060038651066001811461186257600281146118755761187d565b603d6001830353603d600283035361187d565b603d60018303535b509195945050505050565b3361189282611afa565b6001600160a01b0316146118b85760405162461bcd60e51b815260040161071090612d81565b600d5460405163548a531360e11b81526001600160a01b039091169063a914a626906118e8908490600401612bb7565b600060405180830381600087803b15801561190257600080fd5b505af1158015611916573d6000803e3d6000fd5b5050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000604051806080016040528060438152602001613083604391398051602091820120835184830151604080870151805190860120905161198c9501612bc5565b604051602081830303815290604052805190602001209050919050565b60006119b3610989565b8260405160200161198c929190612a7d565b610a76828260405180602001604052806000815250611b7b565b60006119f3846001600160a01b0316611bae565b15611aef57836001600160a01b031663150b7a02611a0f611132565b8786866040518563ffffffff1660e01b8152600401611a319493929190612b65565b602060405180830381600087803b158015611a4b57600080fd5b505af1925050508015611a7b575060408051601f3d908101601f19168201909252611a7891810190612048565b60015b611ad5573d808015611aa9576040519150601f19603f3d011682016040523d82523d6000602084013e611aae565b606091505b508051611acd5760405162461bcd60e51b815260040161071090612c51565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061171d565b506001949350505050565b600d546040516331a9108f60e11b81526000916001600160a01b031690636352211e90611b2b908590600401612bb7565b60206040518083038186803b158015611b4357600080fd5b505afa158015611b57573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190611e01565b611b858383611bb4565b611b9260008484846119df565b6107c85760405162461bcd60e51b815260040161071090612c51565b3b151590565b6001600160a01b038216611bda5760405162461bcd60e51b815260040161071090612d21565b611be381611115565b15611c005760405162461bcd60e51b815260040161071090612c91565b611c0c600083836107c8565b6001600160a01b0382166000908152600360205260408120805460019290611c35908490612e1f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c9f90612f4b565b90600052602060002090601f016020900481019282611cc15760008555611d07565b82601f10611cda57805160ff1916838001178555611d07565b82800160010185558215611d07579182015b82811115611d07578251825591602001919060010190611cec565b50611d13929150611d17565b5090565b5b80821115611d135760008155600101611d18565b6000611d3f611d3a84612ddb565b612db1565b905082815260208101848484011115611d5757600080fd5b611d62848285612f13565b509392505050565b803561102381613041565b805161102381613041565b803561102381613055565b80356110238161305e565b803561102381613067565b805161102381613067565b600082601f830112611dbd57600080fd5b813561101f848260208601611d2c565b805161102381613070565b803561102381613079565b600060208284031215611df557600080fd5b600061101f8484611d6a565b600060208284031215611e1357600080fd5b600061101f8484611d75565b60008060408385031215611e3257600080fd5b6000611e3e8585611d6a565b9250506020611e4f85828601611d6a565b9150509250929050565b600080600060608486031215611e6e57600080fd5b6000611e7a8686611d6a565b9350506020611e8b86828701611d6a565b9250506040611e9c86828701611d8b565b9150509250925092565b60008060008060808587031215611ebc57600080fd5b6000611ec88787611d6a565b9450506020611ed987828801611d6a565b9350506040611eea87828801611d8b565b925050606085013567ffffffffffffffff811115611f0757600080fd5b611f1387828801611dac565b91505092959194509250565b60008060408385031215611f3257600080fd5b6000611f3e8585611d6a565b9250506020611e4f85828601611d80565b600080600080600060a08688031215611f6757600080fd5b6000611f738888611d6a565b955050602086013567ffffffffffffffff811115611f9057600080fd5b611f9c88828901611dac565b9450506040611fad88828901611d8b565b9350506060611fbe88828901611d8b565b9250506080611fcf88828901611dd8565b9150509295509295909350565b60008060408385031215611fef57600080fd5b6000611ffb8585611d6a565b9250506020611e4f85828601611d8b565b60006020828403121561201e57600080fd5b600061101f8484611d80565b60006020828403121561203c57600080fd5b600061101f8484611d96565b60006020828403121561205a57600080fd5b600061101f8484611da1565b60006020828403121561207857600080fd5b600061101f8484611dcd565b60006020828403121561209657600080fd5b813567ffffffffffffffff8111156120ad57600080fd5b61101f84828501611dac565b6000602082840312156120cb57600080fd5b600061101f8484611d8b565b6120e081612ed9565b82525050565b6120e06120f282612ed9565b612f9e565b6120e081612ee4565b6120e0816106e6565b6120e0612115826106e6565b6106e6565b600061212582612e12565b61212f8185612e16565b935061213f818560208601612f1f565b61214881613031565b9093019392505050565b600061215d82612e12565b6121678185610651565b9350612177818560208601612f1f565b9290920192915050565b6120e081612ef6565b6000815461219781612f4b565b6121a18186610651565b94506001821680156121ba57600181146121cb576121fb565b60ff198316865281860193506121fb565b6121d485612e06565b60005b838110156121f3578154888201526001909101906020016121d7565b838801955050505b50505092915050565b6000612211601d83612e16565b7f4d7573742062652061637469766520746f206d696e7420746f6b656e73000000815260200192915050565b600061224a601283610651565b7122447265616d204c616e647363617065202360701b815260120192915050565b6000612278603283612e16565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015260400192915050565b60006122cc602683612e16565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015260400192915050565b6000612314600283610651565b61088b60f21b815260020192915050565b6000612332601c83612e16565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000815260200192915050565b600061236b602083612e16565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73815260200192915050565b60006123a4601c83612e16565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815260200192915050565b60006123dd600283610651565b61190160f01b815260020192915050565b60006123fb601583612e16565b744e6f742076616c696420746f6b656e2072616e676560581b815260200192915050565b600061242c600983610651565b6803d913730b6b2911d160bd1b815260090192915050565b6000612451602483612e16565b7f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b602082015260400192915050565b6000612497601983612e16565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000815260200192915050565b60006124d0604183610651565b7f226465736372697074696f6e223a20224120646f6f72776179206f70656e696e81527f6720696e746f20616e6f74686572206379636c65206f66206c6966652e2e2e226020820152600b60fa1b604082015260410192915050565b6000612539602c83612e16565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015260400192915050565b6000612587602583612e16565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5381526424a3a722a960d91b602082015260400192915050565b60006125ce603883612e16565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015260400192915050565b600061262d602a83612e16565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b602082015260400192915050565b6000612679602983612e16565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b602082015260400192915050565b60006126c4600283610651565b61227d60f01b815260020192915050565b60006126e2602083612e16565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373815260200192915050565b600061271b602c83612e16565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015260400192915050565b6000612769600583610651565b64173539b7b760d91b815260050192915050565b600061278a602083612e16565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b60006127c3602983612e16565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b602082015260400192915050565b600061280e602183612e16565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d6174638152600d60fb1b602082015260400192915050565b6000612851602183612e16565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015260400192915050565b6000612894601d83610651565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d0192915050565b60006128cd601783612e16565b7f6e6f74206f776e6572206f6620647265616d2073656564000000000000000000815260200192915050565b6000612906603183612e16565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b602082015260400192915050565b6000612959600a83610651565b691134b6b0b3b2911d101160b11b8152600a0192915050565b600061297f603d83610651565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2253746181527f747573222c202276616c7565223a22556e72657665616c6564227d5d2c0000006020820152603d0192915050565b60006129de603083612e16565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7781526f1b995c881b9bdc88185c1c1c9bdd995960821b602082015260400192915050565b6120e081612f0d565b600061125c8284612152565b6000612a448285612152565b9150612a5082846120e6565b5060140192915050565b6000612a66828561218a565b9150612a728284612152565b915061171d8261275c565b6000612a88826123d0565b9150612a948285612109565b602082019150612aa48284612109565b5060200192915050565b6000612ab98261241f565b9150612ac48261223d565b9150612ad08285612152565b9150612adb82612307565b9150612ae6826124c3565b9150612af182612972565b9150612afc8261294c565b9150612b08828461218a565b915061171d826126b7565b6000612b1e82612887565b915061125c8284612152565b6020810161102382846120d7565b60608101612b4682866120d7565b612b5360208301856120d7565b8181036040830152610946818461211a565b60808101612b7382876120d7565b612b8060208301866120d7565b612b8d6040830185612100565b8181036060830152612b9f818461211a565b9695505050505050565b6020810161102382846120f7565b602081016110238284612100565b60808101612bd38287612100565b612be06020830186612100565b612bed60408301856120d7565b6109466060830184612100565b60808101612c088287612100565b612c156020830186612a23565b612bed6040830185612100565b6020808252810161125c818461211a565b602081016110238284612181565b6020808252810161064e81612204565b6020808252810161064e8161226b565b6020808252810161064e816122bf565b6020808252810161064e81612325565b6020808252810161064e8161235e565b6020808252810161064e81612397565b6020808252810161064e816123ee565b6020808252810161064e81612444565b6020808252810161064e8161248a565b6020808252810161064e8161252c565b6020808252810161064e8161257a565b6020808252810161064e816125c1565b6020808252810161064e81612620565b6020808252810161064e8161266c565b6020808252810161064e816126d5565b6020808252810161064e8161270e565b6020808252810161064e8161277d565b6020808252810161064e816127b6565b6020808252810161064e81612801565b6020808252810161064e81612844565b6020808252810161064e816128c0565b6020808252810161064e816128f9565b6020808252810161064e816129d1565b60405181810167ffffffffffffffff81118282101715612dd357612dd361301b565b604052919050565b600067ffffffffffffffff821115612df557612df561301b565b506020601f91909101601f19160190565b60009081526020902090565b5190565b90815260200190565b6000612e2a826106e6565b9150612e35836106e6565b92508219821115612e4857612e48612fd9565b500190565b6000612e58826106e6565b9150612e63836106e6565b925082612e7257612e72612fef565b500490565b6000612e82826106e6565b9150612e8d836106e6565b9250816000190483118215151615612ea757612ea7612fd9565b500290565b6000612eb7826106e6565b9150612ec2836106e6565b925082821015612ed457612ed4612fd9565b500390565b600061064e82612f01565b151590565b6001600160e01b03191690565b600061064e82612ed9565b6001600160a01b031690565b60ff1690565b82818337506000910152565b60005b83811015612f3a578181015183820152602001612f22565b83811115610e285750506000910152565b600281046001821680612f5f57607f821691505b60208210811415612f7257612f72613005565b50919050565b6000612f83826106e6565b9150600019821415612f9757612f97612fd9565b5060010190565b600061064e82600061064e8261303b565b6000612fba826106e6565b9150612fc5836106e6565b925082612fd457612fd4612fef565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f01601f191690565b60601b90565b61304a81612ed9565b8114610cda57600080fd5b61304a81612ee4565b61304a816106e6565b61304a81612ee9565b61304a81612ef6565b61304a81612f0d56fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122047f213155692d6963e751be02a0cdf3d08b72393ffa896a2a8b39870014f89a664736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d524137314e76655846354546555364733837335771786b567554384876764154677a363565763365613964352f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d505767454467626b67394575754565674777647a54693545334d7a4a7537754d595a365953575662354e7543000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106102045760003560e01c80633b97dd5b116101185780638da5cb5b116100a0578063c87b56dd1161006f578063c87b56dd1461056c578063d1b828971461058c578063e73a0f41146105ae578063e985e9c5146105ce578063f2fde38b146105ee57610204565b80638da5cb5b1461050257806395d89b4114610517578063a22cb4651461052c578063b88d4fde1461054c57610204565b8063471a4294116100e7578063471a42941461048357806354214f69146104985780636352211e146104ad57806370a08231146104cd578063715018a6146104ed57610204565b80633b97dd5b1461040e5780633ccfd60b1461042e57806342842e0e1461044357806342966c681461046357610204565b806323b872dd1161019b578063326d43881161016a578063326d43881461038f57806332cb6b0c146103af5780633408e470146103c4578063348a29b7146103d957806338b3c0e2146103ee57610204565b806323b872dd1461030f57806326412aca1461032f5780632a85db551461034f5780632d0335ab1461036f57610204565b80630c53c51c116101d75780630c53c51c146102b05780630f7e5970146102c357806318160ddd146102d857806320379ee5146102fa57610204565b806301ffc9a71461020957806306fdde031461023f578063081812fc14610261578063095ea7b31461028e575b600080fd5b34801561021557600080fd5b5061022961022436600461202a565b61060e565b6040516102369190612ba9565b60405180910390f35b34801561024b57600080fd5b50610254610656565b6040516102369190612c22565b34801561026d57600080fd5b5061028161027c3660046120b9565b6106e9565b6040516102369190612b2a565b34801561029a57600080fd5b506102ae6102a9366004611fdc565b610735565b005b6102546102be366004611f4f565b6107cd565b3480156102cf57600080fd5b5061025461094f565b3480156102e457600080fd5b506102ed61096c565b6040516102369190612bb7565b34801561030657600080fd5b506102ed610989565b34801561031b57600080fd5b506102ae61032a366004611e59565b61098f565b34801561033b57600080fd5b506102ae61034a36600461200c565b6109c7565b34801561035b57600080fd5b506102ae61036a366004612084565b610a24565b34801561037b57600080fd5b506102ed61038a366004611de3565b610a7a565b34801561039b57600080fd5b506102ae6103aa366004612084565b610a95565b3480156103bb57600080fd5b506102ed610ae7565b3480156103d057600080fd5b506102ed610aed565b3480156103e557600080fd5b506102ae610af1565b3480156103fa57600080fd5b506102ae61040936600461200c565b610b63565b34801561041a57600080fd5b506102ae610429366004611de3565b610bc0565b34801561043a57600080fd5b506102ae610c21565b34801561044f57600080fd5b506102ae61045e366004611e59565b610c8f565b34801561046f57600080fd5b506102ae61047e3660046120b9565b610caa565b34801561048f57600080fd5b50610229610cdd565b3480156104a457600080fd5b50610229610ced565b3480156104b957600080fd5b506102816104c83660046120b9565b610cfd565b3480156104d957600080fd5b506102ed6104e8366004611de3565b610d32565b3480156104f957600080fd5b506102ae610d76565b34801561050e57600080fd5b50610281610dbf565b34801561052357600080fd5b50610254610dce565b34801561053857600080fd5b506102ae610547366004611f1f565b610ddd565b34801561055857600080fd5b506102ae610567366004611ea6565b610def565b34801561057857600080fd5b506102546105873660046120b9565b610e2e565b34801561059857600080fd5b506105a1610f01565b6040516102369190612c33565b3480156105ba57600080fd5b506102ae6105c93660046120b9565b610f10565b3480156105da57600080fd5b506102296105e9366004611e1f565b610f73565b3480156105fa57600080fd5b506102ae610609366004611de3565b611029565b60006001600160e01b031982166380ac58cd60e01b148061063f57506001600160e01b03198216635b5e139f60e01b145b8061064e575061064e826110fc565b90505b919050565b60606000805461066590612f4b565b80601f016020809104026020016040519081016040528092919081815260200182805461069190612f4b565b80156106de5780601f106106b3576101008083540402835291602001916106de565b820191906000526020600020905b8154815290600101906020018083116106c157829003601f168201915b505050505090505b90565b60006106f482611115565b6107195760405162461bcd60e51b815260040161071090612d31565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061074082610cfd565b9050806001600160a01b0316836001600160a01b031614156107745760405162461bcd60e51b815260040161071090612d71565b806001600160a01b0316610786611132565b6001600160a01b031614806107a257506107a2816105e9611132565b6107be5760405162461bcd60e51b815260040161071090612cf1565b6107c8838361113c565b505050565b60408051606081810183526001600160a01b0388166000818152600860209081529085902054845283015291810186905261080b87828787876111aa565b6108275760405162461bcd60e51b815260040161071090612d61565b6001600160a01b03871660009081526008602052604090205461084b906001611250565b6001600160a01b0388166000908152600860205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061089b90899033908a90612b38565b60405180910390a1600080306001600160a01b0316888a6040516020016108c3929190612a38565b60408051601f19818403018152908290526108dd91612a2c565b6000604051808303816000865af19150503d806000811461091a576040519150601f19603f3d011682016040523d82523d6000602084013e61091f565b606091505b5091509150816109415760405162461bcd60e51b815260040161071090612c71565b925050505b95945050505050565b604051806040016040528060018152602001603160f81b81525081565b6000600161097a600a611263565b6109849190612eac565b905090565b60075490565b6109a061099a611132565b82611267565b6109bc5760405162461bcd60e51b815260040161071090612d91565b6107c88383836112e4565b6109cf611132565b6001600160a01b03166109e0610dbf565b6001600160a01b031614610a065760405162461bcd60e51b815260040161071090612d41565b600d8054911515600160a01b0260ff60a01b19909216919091179055565b610a2c611132565b6001600160a01b0316610a3d610dbf565b6001600160a01b031614610a635760405162461bcd60e51b815260040161071090612d41565b8051610a7690600c906020840190611c93565b5050565b6001600160a01b031660009081526008602052604090205490565b610a9d611132565b6001600160a01b0316610aae610dbf565b6001600160a01b031614610ad45760405162461bcd60e51b815260040161071090612d41565b8051610a7690600e906020840190611c93565b61051481565b4690565b610af9611132565b6001600160a01b0316610b0a610dbf565b6001600160a01b031614610b305760405162461bcd60e51b815260040161071090612d41565b610514610b3b61096c565b10610b585760405162461bcd60e51b815260040161071090612c81565b610b6133611411565b565b610b6b611132565b6001600160a01b0316610b7c610dbf565b6001600160a01b031614610ba25760405162461bcd60e51b815260040161071090612d41565b600d8054911515600160a81b0260ff60a81b19909216919091179055565b610bc8611132565b6001600160a01b0316610bd9610dbf565b6001600160a01b031614610bff5760405162461bcd60e51b815260040161071090612d41565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610c29611132565b6001600160a01b0316610c3a610dbf565b6001600160a01b031614610c605760405162461bcd60e51b815260040161071090612d41565b6040514790339082156108fc029083906000818181858888f19350505050158015610a76573d6000803e3d6000fd5b6107c883838360405180602001604052806000815250610def565b610cb561099a611132565b610cd15760405162461bcd60e51b815260040161071090612da1565b610cda81611433565b50565b600d54600160a01b900460ff1681565b600d54600160a81b900460ff1681565b6000818152600260205260408120546001600160a01b03168061064e5760405162461bcd60e51b815260040161071090612d11565b60006001600160a01b038216610d5a5760405162461bcd60e51b815260040161071090612d01565b506001600160a01b031660009081526003602052604090205490565b610d7e611132565b6001600160a01b0316610d8f610dbf565b6001600160a01b031614610db55760405162461bcd60e51b815260040161071090612d41565b610b6160006114da565b6009546001600160a01b031690565b60606001805461066590612f4b565b610a76610de8611132565b838361152c565b610e00610dfa611132565b83611267565b610e1c5760405162461bcd60e51b815260040161071090612d91565b610e28848484846115cf565b50505050565b606060018210158015610e4357506105148211155b610e5f5760405162461bcd60e51b815260040161071090612ca1565b600d54600160a81b900460ff16610ecf576000610ea5610e7e84611602565b600c604051602001610e91929190612aae565b604051602081830303815290604052611725565b905080604051602001610eb89190612b13565b604051602081830303815290604052915050610651565b600e610eda83611602565b604051602001610eeb929190612a5a565b6040516020818303038152906040529050610651565b600d546001600160a01b031681565b600d54600160a01b900460ff16610f395760405162461bcd60e51b815260040161071090612c41565b610514610f4461096c565b10610f615760405162461bcd60e51b815260040161071090612c81565b610f6a81611888565b610cda33611411565b600b5460405163c455279160e01b81526000916001600160a01b039081169190841690829063c455279190610fac908890600401612b2a565b60206040518083038186803b158015610fc457600080fd5b505afa158015610fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffc9190612066565b6001600160a01b03161415611015576001915050611023565b61101f848461191d565b9150505b92915050565b611031611132565b6001600160a01b0316611042610dbf565b6001600160a01b0316146110685760405162461bcd60e51b815260040161071090612d41565b6001600160a01b03811661108e5760405162461bcd60e51b815260040161071090612c61565b610cda816114da565b80546001019055565b6000333014156110f757600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506106e69050565b503390565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b60006109846110a0565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061117182610cfd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166111d25760405162461bcd60e51b815260040161071090612ce1565b60016111e56111e08761194b565b6119a9565b838686604051600081526020016040526040516112059493929190612bfa565b6020604051602081039080840390855afa158015611227573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061125c8284612e1f565b9392505050565b5490565b600061127282611115565b61128e5760405162461bcd60e51b815260040161071090612cd1565b600061129983610cfd565b9050806001600160a01b0316846001600160a01b031614806112d45750836001600160a01b03166112c9846106e9565b6001600160a01b0316145b8061101f575061101f8185610f73565b826001600160a01b03166112f782610cfd565b6001600160a01b03161461131d5760405162461bcd60e51b815260040161071090612d51565b6001600160a01b0382166113435760405162461bcd60e51b815260040161071090612cb1565b61134e8383836107c8565b61135960008261113c565b6001600160a01b0383166000908152600360205260408120805460019290611382908490612eac565b90915550506001600160a01b03821660009081526003602052604081208054600192906113b0908490612e1f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061141d600a611263565b9050611429600a611097565b610a7682826119c5565b600061143e82610cfd565b905061144c816000846107c8565b61145760008361113c565b6001600160a01b0381166000908152600360205260408120805460019290611480908490612eac565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561155e5760405162461bcd60e51b815260040161071090612cc1565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906115c2908590612ba9565b60405180910390a3505050565b6115da8484846112e4565b6115e6848484846119df565b610e285760405162461bcd60e51b815260040161071090612c51565b60608161162757506040805180820190915260018152600360fc1b6020820152610651565b8160005b8115611651578061163b81612f78565b915061164a9050600a83612e4d565b915061162b565b60008167ffffffffffffffff81111561167a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116a4576020820181803683370190505b5090505b841561171d576116b9600183612eac565b91506116c6600a86612faf565b6116d1906030612e1f565b60f81b8183815181106116f457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611716600a86612e4d565b94506116a8565b949350505050565b60608151600014156117465750604080516020810190915260008152610651565b60006040518060600160405280604081526020016130c660409139905060006003845160026117759190612e1f565b61177f9190612e4d565b61178a906004612e77565b67ffffffffffffffff8111156117b057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117da576020820181803683370190505b509050600182016020820185865187015b80821015611846576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506117eb565b505060038651066001811461186257600281146118755761187d565b603d6001830353603d600283035361187d565b603d60018303535b509195945050505050565b3361189282611afa565b6001600160a01b0316146118b85760405162461bcd60e51b815260040161071090612d81565b600d5460405163548a531360e11b81526001600160a01b039091169063a914a626906118e8908490600401612bb7565b600060405180830381600087803b15801561190257600080fd5b505af1158015611916573d6000803e3d6000fd5b5050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000604051806080016040528060438152602001613083604391398051602091820120835184830151604080870151805190860120905161198c9501612bc5565b604051602081830303815290604052805190602001209050919050565b60006119b3610989565b8260405160200161198c929190612a7d565b610a76828260405180602001604052806000815250611b7b565b60006119f3846001600160a01b0316611bae565b15611aef57836001600160a01b031663150b7a02611a0f611132565b8786866040518563ffffffff1660e01b8152600401611a319493929190612b65565b602060405180830381600087803b158015611a4b57600080fd5b505af1925050508015611a7b575060408051601f3d908101601f19168201909252611a7891810190612048565b60015b611ad5573d808015611aa9576040519150601f19603f3d011682016040523d82523d6000602084013e611aae565b606091505b508051611acd5760405162461bcd60e51b815260040161071090612c51565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061171d565b506001949350505050565b600d546040516331a9108f60e11b81526000916001600160a01b031690636352211e90611b2b908590600401612bb7565b60206040518083038186803b158015611b4357600080fd5b505afa158015611b57573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190611e01565b611b858383611bb4565b611b9260008484846119df565b6107c85760405162461bcd60e51b815260040161071090612c51565b3b151590565b6001600160a01b038216611bda5760405162461bcd60e51b815260040161071090612d21565b611be381611115565b15611c005760405162461bcd60e51b815260040161071090612c91565b611c0c600083836107c8565b6001600160a01b0382166000908152600360205260408120805460019290611c35908490612e1f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c9f90612f4b565b90600052602060002090601f016020900481019282611cc15760008555611d07565b82601f10611cda57805160ff1916838001178555611d07565b82800160010185558215611d07579182015b82811115611d07578251825591602001919060010190611cec565b50611d13929150611d17565b5090565b5b80821115611d135760008155600101611d18565b6000611d3f611d3a84612ddb565b612db1565b905082815260208101848484011115611d5757600080fd5b611d62848285612f13565b509392505050565b803561102381613041565b805161102381613041565b803561102381613055565b80356110238161305e565b803561102381613067565b805161102381613067565b600082601f830112611dbd57600080fd5b813561101f848260208601611d2c565b805161102381613070565b803561102381613079565b600060208284031215611df557600080fd5b600061101f8484611d6a565b600060208284031215611e1357600080fd5b600061101f8484611d75565b60008060408385031215611e3257600080fd5b6000611e3e8585611d6a565b9250506020611e4f85828601611d6a565b9150509250929050565b600080600060608486031215611e6e57600080fd5b6000611e7a8686611d6a565b9350506020611e8b86828701611d6a565b9250506040611e9c86828701611d8b565b9150509250925092565b60008060008060808587031215611ebc57600080fd5b6000611ec88787611d6a565b9450506020611ed987828801611d6a565b9350506040611eea87828801611d8b565b925050606085013567ffffffffffffffff811115611f0757600080fd5b611f1387828801611dac565b91505092959194509250565b60008060408385031215611f3257600080fd5b6000611f3e8585611d6a565b9250506020611e4f85828601611d80565b600080600080600060a08688031215611f6757600080fd5b6000611f738888611d6a565b955050602086013567ffffffffffffffff811115611f9057600080fd5b611f9c88828901611dac565b9450506040611fad88828901611d8b565b9350506060611fbe88828901611d8b565b9250506080611fcf88828901611dd8565b9150509295509295909350565b60008060408385031215611fef57600080fd5b6000611ffb8585611d6a565b9250506020611e4f85828601611d8b565b60006020828403121561201e57600080fd5b600061101f8484611d80565b60006020828403121561203c57600080fd5b600061101f8484611d96565b60006020828403121561205a57600080fd5b600061101f8484611da1565b60006020828403121561207857600080fd5b600061101f8484611dcd565b60006020828403121561209657600080fd5b813567ffffffffffffffff8111156120ad57600080fd5b61101f84828501611dac565b6000602082840312156120cb57600080fd5b600061101f8484611d8b565b6120e081612ed9565b82525050565b6120e06120f282612ed9565b612f9e565b6120e081612ee4565b6120e0816106e6565b6120e0612115826106e6565b6106e6565b600061212582612e12565b61212f8185612e16565b935061213f818560208601612f1f565b61214881613031565b9093019392505050565b600061215d82612e12565b6121678185610651565b9350612177818560208601612f1f565b9290920192915050565b6120e081612ef6565b6000815461219781612f4b565b6121a18186610651565b94506001821680156121ba57600181146121cb576121fb565b60ff198316865281860193506121fb565b6121d485612e06565b60005b838110156121f3578154888201526001909101906020016121d7565b838801955050505b50505092915050565b6000612211601d83612e16565b7f4d7573742062652061637469766520746f206d696e7420746f6b656e73000000815260200192915050565b600061224a601283610651565b7122447265616d204c616e647363617065202360701b815260120192915050565b6000612278603283612e16565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015260400192915050565b60006122cc602683612e16565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015260400192915050565b6000612314600283610651565b61088b60f21b815260020192915050565b6000612332601c83612e16565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000815260200192915050565b600061236b602083612e16565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73815260200192915050565b60006123a4601c83612e16565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815260200192915050565b60006123dd600283610651565b61190160f01b815260020192915050565b60006123fb601583612e16565b744e6f742076616c696420746f6b656e2072616e676560581b815260200192915050565b600061242c600983610651565b6803d913730b6b2911d160bd1b815260090192915050565b6000612451602483612e16565b7f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b602082015260400192915050565b6000612497601983612e16565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000815260200192915050565b60006124d0604183610651565b7f226465736372697074696f6e223a20224120646f6f72776179206f70656e696e81527f6720696e746f20616e6f74686572206379636c65206f66206c6966652e2e2e226020820152600b60fa1b604082015260410192915050565b6000612539602c83612e16565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015260400192915050565b6000612587602583612e16565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5381526424a3a722a960d91b602082015260400192915050565b60006125ce603883612e16565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015260400192915050565b600061262d602a83612e16565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b602082015260400192915050565b6000612679602983612e16565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b602082015260400192915050565b60006126c4600283610651565b61227d60f01b815260020192915050565b60006126e2602083612e16565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373815260200192915050565b600061271b602c83612e16565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015260400192915050565b6000612769600583610651565b64173539b7b760d91b815260050192915050565b600061278a602083612e16565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b60006127c3602983612e16565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b602082015260400192915050565b600061280e602183612e16565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d6174638152600d60fb1b602082015260400192915050565b6000612851602183612e16565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015260400192915050565b6000612894601d83610651565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d0192915050565b60006128cd601783612e16565b7f6e6f74206f776e6572206f6620647265616d2073656564000000000000000000815260200192915050565b6000612906603183612e16565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b602082015260400192915050565b6000612959600a83610651565b691134b6b0b3b2911d101160b11b8152600a0192915050565b600061297f603d83610651565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2253746181527f747573222c202276616c7565223a22556e72657665616c6564227d5d2c0000006020820152603d0192915050565b60006129de603083612e16565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7781526f1b995c881b9bdc88185c1c1c9bdd995960821b602082015260400192915050565b6120e081612f0d565b600061125c8284612152565b6000612a448285612152565b9150612a5082846120e6565b5060140192915050565b6000612a66828561218a565b9150612a728284612152565b915061171d8261275c565b6000612a88826123d0565b9150612a948285612109565b602082019150612aa48284612109565b5060200192915050565b6000612ab98261241f565b9150612ac48261223d565b9150612ad08285612152565b9150612adb82612307565b9150612ae6826124c3565b9150612af182612972565b9150612afc8261294c565b9150612b08828461218a565b915061171d826126b7565b6000612b1e82612887565b915061125c8284612152565b6020810161102382846120d7565b60608101612b4682866120d7565b612b5360208301856120d7565b8181036040830152610946818461211a565b60808101612b7382876120d7565b612b8060208301866120d7565b612b8d6040830185612100565b8181036060830152612b9f818461211a565b9695505050505050565b6020810161102382846120f7565b602081016110238284612100565b60808101612bd38287612100565b612be06020830186612100565b612bed60408301856120d7565b6109466060830184612100565b60808101612c088287612100565b612c156020830186612a23565b612bed6040830185612100565b6020808252810161125c818461211a565b602081016110238284612181565b6020808252810161064e81612204565b6020808252810161064e8161226b565b6020808252810161064e816122bf565b6020808252810161064e81612325565b6020808252810161064e8161235e565b6020808252810161064e81612397565b6020808252810161064e816123ee565b6020808252810161064e81612444565b6020808252810161064e8161248a565b6020808252810161064e8161252c565b6020808252810161064e8161257a565b6020808252810161064e816125c1565b6020808252810161064e81612620565b6020808252810161064e8161266c565b6020808252810161064e816126d5565b6020808252810161064e8161270e565b6020808252810161064e8161277d565b6020808252810161064e816127b6565b6020808252810161064e81612801565b6020808252810161064e81612844565b6020808252810161064e816128c0565b6020808252810161064e816128f9565b6020808252810161064e816129d1565b60405181810167ffffffffffffffff81118282101715612dd357612dd361301b565b604052919050565b600067ffffffffffffffff821115612df557612df561301b565b506020601f91909101601f19160190565b60009081526020902090565b5190565b90815260200190565b6000612e2a826106e6565b9150612e35836106e6565b92508219821115612e4857612e48612fd9565b500190565b6000612e58826106e6565b9150612e63836106e6565b925082612e7257612e72612fef565b500490565b6000612e82826106e6565b9150612e8d836106e6565b9250816000190483118215151615612ea757612ea7612fd9565b500290565b6000612eb7826106e6565b9150612ec2836106e6565b925082821015612ed457612ed4612fd9565b500390565b600061064e82612f01565b151590565b6001600160e01b03191690565b600061064e82612ed9565b6001600160a01b031690565b60ff1690565b82818337506000910152565b60005b83811015612f3a578181015183820152602001612f22565b83811115610e285750506000910152565b600281046001821680612f5f57607f821691505b60208210811415612f7257612f72613005565b50919050565b6000612f83826106e6565b9150600019821415612f9757612f97612fd9565b5060010190565b600061064e82600061064e8261303b565b6000612fba826106e6565b9150612fc5836106e6565b925082612fd457612fd4612fef565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f01601f191690565b60601b90565b61304a81612ed9565b8114610cda57600080fd5b61304a81612ee4565b61304a816106e6565b61304a81612ee9565b61304a81612ef6565b61304a81612f0d56fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122047f213155692d6963e751be02a0cdf3d08b72393ffa896a2a8b39870014f89a664736f6c63430008000033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

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


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.