ETH Price: $3,426.42 (+3.19%)

Contract

0x9BfF5B603563caA5035bf0507C4155f21C4ebb78
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...197419862024-04-26 20:44:59211 days ago1714164299IN
0x9BfF5B60...21C4ebb78
0 ETH0.000255365.48128516
Set Approval For...195018212024-03-24 3:44:11244 days ago1711251851IN
0x9BfF5B60...21C4ebb78
0 ETH0.000682814.65599501
Set Approval For...194786092024-03-20 21:32:59248 days ago1710970379IN
0x9BfF5B60...21C4ebb78
0 ETH0.0021605646.37503994
Set Approval For...194759482024-03-20 12:36:11248 days ago1710938171IN
0x9BfF5B60...21C4ebb78
0 ETH0.0016063734.47970546
Set Approval For...194758342024-03-20 12:13:23248 days ago1710936803IN
0x9BfF5B60...21C4ebb78
0 ETH0.0016355935.10687571
Set Approval For...190900532024-01-26 10:02:35302 days ago1706263355IN
0x9BfF5B60...21C4ebb78
0 ETH0.0011337824.33590195
Set Approval For...188989642023-12-30 14:36:47329 days ago1703947007IN
0x9BfF5B60...21C4ebb78
0 ETH0.000696814.9333476
Set Approval For...165133232023-01-29 15:19:11664 days ago1675005551IN
0x9BfF5B60...21C4ebb78
0 ETH0.0008923419.15358239
Set Approval For...160401042022-11-24 13:21:47730 days ago1669296107IN
0x9BfF5B60...21C4ebb78
0 ETH0.0005562511.93968821
Set Approval For...156254742022-09-27 15:06:23788 days ago1664291183IN
0x9BfF5B60...21C4ebb78
0 ETH0.001495432.09784197
Set Approval For...153982452022-08-23 18:28:12823 days ago1661279292IN
0x9BfF5B60...21C4ebb78
0 ETH0.0006440513.82425743
Set Approval For...152917712022-08-06 23:47:51839 days ago1659829671IN
0x9BfF5B60...21C4ebb78
0 ETH0.000308256.61639504
Set Approval For...152872712022-08-06 7:00:06840 days ago1659769206IN
0x9BfF5B60...21C4ebb78
0 ETH0.000398168.54629159
Set Approval For...149657392022-06-15 5:01:30892 days ago1655269290IN
0x9BfF5B60...21C4ebb78
0 ETH0.0021761146.70883717
Transfer From148520072022-05-27 4:09:41911 days ago1653624581IN
0x9BfF5B60...21C4ebb78
0 ETH0.0017500842.4994793
Transfer From148520062022-05-27 4:09:31911 days ago1653624571IN
0x9BfF5B60...21C4ebb78
0 ETH0.0018518840.27671666
Transfer From148520052022-05-27 4:09:15911 days ago1653624555IN
0x9BfF5B60...21C4ebb78
0 ETH0.0016538235.96903471
Transfer From148520032022-05-27 4:08:54911 days ago1653624534IN
0x9BfF5B60...21C4ebb78
0 ETH0.0026187341.51510052
Set Mint State144571672022-03-25 18:56:25974 days ago1648234585IN
0x9BfF5B60...21C4ebb78
0 ETH0.0013146645.36599032
Mint Gardener144571642022-03-25 18:55:33974 days ago1648234533IN
0x9BfF5B60...21C4ebb78
0 ETH0.0058012239.75785366
Mint Gardener144571452022-03-25 18:52:00974 days ago1648234320IN
0x9BfF5B60...21C4ebb78
0 ETH0.0046927236.43027129
Mint Gardener144570462022-03-25 18:31:48974 days ago1648233108IN
0x9BfF5B60...21C4ebb78
0 ETH0.0061151747.47287103
Mint Gardener144559002022-03-25 14:10:52974 days ago1648217452IN
0x9BfF5B60...21C4ebb78
0 ETH0.0049610734
Mint Gardener144538052022-03-25 6:30:26974 days ago1648189826IN
0x9BfF5B60...21C4ebb78
0 ETH0.0054599742.38653978
Mint Gardener144538022022-03-25 6:29:20974 days ago1648189760IN
0x9BfF5B60...21C4ebb78
0 ETH0.005014138.92513478
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DreamGardenersNFT

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

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

