ETH Price: $3,350.66 (-1.02%)

Token

BabyDragon (BabyDragon)
 

Overview

Max Total Supply

658 BabyDragon

Holders

122

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BabyDragon
0x56079e0b8fed6ac7b6c9f7917adcd3fe3154d3e9
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BabyDragon

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : babydragon-erc721.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

/*
Baby Dragon
*/

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";

contract BabyDragon is ERC721Enumerable, Ownable, ReentrancyGuard, DefaultOperatorFilterer {
  uint256 public MAX_SUPPLY = 1111;
  string private baseURI;
  uint256 public publicMintPrice = 60;
  bool public publicMintEnabled = true;
  uint256[] public alphaBabyList10p;
  uint256[] public alphaBabyList25p;

  mapping(address => uint256) public publicMinted;

  constructor(string memory uri) ERC721("BabyDragon", "BabyDragon") {
    baseURI = uri;

    // Set Epic IDs
    isEpic[620] = true;
    isEpic[707] = true;
    isEpic[741] = true;
    isEpic[913] = true;
    isEpic[1012] = true;
    isEpic[1172] = true;
    isEpic[1246] = true;
    isEpic[1256] = true;
    isEpic[1271] = true;
    isEpic[1526] = true;
    isEpic[1705] = true;
    isEpic[3023] = true;
    isEpic[3555] = true;
    isEpic[4104] = true;
    isEpic[4105] = true;
    isEpic[4164] = true;
    isEpic[4251] = true;
    isEpic[4640] = true;
    isEpic[4704] = true;
    isEpic[4904] = true;
    isEpic[5061] = true;
    isEpic[5233] = true;
    isEpic[5248] = true;
    isEpic[5825] = true;
    isEpic[6491] = true;

    // Set Normal IDs
    isNormal[21] = true;
    isNormal[28] = true;
    isNormal[51] = true;
    isNormal[73] = true;
    isNormal[88] = true;
    isNormal[92] = true;
    isNormal[98] = true;
    isNormal[101] = true;
    isNormal[113] = true;
    isNormal[155] = true;
    isNormal[166] = true;
    isNormal[203] = true;
    isNormal[221] = true;
    isNormal[222] = true;
    isNormal[274] = true;
    isNormal[296] = true;
    isNormal[335] = true;
    isNormal[360] = true;
    isNormal[401] = true;
    isNormal[410] = true;
    isNormal[459] = true;
    isNormal[519] = true;
    isNormal[547] = true;
    isNormal[596] = true;
    isNormal[603] = true;
    isNormal[635] = true;
    isNormal[679] = true;
    isNormal[690] = true;
    isNormal[747] = true;
    isNormal[755] = true;
    isNormal[757] = true;
    isNormal[786] = true;
    isNormal[789] = true;
    isNormal[813] = true;
    isNormal[826] = true;
    isNormal[868] = true;
    isNormal[883] = true;
    isNormal[905] = true;
    isNormal[908] = true;
    isNormal[923] = true;
    isNormal[963] = true;
    isNormal[975] = true;
    isNormal[1000] = true;
    isNormal[1005] = true;
    isNormal[1013] = true;
    isNormal[1072] = true;
    isNormal[1092] = true;
    isNormal[1154] = true;
    isNormal[1158] = true;
    isNormal[1165] = true;
    isNormal[1166] = true;
    isNormal[1167] = true;
    isNormal[1175] = true;
    isNormal[1182] = true;
    isNormal[1216] = true;
    isNormal[1219] = true;
    isNormal[1237] = true;
    isNormal[1252] = true;
    isNormal[1272] = true;
    isNormal[1273] = true;
    isNormal[1274] = true;
    isNormal[1284] = true;
    isNormal[1306] = true;
    isNormal[1334] = true;
    isNormal[1359] = true;
    isNormal[1367] = true;
    isNormal[1397] = true;
    isNormal[1404] = true;
    isNormal[1410] = true;
    isNormal[1424] = true;
    isNormal[1425] = true;
    isNormal[1463] = true;
    isNormal[1475] = true;
    isNormal[1489] = true;
    isNormal[1522] = true;
    isNormal[1534] = true;
    isNormal[1539] = true;
    isNormal[1555] = true;
    isNormal[1571] = true;
    isNormal[1575] = true;
    isNormal[1579] = true;
    isNormal[1623] = true;
    isNormal[1625] = true;
    isNormal[1639] = true;
    isNormal[1719] = true;
    isNormal[1772] = true;
    isNormal[1775] = true;
    isNormal[1781] = true;
    isNormal[1823] = true;
    isNormal[1829] = true;
    isNormal[1846] = true;
    isNormal[1852] = true;
    isNormal[1865] = true;
    isNormal[1901] = true;
    isNormal[1920] = true;
    isNormal[1922] = true;
    isNormal[1927] = true;
    isNormal[1936] = true;
    isNormal[1991] = true;
    isNormal[1992] = true;
    isNormal[2004] = true;
    isNormal[2008] = true;
    isNormal[2029] = true;
    isNormal[2046] = true;
    isNormal[2067] = true;
    isNormal[2074] = true;
    isNormal[2106] = true;
    isNormal[2150] = true;
    isNormal[2173] = true;
    isNormal[2182] = true;
    isNormal[2184] = true;
    isNormal[2268] = true;
    isNormal[2275] = true;
    isNormal[2315] = true;
    isNormal[2320] = true;
    isNormal[2322] = true;
    isNormal[2328] = true;
    isNormal[2357] = true;
    isNormal[2395] = true;
    isNormal[2396] = true;
    isNormal[2399] = true;
    isNormal[2404] = true;
    isNormal[2405] = true;
    isNormal[2409] = true;
    isNormal[2452] = true;
    isNormal[2454] = true;
    isNormal[2475] = true;
    isNormal[2477] = true;
    isNormal[2479] = true;
    isNormal[2536] = true;
    isNormal[2538] = true;
    isNormal[2600] = true;
    isNormal[2656] = true;
    isNormal[2657] = true;
    isNormal[2669] = true;
    isNormal[2705] = true;
    isNormal[2712] = true;
    isNormal[2733] = true;
    isNormal[2734] = true;
    isNormal[2761] = true;
    isNormal[2772] = true;
    isNormal[2839] = true;
    isNormal[2842] = true;
    isNormal[2845] = true;
    isNormal[2866] = true;
    isNormal[2875] = true;
    isNormal[2879] = true;
    isNormal[2883] = true;
    isNormal[2890] = true;
    isNormal[2891] = true;
    isNormal[2923] = true;
    isNormal[2940] = true;
    isNormal[2998] = true;
    isNormal[2999] = true;
    isNormal[3027] = true;
    isNormal[3036] = true;
    isNormal[3041] = true;
    isNormal[3114] = true;
    isNormal[3129] = true;
    isNormal[3140] = true;
    isNormal[3151] = true;
    isNormal[3208] = true;
    isNormal[3249] = true;
    isNormal[3261] = true;
    isNormal[3334] = true;
    isNormal[3343] = true;
    isNormal[3361] = true;
    isNormal[3368] = true;
    isNormal[3374] = true;
    isNormal[3404] = true;
    isNormal[3432] = true;
    isNormal[3460] = true;
    isNormal[3554] = true;
    isNormal[3588] = true;
    isNormal[3595] = true;
    isNormal[3660] = true;
    isNormal[3724] = true;
    isNormal[3770] = true;
    isNormal[3814] = true;
    isNormal[3826] = true;
    isNormal[3838] = true;
    isNormal[3848] = true;
    isNormal[3852] = true;
    isNormal[3855] = true;
    isNormal[3895] = true;
    isNormal[3909] = true;
    isNormal[3950] = true;
    isNormal[3959] = true;
    isNormal[3965] = true;
    isNormal[4006] = true;
    isNormal[4008] = true;
    isNormal[4057] = true;
    isNormal[4126] = true;
    isNormal[4161] = true;
    isNormal[4166] = true;
    isNormal[4192] = true;
    isNormal[4212] = true;
    isNormal[4223] = true;
    isNormal[4254] = true;
    isNormal[4261] = true;
    isNormal[4272] = true;
    isNormal[4285] = true;
    isNormal[4311] = true;
    isNormal[4315] = true;
    isNormal[4324] = true;
    isNormal[4335] = true;
    isNormal[4346] = true;
    isNormal[4387] = true;
    isNormal[4409] = true;
    isNormal[4453] = true;
    isNormal[4488] = true;
    isNormal[4490] = true;
    isNormal[4495] = true;
    isNormal[4500] = true;
    isNormal[4514] = true;
    isNormal[4518] = true;
    isNormal[4569] = true;
    isNormal[4591] = true;
    isNormal[4614] = true;
    isNormal[4619] = true;
    isNormal[4657] = true;
    isNormal[4773] = true;
    isNormal[4774] = true;
    isNormal[4787] = true;
    isNormal[4809] = true;
    isNormal[4850] = true;
    isNormal[4863] = true;
    isNormal[4864] = true;
    isNormal[4887] = true;
    isNormal[4890] = true;
    isNormal[4891] = true;
    isNormal[4913] = true;
    isNormal[4954] = true;
    isNormal[4965] = true;
    isNormal[4981] = true;
    isNormal[5003] = true;
    isNormal[5038] = true;
    isNormal[5053] = true;
    isNormal[5066] = true;
    isNormal[5069] = true;
    isNormal[5075] = true;
    isNormal[5103] = true;
    isNormal[5161] = true;
    isNormal[5174] = true;
    isNormal[5175] = true;
    isNormal[5194] = true;
    isNormal[5234] = true;
    isNormal[5238] = true;
    isNormal[5254] = true;
    isNormal[5269] = true;
    isNormal[5277] = true;
    isNormal[5304] = true;
    isNormal[5318] = true;
    isNormal[5322] = true;
    isNormal[5378] = true;
    isNormal[5392] = true;
    isNormal[5447] = true;
    isNormal[5478] = true;
    isNormal[5494] = true;
    isNormal[5503] = true;
    isNormal[5515] = true;
    isNormal[5535] = true;
    isNormal[5610] = true;
    isNormal[5623] = true;
    isNormal[5666] = true;
    isNormal[5699] = true;
    isNormal[5700] = true;
    isNormal[5716] = true;
    isNormal[5719] = true;
    isNormal[5734] = true;
    isNormal[5744] = true;
    isNormal[5804] = true;
    isNormal[5862] = true;
    isNormal[5874] = true;
    isNormal[5879] = true;
    isNormal[5886] = true;
    isNormal[5891] = true;
    isNormal[5918] = true;
    isNormal[5962] = true;
    isNormal[5999] = true;
    isNormal[6022] = true;
    isNormal[6066] = true;
    isNormal[6091] = true;
    isNormal[6103] = true;
    isNormal[6110] = true;
    isNormal[6115] = true;
    isNormal[6149] = true;
    isNormal[6172] = true;
    isNormal[6205] = true;
    isNormal[6215] = true;
    isNormal[6262] = true;
    isNormal[6289] = true;
    isNormal[6319] = true;
    isNormal[6342] = true;
    isNormal[6383] = true;
    isNormal[6392] = true;
    isNormal[6394] = true;
    isNormal[6397] = true;
    isNormal[6455] = true;
    isNormal[6464] = true;
    isNormal[6470] = true;
    isNormal[6493] = true;
    isNormal[6511] = true;
    isNormal[6517] = true;
    isNormal[6559] = true;
    isNormal[6595] = true;
    isNormal[6627] = true;
    isNormal[6702] = true;
    isNormal[6710] = true;
    isNormal[6712] = true;
    isNormal[6779] = true;
    isNormal[6783] = true;
    isNormal[6792] = true;
    isNormal[6807] = true;
    isNormal[6830] = true;
    isNormal[6840] = true;
    isNormal[6868] = true;
    isNormal[6897] = true;
    isNormal[6922] = true;

    isNormal[1961] = true;
    isNormal[2377] = true;
    isNormal[291] = true;
    isNormal[3536] = true;
    isNormal[4063] = true;
    isNormal[4181] = true;
    isNormal[4288] = true;
    isNormal[452] = true;
    isNormal[4826] = true;
    isNormal[4987] = true;
    isNormal[5597] = true;
    isNormal[6132] = true;
    isNormal[6142] = true;
    isNormal[6338] = true;
    isNormal[950] = true;
  }

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

  function setBaseURI(string memory newBaseURI) external onlyOwner {
    baseURI = newBaseURI;
  }

  function setMaxSupply(uint256 newMaxSupply) public onlyOwner {
    require(newMaxSupply != MAX_SUPPLY, "Same value as current max supply");
    require(newMaxSupply >= totalSupply(), "Value lower than total supply");
    MAX_SUPPLY = newMaxSupply;
  }

  function togglePublicMint() external onlyOwner {
    publicMintEnabled = !publicMintEnabled;
  }

  function setPublicMintPrice(uint256 newPrice) external onlyOwner {
    publicMintPrice = newPrice;
  }

  function getTokenIDs(address addr) external view returns (uint256[] memory) {
    uint256 total = totalSupply();
    uint256 count = balanceOf(addr);
    uint256[] memory tokens = new uint256[](count);
    uint256 tokenIndex = 0;
    for (uint256 i; i < total; i++) {
      if (addr == ownerOf(i)) {
        tokens[tokenIndex] = i;
        tokenIndex++;
      }
    }
    return tokens;
  }

  function airDrop(address[] calldata recipient, uint256[] calldata quantity) external onlyOwner {
    require(quantity.length == recipient.length, "Please provide equal quantities and recipients");

    uint256 totalQuantity = 0;
    uint256 supply = totalSupply();
    for (uint256 i = 0; i < quantity.length; ++i) {
      totalQuantity += quantity[i];
    }
    require(supply + totalQuantity <= MAX_SUPPLY, "Not enough supply");
    delete totalQuantity;

    for (uint256 i = 0; i < recipient.length; ++i) {
      for (uint256 j = 0; j < quantity[i]; ++j) {
        _safeMint(recipient[i], supply++);
      }
    }
  }

  function publicMint(uint256 amount) external nonReentrant {
    uint256 totalMinted = totalSupply();

    require(publicMintEnabled, "Public mint not enabled");
    require(amount * publicMintPrice <= burnPoints[_msgSender()], "More Points please");
    require(amount + totalMinted <= MAX_SUPPLY, "Please try minting with less, not enough supply!");

    burnPoints[_msgSender()] = burnPoints[_msgSender()] - (amount * publicMintPrice);
    bulkMint(_msgSender(), amount);
    publicMinted[_msgSender()] += amount;
  }

  function bulkMint(address creator, uint batchSize) internal returns (bool) {
    require(batchSize > 0, "MintZeroQuantity()");
    uint256 totalMinted = totalSupply();
    for (uint i = 0; i < batchSize; i++) {
      uint256 tokenId = totalMinted + i;
      if (alphaBaby25p[_msgSender()] > 0) {
        alphaBaby25p[_msgSender()] = alphaBaby25p[_msgSender()] - 1;
        alphaBabyList25p.push(tokenId);
      } else if (alphaBaby10p[_msgSender()] > 0) {
        alphaBaby10p[_msgSender()] = alphaBaby10p[_msgSender()] - 1;
        alphaBabyList10p.push(tokenId);
      }
      _safeMint(creator, tokenId);
    }
    return true;
  }

  function setApprovalForAll(address operator, bool approved) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) {
    super.setApprovalForAll(operator, approved);
  }

  function approve(address operator, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) {
    super.approve(operator, tokenId);
  }

  function transferFrom(address from, address to, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperator(from) {
    super.transferFrom(from, to, tokenId);
  }

  function safeTransferFrom(address from, address to, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperator(from) {
    super.safeTransferFrom(from, to, tokenId);
  }

  function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(ERC721, IERC721) onlyAllowedOperator(from) {
    super.safeTransferFrom(from, to, tokenId, data);
  }

  // BURN
  address public PRIME_APE_CONTRACT = 0x6632a9d63E142F17a668064D41A21193b49B41a0;
  address public PRIME_KONG_CONTRACT = 0x5845E5F0571427D0ce33550587961262CA8CDF5C;
  address public PRIME_INFECTED_CONTRACT = 0xFD8917a36f76c4DA9550F26DB2faaaA242d6AE2c;
  address public PRIME_DRAGON_CONTRACT = 0x3B81f59B921eD8E037c4F12E631fb7c46D821138;
  address public BURN_WALLET = 0x000000000000000000000000000000000000dEaD;

  function setContractAddress(address a1, address a2, address a3, address a4, address a5) external onlyOwner {
    PRIME_DRAGON_CONTRACT = a1;
    PRIME_APE_CONTRACT = a2;
    PRIME_KONG_CONTRACT = a3;
    PRIME_INFECTED_CONTRACT = a4;
    BURN_WALLET = a5;
  }

  using Counters for Counters.Counter;
  using EnumerableSet for EnumerableSet.AddressSet;
  using EnumerableSet for EnumerableSet.UintSet;

  event Burn(address contractAddress, uint256 tokenId, address owner);

  bool public burnPhase1Enabled = true;
  bool public burnBulkEnabled = false;

  mapping(address => mapping(address => EnumerableSet.UintSet)) private addressToBurnedTokensSet;
  mapping(address => mapping(uint256 => address)) private contractTokenIdToOwner;
  mapping(address => mapping(uint256 => uint256)) private contractTokenIdToBurnedTimestamp;
  mapping(address => uint256) public burnPoints;
  mapping(address => uint256) public alphaBaby10p;
  mapping(address => uint256) public alphaBaby25p;

  mapping(uint => bool) public isEpic;
  mapping(uint => bool) public isNormal;

  function toggleBurnPhase1() external onlyOwner {
    burnPhase1Enabled = !burnPhase1Enabled;
  }

  function toggleBurnBulk() external onlyOwner {
    burnBulkEnabled = !burnBulkEnabled;
  }

  function burnPhase1(uint256[] memory dragonIds) external nonReentrant {
    require(burnPhase1Enabled, "phase 1 burn not enabled");

    for (uint256 i = 0; i < dragonIds.length; i++) {
      uint256 tokenId = dragonIds[i];
      if (isEpic[tokenId]) {
        alphaBaby25p[_msgSender()] = alphaBaby25p[_msgSender()] + 1;
      } else if (isNormal[tokenId]) {
        alphaBaby10p[_msgSender()] = alphaBaby10p[_msgSender()] + 1;
      } else {
        revert("Not Epic or Normal Dragon with Baby.");
      }

      contractTokenIdToOwner[PRIME_DRAGON_CONTRACT][tokenId] = _msgSender();
      IERC721(PRIME_DRAGON_CONTRACT).transferFrom(_msgSender(), BURN_WALLET, tokenId);
      addressToBurnedTokensSet[PRIME_DRAGON_CONTRACT][_msgSender()].add(tokenId);
      contractTokenIdToBurnedTimestamp[PRIME_DRAGON_CONTRACT][tokenId] = block.timestamp;

      burnPoints[_msgSender()] = burnPoints[_msgSender()] + 60;

      emit Burn(PRIME_DRAGON_CONTRACT, tokenId, _msgSender());
    }
  }

  function burnBulk(uint256[] memory dragonIds, uint256[] memory apeIds, uint256[] memory kongIds, uint256[] memory infectedIds) external nonReentrant {
    require(burnBulkEnabled, "bulk burn not enabled");

    for (uint256 i = 0; i < dragonIds.length; i++) {
      uint256 tokenId = dragonIds[i];
      contractTokenIdToOwner[PRIME_DRAGON_CONTRACT][tokenId] = _msgSender();
      IERC721(PRIME_DRAGON_CONTRACT).transferFrom(_msgSender(), BURN_WALLET, tokenId);
      addressToBurnedTokensSet[PRIME_DRAGON_CONTRACT][_msgSender()].add(tokenId);
      contractTokenIdToBurnedTimestamp[PRIME_DRAGON_CONTRACT][tokenId] = block.timestamp;

      burnPoints[_msgSender()] = burnPoints[_msgSender()] + 8;

      emit Burn(PRIME_DRAGON_CONTRACT, tokenId, _msgSender());
    }

    for (uint256 i = 0; i < apeIds.length; i++) {
      uint256 tokenId = apeIds[i];
      contractTokenIdToOwner[PRIME_APE_CONTRACT][tokenId] = _msgSender();
      IERC721(PRIME_APE_CONTRACT).transferFrom(_msgSender(), BURN_WALLET, tokenId);
      addressToBurnedTokensSet[PRIME_APE_CONTRACT][_msgSender()].add(tokenId);
      contractTokenIdToBurnedTimestamp[PRIME_APE_CONTRACT][tokenId] = block.timestamp;

      burnPoints[_msgSender()] = burnPoints[_msgSender()] + 12;

      emit Burn(PRIME_APE_CONTRACT, tokenId, _msgSender());
    }

    for (uint256 i = 0; i < kongIds.length; i++) {
      uint256 tokenId = kongIds[i];
      contractTokenIdToOwner[PRIME_KONG_CONTRACT][tokenId] = _msgSender();
      IERC721(PRIME_KONG_CONTRACT).transferFrom(_msgSender(), BURN_WALLET, tokenId);
      addressToBurnedTokensSet[PRIME_KONG_CONTRACT][_msgSender()].add(tokenId);
      contractTokenIdToBurnedTimestamp[PRIME_KONG_CONTRACT][tokenId] = block.timestamp;

      burnPoints[_msgSender()] = burnPoints[_msgSender()] + 6;

      emit Burn(PRIME_KONG_CONTRACT, tokenId, _msgSender());
    }

    for (uint256 i = 0; i < infectedIds.length; i++) {
      uint256 tokenId = infectedIds[i];
      contractTokenIdToOwner[PRIME_INFECTED_CONTRACT][tokenId] = _msgSender();
      IERC721(PRIME_INFECTED_CONTRACT).transferFrom(_msgSender(), BURN_WALLET, tokenId);
      addressToBurnedTokensSet[PRIME_INFECTED_CONTRACT][_msgSender()].add(tokenId);
      contractTokenIdToBurnedTimestamp[PRIME_INFECTED_CONTRACT][tokenId] = block.timestamp;

      // 1-7979 = L1, 7980 and above = L2
      if (tokenId > 7979) {
        burnPoints[_msgSender()] = burnPoints[_msgSender()] + 10;
      } else {
        burnPoints[_msgSender()] = burnPoints[_msgSender()] + 5;
      }

      emit Burn(PRIME_INFECTED_CONTRACT, tokenId, _msgSender());
    }
  }

  function burnedTokensOfOwner(address contractAddress, address owner) external view returns (uint256[] memory) {
    EnumerableSet.UintSet storage userTokens = addressToBurnedTokensSet[contractAddress][owner];
    uint256[] memory tokenIds = new uint256[](userTokens.length());

    for (uint256 i = 0; i < userTokens.length(); i++) {
      tokenIds[i] = userTokens.at(i);
    }

    return tokenIds;
  }

  function burnedTokenOwner(address contractAddress, uint256 tokenId) external view returns (address) {
    return contractTokenIdToOwner[contractAddress][tokenId];
  }

  function burnedTokenTimestamp(address contractAddress, uint256 tokenId) external view returns (uint256) {
    return contractTokenIdToBurnedTimestamp[contractAddress][tokenId];
  }

  function alphaBabyList10pView() external view returns (uint256[] memory) {
    return alphaBabyList10p;
  }

  function alphaBabyList25pView() external view returns (uint256[] memory) {
    return alphaBabyList25p;
  }
}

File 2 of 21 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 3 of 21 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(tokenId) != address(0);
    }

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

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