contract DreamGardenersNFT is DreamSeedProduct {

  enum GardenerType { 
    DREAM, // 0 
    NIGHTMARE // 1
  }

  struct GardenerData { 
    GardenerType gardenerType;
    uint16 index; // index depending on type
  }

  struct GardenerSupplyData { 
    string metaURI;
    uint16 minted;
    uint16 numRevealed;
  }

  address public contractDreamGardens;
  GardenerData[] public gardeners; 
  GardenerSupplyData[2] public supplyData; 

  bytes4 constant sigOwnerOfGarden = bytes4(keccak256("ownerOf(uint256)"));
  bytes4 constant sigIsNightmare = bytes4(keccak256("isNightmare(uint256)"));

  constructor(address _proxyRegistryAddress) ERC721TradableBurnable("Dream Gardeners NFT", "DREAMGARDENER", _proxyRegistryAddress) {  

    _prerevealMetaURI = "https://gateway.pinata.cloud/ipfs/QmayQ94oBm5FStyLd8WfX99cq4CK9JorKt2hiwU5uNwDKN";
    
    // DREAM
    supplyData[uint8(GardenerType.DREAM)] = (GardenerSupplyData(
    {
      metaURI: "https://gateway.pinata.cloud/ipfs/QmRA71NveXF5EFUSds873WqxkVuT8HvvATgz65ev3ea9d5/", 
      minted: 0, 
      numRevealed:0
    }));

    // NIGHTMARE
    supplyData[uint8(GardenerType.NIGHTMARE)] = (GardenerSupplyData(
    {
        metaURI: "https://gateway.pinata.cloud/ipfs/QmRA71NveXF5EFUSds873WqxkVuT8HvvATgz65ev3ea9d5/", 
        minted: 0, 
        numRevealed:0
    }));
  }

  function setContractDreamGardens(address newAddress) external onlyOwner {
      contractDreamGardens = newAddress;
  }

  function setRevealedURI(GardenerType gardenerType, string memory _value) external onlyOwner {
    supplyData[uint(gardenerType)].metaURI = _value;
  }

  function setNumRevealed(GardenerType gardenerType, uint16 numRevealed) external onlyOwner {
    supplyData[uint(gardenerType)].numRevealed = numRevealed;
  }

  function getSupplyInfo(GardenerType gardenerType) external view returns (string memory, uint16, uint16) {
    return ( supplyData[uint(gardenerType)].metaURI, supplyData[uint(gardenerType)].minted, supplyData[uint(gardenerType)].numRevealed);
  }

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

    GardenerData memory gardenerData = gardeners[_tokenId-1];
    GardenerType gardenerType = gardenerData.gardenerType;
    uint16 typeIndex = gardenerData.index; // index within category

    bool isRevealed = typeIndex < supplyData[uint(gardenerType)].numRevealed;
    if (!isRevealed) { // prereveal

      string memory gardenerTypeStr = string(gardenerType == GardenerType.DREAM ? "Warden of the Light" : "Guardian of Shadows");

      string memory json = Base64.encode(
          bytes(string(
              abi.encodePacked(
                  '{"name": ', '"', gardenerTypeStr ,' #',Strings.toString(_tokenId),'",',
                  '"description": "Summoning...",',
                  '"attributes":[{"trait_type":"Status", "value":"Unrevealed"}, {"trait_type":"Type", "value":"',gardenerTypeStr,'"}],',
                  '"image": "', _prerevealMetaURI, '"}' 
              )
          ))
      );
      return string(abi.encodePacked('data:application/json;base64,', json));
    }  else { // revealed
      uint16 jsonIndex = typeIndex+1;
      return string(abi.encodePacked(supplyData[uint(gardenerType)].metaURI, Strings.toString(jsonIndex), ".json"));
    }
  }

  function isOwnerOfGarden(address ownerAddress, uint256 gardenTokenId) private returns (bool) {
    // check ownership of dream garden
    bytes memory data = abi.encodeWithSelector(sigOwnerOfGarden, gardenTokenId);
    (bool success, bytes memory returnedData) = contractDreamGardens.call(data);
    require(success);
    address addressSeedOwner =  abi.decode(returnedData, (address));
    return addressSeedOwner == ownerAddress;
  }

  function isGardenNightmare(uint256 gardenTokenId) private returns (bool) {
    bytes memory data = abi.encodeWithSelector(sigIsNightmare, gardenTokenId);
    (bool success, bytes memory returnedData) = contractDreamGardens.call(data);
    require(success);

    return abi.decode(returnedData, (bool));
  }

  // mints
  function reserveGardener(uint numberOfTokens, GardenerType gardenerType) external onlyOwner {
    for (uint256 i = 0; i < numberOfTokens; i++) {
      _mintTo(msg.sender, gardenerType);
    }
  }

  function _mintTo(address receiver, GardenerType gardenerType) private {
    require(totalSupply() < MAX_SUPPLY, "Purchase would exceed max tokens");

    uint16 index = supplyData[uint(gardenerType)].minted;
    supplyData[uint(gardenerType)].minted += 1;
    gardeners.push(GardenerData(gardenerType, index));

    mintTo(receiver);
  }

  function mintGardener(uint256 gardenTokenId, uint256 seedTokenId) external {
    require(mintIsActive, "Must be active to mint tokens");
    require(isOwnerOfGarden(msg.sender, gardenTokenId), "doesn't own garden!");

    // destroy seed
    burnDreamSeed(seedTokenId);

    // mint gardener
    GardenerType gardenerType = isGardenNightmare(gardenTokenId) ? GardenerType.NIGHTMARE : GardenerType.DREAM;
    _mintTo(msg.sender, gardenerType);
  }
}

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":"contractDreamGardens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"gardeners","outputs":[{"internalType":"enum DreamGardenersNFT.GardenerType","name":"gardenerType","type":"uint8"},{"internalType":"uint16","name":"index","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"enum DreamGardenersNFT.GardenerType","name":"gardenerType","type":"uint8"}],"name":"getSupplyInfo","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gardenTokenId","type":"uint256"},{"internalType":"uint256","name":"seedTokenId","type":"uint256"}],"name":"mintGardener","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"enum DreamGardenersNFT.GardenerType","name":"gardenerType","type":"uint8"}],"name":"reserveGardener","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":"setContractDreamGardens","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":"enum DreamGardenersNFT.GardenerType","name":"gardenerType","type":"uint8"},{"internalType":"uint16","name":"numRevealed","type":"uint16"}],"name":"setNumRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum DreamGardenersNFT.GardenerType","name":"gardenerType","type":"uint8"},{"internalType":"string","name":"_value","type":"string"}],"name":"setRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyData","outputs":[{"internalType":"string","name":"metaURI","type":"string"},{"internalType":"uint16","name":"minted","type":"uint16"},{"internalType":"uint16","name":"numRevealed","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526006805460ff19169055600d805460ff60a01b1916600160a01b1790553480156200002e57600080fd5b50604051620044e7380380620044e78339810160408190526200005191620004f5565b6040518060400160405280601381526020017f447265616d2047617264656e657273204e4654000000000000000000000000008152506040518060400160405280600d81526020016c222922a0a6a3a0a92222a722a960991b8152508282828160009080519060200190620000c89291906200043c565b508051620000de9060019060208401906200043c565b505050620000fb620000f56200027660201b60201c565b62000293565b600b80546001600160a01b0319166001600160a01b0383161790556200012e600a620002e5602090811b620016ca17901c565b6200013983620002ee565b505050604051806080016040528060508152602001620044976050913980516200016c91600c916020909101906200043c565b506040805160e08101909152605160608201818152829162004446608084013981526000602080830182905260409092015281518051601092620001b59284929101906200043c565b5060208201516001909101805460409384015161ffff908116620100000263ffff0000199190941661ffff199092169190911716919091179055805160e08101909152605160608201818152829162004446608084013981526000602080830182905260409092015281518051601292620002359284929101906200043c565b5060208201516001909101805460409093015161ffff908116620100000263ffff0000199190931661ffff199094169390931792909216179055506200064a565b60006200028d6200033860201b620016d31760201c565b90505b90565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b60065460ff16156200031d5760405162461bcd60e51b81526004016200031490620005bc565b60405180910390fd5b620003288162000396565b506006805460ff19166001179055565b6000333014156200039157600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620002909050565b503390565b6040518060800160405280604f8152602001620043f7604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6306200040462000438565b6040516200041a95949392919060200162000566565b60408051601f19818403018152919052805160209091012060075550565b4690565b8280546200044a90620005e9565b90600052602060002090601f0160209004810192826200046e5760008555620004b9565b82601f106200048957805160ff1916838001178555620004b9565b82800160010185558215620004b9579182015b82811115620004b95782518255916020019190600101906200049c565b50620004c7929150620004cb565b5090565b5b80821115620004c75760008155600101620004cc565b8051620004ef8162000630565b92915050565b6000602082840312156200050857600080fd5b6000620005168484620004e2565b949350505050565b6200052981620005d7565b82525050565b620005298162000290565b600062000549600e83620005ce565b6d185b1c9958591e481a5b9a5d195960921b815260200192915050565b60a081016200057682886200052f565b6200058560208301876200052f565b6200059460408301866200052f565b620005a360608301856200051e565b620005b260808301846200052f565b9695505050505050565b60208082528101620004ef816200053a565b90815260200190565b60006001600160a01b038216620004ef565b600281046001821680620005fe57607f821691505b602082108114156200061457620006146200061a565b50919050565b634e487b7160e01b600052602260045260246000fd5b6200063b81620005d7565b81146200064757600080fd5b50565b613d9d806200065a6000396000f3fe6080604052600436106102305760003560e01c8063471a42941161012e57806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd14610640578063d1b8289714610660578063e4dcbb1d14610682578063e985e9c5146106a2578063f2fde38b146106c257610230565b806395d89b41146105b6578063987a34f8146105cb5780639a465e42146105eb578063a22cb46514610600578063b88d4fde1461062057610230565b806370a08231116100f257806370a082311461052c578063715018a61461054c57806377bbedbc146105615780638da5cb5b146105815780639555a8421461059657610230565b8063471a4294146104895780634ca41d471461049e5780634f65ca3c146104be5780636352211e146104de578063669a73fb146104fe57610230565b806323b872dd116101bc5780633408e470116101805780633408e470146103ff5780633b97dd5b146104145780633ccfd60b1461043457806342842e0e1461044957806342966c681461046957610230565b806323b872dd1461036a57806326412aca1461038a5780632a85db55146103aa5780632d0335ab146103ca57806332cb6b0c146103ea57610230565b80630c53c51c116102035780630c53c51c146102dc5780630f7e5970146102ef57806313f89a811461030457806318160ddd1461033357806320379ee51461035557610230565b806301ffc9a71461023557806306fdde031461026b578063081812fc1461028d578063095ea7b3146102ba575b600080fd5b34801561024157600080fd5b50610255610250366004612a39565b6106e2565b604051610262919061372f565b60405180910390f35b34801561027757600080fd5b5061028061072a565b60405161026291906137a8565b34801561029957600080fd5b506102ad6102a8366004612b5e565b6107bd565b60405161026291906136ba565b3480156102c657600080fd5b506102da6102d53660046129cd565b610809565b005b6102806102ea366004612940565b6108a1565b3480156102fb57600080fd5b50610280610a23565b34801561031057600080fd5b5061032461031f366004612a93565b610a40565b604051610262939291906137e2565b34801561033f57600080fd5b50610348610bce565b604051610262919061373d565b34801561036157600080fd5b50610348610beb565b34801561037657600080fd5b506102da61038536600461284a565b610bf1565b34801561039657600080fd5b506102da6103a53660046129fd565b610c29565b3480156103b657600080fd5b506102da6103c5366004612b29565b610c86565b3480156103d657600080fd5b506103486103e53660046127d4565b610cdc565b3480156103f657600080fd5b50610348610cf7565b34801561040b57600080fd5b50610348610cfd565b34801561042057600080fd5b506102da61042f3660046127d4565b610d01565b34801561044057600080fd5b506102da610d62565b34801561045557600080fd5b506102da61046436600461284a565b610dd0565b34801561047557600080fd5b506102da610484366004612b5e565b610deb565b34801561049557600080fd5b50610255610e1e565b3480156104aa57600080fd5b506102da6104b9366004612b7c565b610e2e565b3480156104ca57600080fd5b506102da6104d93660046127d4565b610e94565b3480156104ea57600080fd5b506102ad6104f9366004612b5e565b610ef5565b34801561050a57600080fd5b5061051e610519366004612b5e565b610f2a565b6040516102629291906137c7565b34801561053857600080fd5b506103486105473660046127d4565b610f58565b34801561055857600080fd5b506102da610f9c565b34801561056d57600080fd5b506102da61057c366004612af9565b610fe7565b34801561058d57600080fd5b506102ad61108c565b3480156105a257600080fd5b506102da6105b1366004612ab1565b61109b565b3480156105c257600080fd5b50610280611135565b3480156105d757600080fd5b506103246105e6366004612b5e565b611144565b3480156105f757600080fd5b506102ad6111ff565b34801561060c57600080fd5b506102da61061b366004612910565b61120e565b34801561062c57600080fd5b506102da61063b366004612897565b611220565b34801561064c57600080fd5b5061028061065b366004612b5e565b61125f565b34801561066c57600080fd5b5061067561151a565b60405161026291906137b9565b34801561068e57600080fd5b506102da61069d366004612bac565b611529565b3480156106ae57600080fd5b506102556106bd366004612810565b6115a6565b3480156106ce57600080fd5b506102da6106dd3660046127d4565b61165c565b60006001600160e01b031982166380ac58cd60e01b148061071357506001600160e01b03198216635b5e139f60e01b145b8061072257506107228261172f565b90505b919050565b60606000805461073990613b71565b80601f016020809104026020016040519081016040528092919081815260200182805461076590613b71565b80156107b25780601f10610787576101008083540402835291602001916107b2565b820191906000526020600020905b81548152906001019060200180831161079557829003601f168201915b505050505090505b90565b60006107c882611748565b6107ed5760405162461bcd60e51b81526004016107e4906138ff565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061081482610ef5565b9050806001600160a01b0316836001600160a01b031614156108485760405162461bcd60e51b81526004016107e49061393f565b806001600160a01b031661085a611765565b6001600160a01b031614806108765750610876816106bd611765565b6108925760405162461bcd60e51b81526004016107e4906138bf565b61089c838361176f565b505050565b60408051606081810183526001600160a01b038816600081815260086020908152908590205484528301529181018690526108df87828787876117dd565b6108fb5760405162461bcd60e51b81526004016107e49061392f565b6001600160a01b03871660009081526008602052604090205461091f906001611883565b6001600160a01b0388166000908152600860205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061096f90899033908a906136c8565b60405180910390a1600080306001600160a01b0316888a604051602001610997929190613590565b60408051601f19818403018152908290526109b191613584565b6000604051808303816000865af19150503d80600081146109ee576040519150601f19603f3d011682016040523d82523d6000602084013e6109f3565b606091505b509150915081610a155760405162461bcd60e51b81526004016107e49061383f565b925050505b95945050505050565b604051806040016040528060018152602001603160f81b81525081565b60606000806010846001811115610a6757634e487b7160e01b600052602160045260246000fd5b60028110610a8557634e487b7160e01b600052603260045260246000fd5b600202016010856001811115610aab57634e487b7160e01b600052602160045260246000fd5b60028110610ac957634e487b7160e01b600052603260045260246000fd5b6002020160010160009054906101000a900461ffff166010866001811115610b0157634e487b7160e01b600052602160045260246000fd5b60028110610b1f57634e487b7160e01b600052603260045260246000fd5b6002020160010160029054906101000a900461ffff16828054610b4190613b71565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6d90613b71565b8015610bba5780601f10610b8f57610100808354040283529160200191610bba565b820191906000526020600020905b815481529060010190602001808311610b9d57829003601f168201915b505050505092509250925092509193909250565b60006001610bdc600a611896565b610be69190613ab6565b905090565b60075490565b610c02610bfc611765565b8261189a565b610c1e5760405162461bcd60e51b81526004016107e49061395f565b61089c838383611917565b610c31611765565b6001600160a01b0316610c4261108c565b6001600160a01b031614610c685760405162461bcd60e51b81526004016107e49061390f565b600d8054911515600160a01b0260ff60a01b19909216919091179055565b610c8e611765565b6001600160a01b0316610c9f61108c565b6001600160a01b031614610cc55760405162461bcd60e51b81526004016107e49061390f565b8051610cd890600c906020840190612663565b5050565b6001600160a01b031660009081526008602052604090205490565b61051481565b4690565b610d09611765565b6001600160a01b0316610d1a61108c565b6001600160a01b031614610d405760405162461bcd60e51b81526004016107e49061390f565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610d6a611765565b6001600160a01b0316610d7b61108c565b6001600160a01b031614610da15760405162461bcd60e51b81526004016107e49061390f565b6040514790339082156108fc029083906000818181858888f19350505050158015610cd8573d6000803e3d6000fd5b61089c83838360405180602001604052806000815250611220565b610df6610bfc611765565b610e125760405162461bcd60e51b81526004016107e49061397f565b610e1b81611a44565b50565b600d54600160a01b900460ff1681565b610e36611765565b6001600160a01b0316610e4761108c565b6001600160a01b031614610e6d5760405162461bcd60e51b81526004016107e49061390f565b60005b8281101561089c57610e823383611aeb565b80610e8c81613b9e565b915050610e70565b610e9c611765565b6001600160a01b0316610ead61108c565b6001600160a01b031614610ed35760405162461bcd60e51b81526004016107e49061390f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600260205260408120546001600160a01b0316806107225760405162461bcd60e51b81526004016107e4906138df565b600f8181548110610f3a57600080fd5b60009182526020909120015460ff81169150610100900461ffff1682565b60006001600160a01b038216610f805760405162461bcd60e51b81526004016107e4906138cf565b506001600160a01b031660009081526003602052604090205490565b610fa4611765565b6001600160a01b0316610fb561108c565b6001600160a01b031614610fdb5760405162461bcd60e51b81526004016107e49061390f565b610fe56000611c8b565b565b610fef611765565b6001600160a01b031661100061108c565b6001600160a01b0316146110265760405162461bcd60e51b81526004016107e49061390f565b80601083600181111561104957634e487b7160e01b600052602160045260246000fd5b6002811061106757634e487b7160e01b600052603260045260246000fd5b6002020160010160026101000a81548161ffff021916908361ffff1602179055505050565b6009546001600160a01b031690565b6110a3611765565b6001600160a01b03166110b461108c565b6001600160a01b0316146110da5760405162461bcd60e51b81526004016107e49061390f565b8060108360018111156110fd57634e487b7160e01b600052602160045260246000fd5b6002811061111b57634e487b7160e01b600052603260045260246000fd5b60020201600001908051906020019061089c929190612663565b60606001805461073990613b71565b6010816002811061115457600080fd5b600202018054909150819061116890613b71565b80601f016020809104026020016040519081016040528092919081815260200182805461119490613b71565b80156111e15780601f106111b6576101008083540402835291602001916111e1565b820191906000526020600020905b8154815290600101906020018083116111c457829003601f168201915b5050506001909301549192505061ffff808216916201000090041683565b600e546001600160a01b031681565b610cd8611219611765565b8383611cdd565b61123161122b611765565b8361189a565b61124d5760405162461bcd60e51b81526004016107e49061395f565b61125984848484611d80565b50505050565b60606001821015801561127457506105148211155b6112905760405162461bcd60e51b81526004016107e49061386f565b6000600f61129f600185613ab6565b815481106112bd57634e487b7160e01b600052603260045260246000fd5b600091825260209091206040805180820190915291018054829060ff1660018111156112f957634e487b7160e01b600052602160045260246000fd5b600181111561131857634e487b7160e01b600052602160045260246000fd5b81529054610100900461ffff16602091820152815190820151919250906000601083600181111561135957634e487b7160e01b600052602160045260246000fd5b6002811061137757634e487b7160e01b600052603260045260246000fd5b6002020160010160029054906101000a900461ffff1661ffff168261ffff161090508061148e576000808460018111156113c157634e487b7160e01b600052602160045260246000fd5b146113f75760405180604001604052806013815260200172477561726469616e206f6620536861646f777360681b815250611424565b6040518060400160405280601381526020017215d85c99195b881bd9881d1a1948131a59da1d606a1b8152505b9050600061145f826114358a611db3565b84600c60405160200161144b9493929190613606565b604051602081830303815290604052611ed6565b90508060405160200161147291906136a3565b6040516020818303038152906040529650505050505050610725565b600061149b8360016139fd565b905060108460018111156114bf57634e487b7160e01b600052602160045260246000fd5b600281106114dd57634e487b7160e01b600052603260045260246000fd5b600202016114ee61ffff8316611db3565b6040516020016114ff9291906135b2565b60405160208183030381529060405295505050505050610725565b600d546001600160a01b031681565b600d54600160a01b900460ff166115525760405162461bcd60e51b81526004016107e49061380f565b61155c3383612039565b6115785760405162461bcd60e51b81526004016107e49061396f565b61158181612146565b600061158c836121db565b61159757600061159a565b60015b905061089c3382611aeb565b600b5460405163c455279160e01b81526000916001600160a01b039081169190841690829063c4552791906115df9088906004016136ba565b60206040518083038186803b1580156115f757600080fd5b505afa15801561160b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162f9190612a75565b6001600160a01b03161415611648576001915050611656565b61165284846122cb565b9150505b92915050565b611664611765565b6001600160a01b031661167561108c565b6001600160a01b03161461169b5760405162461bcd60e51b81526004016107e49061390f565b6001600160a01b0381166116c15760405162461bcd60e51b81526004016107e49061382f565b610e1b81611c8b565b80546001019055565b60003330141561172a57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506107ba9050565b503390565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b6000610be66116d3565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117a482610ef5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166118055760405162461bcd60e51b81526004016107e4906138af565b6001611818611813876122f9565b612357565b838686604051600081526020016040526040516118389493929190613780565b6020604051602081039080840390855afa15801561185a573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061188f8284613a2e565b9392505050565b5490565b60006118a582611748565b6118c15760405162461bcd60e51b81526004016107e49061389f565b60006118cc83610ef5565b9050806001600160a01b0316846001600160a01b031614806119075750836001600160a01b03166118fc846107bd565b6001600160a01b0316145b80611652575061165281856115a6565b826001600160a01b031661192a82610ef5565b6001600160a01b0316146119505760405162461bcd60e51b81526004016107e49061391f565b6001600160a01b0382166119765760405162461bcd60e51b81526004016107e49061387f565b61198183838361089c565b61198c60008261176f565b6001600160a01b03831660009081526003602052604081208054600192906119b5908490613ab6565b90915550506001600160a01b03821660009081526003602052604081208054600192906119e3908490613a2e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611a4f82610ef5565b9050611a5d8160008461089c565b611a6860008361176f565b6001600160a01b0381166000908152600360205260408120805460019290611a91908490613ab6565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610514611af6610bce565b10611b135760405162461bcd60e51b81526004016107e49061384f565b60006010826001811115611b3757634e487b7160e01b600052602160045260246000fd5b60028110611b5557634e487b7160e01b600052603260045260246000fd5b6002020160019081015461ffff16915060108382811115611b8657634e487b7160e01b600052602160045260246000fd5b60028110611ba457634e487b7160e01b600052603260045260246000fd5b6002020160010160008282829054906101000a900461ffff16611bc791906139fd565b92506101000a81548161ffff021916908361ffff160217905550600f6040518060400160405280846001811115611c0e57634e487b7160e01b600052602160045260246000fd5b815261ffff8416602091820152825460018181018555600094855291909320825193018054929390929091839160ff1916908381811115611c5f57634e487b7160e01b600052602160045260246000fd5b021790555060209190910151815461ffff9091166101000262ffff001990911617905561089c83612373565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611d0f5760405162461bcd60e51b81526004016107e49061388f565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611d7390859061372f565b60405180910390a3505050565b611d8b848484611917565b611d9784848484612395565b6112595760405162461bcd60e51b81526004016107e49061381f565b606081611dd857506040805180820190915260018152600360fc1b6020820152610725565b8160005b8115611e025780611dec81613b9e565b9150611dfb9050600a83613a57565b9150611ddc565b60008167ffffffffffffffff811115611e2b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e55576020820181803683370190505b5090505b8415611ece57611e6a600183613ab6565b9150611e77600a86613bd5565b611e82906030613a2e565b60f81b818381518110611ea557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611ec7600a86613a57565b9450611e59565b949350505050565b6060815160001415611ef75750604080516020810190915260008152610725565b6000604051806060016040528060408152602001613d286040913990506000600384516002611f269190613a2e565b611f309190613a57565b611f3b906004613a81565b67ffffffffffffffff811115611f6157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f8b576020820181803683370190505b509050600182016020820185865187015b80821015611ff7576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050611f9c565b505060038651066001811461201357600281146120265761202e565b603d6001830353603d600283035361202e565b603d60018303535b509195945050505050565b6000807f6352211e6566aa027e75ac9dbf2423197fbd9b82b9d981a3ab367d355866aa1c8360405160240161206e919061373d565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252600e54915190925060009182916001600160a01b03909116906120c4908590613584565b6000604051808303816000865af19150503d8060008114612101576040519150601f19603f3d011682016040523d82523d6000602084013e612106565b606091505b50915091508161211557600080fd5b60008180602001905181019061212b91906127f2565b6001600160a01b039081169088161494505050505092915050565b33612150826124b0565b6001600160a01b0316146121765760405162461bcd60e51b81526004016107e49061394f565b600d5460405163548a531360e11b81526001600160a01b039091169063a914a626906121a690849060040161373d565b600060405180830381600087803b1580156121c057600080fd5b505af11580156121d4573d6000803e3d6000fd5b5050505050565b6000807f2778a78a608d787685477dea0bb6c9e90c46cea7fc30de2c826c73706897463583604051602401612210919061373d565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252600e54915190925060009182916001600160a01b0390911690612266908590613584565b6000604051808303816000865af19150503d80600081146122a3576040519150601f19603f3d011682016040523d82523d6000602084013e6122a8565b606091505b5091509150816122b757600080fd5b80806020019051810190610a1a9190612a1b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000604051806080016040528060438152602001613ce5604391398051602091820120835184830151604080870151805190860120905161233a950161374b565b604051602081830303815290604052805190602001209050919050565b6000612361610beb565b8260405160200161233a9291906135d5565b600061237f600a611896565b905061238b600a6116ca565b610cd88282612531565b60006123a9846001600160a01b031661254b565b156124a557836001600160a01b031663150b7a026123c5611765565b8786866040518563ffffffff1660e01b81526004016123e794939291906136f5565b602060405180830381600087803b15801561240157600080fd5b505af1925050508015612431575060408051601f3d908101601f1916820190925261242e91810190612a57565b60015b61248b573d80801561245f576040519150601f19603f3d011682016040523d82523d6000602084013e612464565b606091505b5080516124835760405162461bcd60e51b81526004016107e49061381f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ece565b506001949350505050565b600d546040516331a9108f60e11b81526000916001600160a01b031690636352211e906124e190859060040161373d565b60206040518083038186803b1580156124f957600080fd5b505afa15801561250d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072291906127f2565b610cd8828260405180602001604052806000815250612551565b3b151590565b61255b8383612584565b6125686000848484612395565b61089c5760405162461bcd60e51b81526004016107e49061381f565b6001600160a01b0382166125aa5760405162461bcd60e51b81526004016107e4906138ef565b6125b381611748565b156125d05760405162461bcd60e51b81526004016107e49061385f565b6125dc6000838361089c565b6001600160a01b0382166000908152600360205260408120805460019290612605908490613a2e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461266f90613b71565b90600052602060002090601f01602090048101928261269157600085556126d7565b82601f106126aa57805160ff19168380011785556126d7565b828001600101855582156126d7579182015b828111156126d75782518255916020019190600101906126bc565b506126e39291506126e7565b5090565b5b808211156126e357600081556001016126e8565b600061270f61270a846139b9565b61398f565b90508281526020810184848401111561272757600080fd5b612732848285613b39565b509392505050565b803561165681613c8d565b805161165681613c8d565b803561165681613ca1565b805161165681613ca1565b803561165681613caa565b803561165681613cb3565b805161165681613cb3565b600082601f83011261279857600080fd5b81356116528482602086016126fc565b805161165681613cbc565b803561165681613cc5565b803561165681613cd2565b803561165681613cdb565b6000602082840312156127e657600080fd5b6000611652848461273a565b60006020828403121561280457600080fd5b60006116528484612745565b6000806040838503121561282357600080fd5b600061282f858561273a565b92505060206128408582860161273a565b9150509250929050565b60008060006060848603121561285f57600080fd5b600061286b868661273a565b935050602061287c8682870161273a565b925050604061288d86828701612766565b9150509250925092565b600080600080608085870312156128ad57600080fd5b60006128b9878761273a565b94505060206128ca8782880161273a565b93505060406128db87828801612766565b925050606085013567ffffffffffffffff8111156128f857600080fd5b61290487828801612787565b91505092959194509250565b6000806040838503121561292357600080fd5b600061292f858561273a565b925050602061284085828601612750565b600080600080600060a0868803121561295857600080fd5b6000612964888861273a565b955050602086013567ffffffffffffffff81111561298157600080fd5b61298d88828901612787565b945050604061299e88828901612766565b93505060606129af88828901612766565b92505060806129c0888289016127c9565b9150509295509295909350565b600080604083850312156129e057600080fd5b60006129ec858561273a565b925050602061284085828601612766565b600060208284031215612a0f57600080fd5b60006116528484612750565b600060208284031215612a2d57600080fd5b6000611652848461275b565b600060208284031215612a4b57600080fd5b60006116528484612771565b600060208284031215612a6957600080fd5b6000611652848461277c565b600060208284031215612a8757600080fd5b600061165284846127a8565b600060208284031215612aa557600080fd5b600061165284846127b3565b60008060408385031215612ac457600080fd5b6000612ad085856127b3565b925050602083013567ffffffffffffffff811115612aed57600080fd5b61284085828601612787565b60008060408385031215612b0c57600080fd5b6000612b1885856127b3565b9250506020612840858286016127be565b600060208284031215612b3b57600080fd5b813567ffffffffffffffff811115612b5257600080fd5b61165284828501612787565b600060208284031215612b7057600080fd5b60006116528484612766565b60008060408385031215612b8f57600080fd5b6000612b9b8585612766565b9250506020612840858286016127b3565b60008060408385031215612bbf57600080fd5b60006129ec8585612766565b612bd481613ae3565b82525050565b612bd4612be682613ae3565b613bc4565b612bd481613aee565b612bd4816107ba565b612bd4612c09826107ba565b6107ba565b6000612c19826139f0565b612c2381856139f4565b9350612c33818560208601613b45565b612c3c81613c6d565b9093019392505050565b6000612c51826139f0565b612c5b8185610725565b9350612c6b818560208601613b45565b9290920192915050565b612bd481613b00565b612bd481613b2e565b60008154612c9481613b71565b612c9e8186610725565b9450600182168015612cb75760018114612cc857612cf8565b60ff19831686528186019350612cf8565b612cd1856139e4565b60005b83811015612cf057815488820152600190910190602001612cd4565b838801955050505b50505092915050565b6000612d0e601d836139f4565b7f4d7573742062652061637469766520746f206d696e7420746f6b656e73000000815260200192915050565b6000612d476032836139f4565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015260400192915050565b6000612d9b600283610725565b61202360f01b815260020192915050565b6000612db96026836139f4565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015260400192915050565b6000612e01600283610725565b61088b60f21b815260020192915050565b6000612e1f601c836139f4565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000815260200192915050565b6000612e586020836139f4565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73815260200192915050565b6000612e91601c836139f4565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815260200192915050565b6000612eca600283610725565b61190160f01b815260020192915050565b6000612ee86015836139f4565b744e6f742076616c696420746f6b656e2072616e676560581b815260200192915050565b6000612f19600983610725565b6803d913730b6b2911d160bd1b815260090192915050565b6000612f3e6024836139f4565b7f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b602082015260400192915050565b6000612f846019836139f4565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000815260200192915050565b6000612fbd602c836139f4565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015260400192915050565b600061300b6025836139f4565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5381526424a3a722a960d91b602082015260400192915050565b60006130526038836139f4565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015260400192915050565b60006130b1600183610725565b601160f91b815260010192915050565b60006130ce602a836139f4565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b602082015260400192915050565b600061311a6029836139f4565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b602082015260400192915050565b6000613165600483610725565b63089f574b60e21b815260040192915050565b6000613185600283610725565b61227d60f01b815260020192915050565b60006131a36020836139f4565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373815260200192915050565b60006131dc602c836139f4565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015260400192915050565b600061322a600583610725565b64173539b7b760d91b815260050192915050565b600061324b6020836139f4565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b60006132846029836139f4565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b602082015260400192915050565b60006132cf6021836139f4565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d6174638152600d60fb1b602082015260400192915050565b60006133126021836139f4565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015260400192915050565b6000613355601d83610725565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d0192915050565b600061338e6017836139f4565b7f6e6f74206f776e6572206f6620647265616d2073656564000000000000000000815260200192915050565b60006133c76031836139f4565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b602082015260400192915050565b600061341a6013836139f4565b72646f65736e2774206f776e2067617264656e2160681b815260200192915050565b6000613449605c83610725565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2253746181527f747573222c202276616c7565223a22556e72657665616c6564227d2c207b227460208201527f726169745f74797065223a2254797065222c202276616c7565223a22000000006040820152605c0192915050565b60006134ce600a83610725565b691134b6b0b3b2911d101160b11b8152600a0192915050565b60006134f46030836139f4565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7781526f1b995c881b9bdc88185c1c1c9bdd995960821b602082015260400192915050565b6000613546601e83610725565b7f226465736372697074696f6e223a202253756d6d6f6e696e672e2e2e222c00008152601e0192915050565b612bd481613b15565b612bd481613b28565b600061188f8284612c46565b600061359c8285612c46565b91506135a88284612bda565b5060140192915050565b60006135be8285612c87565b91506135ca8284612c46565b9150611ece8261321d565b60006135e082612ebd565b91506135ec8285612bfd565b6020820191506135fc8284612bfd565b5060200192915050565b600061361182612f0c565b915061361c826130a4565b91506136288287612c46565b915061363382612d8e565b915061363f8286612c46565b915061364a82612df4565b915061365582613539565b91506136608261343c565b915061366c8285612c46565b915061367782613158565b9150613682826134c1565b915061368e8284612c87565b915061369982613178565b9695505050505050565b60006136ae82613348565b915061188f8284612c46565b602081016116568284612bcb565b606081016136d68286612bcb565b6136e36020830185612bcb565b8181036040830152610a1a8184612c0e565b608081016137038287612bcb565b6137106020830186612bcb565b61371d6040830185612bf4565b81810360608301526136998184612c0e565b602081016116568284612beb565b602081016116568284612bf4565b608081016137598287612bf4565b6137666020830186612bf4565b6137736040830185612bcb565b610a1a6060830184612bf4565b6080810161378e8287612bf4565b61379b602083018661357b565b6137736040830185612bf4565b6020808252810161188f8184612c0e565b602081016116568284612c75565b604081016137d58285612c7e565b61188f6020830184613572565b606080825281016137f38186612c0e565b90506138026020830185613572565b611ece6040830184613572565b6020808252810161072281612d01565b6020808252810161072281612d3a565b6020808252810161072281612dac565b6020808252810161072281612e12565b6020808252810161072281612e4b565b6020808252810161072281612e84565b6020808252810161072281612edb565b6020808252810161072281612f31565b6020808252810161072281612f77565b6020808252810161072281612fb0565b6020808252810161072281612ffe565b6020808252810161072281613045565b60208082528101610722816130c1565b602080825281016107228161310d565b6020808252810161072281613196565b60208082528101610722816131cf565b602080825281016107228161323e565b6020808252810161072281613277565b60208082528101610722816132c2565b6020808252810161072281613305565b6020808252810161072281613381565b60208082528101610722816133ba565b602080825281016107228161340d565b60208082528101610722816134e7565b60405181810167ffffffffffffffff811182821017156139b1576139b1613c57565b604052919050565b600067ffffffffffffffff8211156139d3576139d3613c57565b506020601f91909101601f19160190565b60009081526020902090565b5190565b90815260200190565b6000613a0882613b15565b9150613a1383613b15565b92508261ffff03821115613a2957613a29613bff565b500190565b6000613a39826107ba565b9150613a44836107ba565b92508219821115613a2957613a29613bff565b6000613a62826107ba565b9150613a6d836107ba565b925082613a7c57613a7c613c15565b500490565b6000613a8c826107ba565b9150613a97836107ba565b9250816000190483118215151615613ab157613ab1613bff565b500290565b6000613ac1826107ba565b9150613acc836107ba565b925082821015613ade57613ade613bff565b500390565b600061072282613b1c565b151590565b6001600160e01b03191690565b600061072282613ae3565b8061072581613c7d565b61ffff1690565b6001600160a01b031690565b60ff1690565b600061072282613b0b565b82818337506000910152565b60005b83811015613b60578181015183820152602001613b48565b838111156112595750506000910152565b600281046001821680613b8557607f821691505b60208210811415613b9857613b98613c41565b50919050565b6000613ba9826107ba565b9150600019821415613bbd57613bbd613bff565b5060010190565b600061072282600061072282613c77565b6000613be0826107ba565b9150613beb836107ba565b925082613bfa57613bfa613c15565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f01601f191690565b60601b90565b60028110610e1b57610e1b613c2b565b613c9681613ae3565b8114610e1b57600080fd5b613c9681613aee565b613c96816107ba565b613c9681613af3565b613c9681613b00565b60028110610e1b57600080fd5b613c9681613b15565b613c9681613b2856fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220f349f8afd7741479827804f20fb75d43a5dad6c3c217cb23b26f97bb67c84c1d64736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d524137314e76655846354546555364733837335771786b567554384876764154677a363565763365613964352f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d61795139346f426d35465374794c64385766583939637134434b394a6f724b74326869775535754e77444b4e000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106102305760003560e01c8063471a42941161012e57806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd14610640578063d1b8289714610660578063e4dcbb1d14610682578063e985e9c5146106a2578063f2fde38b146106c257610230565b806395d89b41146105b6578063987a34f8146105cb5780639a465e42146105eb578063a22cb46514610600578063b88d4fde1461062057610230565b806370a08231116100f257806370a082311461052c578063715018a61461054c57806377bbedbc146105615780638da5cb5b146105815780639555a8421461059657610230565b8063471a4294146104895780634ca41d471461049e5780634f65ca3c146104be5780636352211e146104de578063669a73fb146104fe57610230565b806323b872dd116101bc5780633408e470116101805780633408e470146103ff5780633b97dd5b146104145780633ccfd60b1461043457806342842e0e1461044957806342966c681461046957610230565b806323b872dd1461036a57806326412aca1461038a5780632a85db55146103aa5780632d0335ab146103ca57806332cb6b0c146103ea57610230565b80630c53c51c116102035780630c53c51c146102dc5780630f7e5970146102ef57806313f89a811461030457806318160ddd1461033357806320379ee51461035557610230565b806301ffc9a71461023557806306fdde031461026b578063081812fc1461028d578063095ea7b3146102ba575b600080fd5b34801561024157600080fd5b50610255610250366004612a39565b6106e2565b604051610262919061372f565b60405180910390f35b34801561027757600080fd5b5061028061072a565b60405161026291906137a8565b34801561029957600080fd5b506102ad6102a8366004612b5e565b6107bd565b60405161026291906136ba565b3480156102c657600080fd5b506102da6102d53660046129cd565b610809565b005b6102806102ea366004612940565b6108a1565b3480156102fb57600080fd5b50610280610a23565b34801561031057600080fd5b5061032461031f366004612a93565b610a40565b604051610262939291906137e2565b34801561033f57600080fd5b50610348610bce565b604051610262919061373d565b34801561036157600080fd5b50610348610beb565b34801561037657600080fd5b506102da61038536600461284a565b610bf1565b34801561039657600080fd5b506102da6103a53660046129fd565b610c29565b3480156103b657600080fd5b506102da6103c5366004612b29565b610c86565b3480156103d657600080fd5b506103486103e53660046127d4565b610cdc565b3480156103f657600080fd5b50610348610cf7565b34801561040b57600080fd5b50610348610cfd565b34801561042057600080fd5b506102da61042f3660046127d4565b610d01565b34801561044057600080fd5b506102da610d62565b34801561045557600080fd5b506102da61046436600461284a565b610dd0565b34801561047557600080fd5b506102da610484366004612b5e565b610deb565b34801561049557600080fd5b50610255610e1e565b3480156104aa57600080fd5b506102da6104b9366004612b7c565b610e2e565b3480156104ca57600080fd5b506102da6104d93660046127d4565b610e94565b3480156104ea57600080fd5b506102ad6104f9366004612b5e565b610ef5565b34801561050a57600080fd5b5061051e610519366004612b5e565b610f2a565b6040516102629291906137c7565b34801561053857600080fd5b506103486105473660046127d4565b610f58565b34801561055857600080fd5b506102da610f9c565b34801561056d57600080fd5b506102da61057c366004612af9565b610fe7565b34801561058d57600080fd5b506102ad61108c565b3480156105a257600080fd5b506102da6105b1366004612ab1565b61109b565b3480156105c257600080fd5b50610280611135565b3480156105d757600080fd5b506103246105e6366004612b5e565b611144565b3480156105f757600080fd5b506102ad6111ff565b34801561060c57600080fd5b506102da61061b366004612910565b61120e565b34801561062c57600080fd5b506102da61063b366004612897565b611220565b34801561064c57600080fd5b5061028061065b366004612b5e565b61125f565b34801561066c57600080fd5b5061067561151a565b60405161026291906137b9565b34801561068e57600080fd5b506102da61069d366004612bac565b611529565b3480156106ae57600080fd5b506102556106bd366004612810565b6115a6565b3480156106ce57600080fd5b506102da6106dd3660046127d4565b61165c565b60006001600160e01b031982166380ac58cd60e01b148061071357506001600160e01b03198216635b5e139f60e01b145b8061072257506107228261172f565b90505b919050565b60606000805461073990613b71565b80601f016020809104026020016040519081016040528092919081815260200182805461076590613b71565b80156107b25780601f10610787576101008083540402835291602001916107b2565b820191906000526020600020905b81548152906001019060200180831161079557829003601f168201915b505050505090505b90565b60006107c882611748565b6107ed5760405162461bcd60e51b81526004016107e4906138ff565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061081482610ef5565b9050806001600160a01b0316836001600160a01b031614156108485760405162461bcd60e51b81526004016107e49061393f565b806001600160a01b031661085a611765565b6001600160a01b031614806108765750610876816106bd611765565b6108925760405162461bcd60e51b81526004016107e4906138bf565b61089c838361176f565b505050565b60408051606081810183526001600160a01b038816600081815260086020908152908590205484528301529181018690526108df87828787876117dd565b6108fb5760405162461bcd60e51b81526004016107e49061392f565b6001600160a01b03871660009081526008602052604090205461091f906001611883565b6001600160a01b0388166000908152600860205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061096f90899033908a906136c8565b60405180910390a1600080306001600160a01b0316888a604051602001610997929190613590565b60408051601f19818403018152908290526109b191613584565b6000604051808303816000865af19150503d80600081146109ee576040519150601f19603f3d011682016040523d82523d6000602084013e6109f3565b606091505b509150915081610a155760405162461bcd60e51b81526004016107e49061383f565b925050505b95945050505050565b604051806040016040528060018152602001603160f81b81525081565b60606000806010846001811115610a6757634e487b7160e01b600052602160045260246000fd5b60028110610a8557634e487b7160e01b600052603260045260246000fd5b600202016010856001811115610aab57634e487b7160e01b600052602160045260246000fd5b60028110610ac957634e487b7160e01b600052603260045260246000fd5b6002020160010160009054906101000a900461ffff166010866001811115610b0157634e487b7160e01b600052602160045260246000fd5b60028110610b1f57634e487b7160e01b600052603260045260246000fd5b6002020160010160029054906101000a900461ffff16828054610b4190613b71565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6d90613b71565b8015610bba5780601f10610b8f57610100808354040283529160200191610bba565b820191906000526020600020905b815481529060010190602001808311610b9d57829003601f168201915b505050505092509250925092509193909250565b60006001610bdc600a611896565b610be69190613ab6565b905090565b60075490565b610c02610bfc611765565b8261189a565b610c1e5760405162461bcd60e51b81526004016107e49061395f565b61089c838383611917565b610c31611765565b6001600160a01b0316610c4261108c565b6001600160a01b031614610c685760405162461bcd60e51b81526004016107e49061390f565b600d8054911515600160a01b0260ff60a01b19909216919091179055565b610c8e611765565b6001600160a01b0316610c9f61108c565b6001600160a01b031614610cc55760405162461bcd60e51b81526004016107e49061390f565b8051610cd890600c906020840190612663565b5050565b6001600160a01b031660009081526008602052604090205490565b61051481565b4690565b610d09611765565b6001600160a01b0316610d1a61108c565b6001600160a01b031614610d405760405162461bcd60e51b81526004016107e49061390f565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610d6a611765565b6001600160a01b0316610d7b61108c565b6001600160a01b031614610da15760405162461bcd60e51b81526004016107e49061390f565b6040514790339082156108fc029083906000818181858888f19350505050158015610cd8573d6000803e3d6000fd5b61089c83838360405180602001604052806000815250611220565b610df6610bfc611765565b610e125760405162461bcd60e51b81526004016107e49061397f565b610e1b81611a44565b50565b600d54600160a01b900460ff1681565b610e36611765565b6001600160a01b0316610e4761108c565b6001600160a01b031614610e6d5760405162461bcd60e51b81526004016107e49061390f565b60005b8281101561089c57610e823383611aeb565b80610e8c81613b9e565b915050610e70565b610e9c611765565b6001600160a01b0316610ead61108c565b6001600160a01b031614610ed35760405162461bcd60e51b81526004016107e49061390f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600260205260408120546001600160a01b0316806107225760405162461bcd60e51b81526004016107e4906138df565b600f8181548110610f3a57600080fd5b60009182526020909120015460ff81169150610100900461ffff1682565b60006001600160a01b038216610f805760405162461bcd60e51b81526004016107e4906138cf565b506001600160a01b031660009081526003602052604090205490565b610fa4611765565b6001600160a01b0316610fb561108c565b6001600160a01b031614610fdb5760405162461bcd60e51b81526004016107e49061390f565b610fe56000611c8b565b565b610fef611765565b6001600160a01b031661100061108c565b6001600160a01b0316146110265760405162461bcd60e51b81526004016107e49061390f565b80601083600181111561104957634e487b7160e01b600052602160045260246000fd5b6002811061106757634e487b7160e01b600052603260045260246000fd5b6002020160010160026101000a81548161ffff021916908361ffff1602179055505050565b6009546001600160a01b031690565b6110a3611765565b6001600160a01b03166110b461108c565b6001600160a01b0316146110da5760405162461bcd60e51b81526004016107e49061390f565b8060108360018111156110fd57634e487b7160e01b600052602160045260246000fd5b6002811061111b57634e487b7160e01b600052603260045260246000fd5b60020201600001908051906020019061089c929190612663565b60606001805461073990613b71565b6010816002811061115457600080fd5b600202018054909150819061116890613b71565b80601f016020809104026020016040519081016040528092919081815260200182805461119490613b71565b80156111e15780601f106111b6576101008083540402835291602001916111e1565b820191906000526020600020905b8154815290600101906020018083116111c457829003601f168201915b5050506001909301549192505061ffff808216916201000090041683565b600e546001600160a01b031681565b610cd8611219611765565b8383611cdd565b61123161122b611765565b8361189a565b61124d5760405162461bcd60e51b81526004016107e49061395f565b61125984848484611d80565b50505050565b60606001821015801561127457506105148211155b6112905760405162461bcd60e51b81526004016107e49061386f565b6000600f61129f600185613ab6565b815481106112bd57634e487b7160e01b600052603260045260246000fd5b600091825260209091206040805180820190915291018054829060ff1660018111156112f957634e487b7160e01b600052602160045260246000fd5b600181111561131857634e487b7160e01b600052602160045260246000fd5b81529054610100900461ffff16602091820152815190820151919250906000601083600181111561135957634e487b7160e01b600052602160045260246000fd5b6002811061137757634e487b7160e01b600052603260045260246000fd5b6002020160010160029054906101000a900461ffff1661ffff168261ffff161090508061148e576000808460018111156113c157634e487b7160e01b600052602160045260246000fd5b146113f75760405180604001604052806013815260200172477561726469616e206f6620536861646f777360681b815250611424565b6040518060400160405280601381526020017215d85c99195b881bd9881d1a1948131a59da1d606a1b8152505b9050600061145f826114358a611db3565b84600c60405160200161144b9493929190613606565b604051602081830303815290604052611ed6565b90508060405160200161147291906136a3565b6040516020818303038152906040529650505050505050610725565b600061149b8360016139fd565b905060108460018111156114bf57634e487b7160e01b600052602160045260246000fd5b600281106114dd57634e487b7160e01b600052603260045260246000fd5b600202016114ee61ffff8316611db3565b6040516020016114ff9291906135b2565b60405160208183030381529060405295505050505050610725565b600d546001600160a01b031681565b600d54600160a01b900460ff166115525760405162461bcd60e51b81526004016107e49061380f565b61155c3383612039565b6115785760405162461bcd60e51b81526004016107e49061396f565b61158181612146565b600061158c836121db565b61159757600061159a565b60015b905061089c3382611aeb565b600b5460405163c455279160e01b81526000916001600160a01b039081169190841690829063c4552791906115df9088906004016136ba565b60206040518083038186803b1580156115f757600080fd5b505afa15801561160b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162f9190612a75565b6001600160a01b03161415611648576001915050611656565b61165284846122cb565b9150505b92915050565b611664611765565b6001600160a01b031661167561108c565b6001600160a01b03161461169b5760405162461bcd60e51b81526004016107e49061390f565b6001600160a01b0381166116c15760405162461bcd60e51b81526004016107e49061382f565b610e1b81611c8b565b80546001019055565b60003330141561172a57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506107ba9050565b503390565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b6000610be66116d3565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117a482610ef5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166118055760405162461bcd60e51b81526004016107e4906138af565b6001611818611813876122f9565b612357565b838686604051600081526020016040526040516118389493929190613780565b6020604051602081039080840390855afa15801561185a573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061188f8284613a2e565b9392505050565b5490565b60006118a582611748565b6118c15760405162461bcd60e51b81526004016107e49061389f565b60006118cc83610ef5565b9050806001600160a01b0316846001600160a01b031614806119075750836001600160a01b03166118fc846107bd565b6001600160a01b0316145b80611652575061165281856115a6565b826001600160a01b031661192a82610ef5565b6001600160a01b0316146119505760405162461bcd60e51b81526004016107e49061391f565b6001600160a01b0382166119765760405162461bcd60e51b81526004016107e49061387f565b61198183838361089c565b61198c60008261176f565b6001600160a01b03831660009081526003602052604081208054600192906119b5908490613ab6565b90915550506001600160a01b03821660009081526003602052604081208054600192906119e3908490613a2e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611a4f82610ef5565b9050611a5d8160008461089c565b611a6860008361176f565b6001600160a01b0381166000908152600360205260408120805460019290611a91908490613ab6565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610514611af6610bce565b10611b135760405162461bcd60e51b81526004016107e49061384f565b60006010826001811115611b3757634e487b7160e01b600052602160045260246000fd5b60028110611b5557634e487b7160e01b600052603260045260246000fd5b6002020160019081015461ffff16915060108382811115611b8657634e487b7160e01b600052602160045260246000fd5b60028110611ba457634e487b7160e01b600052603260045260246000fd5b6002020160010160008282829054906101000a900461ffff16611bc791906139fd565b92506101000a81548161ffff021916908361ffff160217905550600f6040518060400160405280846001811115611c0e57634e487b7160e01b600052602160045260246000fd5b815261ffff8416602091820152825460018181018555600094855291909320825193018054929390929091839160ff1916908381811115611c5f57634e487b7160e01b600052602160045260246000fd5b021790555060209190910151815461ffff9091166101000262ffff001990911617905561089c83612373565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611d0f5760405162461bcd60e51b81526004016107e49061388f565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611d7390859061372f565b60405180910390a3505050565b611d8b848484611917565b611d9784848484612395565b6112595760405162461bcd60e51b81526004016107e49061381f565b606081611dd857506040805180820190915260018152600360fc1b6020820152610725565b8160005b8115611e025780611dec81613b9e565b9150611dfb9050600a83613a57565b9150611ddc565b60008167ffffffffffffffff811115611e2b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e55576020820181803683370190505b5090505b8415611ece57611e6a600183613ab6565b9150611e77600a86613bd5565b611e82906030613a2e565b60f81b818381518110611ea557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611ec7600a86613a57565b9450611e59565b949350505050565b6060815160001415611ef75750604080516020810190915260008152610725565b6000604051806060016040528060408152602001613d286040913990506000600384516002611f269190613a2e565b611f309190613a57565b611f3b906004613a81565b67ffffffffffffffff811115611f6157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f8b576020820181803683370190505b509050600182016020820185865187015b80821015611ff7576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050611f9c565b505060038651066001811461201357600281146120265761202e565b603d6001830353603d600283035361202e565b603d60018303535b509195945050505050565b6000807f6352211e6566aa027e75ac9dbf2423197fbd9b82b9d981a3ab367d355866aa1c8360405160240161206e919061373d565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252600e54915190925060009182916001600160a01b03909116906120c4908590613584565b6000604051808303816000865af19150503d8060008114612101576040519150601f19603f3d011682016040523d82523d6000602084013e612106565b606091505b50915091508161211557600080fd5b60008180602001905181019061212b91906127f2565b6001600160a01b039081169088161494505050505092915050565b33612150826124b0565b6001600160a01b0316146121765760405162461bcd60e51b81526004016107e49061394f565b600d5460405163548a531360e11b81526001600160a01b039091169063a914a626906121a690849060040161373d565b600060405180830381600087803b1580156121c057600080fd5b505af11580156121d4573d6000803e3d6000fd5b5050505050565b6000807f2778a78a608d787685477dea0bb6c9e90c46cea7fc30de2c826c73706897463583604051602401612210919061373d565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252600e54915190925060009182916001600160a01b0390911690612266908590613584565b6000604051808303816000865af19150503d80600081146122a3576040519150601f19603f3d011682016040523d82523d6000602084013e6122a8565b606091505b5091509150816122b757600080fd5b80806020019051810190610a1a9190612a1b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000604051806080016040528060438152602001613ce5604391398051602091820120835184830151604080870151805190860120905161233a950161374b565b604051602081830303815290604052805190602001209050919050565b6000612361610beb565b8260405160200161233a9291906135d5565b600061237f600a611896565b905061238b600a6116ca565b610cd88282612531565b60006123a9846001600160a01b031661254b565b156124a557836001600160a01b031663150b7a026123c5611765565b8786866040518563ffffffff1660e01b81526004016123e794939291906136f5565b602060405180830381600087803b15801561240157600080fd5b505af1925050508015612431575060408051601f3d908101601f1916820190925261242e91810190612a57565b60015b61248b573d80801561245f576040519150601f19603f3d011682016040523d82523d6000602084013e612464565b606091505b5080516124835760405162461bcd60e51b81526004016107e49061381f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ece565b506001949350505050565b600d546040516331a9108f60e11b81526000916001600160a01b031690636352211e906124e190859060040161373d565b60206040518083038186803b1580156124f957600080fd5b505afa15801561250d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072291906127f2565b610cd8828260405180602001604052806000815250612551565b3b151590565b61255b8383612584565b6125686000848484612395565b61089c5760405162461bcd60e51b81526004016107e49061381f565b6001600160a01b0382166125aa5760405162461bcd60e51b81526004016107e4906138ef565b6125b381611748565b156125d05760405162461bcd60e51b81526004016107e49061385f565b6125dc6000838361089c565b6001600160a01b0382166000908152600360205260408120805460019290612605908490613a2e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461266f90613b71565b90600052602060002090601f01602090048101928261269157600085556126d7565b82601f106126aa57805160ff19168380011785556126d7565b828001600101855582156126d7579182015b828111156126d75782518255916020019190600101906126bc565b506126e39291506126e7565b5090565b5b808211156126e357600081556001016126e8565b600061270f61270a846139b9565b61398f565b90508281526020810184848401111561272757600080fd5b612732848285613b39565b509392505050565b803561165681613c8d565b805161165681613c8d565b803561165681613ca1565b805161165681613ca1565b803561165681613caa565b803561165681613cb3565b805161165681613cb3565b600082601f83011261279857600080fd5b81356116528482602086016126fc565b805161165681613cbc565b803561165681613cc5565b803561165681613cd2565b803561165681613cdb565b6000602082840312156127e657600080fd5b6000611652848461273a565b60006020828403121561280457600080fd5b60006116528484612745565b6000806040838503121561282357600080fd5b600061282f858561273a565b92505060206128408582860161273a565b9150509250929050565b60008060006060848603121561285f57600080fd5b600061286b868661273a565b935050602061287c8682870161273a565b925050604061288d86828701612766565b9150509250925092565b600080600080608085870312156128ad57600080fd5b60006128b9878761273a565b94505060206128ca8782880161273a565b93505060406128db87828801612766565b925050606085013567ffffffffffffffff8111156128f857600080fd5b61290487828801612787565b91505092959194509250565b6000806040838503121561292357600080fd5b600061292f858561273a565b925050602061284085828601612750565b600080600080600060a0868803121561295857600080fd5b6000612964888861273a565b955050602086013567ffffffffffffffff81111561298157600080fd5b61298d88828901612787565b945050604061299e88828901612766565b93505060606129af88828901612766565b92505060806129c0888289016127c9565b9150509295509295909350565b600080604083850312156129e057600080fd5b60006129ec858561273a565b925050602061284085828601612766565b600060208284031215612a0f57600080fd5b60006116528484612750565b600060208284031215612a2d57600080fd5b6000611652848461275b565b600060208284031215612a4b57600080fd5b60006116528484612771565b600060208284031215612a6957600080fd5b6000611652848461277c565b600060208284031215612a8757600080fd5b600061165284846127a8565b600060208284031215612aa557600080fd5b600061165284846127b3565b60008060408385031215612ac457600080fd5b6000612ad085856127b3565b925050602083013567ffffffffffffffff811115612aed57600080fd5b61284085828601612787565b60008060408385031215612b0c57600080fd5b6000612b1885856127b3565b9250506020612840858286016127be565b600060208284031215612b3b57600080fd5b813567ffffffffffffffff811115612b5257600080fd5b61165284828501612787565b600060208284031215612b7057600080fd5b60006116528484612766565b60008060408385031215612b8f57600080fd5b6000612b9b8585612766565b9250506020612840858286016127b3565b60008060408385031215612bbf57600080fd5b60006129ec8585612766565b612bd481613ae3565b82525050565b612bd4612be682613ae3565b613bc4565b612bd481613aee565b612bd4816107ba565b612bd4612c09826107ba565b6107ba565b6000612c19826139f0565b612c2381856139f4565b9350612c33818560208601613b45565b612c3c81613c6d565b9093019392505050565b6000612c51826139f0565b612c5b8185610725565b9350612c6b818560208601613b45565b9290920192915050565b612bd481613b00565b612bd481613b2e565b60008154612c9481613b71565b612c9e8186610725565b9450600182168015612cb75760018114612cc857612cf8565b60ff19831686528186019350612cf8565b612cd1856139e4565b60005b83811015612cf057815488820152600190910190602001612cd4565b838801955050505b50505092915050565b6000612d0e601d836139f4565b7f4d7573742062652061637469766520746f206d696e7420746f6b656e73000000815260200192915050565b6000612d476032836139f4565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015260400192915050565b6000612d9b600283610725565b61202360f01b815260020192915050565b6000612db96026836139f4565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015260400192915050565b6000612e01600283610725565b61088b60f21b815260020192915050565b6000612e1f601c836139f4565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000815260200192915050565b6000612e586020836139f4565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73815260200192915050565b6000612e91601c836139f4565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815260200192915050565b6000612eca600283610725565b61190160f01b815260020192915050565b6000612ee86015836139f4565b744e6f742076616c696420746f6b656e2072616e676560581b815260200192915050565b6000612f19600983610725565b6803d913730b6b2911d160bd1b815260090192915050565b6000612f3e6024836139f4565b7f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b602082015260400192915050565b6000612f846019836139f4565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000815260200192915050565b6000612fbd602c836139f4565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015260400192915050565b600061300b6025836139f4565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5381526424a3a722a960d91b602082015260400192915050565b60006130526038836139f4565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015260400192915050565b60006130b1600183610725565b601160f91b815260010192915050565b60006130ce602a836139f4565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b602082015260400192915050565b600061311a6029836139f4565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b602082015260400192915050565b6000613165600483610725565b63089f574b60e21b815260040192915050565b6000613185600283610725565b61227d60f01b815260020192915050565b60006131a36020836139f4565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373815260200192915050565b60006131dc602c836139f4565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015260400192915050565b600061322a600583610725565b64173539b7b760d91b815260050192915050565b600061324b6020836139f4565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b60006132846029836139f4565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b602082015260400192915050565b60006132cf6021836139f4565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d6174638152600d60fb1b602082015260400192915050565b60006133126021836139f4565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015260400192915050565b6000613355601d83610725565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d0192915050565b600061338e6017836139f4565b7f6e6f74206f776e6572206f6620647265616d2073656564000000000000000000815260200192915050565b60006133c76031836139f4565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b602082015260400192915050565b600061341a6013836139f4565b72646f65736e2774206f776e2067617264656e2160681b815260200192915050565b6000613449605c83610725565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2253746181527f747573222c202276616c7565223a22556e72657665616c6564227d2c207b227460208201527f726169745f74797065223a2254797065222c202276616c7565223a22000000006040820152605c0192915050565b60006134ce600a83610725565b691134b6b0b3b2911d101160b11b8152600a0192915050565b60006134f46030836139f4565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7781526f1b995c881b9bdc88185c1c1c9bdd995960821b602082015260400192915050565b6000613546601e83610725565b7f226465736372697074696f6e223a202253756d6d6f6e696e672e2e2e222c00008152601e0192915050565b612bd481613b15565b612bd481613b28565b600061188f8284612c46565b600061359c8285612c46565b91506135a88284612bda565b5060140192915050565b60006135be8285612c87565b91506135ca8284612c46565b9150611ece8261321d565b60006135e082612ebd565b91506135ec8285612bfd565b6020820191506135fc8284612bfd565b5060200192915050565b600061361182612f0c565b915061361c826130a4565b91506136288287612c46565b915061363382612d8e565b915061363f8286612c46565b915061364a82612df4565b915061365582613539565b91506136608261343c565b915061366c8285612c46565b915061367782613158565b9150613682826134c1565b915061368e8284612c87565b915061369982613178565b9695505050505050565b60006136ae82613348565b915061188f8284612c46565b602081016116568284612bcb565b606081016136d68286612bcb565b6136e36020830185612bcb565b8181036040830152610a1a8184612c0e565b608081016137038287612bcb565b6137106020830186612bcb565b61371d6040830185612bf4565b81810360608301526136998184612c0e565b602081016116568284612beb565b602081016116568284612bf4565b608081016137598287612bf4565b6137666020830186612bf4565b6137736040830185612bcb565b610a1a6060830184612bf4565b6080810161378e8287612bf4565b61379b602083018661357b565b6137736040830185612bf4565b6020808252810161188f8184612c0e565b602081016116568284612c75565b604081016137d58285612c7e565b61188f6020830184613572565b606080825281016137f38186612c0e565b90506138026020830185613572565b611ece6040830184613572565b6020808252810161072281612d01565b6020808252810161072281612d3a565b6020808252810161072281612dac565b6020808252810161072281612e12565b6020808252810161072281612e4b565b6020808252810161072281612e84565b6020808252810161072281612edb565b6020808252810161072281612f31565b6020808252810161072281612f77565b6020808252810161072281612fb0565b6020808252810161072281612ffe565b6020808252810161072281613045565b60208082528101610722816130c1565b602080825281016107228161310d565b6020808252810161072281613196565b60208082528101610722816131cf565b602080825281016107228161323e565b6020808252810161072281613277565b60208082528101610722816132c2565b6020808252810161072281613305565b6020808252810161072281613381565b60208082528101610722816133ba565b602080825281016107228161340d565b60208082528101610722816134e7565b60405181810167ffffffffffffffff811182821017156139b1576139b1613c57565b604052919050565b600067ffffffffffffffff8211156139d3576139d3613c57565b506020601f91909101601f19160190565b60009081526020902090565b5190565b90815260200190565b6000613a0882613b15565b9150613a1383613b15565b92508261ffff03821115613a2957613a29613bff565b500190565b6000613a39826107ba565b9150613a44836107ba565b92508219821115613a2957613a29613bff565b6000613a62826107ba565b9150613a6d836107ba565b925082613a7c57613a7c613c15565b500490565b6000613a8c826107ba565b9150613a97836107ba565b9250816000190483118215151615613ab157613ab1613bff565b500290565b6000613ac1826107ba565b9150613acc836107ba565b925082821015613ade57613ade613bff565b500390565b600061072282613b1c565b151590565b6001600160e01b03191690565b600061072282613ae3565b8061072581613c7d565b61ffff1690565b6001600160a01b031690565b60ff1690565b600061072282613b0b565b82818337506000910152565b60005b83811015613b60578181015183820152602001613b48565b838111156112595750506000910152565b600281046001821680613b8557607f821691505b60208210811415613b9857613b98613c41565b50919050565b6000613ba9826107ba565b9150600019821415613bbd57613bbd613bff565b5060010190565b600061072282600061072282613c77565b6000613be0826107ba565b9150613beb836107ba565b925082613bfa57613bfa613c15565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f01601f191690565b60601b90565b60028110610e1b57610e1b613c2b565b613c9681613ae3565b8114610e1b57600080fd5b613c9681613aee565b613c96816107ba565b613c9681613af3565b613c9681613b00565b60028110610e1b57600080fd5b613c9681613b15565b613c9681613b2856fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220f349f8afd7741479827804f20fb75d43a5dad6c3c217cb23b26f97bb67c84c1d64736f6c63430008000033

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


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.