File 5 of 21 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

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

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

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

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 6 of 21 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 7 of 21 : 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 8 of 21 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

File 9 of 21 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 10 of 21 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 11 of 21 : 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 12 of 21 : 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 13 of 21 : 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 14 of 21 : 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 15 of 21 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 16 of 21 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

File 17 of 21 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 18 of 21 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol";
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

File 19 of 21 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

File 20 of 21 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

File 21 of 21 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"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":"contractAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Burn","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":"BURN_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIME_APE_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIME_DRAGON_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIME_INFECTED_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIME_KONG_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipient","type":"address[]"},{"internalType":"uint256[]","name":"quantity","type":"uint256[]"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alphaBaby10p","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alphaBaby25p","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"alphaBabyList10p","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alphaBabyList10pView","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"alphaBabyList25p","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alphaBabyList25pView","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"dragonIds","type":"uint256[]"},{"internalType":"uint256[]","name":"apeIds","type":"uint256[]"},{"internalType":"uint256[]","name":"kongIds","type":"uint256[]"},{"internalType":"uint256[]","name":"infectedIds","type":"uint256[]"}],"name":"burnBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnBulkEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"dragonIds","type":"uint256[]"}],"name":"burnPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnPhase1Enabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"burnPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnedTokenOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnedTokenTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"burnedTokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getTokenIDs","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isEpic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isNormal","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a1","type":"address"},{"internalType":"address","name":"a2","type":"address"},{"internalType":"address","name":"a3","type":"address"},{"internalType":"address","name":"a4","type":"address"},{"internalType":"address","name":"a5","type":"address"}],"name":"setContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleBurnBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleBurnPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610457600c55603c600e55600f805460ff19166001179055601380546001600160a01b0319908116736632a9d63e142f17a668064d41a21193b49b41a017909155601480548216735845e5f0571427d0ce33550587961262ca8cdf5c17905560158054821673fd8917a36f76c4da9550f26db2faaaa242d6ae2c17905560168054909116733b81f59b921ed8e037c4f12e631fb7c46d821138179055601780546001600160b01b0319167401000000000000000000000000000000000000dead179055348015620000d457600080fd5b50604051620077f6380380620077f6833981016040819052620000f79162003cfb565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a8152602001692130b13ca23930b3b7b760b11b8152506040518060400160405280600a8152602001692130b13ca23930b3b7b760b11b815250816000908162000165919062003e5f565b50600162000174828262003e5f565b505050620001916200018b62003c8f60201b60201c565b62003c93565b6001600b556daaeb6d7670e522a718067333cd4e3b15620002db5780156200022957604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200020a57600080fd5b505af11580156200021f573d6000803e3d6000fd5b50505050620002db565b6001600160a01b038216156200027a5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001ef565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002c157600080fd5b505af1158015620002d6573d6000803e3d6000fd5b505050505b50600d9050620002ec828262003e5f565b507fc75ee7d4b5ff07bf8e23c55f43a924c1bd743f49fbd2b17a3bdb8d6bf58c1ddd8054600160ff1991821681179092557f4a39817b0c033235e823a7cdaa997bb24b915b6f57a3aeb3dc69118d9652218380548216831790557f198c3766873eb67fe9022a96a95d6057e3f4ae0e5da869eb752cfbc3683155f880548216831790557f7aedbb5421ae9fc203a918e997e15a97632ff6ddd194cdb33f27eb9aa91b7c9080548216831790557fd51584112ab42b7629eb733d4640d4490459647bfc4781c2898cb4aac0bb025780548216831790557fbf8b431641ef6ce382002d400dd2c80ede653eebd5fc82bd5cdae4fb2b89b43d80548216831790557f7ce52ac7e930d69cfafd088d7a70b9af18f5dbc42adcca0d3a7a9c8e9b979bd780548216831790557fe783bfccd8223c1923e0c496f6fba96c4557aa6562d41a2abb18b1c1a305fa1980548216831790557f44b9ed1500f58fbca77b6bf5b3c5f9e06bd0994ab0fb98c183e579ba3b862dfe80548216831790557f2759d66ac560f529195475d117220df66d780687d6ab20af7f8ec43095648fd380548216831790557fedf6ba043b22a4b88d5f13dbf2b2a312c35b8e85347a37f18a917acde66d2a4780548216831790557f1801d3e2d005c8b669473f32dc7e0723137b36d04fe29a6cba728766829e6aa380548216831790557f70b6486ccc4edc7bccec00e5c76f002794245512bf4c59d5e2606b56652d0ae480548216831790557fe67824aa1283df3e73366abdd534a955ccb6169275179308bd0c8944786f719b80548216831790557f75e3fea7f5d44af4269702de54312648d8fed720e98ce92735650ad82a063d7c80548216831790557f0e4253f48b19356ffc303d5dff361c0c6055e7fd736d5fddfa5e0a1cb354270680548216831790557f285235a4ee7fd955d2e78bb86b1d1a610ab12aab9d08abdeec9d5b0749a7f9c580548216831790557f70fa2971e9668650e78dc473d733f8d778957368724bb79d6a45de0762014c7d80548216831790557f58e09993956fdcbb2cf1a444ab0586500cd86080d964dd52a41ccef9e824000680548216831790557f4acaa45e5f363e56aec91d3d57e0fd8e9a58c580a09ec6faa7627d3fd2c7ac1280548216831790557fd137a3d0c25e3c3a9605f5cb917af0428ca4009e174578915f628aeab01db5e680548216831790557f54b6fe01c4d124f96dbe2122e27dde999c7a39e57242ad34eafe3ad28e983fa880548216831790557fa9dd29003571b6eb8f24a77c1a97862749c35aa73f1d6d66d2249051344ecb2280548216831790557f31538de71a9bccd86a1ba993641c08a431dc9ebfcb0cc860fb81c6d78e4249b380548216831790557f4c28b910047df4b77621456a66645c8832162b1c00231fdcfd3a989012ca21328054821683179055601f60208181527f7c3a9afe1bba60dc67647cee772a44d18edd034aef971a44103932eff0dede0d80548416851790557faa148eeab62eac77124991af625fb200a784eada368cbf5ef77b9a31792e465080548416851790557f6d995095f595c55ea8bd9fdfe246eec2ef6f8eb8d6b4a5668021730bc3e2db5b80548416851790557f1c564b33ddaa62f30d29a09a0d6de34c4791fb62d9d1d1ad5d375fbb5efab66580548416851790557fab95f37c28f07f12d9b682042d17aebd639771f2a07bf3a7110e7896475ead8980548416851790557f8c5b80a6b7c4e1798c975db93a9ff008d62a456f92e2433cd1f40e04f93c24c680548416851790557f09a37b7c7a97593ca087889f0087a60432c4b613eeed609e9f6706f0642b857680548416851790557f6439660cf8e19f7dd14d38b26f5ad3c622e02142c4fba20fe39248ceab8bb36f80548416851790557fe3f112556e24cab8ea4b22c176c341dd62a16fb2d50158e9ee8186ea1901c95e80548416851790557fa9baba032502256e9f181e3a9ea71a74024ad763e547ea3fdf2b1ec8ce733d7580548416851790557ff8276e9c2b47f47b6b780ea54a28ac0a3d1326bee6a587d2445f089a2ae9d61480548416851790557f5c4251327efd715e8aa43ec29289578f8dedc89b8bace46318db04b7817756de80548416851790557fa24f9dca49bd6e859b1b1a4aec678dce48cb2099eae5a31e86e9335a8cea8c0f80548416851790557f51696cf221b3906a1c6932af3c414037706ee08f9e0de36433ccead646c5a23e80548416851790557f6782154d35bf818b4395fd78505696bb03f66483474b4e5fc7da29c98bf65e2080548416851790557fc408e7d8a7d8918186b03d383b8b6c7ac6fc35482ee5febd0a0cbb77ceb31cb080548416851790557febedb5d2d0fc6f80a3190e039ff933c8379ddff3578e6a6d43bfd196ed1b442480548416851790557f88cca1b86cfc76007d29ce64f14bc85a659816bf52420944f6be8dab95cc3e6980548416851790557f372ee4263aaeeba39041798c8cb12053ae9b0c760aae4e2b7face0b9dabad2bd80548416851790557f0cd768c9bd5f52b1c7a1664926852a8f783c122df22377d0ced02de59ad15f9e80548416851790557f56307145e1e553f917f38fec18fc3ff3676919688d0638ee9cb9b63286ca9a4680548416851790557f09e567f90d6e2663c18d52a82cf9f25272b580317505883cd4e4f89162cf41f480548416851790557f1c54c239b66db2d089ea68e76c829bc40eff5e10301266821f664aacbdc4486780548416851790557f07c0ee26cfe58b6299b0998ccd0f9b0568e7d83f416bc6da79ed7292bb8007fb80548416851790557f56ef3f589f8da367cc7c38ea8a45cb24347b725988939f036b509d258f8e685480548416851790557f982acf4d2aed3f84cf2666bb2581e8e26da1dd17cbcb6df7d65265805ee6dc1480548416851790557fe815abf8e17fa3b62d009719e9872f945a61f8ddf7387faa2a6026026092541a80548416851790557f6dad2777e39e85a4f934e102162d85c751dae796e669b8d0307afc12a5b42cbb80548416851790557f8c9918f8b149ae28c4c903eca194c0faa52c47e13dd4383cc8e6a4feab85141c80548416851790557f52ca2d8c78a4cead44e592cab468e655681dd2b0c698170b1055f73e202bc4f380548416851790557f2cda7bee21d300b0dcbc1e0afe5e686474de34202d23f71f6c627ac3d354308c80548416851790557f8d759ef96665de1fd59adf6d323da28fb6e7f3a171cdd29f7df1bf0627e2ca0580548416851790557f54f2742d34c06ff32208a0ece4aa0512d744b4c5a7308bc032a8d5331563ab9480548416851790557f3c9332d412dd565548955337dbd49f753c18e67d6bff1d8605766752b8a6268a80548416851790557f67dcd8092e6f2338d930ada6cf16db95558a77c8d767ec21ee95dc5b0278c46380548416851790557f276bf87d6906527f9567a272cb816d2ba524ab381c7e001cb77f827402462a1480548416851790557fc4c785347d680feab4f5b15652ad62a45691fe86396b998d5697fc82ae2eb23080548416851790557f9df12704587779a3b5559694899648dcd224a093c6214142aeffd4959f099cc480548416851790557f065b88b4d202636e5fd6eccbd14118530e269f7ad91e47c926c911c3bd6ab69c80548416851790557f0bbdbff981ed344799f95fc7fa83ff97668d426f4057f6ab66be75b04ba2924380548416851790557f64eb09614205613d53102cf6fa0ca6812eb3a82dcdd656a7ac0ceb120e21f58580548416851790557f2f3c1b54a3230b1117ee24ab86be7b8e54acba05520b4bf598dcce92751c6a8280548416851790557f2ffb32de70384c6100203f2a435107e6d2a0afd37d721b115601e155107e0ed080548416851790557ff0d88b3367bfa0290e6313edf586043535595a3c700f29690e90ce4fd2ff06de80548416851790557fab7142ab15a1dc2abcf830fa46d006cf5a2ef004c27988d375beeca7e2e2332e80548416851790557fb72ee17c1a56011e66406da76fca25c920dbbd57727d91fb464e2b41d687590f80548416851790557ffe0fd23df9cc1dc495704867fd3ca24e32e99b366abfddacbc59a7556c890f5a80548416851790557f0b323db7f4dfddc4f92404963000e51555f9f55d96b7ae544f2daff1b77616c880548416851790557fe9195b68e49d9de7da7353f5ab11518f14663435c9a1a59a30f7746b520c744380548416851790557fe3e9e0360e147eb194075a4e58d509911224a967c80f9c89b42bd8e14e6fc24a80548416851790557f2abef4f87551dbe415395725365c22cd47f3728587ef7301ddd38663a838e1a180548416851790557fba7a17b2928f5443c8196fa5e35cb31377cf9a481db74fb60de677a7f9e821f280548416851790557f865a22578f978cb7528bc81ce33c3fc8d24be9c86d11997fe56192f5bfcd0c3f80548416851790557fcb99bc8e7b56b24c406ac573fe3fe402ad94dc50fe35d056041c6ec82c3c290880548416851790557f6148560e1636931bed75801631ebe8d8ee7cf844e772406765298b8ce9e5ec4980548416851790557fecb6fe451e4050f429bed89816b1af613e80c58789eed3ff4b2715889c24c29480548416851790557f330a5b43934f6decbab5c1abaec935241a78759b8327467176ab93a8b7a0d27f80548416851790557fa54d72f4a056869d429dfc1aad517f96b09eb7c2a79ae7ba9e32b91750dac12a80548416851790557fee64723c11427578edfdc8795dad448dcd933b41c1554645bc62836a8fe252f380548416851790557ff7db685d192c3cd2893776078d915f828ed4b57084b9affa1587734af9aedf6b80548416851790557f563eb6be18cacaa105c6e85e8177c11d1c7fed13bf2ca71fcf171e705d39e3fb80548416851790557ff89889f1cdf373aa8fd55f811762ce02a96ef64a3aecb914eaecb35c58f75e9980548416851790557f12d49eb8752af3b0a77a45945850737e1886e977907e16f1c98f2182608ac5d680548416851790557f6b7ac9baed661c2e41a20e4bdbb3e2548d25b87f7fcce7c4aca2c44a30a690ae80548416851790557fd1d723065162306268859fab420247b8612e9134d0130193a2e9b071a0182fd080548416851790557ffda3464166fd9b74e3c3125c7375b78942d338e6ce6f2ce8eb5fa6b7883c803580548416851790557fad0513882a957f3928706e208d4c569006b53ce6c050b5f59277bf04b0a8035c80548416851790557fb70de0d14a7d8dcf194cfa0e53ae2eb69f99742ae7746a6f97ae5bf97a703f2480548416851790557fabd951dd64dd64a48d235a1e8cbc6d85ffb220c5a7396097b02cda9d91e7bdcd80548416851790557f42743f2958658de0dce39f6b16a212d9c3a73e5da5779ba2dbc066828dc6d4c080548416851790557f4f523c6929b8aa6eabbb3f51546da0c5858dbb74474570aa0000100a866b388380548416851790557ff20da5c8b1f63858ec5a3dfbcfdf8a121b74a0908f69b5a1fbbabc824dbe354d80548416851790557f77593dd86690a2ec270e0db4be19fb2d6b0e9adadcaed47915b287e2416a57ed80548416851790557fa390c63d6cdec2d24b65280f89de8ac7d145b86bd37212e812d2536575573eab80548416851790557fc9c06e879c54fbf45ddca814af8f8e6ad54ff5207306ca30a7a97fe558cb898380548416851790557f3090f1e6a6b4ef3a17ec7729c623d94f0d2b6beda964e3274e733a57c64290a880548416851790557fa6ae40827ad407ab0447f9a1bbc944143cc8a0caa5d9ad9717ae4e5b55f2fd2380548416851790557fb6b4b0404a6800bfe9d3cd8bbaa23fea773979ce9cd313a6f101e2ea27af340780548416851790557f36061a91ffa4a4de58d1351346418ff94ad44f02b9a704ace03b2d5ed2c9642080548416851790557f6fe8c3d4fd84c337e2a6627217713587bc25a92afc05849b4ba3923093d2b11380548416851790557fe07995f4a0633c6435f7788cf3fa47da46da1f69a3cf6ba29d9f5f6f10c7d0dc80548416851790557fe3814003d7db3471de57e43e0f56bdea1b905259c9bec8c5b2b7669518c641e480548416851790557ff4b9907a391c25d1ca68bff700901290a2688f48b20444b6a90176c72d91657480548416851790557fe7ada29140519be3e4c03e23237a821fc1af069e7a41e9eaea779e4b1996545b80548416851790557f4dc2ed9bbfc7c0cc0486437bad1a46f484d5f57610e9b77c4f8e6ac565293a8d80548416851790557f473fdac873fca71eeae5f31a7c25add0131ba72c13680a465cb467d3f7629c6b80548416851790557f0b6c404752679dc39737d90a35cd7299e029d7d2eb61dfbab37a25315688fbdd80548416851790557f47896917290031ba3f38a59ccb4789451ada9ceac9eec4c9f9e19a1e8b8feb7e80548416851790557f3e91d9ecbc93c266ab519348e7178fedee7410bf1af7bd8dfdea2b23c35dfb5880548416851790557fbb481fd5ca3fd830ad803da5aaf2647da2ac9e8c4c621565b033ab33cc1a519f80548416851790557fd44d4eddf301276b2efa6e7a9284d4860fc0d5eeff803433fe42fe22b948a0d480548416851790557f713c419271009f75f2d0a59f13241563a84fa4b848da7d271aa99a6e00cc4dad80548416851790557fa90a4fe5d8b698087fb08262e5a8638be5dad54f10e683e03f17c168f4b1216b80548416851790557fe426f07c9f75463fc29bbc8d827b25dd1c60739dedc0cf868682578fc1e3becd80548416851790557f644a9693dc6759a830868e062af2f34957058535de03a22288170ffb74c816c980548416851790557f927d20cd3ed2e43876f472d1c2e1c30fad880762b5203f5a06c1073ddd1c231480548416851790557f89b73410b004ceee2321e5ddfd2a88fa0672d770405de51cbc91fde675e6c90080548416851790557fec1968a4b5b94a1f9ca49176bbe83432d54c50054f5fe41b02b1c43e23317b0380548416851790557f854504e5da5f425bda226e8082fa7a08fb87837dddeb969764bb14ea71bf822080548416851790557fb4ff5ef0d0988c6ce2dbcf814c7566122e211af7e0c45c7ad408942de44918fa80548416851790557f25e28df176636a51baa55ed6cf8121379beec5dfe0c3b23519d26450bacd48ef80548416851790557f3c7a71547750c76d21554a847350678706aae31d6c8571d7c191d4dac6c832bd80548416851790557ff8fd33f372248efc551f5e9d60da427dc939d59b41ba01c5aefb18ef9577d0f780548416851790557f3ce51ac85cf7dc425b6ee4ac8eab84601d255bc57dbfdaf8d6af3ca1f6f3c7b080548416851790557fb5e5940c219404c5b869fd0ada044fbd07739e262bad3dd99e0fb1c6c746f9d780548416851790557f88434f8ea35bea4d16e336445e4300afc99d5e8d52ca85f5c45d1964ece5b09080548416851790557f73f4b0155ce415e66a4b7376da86f9824b06a64a20497fadd70eaf6070b964b480548416851790557f253c232022cce8330e8ec5ae7931c30797f28f144b3e3e9257415588ecc0463d80548416851790557f0cedffc6d6f15ac1a25a3fd102ee50011024273b3d103b2d67dd74e9ab616c7c80548416851790557f6a91319b6ce7613ad6ce7d9ecb5607525753e15078bd1224f7cb0a60d0e22cc980548416851790557f2360ea05c5d0d40d6965ce0d35f6c37a87a7449e9c53388fa0c83a92694c7ccf80548416851790557f974d18ff39cf903ef954dc95e2ce0f3b27157fa1bb7164b2460e1f8c6156553080548416851790557f0d9cc798622d2c78922b38135dd84f865667a4bbcc5e1b7ffc7ceebb5c12945e80548416851790557fe55d96fc669e21a8883db6c6bf56460cbc0a5c71a741262a05a9e2a2248fde5480548416851790557fa504440e4567ace7b50da8fa9fed1270995568bdec79e1c643bccbcac20fe62e80548416851790557f991fb9633d4150188146992c39ee7562c7e1b743f9ff699d6d0c17b1ddf0cd8980548416851790557f2d4263c4968ba642e0ac04a233fb4cd58d2be74d9668435c575ae8c47f77d58880548416851790557fb222342a437922f1f2bc73fbd6113d74866b02680b3f45e35d5b0f97f382a82580548416851790557f83daa2a8fb37a17a65790a838aef2b1f0ebafd9c05292f12928cd41a8c3331de80548416851790557f02ae56801b9f63505201e43ff1bd911bbb39f534a5f14e3f21b78ae3c4ebd1ce80548416851790557fece3322b11ffe980720e85786e91cdfca1555d625de38a90d3e513574452894b80548416851790557f14416b45ad7138c25e54990e8dcc3c8dad2f5e6d250b5269be6ed7ade641155b80548416851790557fb1b667d4956897d20ba696927662feef09170a65cbd80045d874b027286dc19980548416851790557f6317393b83d64986d3f65a2cc18e9084e65ed305e631a54a0d653847274a905380548416851790557fda01a9e08d9756e754f2af887e1a3ddf6e1e800c5dcb035d66a2b5da7b31fb3280548416851790557f710bc3eb48a6c6dec2ef30e058b1b4a2471f4c2a541af21d4d9bd849e7aed8c280548416851790557f1be09b5610fc9f2159bb733f24c1d0db8ad3e8b0f7d15d3f71562b75bf0e89e480548416851790557f8583ebc2af1a3c8f0b172f9fad4783852a5f056c7d86a87591e99fff46dd7fc780548416851790557fde8a0ca00a3b5a4adc29346af8764bb5c8bb482e2020bc6cd3eb331ab3c8d37680548416851790557f9d798f721b5e6fd9512b9c772adb30153c0c35161e482759d5abfe39e9c7a96e80548416851790557f197bc810432cf367790269e6899cc0bde587714645d7febaff6366cefe4103f980548416851790557f61b7bda05fdd03f28d320978edff7591b0c35aee6bd36ee04b1587fabc119f3780548416851790557f385cc4a8cc19b806eb6c5d3e738adb2414c7c712c028ff14472917dd0e50a76380548416851790557fac67a3f9d051035f3d18a44b90a164b4bba0574ef558cb3b44c58116a0a9a69b80548416851790557f9a344bafa1abf46e467d2c14f177d0aaa59d06f0c7d12fdf7b2a00fdbad9c70780548416851790557fef3567045620c25585fbf3e6244b7fe55e896d35f54e08ec523b504c6764973680548416851790557f3fb88d5e643a92fa904833ed6df682ac252f0ff50f577a261930d1894e9abe9b80548416851790557fb9741b3a1fefbe43823750f03cbfeca46e258d47aac79eea4ceb8179ea1f9c8280548416851790557f9fdf9e389ac3c09230cb77b34ea3d31087e6c5e15264fe890ff8c68d16643d6380548416851790557fe6bf0566168247dd5bdb2eef5704ed2f227d5c50f0118816abb28aaff6faf7cf80548416851790557f5852012cfbe6b267713948ba73170ad95f16bdd34a0f2272902d2ec706c5e11e80548416851790557fca9ca3b006f575c644690ab66961aced81b15a125f63743d779aac00e524af7780548416851790557f3922858db3ce6e8f1ec38b0b962dc94cb6c485f233384d8b8281d09f3092c01a80548416851790557faffa11c962bc61b98dd5b0ba16c6b348076a38c041dc552a6fbd7e0757295caa80548416851790557f06730de262d61b621da508b9b1ba3e1c2ec9afd6846c7d6e3b0212927154801580548416851790557fc6024e28f1235dc156b0cc5d26ebf7531aa7809d4b6a36020cd3239973def16e80548416851790557e646943bb77f0b6922b8f3409e0290f03d9fe5622d4d42896b4574af1bd56ea80548416851790557f4e5380467bdbc92324cd5de1ecb87d418e0ec9fbf9c41956f7446d64d3e6e17b80548416851790557f51aa08cff08d130a655748d5b58bec74fc51f7a76945609dea19769913ca2a9680548416851790557fe4c3d9f76820db6fc996f9e51889eefb9fc624e45d9d8ef7386f8ecad78d52ce80548416851790557fa34d477dda671b01a84c00657eaadcddf238e412f2312b9c82149d9de974bd928054841685179055610b7c6000527f2ee99a42ac78e02eca8c18bdb1e719abd6d31eea6c11e28045b97129e6389dae80548416851790557f6afdf1ee0c245a1ebe15cafd195b1a454ffd97e5c01eff238ccfc44ecea68a0380548416851790557fc8b0d2d087cc0b279dbbf8ed531dfc09fca8eb3e518933c45a7ddf051ac6c20480548416851790557f4f6e63c7ec9d78fb0aa830b7d801a9be3cac8043a290c983104bf252ceeef41780548416851790557f2c45f1866a2430a844369cb0d4946f89fae1e4fa7f0d273c0f70f8c66ad96fb780548416851790557f9e1cd3f2b82bbc041c3872ab122b57de36f881effed01e38f184aab2075dfcb380548416851790557f370c5c1a0eb32caff76b055163105dd6f70a42d030db668b21c3712530cb4c8680548416851790557f255d3b1cec128dc514dd059b541c6e8da351c5ec04d9db67cf54ec8be5b377da80548416851790557faba31858401348f589d637d8a6d30201f00c5b03670f577ae985fcc5523a4de180548416851790557f874de9c8d01652802ac0c501d684d7197dd77b0f60022b58973a06b7df56a1c380548416851790557f6603381a488746349de38765a6dc0544b948e245edcbcea1e8c4185178b701fc80548416851790557fc3030c09bcfcb5f12a44392c5c6ab1df3b6236d7405ad21f757796ec219b02e580548416851790557f925306dbab44fa63fe0c28e2e885c8cd5b58a552091513a656785c0071c8b1c680548416851790557f8f4c12ec6a51cf15a13dc83254eb1fd092da41520b8624128a9c33198981d7af80548416851790557fe6c22799de683029a4e9a8732637d36daf5449ce6725407de1c8d922b5660d7f80548416851790557f61dbf0c3135e3f78b6bf81bb87bcefabe3912167c5ab3fc555225aad97fd707380548416851790557f0f4f2ad8a9ed4d3d50728d6bcef040f2ff39e4ddc00d1f5dfc8f355a1aedd30480548416851790557f3de4bb2feb6190eeae4c5a83c792843a2668867041f653ad08944e863ed3f5fe80548416851790557f33bc2d07fa8029f105761917990ff3dd300525edf271bbec96d122492e260b0480548416851790557fce49aab3e92c12bd192879e56a15970a11b6301e45db158cf9d22a4d4938ad2380548416851790557f794c58a667b0952ad698ced6dfc056ac2794b5115881f0320535b46680b70abe80548416851790557f13d72a2ce5e5cac90604a2b3ed33f930d30d9ae5a09bd8aab8bba404e6b6f3a780548416851790557f981a36506a489780e73d57f791a277bc9ca696bf8c88b1e44b0f1cd9b1e4a9b880548416851790557f6c17316fb2a524bf44cb738f9d1ab6c882d9cfa8f5d1620c81e4c0bafd12d41480548416851790557fd2889283a0b48a018bda7de73dd8417fea98bb2db37907c596a581bb4ed9bc2880548416851790557fbb14a475d9f5676796821cd7d1a9e464e54f75f97b9ea54a17d5b7c74af10cb280548416851790557ef0b175ddaa54784741b758675388dc9c2d1dabcecc72b43369f874a80b068f80548416851790557e2625bdc201ac9c278cc48cdb032a6fac28c6a4a6568a7d25a02c8267d450b680548416851790557f191e9c3710d1060644475a47dcbc33e1bdc98faece9d9df4e971148a2d83b5f980548416851790557f9a4e0b8f92dc2ff80f7de47c7672731fc50ce7e5cdcee6b49b97a2a5f389f7c280548416851790557fe9fee96a75b38c50c71eab01ca504e1555964f69fd595bcbce9b24a57d7b247e80548416851790557f0d1c83252dee4e9d8dea86f5130970e698e654fed2fd11f46c4eaf590be288cf80548416851790557f157c284721723915a9f9d2452be8ee8efa5c1df40fa43fd0b79198545255c6af80548416851790557f61c8d0c7781f12cf3f568bb296b0a1871453b1c36c2584dc4a9e09b1a0051bf180548416851790557f6bdcf4355438ba53156638bdf11271981c5a22dd07dd66d051ca56dd38c7869180548416851790557f75dbd4c193a887e38cf4e42f28582e56f4daa51fe6cc99e3952b80da8892bec280548416851790557f1c4381f808a8d8dd4c7833657645a9e9ab86386af9ee405a8e0969809b69330280548416851790557f7156cfcb4c67f3100bd74c41774bf53f88a10f8cd6fe83f19b3297da8ef592c280548416851790557f9918712ac2e340fa4a17ab5653481b17bf7d91966218d26248e0446b4a02d4ce80548416851790557f4ea1b44d9927911668a7e6323e3ec0b66437d73581e5805f7fae0e67ae981e7b80548416851790557fdfe710046cca80c9bdbf97b6873e54ab9a09b3b97d4b452fcb144ee94287a76580548416851790557f953bfe14d942a85903d672be90c2871f4d9cd6a9d46a6627fde60e9b3f05256f80548416851790557f3e1a3d039ba3c621d662a23635ae6935af8da47c5d0d375d4a46c542df12b7cb80548416851790557f3d895abd22d395dab21f261982859dd4a3f264e6015ffe05a86e6621f3b50d73805484168517905591929091907f275a73c031f37a4851a81359b640bed8b6257c6a77ee1f0c7556fc57edb531fb80548516821790557fc9ed11dd4624b1235241fac47e6a46ff4dd8ee3c6fff039d2c1794f1d7c6cebe80548516821790557f0663c2c7eb0a4cf2e09f2447ffea5e40c7d548d473b1a2a0f810601731490cd780548516821790557f6bb0531474950221dc36994094aaf8c0da44825a14dff52345e824835e28cba080548516821790557f0f6b16eaf6c11b5c9d2a5ec026455d46b828d31c1761332b46fa41fad120439280548516821790557f804dd4e1a09c995915564fe035ad91850e173c7b472207e99ad8e2fe51ce124480548516821790557f750b3f536c129eb9d7a95e487fa66417a8f2f07dc2568b3e4553ffc835a187fe80548516821790557f3a15a4a161279007316f35bb67b0c4c71abf74f86bbe9100054c1ef2e73821a480548516821790557f5e463c272b16951fb024182bdcaf6ae8c792d0a494d75a8091692a30912e839780548516821790557f250b85f2588662c9fb018ec7e4fd64ec00812924c0011dff00384fc44e9fa47e80548516821790557f399b45a80c6b424143303ec0bf7f1be8dfdb870c635e64cdc9eafd2d5a7a647480548516821790557f236385367810ae151c79f19362f8123b7d3533ebcba6bc106e2ca21b859707d880548516821790557fb6ad0d7c6be1fb5ee4ab7672b750caa667c88752238fb532ced416e30103fc2380548516821790557fb0fcd7196eb53397bd1456fe920084d74f6becccc6cf8b43ee73aa0fec087c9180548516821790557fc72e1af9fadbf2531a04b8a0121b2caed0fac79d8fbbeaf269224b88207352d380549094168117909355611188600090815291815260209081018220805493151560ff19948516179055601f90527f97773ecc32f07cd2be3ed6bbf944e9782622ac38604d1f93ecd2f60020fe14428054831660019081179091557f049a0b16030c22db497409f52d99eac28eb23077d217ac960d85525ccf3bb49380548416821790557f90c42c478a49ba1bf8aaaecf7a8a713552374d4fa585a2c1b06f445f8ac2249680548416821790557f1cf6e5da43fd7dc8fcb09bff70fb37b6199e455d4160311fc2399d501e777ae180548416821790557ff5c6f7e40342a92d0da4f2ce5d067661225f886c2dac90368a901a51fa908bb280548416821790557fab0d6c35dab7ad10e9bcf5706c3580aa095d06dffaa9e63b97c1dff0dfe9639480548416821790557f8299da2857eaa6dd185ae41c4abac15d6dabb59daedc9596e139069bba42565c80548416821790557f290ada3507931b4860ca20aa56fed1291a2357784b8ea271e6d0a91a9448093980548416821790557f4861ca050f065f5f6d11d9594cf5e972057cd70a2dffd48c724378d34899b6af80548416821790557f7f138320eb4cb1aff6512a9d6e8ee9ff4fa60bf59f78994e9373dc6f6db7a19680548416821790557fa0b7cc48eff9e538adfe7e0beaafb1bd01a177b7b66d447ef7cb24fb42ad171880548416821790557fd687424dd34ac1e6ad290b4f806d1b99fe85c250e3f96fba0f1811ea703b1aca80548416821790557fe732dc94691564fc74bb54272ba52e732eb2a16954e4c062dab49727bcb3828d80548416821790557fa45d36b410a2607bb0c3834a04390ad5bde3af12eccff7819e25a54f5110b5ac80548416821790557f9308706ec209b773d8fb7a86dc02298cd8d1f2b946a4aae564b0fb88ce52d1b680548416821790557fb115f144a745283202dfe886d0c0276a2d17998c738f661a54f5b1f94723dd9e80548416821790557fe6d4502dfe52dbe50c4ff970714a2e581898b9505a6786c3ac4a8bfa1249834380548416821790557fdad870da76a5492750a787132e117bbd60b485640e59587a14692aee76e7fda980548416821790557f2bc0a15b7fb750d216f28b94202810dc963e935f927b7fcc73b4fd143ed1620b80548416821790557f4031d0d9f939715875653bdfc9f889c8d9f24a088fbf7fe79c670c584ff4835a80548416821790557f64f6abf8422fe0563a0b7a32e2d099c9e9dc9a6830ad250a6fd8506f4ca9c9d580548416821790557f4542e53f529b661248c54c24c25ff285a84629465790a8e8cc49987d33e9721880548416821790557f78072ce58194441c703689379c5259143804c0dc8dbef25a3235802aed0bb3b880548416821790557fc5221e19aa03220a11826c735f11ca674d2258af05e3952cd103b585c15ebc7080548416821790557fbad5961f79dc01b519c2a37f4923d5863dd315de6d4f7ba7aa6d2a8b7153878480548416821790557f56a06bab9acdf0715a5771afa05623b5f38576f4e08b44fff6a6ffee342d8e6c80548416821790557f3f5c145a7e453d1444f843aa332339b7d9731e5cd94b7ebcc1d744fcbab92dc080548416821790557f7a2ff25d151588e6c57d0e0dc072a6041a38b43dcfd73ca5e7e3abcc2586200480548416821790557f86035146d6819e3a1a4bb85c18c90eb85300aa4ee5a90fe66ffd65491693d30580548416821790557f96d775ccd54808c679305a7093bff7f959b035556529ab80b95c4c14c08b464880548416821790557fcdb20a3f14c1f26b1cf78da0b7d832f3139a8adba3274ef6db8d745aaeb8862780548416821790557f1c081539293e97ff22d370f3f89c827b289f44f7878ea30809c7d99b68a0e97680548416821790557f99e4081459e13755d04fa9cacf7201072f6a37f82f0c2a2c878808b0c43f2fc380548416821790557fa3208933fbda6cd529f134a091a87327c4df3b1e88028ae837aa888e1dafb95880548416821790557f14a8acab0c24ab501f5389123bc162bfd4de0b6a6ff6a26dc6afe49847f4aada80548416821790557f3b90fa0382eb6fb3156b37ac4b53785c83396cd297b219515cef8e8cff5405fa80548416821790557f2afebb3a322da466cbb380703b1c0e836fcc5671e89ef04bde2b1100961381b380548416821790557f0bc164a80f7f8512e30c2a821df24e4dbc0e25a36728c8ac4c9318c59170f91680548416821790557f41fd33bf5fd657fb777367b2a6117e7f9ed40c29aac737d9d6db82fbb0007a5e80548416821790557f4a7e479a7d34b6db6e4fab48bed05659f50b5dfb576ee85cab74ddb5f85ec25080548416821790557f037745246d86338cb08a54ab252f49cdddc612cfb6529f0e82ebbca11c42917780548416821790557f9497a4ac7cc2723c7c6c158891bbeabc80b1201a8c9103d319b0a514644e8b1c80548416821790557fa931d4b34bd86f0229ba840d8ab1e770f0e30ab19f4ab3b74d695f1d3375431d80548416821790557f5dba64e95a24ae171d298eea8f91527f4881b768a4e02bfa92f191621837f34680548416821790557f608ca002edfa3106bf2128dd15f2965ff07e25b322edc09d85297bb6fc0edffc80548416821790557ffb8f1c1251b24915ef24dfd66e9fa473ceef5832d8068873fd80c049087590e780548416821790557f0368b71d79cc8c4514055e6becf343c043b25458ebbac964d4a465028cb0386a80548416821790557fd682ea6a5a0ee94b012f76cddd6f67089cbdac939e8c1b7eb97ad6e04e1c9a9b80548416821790557ff4ce66cdb9d467a100bd2b18219a53e9994aa05c55b565a27bdbe3dfb5b93f0d80548416821790557eacb2e0a3d90fab488e9c8cbf1f5126078b47a003e262a2fcf3575449102e6180548416821790557f5886402df6848b5b24d923daa710cfcd9deac9c98f6c124fa38f00685c68353880548416821790557f3c1fe2eb3bf26a15a86bb8569c705edd462c768c2c0dc249145da7ecf41d031980548416821790557fbe980e3bccfcf67614b4a55b0a1101805e1f6f7c37a5e30c588fc7b783599f3380548416821790557f1059d59697648aee3aa2c770e1b1eb80f73bd444fff1b7133052f031abb770c280548416821790557f11c43f2db6fc080690c578891e3f86ef960037bc6c0a503598955bee23c55a3f80548416821790557f56b6f196ef2475822a8125f7afbe6418143cac05e94f5e97d73ae38a464329a480548416821790557ff88592056278d36a532b9b6a6d098a74e91955e9ff50a038b438fa8d32c13f6e80548416821790557f2e9601df11234cc4570fb08aaa04c1583e77f72f7ec560ee54ec30afb3e267fe80548416821790557f94d884f0dfb07ec4a3e7c5bdc751c399c11185bd4ca145c4803b3ac7d84cd67e80548416821790557f2d6640d256f961706e21698c5dd61f4b06cdfcc78c10d40e8104dcdb589899e680548416821790557f88b914b3eafaa843d05e7f534fdcf45b85dc58b94e538af39420345d6ff7cb2280548416821790557fe93acf89719920d277afffda00da9380e16c16a4b80b8756f05fe636cfabecc380548416821790557f5b5accdedccf568335548517b8f9eea3342ba22bae73b0edee6dc9fb837e466580548416821790557f089ae4a6f1a6ba7d3361926b2050cd4113cc1f1acba1ed4a35b6e489baacfee280548416821790557f59bd6f57612db33e2d365d05913c4ff7f35247753c7f85b8adcc8ebfe31b8dd580548416821790557faaa4ccc064118ef10bb11a736fc92476ade0b508b8292f233a798ef076d1ca3b80548416821790557ff1ba1cf60812277ce39627e442597d55d3ed6f3708213858c4e7a36f8bdc3fbd80548416821790557f481319b1b0df78350771cd4f39a1b62fece1d9faf184af5c2ea4a9ce11839b0d80548416821790557f25cda171dbccb22ba262d537143d6893e3980998c0fb24e289d3d2a62411dc8880548416821790557ff264f6378b40227e620fab3af9c238dec432f9092221f1fd832faff4df15e95080548416821790557f44d382545188c27f1b46b8109e7142879ded569aefdabf8ab3394bfc33ad221980548416821790557f775bcf9418533af87c98a52dbdea9a642122c8808662260d7c157c881c8b3e7b80548416821790557faf37596e5aceab026521c4cf00920c1af30b78e5170e050ac82fe89f6e7172b580548416821790557f4d4e7659546cfc6cbf1175ba101852bf473f79da263f9c7f8be15e5c0aabf1c680548416821790557f604db6715c2891d67f1ec00792fdac364dd53543ea3769515bdebea52dbbaf1e80548416821790557fb2892c31de2fd71ffb2c215180091899d63565bc67efe57408e3ac60cf68d33680548416821790557f155481907bb262b1caf79a579f47b28e11cbae9366b33d382724d2bc62d5526e80548416821790557fdff5b377769aadd2bd403b8fc1569c44d730d8f87b549458af087fc814999b4480548416821790557f06f5a0beea097cd3113e8707a4e44d47657ae1b4437dcf7050115c707112c84880548416821790557f01c35a3ed3fd8aa66817bde8b6ce6cd4b3bb52b64989523085c9f7ee333dd3be80548416821790557f628103e20d5dfbd589c2ecda21689c1d23454d110d9ecce54458f72ac3fa8beb80548416821790557f1a3e8f373a5c3bee7237b1dffc2fb6752c1b6eb4ed0a4907015eba42f274b98580548416821790557f9b883c63e5a3c6c4fac81bb4ff2a4a28ab04af7ff02d3f5053c71bd6cdeca4e280548416821790557fe20b1afa99dc93b416f68306d35699ee32a49c2672b8910c6697b0f2c773d24a80548416821790557f6b82c5179e70249e7c5982fea923b58acddfda66ba61975fb7f7a3b8a01d0e1980548416821790557fdfe66b34bee2b895258cf0924147fe63a9f6e32ae519df97133d6356d436f17480548416821790557f54304e374d956ff09b153617c301efe69b0812ef157fc4dfa6133534fe54071880548416821790557fd2a1b0b9efcb59ec24f972cd0c6b55b9374006b1de3b202e1c91e02f0a93209580548416821790557fe981a66bf040e9cfa80128453dde931292913e7172c124bcce66561f91a53f4980548416821790557f7eeba4d8dfcc9abdaf38fef9f41d96db1325b371d7bf42340f5cbb868f962e3380548416821790557f20cb334c687e0d89896e2a83bdabe36e81f49f6addd52f4b76ef835df248c97380548416821790557fad11aaed7192fc0fadf951faab42a8ec63a144ddf538123d3ecfd99f4483ff1880548416821790557fd43d438d02ee46760daa0787da0735e39dab7377c122f35d39949120dfb69b7280548416821790557f4b6c2e8b06dd280818fca14fa09359b2d804fe43c35f5f5da816d94f9e8f88d380548416821790557ff49935f5e778484ab49298a10c029ef90a0d4cc263d528b1071ebcf60add46fc80548416821790557ff98af91a3933ee25f2efc81fbd676c8252c3a9eb32b020e050b60809c34dc8a180548416821790557f1152d74f062cd82f2bd571b651ab1f92cf19b3579fd6b55054798a00efa2129780548416821790557f40c4ca86c04c70b1dc1516360739620857e0e6ae327551ce78c944fdf19d8c3080548416821790557fb9df22e4351f340f03a3be89ef6a14b0688a2bf5d79cec17eaf42dc17e80451d80548416821790557f4158286bdd9652e8db7b600e78642b490692ff0a096c7e6dcc0f3bd4d985225b80548416821790557ff743f93e92ae191eb15465171eaba0fcd434d0aefc762c379b73c8212d7788aa80548416821790557fb294aa014d50f1d1a7f054396799e29120f79fe78d0def0f3cafb72ee80a61bb80548416821790557f9d1bf25fcd67c68755d32caa36f9bcf087e3fd37481ad296686b3a152b5b53d180548416821790557ffad59b88845f2732c6b15511c29b95e2bea7aca9af14caf64bb8f029753875a880548416821790557f4b53e79e09197f3c68e591919153ef0c797609a1ced70f37dc927907e1e1014280548416821790557f3a4bc22d50233018ee6ec8e9e54cc755b8bc5644b4d79e8e149770212f9c672380548416821790557f4d3bc974acc4c94f82abb65abed3b796115bbbfe1b1921ca2a7eaf2185b72de980548416821790557f5b0042d0d11ce32d166de49b8a2ff2c9b4de4ce800ffa9fbea6a28dc99ec512080548416821790557f136dc2fa6bdd97a94cada80b8eeec5336028f30c4b8d8fd6f26f125fa6d6d2be80548416821790557f2058820f53a7dc41b7678f0533c9d0be0d14531597ddb2bfdfa0a604956b2c8680548416821790557fdc81dd6a2f42d070fefe2f52eacaa704dc76919d6a294808b9d1cd60e8afdda080548416821790557f8b5ecc08ad04d08c8138be0e82a43b2be8597d7da4feaef7c99615745be38aec80548416821790557fc9fd2b9435e948d0da946a635cd3f8542d30fa2d6f0fed2852a5c2d7a646d3ac80548416821790557f25ec57ce22d7afda7a60b715293de6be287a995a67b6908f157b5b44900b137a80548416821790557fb955f650f1682aa07b243dd4b0c4c33daf65b18da1e9abc05e083984acf7183c80548416821790557f6e9430dcc87c7788711f18822c067625f20bab97a371c5d4f9b2923d3ab8bb4780548416821790557fe6b7caab006e2c16c878ce456e63ee0f318bcfb2b039e0f63282cbd29533700780548416821790557fa2a0a500386559f6dd4fbe0a5eb62080b77ebe9d6f4ee5c94818614c75a2f46c80548416821790557f8a2402ee25b599bcd8d16c9f60708d0c0e9f9c6ef82e7fda95ec9a9dcd50a75480548416821790557f3d48cdae7dfd10aec47f5ffe2619a1f317a4d53a90db5342e5dfabc3fa5c280980548416821790557f09fbeda35ef934d49557219d2b9ad255ef885aacc7f7e14fbe100f1f92f8a6f980548416821790557f73df9473c65cf1f27ef9d1192e0110acbe35f3538901d6656942e3d8922781f780548416821790556103b69091527f32bd3fa3a57bc6f7fafe8e0a5543d46c629fd3580ac7c9ece29224f63a20061980549092161790555062003f2b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121562003d0f57600080fd5b82516001600160401b038082111562003d2757600080fd5b818501915085601f83011262003d3c57600080fd5b81518181111562003d515762003d5162003ce5565b604051601f8201601f19908116603f0116810190838211818310171562003d7c5762003d7c62003ce5565b81604052828152888684870101111562003d9557600080fd5b600093505b8284101562003db9578484018601518185018701529285019262003d9a565b600086848301015280965050505050505092915050565b600181811c9082168062003de557607f821691505b60208210810362003e0657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562003e5a57600081815260208120601f850160051c8101602086101562003e355750805b601f850160051c820191505b8181101562003e565782815560010162003e41565b5050505b505050565b81516001600160401b0381111562003e7b5762003e7b62003ce5565b62003e938162003e8c845462003dd0565b8462003e0c565b602080601f83116001811462003ecb576000841562003eb25750858301515b600019600386901b1c1916600185901b17855562003e56565b600085815260208120601f198616915b8281101562003efc5788860151825594840194600190910190840162003edb565b508582101562003f1b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6138bb8062003f3b6000396000f3fe608060405234801561001057600080fd5b506004361061035d5760003560e01c80634f6ccce7116101d3578063a80ec05a11610104578063caee3003116100a2578063dc53fd921161007c578063dc53fd9214610788578063e985e9c514610791578063f2fde38b146107cd578063fe379fd7146107e057600080fd5b8063caee300314610742578063d6bfd39a14610755578063d73839211461076857600080fd5b8063b67de96f116100de578063b67de96f146106de578063b88d4fde14610714578063c24b9ec814610727578063c87b56dd1461072f57600080fd5b8063a80ec05a146106a5578063ab8ce091146106b8578063b456fee9146106cb57600080fd5b80636f8b44b011610171578063806c440d1161014b578063806c440d146106665780638da5cb5b1461067957806395d89b411461068a578063a22cb4651461069257600080fd5b80636f8b44b01461063857806370a082311461064b578063715018a61461065e57600080fd5b806362bc076c116101ad57806362bc076c146105f65780636352211e1461060a578063643b7b0d1461061d57806365216a411461062557600080fd5b80634f6ccce7146105bd57806355f804b3146105d05780635d82cf6e146105e357600080fd5b806327060b2b116102ad57806341f434341161024b57806344d98c8e1161022557806344d98c8e14610554578063493b5634146105675780634ace6724146105875780634bf404ec1461059a57600080fd5b806341f434341461051857806342842e0e1461052d57806342d9e45c1461054057600080fd5b80632db11544116102875780632db11544146104e15780632f745c59146104f457806332cb6b0c146105075780634047638d1461051057600080fd5b806327060b2b146104a35780632790e03e146104b65780632cd0da61146104be57600080fd5b80630f4161aa1161031a57806318160ddd116102f457806318160ddd146104605780631d97bc0014610468578063216a030c1461047d57806323b872dd1461049057600080fd5b80630f4161aa146104205780631015805b1461042d57806317dbd54f1461044d57600080fd5b806301ffc9a71461036257806306a0dd201461038a57806306fdde03146103b8578063081812fc146103cd578063095ea7b3146103f85780630a8ecdcb1461040d575b600080fd5b610375610370366004612ef5565b610816565b60405190151581526020015b60405180910390f35b6103aa610398366004612f2e565b601d6020526000908152604090205481565b604051908152602001610381565b6103c0610841565b6040516103819190612f99565b6103e06103db366004612fac565b6108d3565b6040516001600160a01b039091168152602001610381565b61040b610406366004612fc5565b6108fa565b005b61040b61041b3660046130b4565b610913565b600f546103759060ff1681565b6103aa61043b366004612f2e565b60126020526000908152604090205481565b6013546103e0906001600160a01b031681565b6008546103aa565b61047061104b565b6040516103819190613160565b6103aa61048b366004612fac565b6110a2565b61040b61049e3660046131a4565b6110c3565b6017546103e0906001600160a01b031681565b61040b6110e8565b6103756104cc366004612fac565b601e6020526000908152604090205460ff1681565b61040b6104ef366004612fac565b611111565b6103aa610502366004612fc5565b6112c2565b6103aa600c5481565b61040b611358565b6103e06daaeb6d7670e522a718067333cd4e81565b61040b61053b3660046131a4565b611374565b60175461037590600160a81b900460ff1681565b61040b6105623660046131e0565b611399565b6103aa610575366004612f2e565b601c6020526000908152604090205481565b6014546103e0906001600160a01b031681565b6103756105a8366004612fac565b601f6020526000908152604090205460ff1681565b6103aa6105cb366004612fac565b611400565b61040b6105de36600461329c565b611493565b61040b6105f1366004612fac565b6114ab565b60175461037590600160a01b900460ff1681565b6103e0610618366004612fac565b6114b8565b610470611518565b61040b61063336600461332f565b61156e565b61040b610646366004612fac565b611712565b6103aa610659366004612f2e565b6117c2565b61040b611848565b610470610674366004612f2e565b61185c565b600a546001600160a01b03166103e0565b6103c0611934565b61040b6106a03660046133a8565b611943565b6016546103e0906001600160a01b031681565b6015546103e0906001600160a01b031681565b61040b6106d93660046133df565b611957565b6103e06106ec366004612fc5565b6001600160a01b03918216600090815260196020908152604080832093835292905220541690565b61040b610722366004613413565b611c3a565b61040b611c67565b6103c061073d366004612fac565b611c90565b6103aa610750366004612fac565b611cf7565b610470610763366004613482565b611d07565b6103aa610776366004612f2e565b601b6020526000908152604090205481565b6103aa600e5481565b61037561079f366004613482565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61040b6107db366004612f2e565b611dd2565b6103aa6107ee366004612fc5565b6001600160a01b03919091166000908152601a60209081526040808320938352929052205490565b60006001600160e01b0319821663780e9d6360e01b148061083b575061083b82611e48565b92915050565b606060008054610850906134b5565b80601f016020809104026020016040519081016040528092919081815260200182805461087c906134b5565b80156108c95780601f1061089e576101008083540402835291602001916108c9565b820191906000526020600020905b8154815290600101906020018083116108ac57829003601f168201915b5050505050905090565b60006108de82611e98565b506000908152600460205260409020546001600160a01b031690565b8161090481611ef7565b61090e8383611fb0565b505050565b61091b6120c0565b601754600160a81b900460ff166109715760405162461bcd60e51b8152602060048201526015602482015274189d5b1ac8189d5c9b881b9bdd08195b98589b1959605a1b60448201526064015b60405180910390fd5b60005b8451811015610b28576000858281518110610991576109916134ef565b602002602001015190506109a23390565b601680546001600160a01b039081166000908152601960209081526040808320878452909152902080546001600160a01b0319169382169390931790925554166323b872dd336017546040516001600160e01b031960e085901b168152610a1892916001600160a01b0316908690600401613505565b600060405180830381600087803b158015610a3257600080fd5b505af1158015610a46573d6000803e3d6000fd5b50506016546001600160a01b03166000908152601860205260408120610a8c935084925090335b6001600160a01b03168152602081019190915260400160002090612119565b506016546001600160a01b03166000908152601a602090815260408083208484528252808320429055338352601b909152902054610acb90600861353f565b336000818152601b60205260409081902092909255601654915160008051602061386683398151915292610b0d926001600160a01b0390911691859190613552565b60405180910390a15080610b2081613575565b915050610974565b5060005b8351811015610cc5576000848281518110610b4957610b496134ef565b60200260200101519050610b5a3390565b601380546001600160a01b039081166000908152601960209081526040808320878452909152902080546001600160a01b0319169382169390931790925554166323b872dd336017546040516001600160e01b031960e085901b168152610bd092916001600160a01b0316908690600401613505565b600060405180830381600087803b158015610bea57600080fd5b505af1158015610bfe573d6000803e3d6000fd5b50506013546001600160a01b03166000908152601860205260408120610c2993508492509033610a6d565b506013546001600160a01b03166000908152601a602090815260408083208484528252808320429055338352601b909152902054610c6890600c61353f565b336000818152601b60205260409081902092909255601354915160008051602061386683398151915292610caa926001600160a01b0390911691859190613552565b60405180910390a15080610cbd81613575565b915050610b2c565b5060005b8251811015610e62576000838281518110610ce657610ce66134ef565b60200260200101519050610cf73390565b601480546001600160a01b039081166000908152601960209081526040808320878452909152902080546001600160a01b0319169382169390931790925554166323b872dd336017546040516001600160e01b031960e085901b168152610d6d92916001600160a01b0316908690600401613505565b600060405180830381600087803b158015610d8757600080fd5b505af1158015610d9b573d6000803e3d6000fd5b50506014546001600160a01b03166000908152601860205260408120610dc693508492509033610a6d565b506014546001600160a01b03166000908152601a602090815260408083208484528252808320429055338352601b909152902054610e0590600661353f565b336000818152601b60205260409081902092909255601454915160008051602061386683398151915292610e47926001600160a01b0390911691859190613552565b60405180910390a15080610e5a81613575565b915050610cc9565b5060005b815181101561103a576000828281518110610e8357610e836134ef565b60200260200101519050610e943390565b601580546001600160a01b039081166000908152601960209081526040808320878452909152902080546001600160a01b0319169382169390931790925554166323b872dd336017546040516001600160e01b031960e085901b168152610f0a92916001600160a01b0316908690600401613505565b600060405180830381600087803b158015610f2457600080fd5b505af1158015610f38573d6000803e3d6000fd5b50506015546001600160a01b03166000908152601860205260408120610f6393508492509033610a6d565b506015546001600160a01b03166000908152601a602090815260408083208484529091529020429055611f2b811115610fc657336000908152601b6020526040902054610fb190600a61353f565b336000908152601b6020526040902055610ff2565b336000908152601b6020526040902054610fe190600561353f565b336000908152601b60205260409020555b601554600080516020613866833981519152906001600160a01b0316823360405161101f93929190613552565b60405180910390a1508061103281613575565b915050610e66565b506110456001600b55565b50505050565b606060108054806020026020016040519081016040528092919081815260200182805480156108c957602002820191906000526020600020905b815481526020019060010190808311611085575050505050905090565b601081815481106110b257600080fd5b600091825260209091200154905081565b826001600160a01b03811633146110dd576110dd33611ef7565b611045848484612125565b6110f0612156565b6017805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6111196120c0565b600061112460085490565b600f5490915060ff166111795760405162461bcd60e51b815260206004820152601760248201527f5075626c6963206d696e74206e6f7420656e61626c65640000000000000000006044820152606401610968565b336000908152601b6020526040902054600e54611196908461358e565b11156111d95760405162461bcd60e51b81526020600482015260126024820152714d6f726520506f696e747320706c6561736560701b6044820152606401610968565b600c546111e6828461353f565b111561124d5760405162461bcd60e51b815260206004820152603060248201527f506c6561736520747279206d696e74696e672077697468206c6573732c206e6f60448201526f7420656e6f75676820737570706c792160801b6064820152608401610968565b600e5461125a908361358e565b336000908152601b602052604090205461127491906135a5565b336000818152601b602052604090209190915561129190836121b0565b5033600090815260126020526040812080548492906112b190849061353f565b90915550506001600b555050565b50565b60006112cd836117c2565b821061132f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610968565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b611360612156565b600f805460ff19811660ff90911615179055565b826001600160a01b038116331461138e5761138e33611ef7565b611045848484612335565b6113a1612156565b601680546001600160a01b03199081166001600160a01b03978816179091556013805482169587169590951790945560148054851693861693909317909255601580548416918516919091179055601780549092169216919091179055565b600061140b60085490565b821061146e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610968565b60088281548110611481576114816134ef565b90600052602060002001549050919050565b61149b612156565b600d6114a78282613606565b5050565b6114b3612156565b600e55565b6000818152600260205260408120546001600160a01b03168061083b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610968565b606060118054806020026020016040519081016040528092919081815260200182805480156108c95760200282019190600052602060002090815481526020019060010190808311611085575050505050905090565b611576612156565b8083146115dc5760405162461bcd60e51b815260206004820152602e60248201527f506c656173652070726f7669646520657175616c207175616e7469746965732060448201526d616e6420726563697069656e747360901b6064820152608401610968565b6000806115e860085490565b905060005b8381101561162b57848482818110611607576116076134ef565b9050602002013583611619919061353f565b925061162481613575565b90506115ed565b50600c54611639838361353f565b111561167b5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820737570706c7960781b6044820152606401610968565b6000915060005b858110156117095760005b85858381811061169f5761169f6134ef565b905060200201358110156116f8576116e88888848181106116c2576116c26134ef565b90506020020160208101906116d79190612f2e565b846116e181613575565b9550612350565b6116f181613575565b905061168d565b5061170281613575565b9050611682565b50505050505050565b61171a612156565b600c54810361176b5760405162461bcd60e51b815260206004820181905260248201527f53616d652076616c75652061732063757272656e74206d617820737570706c796044820152606401610968565b6008548110156117bd5760405162461bcd60e51b815260206004820152601d60248201527f56616c7565206c6f776572207468616e20746f74616c20737570706c790000006044820152606401610968565b600c55565b60006001600160a01b03821661182c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610968565b506001600160a01b031660009081526003602052604090205490565b611850612156565b61185a600061236a565b565b6060600061186960085490565b90506000611876846117c2565b90506000816001600160401b0381111561189257611892612fef565b6040519080825280602002602001820160405280156118bb578160200160208202803683370190505b5090506000805b84811015611929576118d3816114b8565b6001600160a01b0316876001600160a01b03160361191757808383815181106118fe576118fe6134ef565b60209081029190910101528161191381613575565b9250505b8061192181613575565b9150506118c2565b509095945050505050565b606060018054610850906134b5565b8161194d81611ef7565b61090e83836123bc565b61195f6120c0565b601754600160a01b900460ff166119b85760405162461bcd60e51b815260206004820152601860248201527f70686173652031206275726e206e6f7420656e61626c656400000000000000006044820152606401610968565b60005b8151811015611c2f5760008282815181106119d8576119d86134ef565b6020908102919091018101516000818152601e90925260409091205490915060ff1615611a3f57336000908152601d6020526040902054611a1a90600161353f565b601d6000335b6001600160a01b03168152602081019190915260400160002055611acf565b6000818152601f602052604090205460ff1615611a7b57336000908152601c6020526040902054611a7190600161353f565b601c600033611a20565b60405162461bcd60e51b8152602060048201526024808201527f4e6f742045706963206f72204e6f726d616c20447261676f6e2077697468204260448201526330b13c9760e11b6064820152608401610968565b601680546001600160a01b0390811660009081526019602090815260408083208684529091529081902080546001600160a01b03191633908117909155925460175491516323b872dd60e01b8152908316936323b872dd93611b3a9391929116908690600401613505565b600060405180830381600087803b158015611b5457600080fd5b505af1158015611b68573d6000803e3d6000fd5b50506016546001600160a01b03166000908152601860205260408120611b9393508492509033610a6d565b506016546001600160a01b03166000908152601a602090815260408083208484528252808320429055338352601b909152902054611bd290603c61353f565b336000818152601b60205260409081902092909255601654915160008051602061386683398151915292611c14926001600160a01b0390911691859190613552565b60405180910390a15080611c2781613575565b9150506119bb565b506112bf6001600b55565b836001600160a01b0381163314611c5457611c5433611ef7565b611c60858585856123c7565b5050505050565b611c6f612156565b6017805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6060611c9b82611e98565b6000611ca56123f9565b90506000815111611cc55760405180602001604052806000815250611cf0565b80611ccf84612408565b604051602001611ce09291906136c5565b6040516020818303038152906040525b9392505050565b601181815481106110b257600080fd5b6001600160a01b0380831660009081526018602090815260408083209385168352929052908120606091611d3a8261249a565b6001600160401b03811115611d5157611d51612fef565b604051908082528060200260200182016040528015611d7a578160200160208202803683370190505b50905060005b611d898361249a565b811015611dc957611d9a83826124a4565b828281518110611dac57611dac6134ef565b602090810291909101015280611dc181613575565b915050611d80565b50949350505050565b611dda612156565b6001600160a01b038116611e3f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610968565b6112bf8161236a565b60006001600160e01b031982166380ac58cd60e01b1480611e7957506001600160e01b03198216635b5e139f60e01b145b8061083b57506301ffc9a760e01b6001600160e01b031983161461083b565b6000818152600260205260409020546001600160a01b03166112bf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610968565b6daaeb6d7670e522a718067333cd4e3b156112bf57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611f64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8891906136f4565b6112bf57604051633b79c77360e21b81526001600160a01b0382166004820152602401610968565b6000611fbb826114b8565b9050806001600160a01b0316836001600160a01b0316036120285760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610968565b336001600160a01b03821614806120445750612044813361079f565b6120b65760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610968565b61090e83836124b0565b6002600b54036121125760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610968565b6002600b55565b6000611cf0838361251e565b61212f338261256d565b61214b5760405162461bcd60e51b815260040161096890613711565b61090e8383836125ec565b600a546001600160a01b0316331461185a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610968565b60008082116121f65760405162461bcd60e51b81526020600482015260126024820152714d696e745a65726f5175616e74697479282960701b6044820152606401610968565b600061220160085490565b905060005b8381101561232a57600061221a828461353f565b336000908152601d60205260409020549091501561229757336000908152601d602052604090205461224e906001906135a5565b336000908152601d60205260408120919091556011805460018101825591527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680181905561230d565b336000908152601c60205260409020541561230d57336000908152601c60205260409020546122c8906001906135a5565b336000908152601c60205260408120919091556010805460018101825591527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae672018190555b6123178682612350565b508061232281613575565b915050612206565b506001949350505050565b61090e83838360405180602001604052806000815250611c3a565b6114a782826040518060200160405280600081525061275d565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114a7338383612790565b6123d1338361256d565b6123ed5760405162461bcd60e51b815260040161096890613711565b6110458484848461285e565b6060600d8054610850906134b5565b6060600061241583612891565b60010190506000816001600160401b0381111561243457612434612fef565b6040519080825280601f01601f19166020018201604052801561245e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461246857509392505050565b600061083b825490565b6000611cf08383612969565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124e5826114b8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526001830160205260408120546125655750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561083b565b50600061083b565b600080612579836114b8565b9050806001600160a01b0316846001600160a01b031614806125c057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806125e45750836001600160a01b03166125d9846108d3565b6001600160a01b0316145b949350505050565b826001600160a01b03166125ff826114b8565b6001600160a01b0316146126255760405162461bcd60e51b81526004016109689061375e565b6001600160a01b0382166126875760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610968565b6126948383836001612993565b826001600160a01b03166126a7826114b8565b6001600160a01b0316146126cd5760405162461bcd60e51b81526004016109689061375e565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6127678383612ac0565b6127746000848484612c59565b61090e5760405162461bcd60e51b8152600401610968906137a3565b816001600160a01b0316836001600160a01b0316036127f15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610968565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6128698484846125ec565b61287584848484612c59565b6110455760405162461bcd60e51b8152600401610968906137a3565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128d05772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106128fc576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061291a57662386f26fc10000830492506010015b6305f5e1008310612932576305f5e100830492506008015b612710831061294657612710830492506004015b60648310612958576064830492506002015b600a831061083b5760010192915050565b6000826000018281548110612980576129806134ef565b9060005260206000200154905092915050565b6001811115612a025760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610968565b816001600160a01b038516612a5e57612a5981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612a81565b836001600160a01b0316856001600160a01b031614612a8157612a818582612d4f565b6001600160a01b038416612a9d57612a9881612dec565b611c60565b846001600160a01b0316846001600160a01b031614611c6057611c608482612e9b565b6001600160a01b038216612b165760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610968565b6000818152600260205260409020546001600160a01b031615612b7b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610968565b612b89600083836001612993565b6000818152600260205260409020546001600160a01b031615612bee5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610968565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561232a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612c9d9033908990889088906004016137f5565b6020604051808303816000875af1925050508015612cd8575060408051601f3d908101601f19168201909252612cd591810190613832565b60015b612d35573d808015612d06576040519150601f19603f3d011682016040523d82523d6000602084013e612d0b565b606091505b508051600003612d2d5760405162461bcd60e51b8152600401610968906137a3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506125e4565b60006001612d5c846117c2565b612d6691906135a5565b600083815260076020526040902054909150808214612db9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612dfe906001906135a5565b60008381526009602052604081205460088054939450909284908110612e2657612e266134ef565b906000526020600020015490508060088381548110612e4757612e476134ef565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612e7f57612e7f61384f565b6001900381819060005260206000200160009055905550505050565b6000612ea6836117c2565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b0319811681146112bf57600080fd5b600060208284031215612f0757600080fd5b8135611cf081612edf565b80356001600160a01b0381168114612f2957600080fd5b919050565b600060208284031215612f4057600080fd5b611cf082612f12565b60005b83811015612f64578181015183820152602001612f4c565b50506000910152565b60008151808452612f85816020860160208601612f49565b601f01601f19169290920160200192915050565b602081526000611cf06020830184612f6d565b600060208284031215612fbe57600080fd5b5035919050565b60008060408385031215612fd857600080fd5b612fe183612f12565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561302d5761302d612fef565b604052919050565b600082601f83011261304657600080fd5b813560206001600160401b0382111561306157613061612fef565b8160051b613070828201613005565b928352848101820192828101908785111561308a57600080fd5b83870192505b848310156130a957823582529183019190830190613090565b979650505050505050565b600080600080608085870312156130ca57600080fd5b84356001600160401b03808211156130e157600080fd5b6130ed88838901613035565b9550602087013591508082111561310357600080fd5b61310f88838901613035565b9450604087013591508082111561312557600080fd5b61313188838901613035565b9350606087013591508082111561314757600080fd5b5061315487828801613035565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b818110156131985783518352928401929184019160010161317c565b50909695505050505050565b6000806000606084860312156131b957600080fd5b6131c284612f12565b92506131d060208501612f12565b9150604084013590509250925092565b600080600080600060a086880312156131f857600080fd5b61320186612f12565b945061320f60208701612f12565b935061321d60408701612f12565b925061322b60608701612f12565b915061323960808701612f12565b90509295509295909350565b60006001600160401b0383111561325e5761325e612fef565b613271601f8401601f1916602001613005565b905082815283838301111561328557600080fd5b828260208301376000602084830101529392505050565b6000602082840312156132ae57600080fd5b81356001600160401b038111156132c457600080fd5b8201601f810184136132d557600080fd5b6125e484823560208401613245565b60008083601f8401126132f657600080fd5b5081356001600160401b0381111561330d57600080fd5b6020830191508360208260051b850101111561332857600080fd5b9250929050565b6000806000806040858703121561334557600080fd5b84356001600160401b038082111561335c57600080fd5b613368888389016132e4565b9096509450602087013591508082111561338157600080fd5b5061338e878288016132e4565b95989497509550505050565b80151581146112bf57600080fd5b600080604083850312156133bb57600080fd5b6133c483612f12565b915060208301356133d48161339a565b809150509250929050565b6000602082840312156133f157600080fd5b81356001600160401b0381111561340757600080fd5b6125e484828501613035565b6000806000806080858703121561342957600080fd5b61343285612f12565b935061344060208601612f12565b92506040850135915060608501356001600160401b0381111561346257600080fd5b8501601f8101871361347357600080fd5b61315487823560208401613245565b6000806040838503121561349557600080fd5b61349e83612f12565b91506134ac60208401612f12565b90509250929050565b600181811c908216806134c957607f821691505b6020821081036134e957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561083b5761083b613529565b6001600160a01b0393841681526020810192909252909116604082015260600190565b60006001820161358757613587613529565b5060010190565b808202811582820484141761083b5761083b613529565b8181038181111561083b5761083b613529565b601f82111561090e57600081815260208120601f850160051c810160208610156135df5750805b601f850160051c820191505b818110156135fe578281556001016135eb565b505050505050565b81516001600160401b0381111561361f5761361f612fef565b6136338161362d84546134b5565b846135b8565b602080601f83116001811461366857600084156136505750858301515b600019600386901b1c1916600185901b1785556135fe565b600085815260208120601f198616915b8281101561369757888601518255948401946001909101908401613678565b50858210156136b55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516136d7818460208801612f49565b8351908301906136eb818360208801612f49565b01949350505050565b60006020828403121561370657600080fd5b8151611cf08161339a565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061382890830184612f6d565b9695505050505050565b60006020828403121561384457600080fd5b8151611cf081612edf565b634e487b7160e01b600052603160045260246000fdfedbdf9b8e4b75e75b162d151ec8fc7f0561cabab5fcccfa2600be62223e4300c4a2646970667358221220970fd20e80891b66943add08d0bcfd8bfa3dd6e00d7310391863b1731204b06d64736f6c634300081300330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004668747470733a2f2f787a39773164696578692e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f7072696d65447261676f6e3f69643d0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061035d5760003560e01c80634f6ccce7116101d3578063a80ec05a11610104578063caee3003116100a2578063dc53fd921161007c578063dc53fd9214610788578063e985e9c514610791578063f2fde38b146107cd578063fe379fd7146107e057600080fd5b8063caee300314610742578063d6bfd39a14610755578063d73839211461076857600080fd5b8063b67de96f116100de578063b67de96f146106de578063b88d4fde14610714578063c24b9ec814610727578063c87b56dd1461072f57600080fd5b8063a80ec05a146106a5578063ab8ce091146106b8578063b456fee9146106cb57600080fd5b80636f8b44b011610171578063806c440d1161014b578063806c440d146106665780638da5cb5b1461067957806395d89b411461068a578063a22cb4651461069257600080fd5b80636f8b44b01461063857806370a082311461064b578063715018a61461065e57600080fd5b806362bc076c116101ad57806362bc076c146105f65780636352211e1461060a578063643b7b0d1461061d57806365216a411461062557600080fd5b80634f6ccce7146105bd57806355f804b3146105d05780635d82cf6e146105e357600080fd5b806327060b2b116102ad57806341f434341161024b57806344d98c8e1161022557806344d98c8e14610554578063493b5634146105675780634ace6724146105875780634bf404ec1461059a57600080fd5b806341f434341461051857806342842e0e1461052d57806342d9e45c1461054057600080fd5b80632db11544116102875780632db11544146104e15780632f745c59146104f457806332cb6b0c146105075780634047638d1461051057600080fd5b806327060b2b146104a35780632790e03e146104b65780632cd0da61146104be57600080fd5b80630f4161aa1161031a57806318160ddd116102f457806318160ddd146104605780631d97bc0014610468578063216a030c1461047d57806323b872dd1461049057600080fd5b80630f4161aa146104205780631015805b1461042d57806317dbd54f1461044d57600080fd5b806301ffc9a71461036257806306a0dd201461038a57806306fdde03146103b8578063081812fc146103cd578063095ea7b3146103f85780630a8ecdcb1461040d575b600080fd5b610375610370366004612ef5565b610816565b60405190151581526020015b60405180910390f35b6103aa610398366004612f2e565b601d6020526000908152604090205481565b604051908152602001610381565b6103c0610841565b6040516103819190612f99565b6103e06103db366004612fac565b6108d3565b6040516001600160a01b039091168152602001610381565b61040b610406366004612fc5565b6108fa565b005b61040b61041b3660046130b4565b610913565b600f546103759060ff1681565b6103aa61043b366004612f2e565b60126020526000908152604090205481565b6013546103e0906001600160a01b031681565b6008546103aa565b61047061104b565b6040516103819190613160565b6103aa61048b366004612fac565b6110a2565b61040b61049e3660046131a4565b6110c3565b6017546103e0906001600160a01b031681565b61040b6110e8565b6103756104cc366004612fac565b601e6020526000908152604090205460ff1681565b61040b6104ef366004612fac565b611111565b6103aa610502366004612fc5565b6112c2565b6103aa600c5481565b61040b611358565b6103e06daaeb6d7670e522a718067333cd4e81565b61040b61053b3660046131a4565b611374565b60175461037590600160a81b900460ff1681565b61040b6105623660046131e0565b611399565b6103aa610575366004612f2e565b601c6020526000908152604090205481565b6014546103e0906001600160a01b031681565b6103756105a8366004612fac565b601f6020526000908152604090205460ff1681565b6103aa6105cb366004612fac565b611400565b61040b6105de36600461329c565b611493565b61040b6105f1366004612fac565b6114ab565b60175461037590600160a01b900460ff1681565b6103e0610618366004612fac565b6114b8565b610470611518565b61040b61063336600461332f565b61156e565b61040b610646366004612fac565b611712565b6103aa610659366004612f2e565b6117c2565b61040b611848565b610470610674366004612f2e565b61185c565b600a546001600160a01b03166103e0565b6103c0611934565b61040b6106a03660046133a8565b611943565b6016546103e0906001600160a01b031681565b6015546103e0906001600160a01b031681565b61040b6106d93660046133df565b611957565b6103e06106ec366004612fc5565b6001600160a01b03918216600090815260196020908152604080832093835292905220541690565b61040b610722366004613413565b611c3a565b61040b611c67565b6103c061073d366004612fac565b611c90565b6103aa610750366004612fac565b611cf7565b610470610763366004613482565b611d07565b6103aa610776366004612f2e565b601b6020526000908152604090205481565b6103aa600e5481565b61037561079f366004613482565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61040b6107db366004612f2e565b611dd2565b6103aa6107ee366004612fc5565b6001600160a01b03919091166000908152601a60209081526040808320938352929052205490565b60006001600160e01b0319821663780e9d6360e01b148061083b575061083b82611e48565b92915050565b606060008054610850906134b5565b80601f016020809104026020016040519081016040528092919081815260200182805461087c906134b5565b80156108c95780601f1061089e576101008083540402835291602001916108c9565b820191906000526020600020905b8154815290600101906020018083116108ac57829003601f168201915b5050505050905090565b60006108de82611e98565b506000908152600460205260409020546001600160a01b031690565b8161090481611ef7565b61090e8383611fb0565b505050565b61091b6120c0565b601754600160a81b900460ff166109715760405162461bcd60e51b8152602060048201526015602482015274189d5b1ac8189d5c9b881b9bdd08195b98589b1959605a1b60448201526064015b60405180910390fd5b60005b8451811015610b28576000858281518110610991576109916134ef565b602002602001015190506109a23390565b601680546001600160a01b039081166000908152601960209081526040808320878452909152902080546001600160a01b0319169382169390931790925554166323b872dd336017546040516001600160e01b031960e085901b168152610a1892916001600160a01b0316908690600401613505565b600060405180830381600087803b158015610a3257600080fd5b505af1158015610a46573d6000803e3d6000fd5b50506016546001600160a01b03166000908152601860205260408120610a8c935084925090335b6001600160a01b03168152602081019190915260400160002090612119565b506016546001600160a01b03166000908152601a602090815260408083208484528252808320429055338352601b909152902054610acb90600861353f565b336000818152601b60205260409081902092909255601654915160008051602061386683398151915292610b0d926001600160a01b0390911691859190613552565b60405180910390a15080610b2081613575565b915050610974565b5060005b8351811015610cc5576000848281518110610b4957610b496134ef565b60200260200101519050610b5a3390565b601380546001600160a01b039081166000908152601960209081526040808320878452909152902080546001600160a01b0319169382169390931790925554166323b872dd336017546040516001600160e01b031960e085901b168152610bd092916001600160a01b0316908690600401613505565b600060405180830381600087803b158015610bea57600080fd5b505af1158015610bfe573d6000803e3d6000fd5b50506013546001600160a01b03166000908152601860205260408120610c2993508492509033610a6d565b506013546001600160a01b03166000908152601a602090815260408083208484528252808320429055338352601b909152902054610c6890600c61353f565b336000818152601b60205260409081902092909255601354915160008051602061386683398151915292610caa926001600160a01b0390911691859190613552565b60405180910390a15080610cbd81613575565b915050610b2c565b5060005b8251811015610e62576000838281518110610ce657610ce66134ef565b60200260200101519050610cf73390565b601480546001600160a01b039081166000908152601960209081526040808320878452909152902080546001600160a01b0319169382169390931790925554166323b872dd336017546040516001600160e01b031960e085901b168152610d6d92916001600160a01b0316908690600401613505565b600060405180830381600087803b158015610d8757600080fd5b505af1158015610d9b573d6000803e3d6000fd5b50506014546001600160a01b03166000908152601860205260408120610dc693508492509033610a6d565b506014546001600160a01b03166000908152601a602090815260408083208484528252808320429055338352601b909152902054610e0590600661353f565b336000818152601b60205260409081902092909255601454915160008051602061386683398151915292610e47926001600160a01b0390911691859190613552565b60405180910390a15080610e5a81613575565b915050610cc9565b5060005b815181101561103a576000828281518110610e8357610e836134ef565b60200260200101519050610e943390565b601580546001600160a01b039081166000908152601960209081526040808320878452909152902080546001600160a01b0319169382169390931790925554166323b872dd336017546040516001600160e01b031960e085901b168152610f0a92916001600160a01b0316908690600401613505565b600060405180830381600087803b158015610f2457600080fd5b505af1158015610f38573d6000803e3d6000fd5b50506015546001600160a01b03166000908152601860205260408120610f6393508492509033610a6d565b506015546001600160a01b03166000908152601a602090815260408083208484529091529020429055611f2b811115610fc657336000908152601b6020526040902054610fb190600a61353f565b336000908152601b6020526040902055610ff2565b336000908152601b6020526040902054610fe190600561353f565b336000908152601b60205260409020555b601554600080516020613866833981519152906001600160a01b0316823360405161101f93929190613552565b60405180910390a1508061103281613575565b915050610e66565b506110456001600b55565b50505050565b606060108054806020026020016040519081016040528092919081815260200182805480156108c957602002820191906000526020600020905b815481526020019060010190808311611085575050505050905090565b601081815481106110b257600080fd5b600091825260209091200154905081565b826001600160a01b03811633146110dd576110dd33611ef7565b611045848484612125565b6110f0612156565b6017805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6111196120c0565b600061112460085490565b600f5490915060ff166111795760405162461bcd60e51b815260206004820152601760248201527f5075626c6963206d696e74206e6f7420656e61626c65640000000000000000006044820152606401610968565b336000908152601b6020526040902054600e54611196908461358e565b11156111d95760405162461bcd60e51b81526020600482015260126024820152714d6f726520506f696e747320706c6561736560701b6044820152606401610968565b600c546111e6828461353f565b111561124d5760405162461bcd60e51b815260206004820152603060248201527f506c6561736520747279206d696e74696e672077697468206c6573732c206e6f60448201526f7420656e6f75676820737570706c792160801b6064820152608401610968565b600e5461125a908361358e565b336000908152601b602052604090205461127491906135a5565b336000818152601b602052604090209190915561129190836121b0565b5033600090815260126020526040812080548492906112b190849061353f565b90915550506001600b555050565b50565b60006112cd836117c2565b821061132f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610968565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b611360612156565b600f805460ff19811660ff90911615179055565b826001600160a01b038116331461138e5761138e33611ef7565b611045848484612335565b6113a1612156565b601680546001600160a01b03199081166001600160a01b03978816179091556013805482169587169590951790945560148054851693861693909317909255601580548416918516919091179055601780549092169216919091179055565b600061140b60085490565b821061146e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610968565b60088281548110611481576114816134ef565b90600052602060002001549050919050565b61149b612156565b600d6114a78282613606565b5050565b6114b3612156565b600e55565b6000818152600260205260408120546001600160a01b03168061083b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610968565b606060118054806020026020016040519081016040528092919081815260200182805480156108c95760200282019190600052602060002090815481526020019060010190808311611085575050505050905090565b611576612156565b8083146115dc5760405162461bcd60e51b815260206004820152602e60248201527f506c656173652070726f7669646520657175616c207175616e7469746965732060448201526d616e6420726563697069656e747360901b6064820152608401610968565b6000806115e860085490565b905060005b8381101561162b57848482818110611607576116076134ef565b9050602002013583611619919061353f565b925061162481613575565b90506115ed565b50600c54611639838361353f565b111561167b5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820737570706c7960781b6044820152606401610968565b6000915060005b858110156117095760005b85858381811061169f5761169f6134ef565b905060200201358110156116f8576116e88888848181106116c2576116c26134ef565b90506020020160208101906116d79190612f2e565b846116e181613575565b9550612350565b6116f181613575565b905061168d565b5061170281613575565b9050611682565b50505050505050565b61171a612156565b600c54810361176b5760405162461bcd60e51b815260206004820181905260248201527f53616d652076616c75652061732063757272656e74206d617820737570706c796044820152606401610968565b6008548110156117bd5760405162461bcd60e51b815260206004820152601d60248201527f56616c7565206c6f776572207468616e20746f74616c20737570706c790000006044820152606401610968565b600c55565b60006001600160a01b03821661182c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610968565b506001600160a01b031660009081526003602052604090205490565b611850612156565b61185a600061236a565b565b6060600061186960085490565b90506000611876846117c2565b90506000816001600160401b0381111561189257611892612fef565b6040519080825280602002602001820160405280156118bb578160200160208202803683370190505b5090506000805b84811015611929576118d3816114b8565b6001600160a01b0316876001600160a01b03160361191757808383815181106118fe576118fe6134ef565b60209081029190910101528161191381613575565b9250505b8061192181613575565b9150506118c2565b509095945050505050565b606060018054610850906134b5565b8161194d81611ef7565b61090e83836123bc565b61195f6120c0565b601754600160a01b900460ff166119b85760405162461bcd60e51b815260206004820152601860248201527f70686173652031206275726e206e6f7420656e61626c656400000000000000006044820152606401610968565b60005b8151811015611c2f5760008282815181106119d8576119d86134ef565b6020908102919091018101516000818152601e90925260409091205490915060ff1615611a3f57336000908152601d6020526040902054611a1a90600161353f565b601d6000335b6001600160a01b03168152602081019190915260400160002055611acf565b6000818152601f602052604090205460ff1615611a7b57336000908152601c6020526040902054611a7190600161353f565b601c600033611a20565b60405162461bcd60e51b8152602060048201526024808201527f4e6f742045706963206f72204e6f726d616c20447261676f6e2077697468204260448201526330b13c9760e11b6064820152608401610968565b601680546001600160a01b0390811660009081526019602090815260408083208684529091529081902080546001600160a01b03191633908117909155925460175491516323b872dd60e01b8152908316936323b872dd93611b3a9391929116908690600401613505565b600060405180830381600087803b158015611b5457600080fd5b505af1158015611b68573d6000803e3d6000fd5b50506016546001600160a01b03166000908152601860205260408120611b9393508492509033610a6d565b506016546001600160a01b03166000908152601a602090815260408083208484528252808320429055338352601b909152902054611bd290603c61353f565b336000818152601b60205260409081902092909255601654915160008051602061386683398151915292611c14926001600160a01b0390911691859190613552565b60405180910390a15080611c2781613575565b9150506119bb565b506112bf6001600b55565b836001600160a01b0381163314611c5457611c5433611ef7565b611c60858585856123c7565b5050505050565b611c6f612156565b6017805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6060611c9b82611e98565b6000611ca56123f9565b90506000815111611cc55760405180602001604052806000815250611cf0565b80611ccf84612408565b604051602001611ce09291906136c5565b6040516020818303038152906040525b9392505050565b601181815481106110b257600080fd5b6001600160a01b0380831660009081526018602090815260408083209385168352929052908120606091611d3a8261249a565b6001600160401b03811115611d5157611d51612fef565b604051908082528060200260200182016040528015611d7a578160200160208202803683370190505b50905060005b611d898361249a565b811015611dc957611d9a83826124a4565b828281518110611dac57611dac6134ef565b602090810291909101015280611dc181613575565b915050611d80565b50949350505050565b611dda612156565b6001600160a01b038116611e3f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610968565b6112bf8161236a565b60006001600160e01b031982166380ac58cd60e01b1480611e7957506001600160e01b03198216635b5e139f60e01b145b8061083b57506301ffc9a760e01b6001600160e01b031983161461083b565b6000818152600260205260409020546001600160a01b03166112bf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610968565b6daaeb6d7670e522a718067333cd4e3b156112bf57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611f64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8891906136f4565b6112bf57604051633b79c77360e21b81526001600160a01b0382166004820152602401610968565b6000611fbb826114b8565b9050806001600160a01b0316836001600160a01b0316036120285760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610968565b336001600160a01b03821614806120445750612044813361079f565b6120b65760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610968565b61090e83836124b0565b6002600b54036121125760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610968565b6002600b55565b6000611cf0838361251e565b61212f338261256d565b61214b5760405162461bcd60e51b815260040161096890613711565b61090e8383836125ec565b600a546001600160a01b0316331461185a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610968565b60008082116121f65760405162461bcd60e51b81526020600482015260126024820152714d696e745a65726f5175616e74697479282960701b6044820152606401610968565b600061220160085490565b905060005b8381101561232a57600061221a828461353f565b336000908152601d60205260409020549091501561229757336000908152601d602052604090205461224e906001906135a5565b336000908152601d60205260408120919091556011805460018101825591527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680181905561230d565b336000908152601c60205260409020541561230d57336000908152601c60205260409020546122c8906001906135a5565b336000908152601c60205260408120919091556010805460018101825591527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae672018190555b6123178682612350565b508061232281613575565b915050612206565b506001949350505050565b61090e83838360405180602001604052806000815250611c3a565b6114a782826040518060200160405280600081525061275d565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114a7338383612790565b6123d1338361256d565b6123ed5760405162461bcd60e51b815260040161096890613711565b6110458484848461285e565b6060600d8054610850906134b5565b6060600061241583612891565b60010190506000816001600160401b0381111561243457612434612fef565b6040519080825280601f01601f19166020018201604052801561245e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461246857509392505050565b600061083b825490565b6000611cf08383612969565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124e5826114b8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526001830160205260408120546125655750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561083b565b50600061083b565b600080612579836114b8565b9050806001600160a01b0316846001600160a01b031614806125c057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806125e45750836001600160a01b03166125d9846108d3565b6001600160a01b0316145b949350505050565b826001600160a01b03166125ff826114b8565b6001600160a01b0316146126255760405162461bcd60e51b81526004016109689061375e565b6001600160a01b0382166126875760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610968565b6126948383836001612993565b826001600160a01b03166126a7826114b8565b6001600160a01b0316146126cd5760405162461bcd60e51b81526004016109689061375e565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6127678383612ac0565b6127746000848484612c59565b61090e5760405162461bcd60e51b8152600401610968906137a3565b816001600160a01b0316836001600160a01b0316036127f15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610968565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6128698484846125ec565b61287584848484612c59565b6110455760405162461bcd60e51b8152600401610968906137a3565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128d05772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106128fc576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061291a57662386f26fc10000830492506010015b6305f5e1008310612932576305f5e100830492506008015b612710831061294657612710830492506004015b60648310612958576064830492506002015b600a831061083b5760010192915050565b6000826000018281548110612980576129806134ef565b9060005260206000200154905092915050565b6001811115612a025760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610968565b816001600160a01b038516612a5e57612a5981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612a81565b836001600160a01b0316856001600160a01b031614612a8157612a818582612d4f565b6001600160a01b038416612a9d57612a9881612dec565b611c60565b846001600160a01b0316846001600160a01b031614611c6057611c608482612e9b565b6001600160a01b038216612b165760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610968565b6000818152600260205260409020546001600160a01b031615612b7b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610968565b612b89600083836001612993565b6000818152600260205260409020546001600160a01b031615612bee5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610968565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561232a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612c9d9033908990889088906004016137f5565b6020604051808303816000875af1925050508015612cd8575060408051601f3d908101601f19168201909252612cd591810190613832565b60015b612d35573d808015612d06576040519150601f19603f3d011682016040523d82523d6000602084013e612d0b565b606091505b508051600003612d2d5760405162461bcd60e51b8152600401610968906137a3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506125e4565b60006001612d5c846117c2565b612d6691906135a5565b600083815260076020526040902054909150808214612db9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612dfe906001906135a5565b60008381526009602052604081205460088054939450909284908110612e2657612e266134ef565b906000526020600020015490508060088381548110612e4757612e476134ef565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612e7f57612e7f61384f565b6001900381819060005260206000200160009055905550505050565b6000612ea6836117c2565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b0319811681146112bf57600080fd5b600060208284031215612f0757600080fd5b8135611cf081612edf565b80356001600160a01b0381168114612f2957600080fd5b919050565b600060208284031215612f4057600080fd5b611cf082612f12565b60005b83811015612f64578181015183820152602001612f4c565b50506000910152565b60008151808452612f85816020860160208601612f49565b601f01601f19169290920160200192915050565b602081526000611cf06020830184612f6d565b600060208284031215612fbe57600080fd5b5035919050565b60008060408385031215612fd857600080fd5b612fe183612f12565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561302d5761302d612fef565b604052919050565b600082601f83011261304657600080fd5b813560206001600160401b0382111561306157613061612fef565b8160051b613070828201613005565b928352848101820192828101908785111561308a57600080fd5b83870192505b848310156130a957823582529183019190830190613090565b979650505050505050565b600080600080608085870312156130ca57600080fd5b84356001600160401b03808211156130e157600080fd5b6130ed88838901613035565b9550602087013591508082111561310357600080fd5b61310f88838901613035565b9450604087013591508082111561312557600080fd5b61313188838901613035565b9350606087013591508082111561314757600080fd5b5061315487828801613035565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b818110156131985783518352928401929184019160010161317c565b50909695505050505050565b6000806000606084860312156131b957600080fd5b6131c284612f12565b92506131d060208501612f12565b9150604084013590509250925092565b600080600080600060a086880312156131f857600080fd5b61320186612f12565b945061320f60208701612f12565b935061321d60408701612f12565b925061322b60608701612f12565b915061323960808701612f12565b90509295509295909350565b60006001600160401b0383111561325e5761325e612fef565b613271601f8401601f1916602001613005565b905082815283838301111561328557600080fd5b828260208301376000602084830101529392505050565b6000602082840312156132ae57600080fd5b81356001600160401b038111156132c457600080fd5b8201601f810184136132d557600080fd5b6125e484823560208401613245565b60008083601f8401126132f657600080fd5b5081356001600160401b0381111561330d57600080fd5b6020830191508360208260051b850101111561332857600080fd5b9250929050565b6000806000806040858703121561334557600080fd5b84356001600160401b038082111561335c57600080fd5b613368888389016132e4565b9096509450602087013591508082111561338157600080fd5b5061338e878288016132e4565b95989497509550505050565b80151581146112bf57600080fd5b600080604083850312156133bb57600080fd5b6133c483612f12565b915060208301356133d48161339a565b809150509250929050565b6000602082840312156133f157600080fd5b81356001600160401b0381111561340757600080fd5b6125e484828501613035565b6000806000806080858703121561342957600080fd5b61343285612f12565b935061344060208601612f12565b92506040850135915060608501356001600160401b0381111561346257600080fd5b8501601f8101871361347357600080fd5b61315487823560208401613245565b6000806040838503121561349557600080fd5b61349e83612f12565b91506134ac60208401612f12565b90509250929050565b600181811c908216806134c957607f821691505b6020821081036134e957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561083b5761083b613529565b6001600160a01b0393841681526020810192909252909116604082015260600190565b60006001820161358757613587613529565b5060010190565b808202811582820484141761083b5761083b613529565b8181038181111561083b5761083b613529565b601f82111561090e57600081815260208120601f850160051c810160208610156135df5750805b601f850160051c820191505b818110156135fe578281556001016135eb565b505050505050565b81516001600160401b0381111561361f5761361f612fef565b6136338161362d84546134b5565b846135b8565b602080601f83116001811461366857600084156136505750858301515b600019600386901b1c1916600185901b1785556135fe565b600085815260208120601f198616915b8281101561369757888601518255948401946001909101908401613678565b50858210156136b55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516136d7818460208801612f49565b8351908301906136eb818360208801612f49565b01949350505050565b60006020828403121561370657600080fd5b8151611cf08161339a565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061382890830184612f6d565b9695505050505050565b60006020828403121561384457600080fd5b8151611cf081612edf565b634e487b7160e01b600052603160045260246000fdfedbdf9b8e4b75e75b162d151ec8fc7f0561cabab5fcccfa2600be62223e4300c4a2646970667358221220970fd20e80891b66943add08d0bcfd8bfa3dd6e00d7310391863b1731204b06d64736f6c63430008130033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004668747470733a2f2f787a39773164696578692e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f7072696d65447261676f6e3f69643d0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : uri (string): https://xz9w1diexi.execute-api.us-east-1.amazonaws.com/primeDragon?id=

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000046
Arg [2] : 68747470733a2f2f787a39773164696578692e657865637574652d6170692e75
Arg [3] : 732d656173742d312e616d617a6f6e6177732e636f6d2f7072696d6544726167
Arg [4] : 6f6e3f69643d0000000000000000000000000000000000000000000000000000


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

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