Contract 0xC480325c86392b773Cbad885759c205F26d91BbB 1

 
Txn Hash Method
Index
From
To
Value
0xe079338d4badc6c7f1daad985648e4d65b183239d82d78553a38d9436ffbce5aSet Approval For...265573702022-09-30 18:50:293 hrs 4 mins ago0xd70c3e63ce22286cb119f0401bc3ba043f3b6ec5 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000702974190.001
0xf8dffa49e75143b71c1b7bf01ca9e0fb9d50e289a721c2bb95f64692ef7fc239Set Approval For...265188672022-09-30 14:54:007 hrs 1 min ago0x383ce3df8dffe49930a48a4a7c60e898cc5b215a IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0001155811280.001
0x0fdceb4b490c0e83906311dd7120c4a05e468d70f563e4d1e35328f11711e6a3Set Approval For...264762622022-09-30 12:17:279 hrs 37 mins ago0xc2fa2eee22c288cf846f70a565ede413ff4fb909 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000530332570.00100155
0x897560d6e5232e68d1d5a5c10f9c4400e6d3eb8f68a28854596193bb2b499611Set Approval For...264621482022-09-30 10:59:0810 hrs 56 mins ago0xb6838e473e130f443f4b5dafa4d4e66adcedefd7 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000320314090.00100155
0xffd864e5d19df6b1a433a54ee93d4d2eaff9508f5f4b0cf84c534f8e6479e064Safe Transfer Fr...264619842022-09-30 10:58:0810 hrs 57 mins ago0x7b665d9635e7c13930504ff0400a8743ca82ecde IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000350379270.00100155
0x6fe4108460569edb6fca5ed17b4323ce84d029e549a5e6677c84f6358731c0f9Set Approval For...264555052022-09-30 10:27:5011 hrs 27 mins ago0xeec62edc33489ca70964797e16a894cd649427b9 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000399926160.00100155
0x3d5a75371f16fb32b0026b7ef1844bdc3636084140a657f04748d239d034407cSet Approval For...264429982022-09-30 9:26:5612 hrs 28 mins ago0xe420508e4552259b0c550d01cd811d2e2c8d3c68 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000358540350.00100155
0xc5a1c8c363c899e3a1fed76f32aaca9652357713175f167ef328f7b5ac1e39a9Set Approval For...264415052022-09-30 9:20:1112 hrs 35 mins ago0xdec0aa6a0c34c23b6852b559f948e59877c70dd1 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000397585380.00100155
0x2836e3234dc022f267401384f3d90a46e54b2038eca862409398ffbc7246b35cSet Approval For...264331672022-09-30 8:47:5413 hrs 7 mins ago0x3c698d1e054a921dcf46bc213ca407e39ae4db8d IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000408913140.00100155
0x2f8f73e10654a582f12a6e094c9761ec6e2beb216b10eadb46dc825a991ed955Set Approval For...264285912022-09-30 8:28:0613 hrs 27 mins ago0xebd1cd77e9d8fe95d8cfe96b1af0297c59f18846 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000698751410.00100155
0x629c25dde43c1aa2859f28067a6b1ee09095e52a54caefaf6357a3167d841159Set Approval For...264222912022-09-30 8:00:0513 hrs 55 mins ago0x519dcdd11e3c29733e2fe84ef69d974b7f9e6250 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000380919270.00100155
0x12726276e7a67edded50fbaf79c01962139e600d01f3d2ca6d169e17cb67ce00Set Approval For...264067152022-09-30 6:46:2515 hrs 8 mins ago0x65cf7120d84770b6acc51ca76f24b51f0de01858 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000435728680.00100155
0x8a5be27c90e818449892bb5f612ec392340f3bcbf9de4566a70822b14124c37eSet Approval For...263899332022-09-30 4:58:3916 hrs 56 mins ago0x7b665d9635e7c13930504ff0400a8743ca82ecde IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.000052510520.00100155
0x19c8aaed2287373defbc4aa98e4ca502010746f824d296f5048a2b3044d41321Set Approval For...263893712022-09-30 4:54:0817 hrs 1 min ago0xe5f012a20faa53345b803f5127a3f3e5dec2a33f IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000417053820.00100155
0xe8929d9dc2d90db9309f4667ae067618f02fcc9364e70cb5bde67ec4d3a27d20Set Approval For...263824292022-09-30 3:59:2817 hrs 55 mins ago0xe1aa441644ebb251ec57f63365be55d2668f5967 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000581179680.00100155
0xc6021f31e95b1e05880cecc02bbbb93fdcdcf8617f44207e13174fe51bb46769Set Approval For...263311802022-09-29 20:04:371 day 1 hr ago0xc5b7e4e42f379f70aa50ab4429dfa34cc839c10f IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0001958858220.00100155
0xe8e52a2dbd7f3fd24cb0072c37ea278873f177971f97c1fd1c876034e2607f95Set Approval For...263305332022-09-29 19:57:241 day 1 hr ago0xc5b7e4e42f379f70aa50ab4429dfa34cc839c10f IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000609594510.00100155
0xebf52b5b5b33483e39b3dee0936f9c2e26370d5af9f1f8e64b86b59edca2ec5bSet Approval For...263087992022-09-29 16:59:031 day 4 hrs ago0x88b0be658e72c5518b37ce0a5625d3fd494dbafa IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000896120410.00100155
0x9e42cb84486cd1df4d7f52107ac70cda3d60cd607b48e00aaefc0b94f1196984Set Approval For...263000062022-09-29 16:01:141 day 5 hrs ago0x0fc225a48db16c5300e7aea0577336bf6c9f3beb IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0001401166570.00100155
0x947dd632209eba3b7bb734ecb46ed395e2110d5c94fa248d070b92089f5961bbSet Approval For...262651052022-09-29 13:33:551 day 8 hrs ago0x8da8a63717bfc7197dbafef29c6a379da6f9018a IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000639099160.00100155
0x3fca1c9da57a44675f5d0b12a7b47ae9e461ab03b3b4146e7f891ac2313fd4dcSet Approval For...262474272022-09-29 12:07:081 day 9 hrs ago0x02227650d4b5e04467550d2646c17ba6ea180548 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000383088150.00100155
0x5964376d6afd113a1c4c9b9e25eb885df3093816870923dcde22e4f4358f46a9Set Approval For...262404422022-09-29 11:22:421 day 10 hrs ago0xf5cc3956c0afed126be5f5bfef8b329bcd821eca IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000381260230.00100155
0xc08d365c48c04f654800e878a3ff8ff1d28d376f1d101e1b55fef552234c89b7Set Approval For...262337872022-09-29 10:45:401 day 11 hrs ago0x4f42ef7f830725086ab06474ed263da3f9d662ed IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000265645070.00100155
0x07616e22b73b5bbf2d6e6bfca6e6d989057f51b8e5eebb536f528ce9eed9277cSet Approval For...262254142022-09-29 9:56:331 day 11 hrs ago0x65771f8edf797d2b98241010ac67cc8ea2f88b33 IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000269093340.00100155
0x2b19b159c83bbcfad2c71979c66623c319d8eda0fbbcd32d973778728873a85eSet Approval For...262113762022-09-29 8:49:221 day 13 hrs ago0xd353bde2c00ca5ee95461031808ad34bcb2c78ca IN  0xc480325c86392b773cbad885759c205f26d91bbb0 Ether0.0000356309110.00100155
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x98e6b212760a99f9883fa26e69969ce75708aa3350b72cd392ea3045d737f285265681132022-09-30 20:07:301 hr 47 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x98e6b212760a99f9883fa26e69969ce75708aa3350b72cd392ea3045d737f285265681132022-09-30 20:07:301 hr 47 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0xf592b8295bad888cc04b0ebe829ab4a507af4f281f49fe1028edfc8caf6b8b38265679582022-09-30 20:06:441 hr 48 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0xf592b8295bad888cc04b0ebe829ab4a507af4f281f49fe1028edfc8caf6b8b38265679582022-09-30 20:06:441 hr 48 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x3c8864a4bc27f44464d438ea8ab35dc1bca0141b1e260dcd0aa3bf720d28e2d0265576532022-09-30 18:53:333 hrs 1 min ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x3c8864a4bc27f44464d438ea8ab35dc1bca0141b1e260dcd0aa3bf720d28e2d0265576532022-09-30 18:53:333 hrs 1 min ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x41e2856410ae1f2125b2621fbaed60e32330bbaf9cea5cc2c852a4b6116423b8265538562022-09-30 18:19:473 hrs 35 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x41e2856410ae1f2125b2621fbaed60e32330bbaf9cea5cc2c852a4b6116423b8265538562022-09-30 18:19:473 hrs 35 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0xc827b570de2001ba5ea70ede4f1b4f06f5e6f957867cc35f29a477ef4d6d2b22264796062022-09-30 12:29:439 hrs 25 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0xc827b570de2001ba5ea70ede4f1b4f06f5e6f957867cc35f29a477ef4d6d2b22264796062022-09-30 12:29:439 hrs 25 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x9c1838b291fabc0093c714461b6477110a9da75fc7e95520324f0675a532e8dd264791542022-09-30 12:28:289 hrs 26 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x9c1838b291fabc0093c714461b6477110a9da75fc7e95520324f0675a532e8dd264791542022-09-30 12:28:289 hrs 26 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x4b0d5e52826eca0a94c2e35ff6622989611c179313501db0a56462cfb7eb75c9264789432022-09-30 12:27:289 hrs 27 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x4b0d5e52826eca0a94c2e35ff6622989611c179313501db0a56462cfb7eb75c9264789432022-09-30 12:27:289 hrs 27 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0xdcfefab16f8751e68b7fe5c1737383dc4a565a9d922fb6da60d4c6be5eeb6677264785952022-09-30 12:26:439 hrs 28 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0xdcfefab16f8751e68b7fe5c1737383dc4a565a9d922fb6da60d4c6be5eeb6677264785952022-09-30 12:26:439 hrs 28 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x95537a287d8b5b283c60e92bfd2973b1863d319583107cf1aa049315679039f8264778662022-09-30 12:25:439 hrs 29 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x95537a287d8b5b283c60e92bfd2973b1863d319583107cf1aa049315679039f8264778662022-09-30 12:25:439 hrs 29 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0xf29efcde0018ebe692ea004a1dd1d4abe18869b65544013cee61ff785a6c53d8264774902022-09-30 12:23:589 hrs 31 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0xf29efcde0018ebe692ea004a1dd1d4abe18869b65544013cee61ff785a6c53d8264774902022-09-30 12:23:589 hrs 31 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x30db063841297d695b5cb98521e6c5bfa9e78382267338810c14b0ea66484e06264771912022-09-30 12:22:129 hrs 33 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x30db063841297d695b5cb98521e6c5bfa9e78382267338810c14b0ea66484e06264771912022-09-30 12:22:129 hrs 33 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x92bfb4ca94a061fd10b2971543f60984fb03ea29e17bfa9d5168afeac559afae264770052022-09-30 12:21:129 hrs 34 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x92bfb4ca94a061fd10b2971543f60984fb03ea29e17bfa9d5168afeac559afae264770052022-09-30 12:21:129 hrs 34 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
0x2dd9adec2ed44ab3c801f99dc52704ad2814214e398e7a9331838375c1344bc0264676152022-09-30 11:32:1410 hrs 23 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xc480325c86392b773cbad885759c205f26d91bbb0 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
JustBananaNFT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 100 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Strings.sol"; 
import "erc721a/contracts/ERC721A.sol";

interface IERC20 {
  function balanceOf(address account) external view returns (uint256);
  function transfer(address _to, uint256 _amount) external returns (bool);
}

interface IWhitelist {
  function isWhitelist(address addr) external view returns (int8);
}

contract JustBananaNFT is ERC721A, Ownable, Pausable {
  event Received(address, uint);
  event RoundChanged(uint8);
  event TotalMintedChanged(uint256);

  //////////////
  // Constants
  //////////////

  uint256 public MAX_SUPPLY = 10000;
  uint256 public RESERVED_NFT_COUNT = 500;
  uint256 public TEAM_NFT_COUNT = 0;
  uint256 public START_TOKEN_ID = 0;

  //////////////
  // Internal
  //////////////

  string private _baseURIExtended;
  bool private _isReservedNFTsMinted = false;
  bool private _isTeamNFTsMinted = false;

  address private _signer;

  mapping(address => uint256) private _addressTokenMinted;

  mapping(uint256 => uint8) private _nonces;

  /////////////////////
  // Public Variables
  /////////////////////

  uint8 public currentRound = 0;
  address public teamAddress;
  address public whitelisterAddress;
  bool public metadataFrozen = false;
  uint8 public maxMintPerTx = 10;
  uint16 public maxMintPerAddress = 4;

  mapping(int16 => uint256) mintPriceByRole;

  struct Role {
    string name;
    int16 role_id;
    uint256 max_mint;
    uint256 mint_price;
    bool exists;
  }
  mapping(uint8 => mapping(int16 => Role)) public allowedRolesInRound;
  mapping(uint8 => uint16) public allowedRolesInRoundCount;
  mapping(uint8 => int16[]) public allowedRolesInRoundArr;
  uint8[] public availableRounds;
  mapping(uint8 => uint256) public roundAllocations;

  ////////////////
  // Actual Code
  ////////////////

  constructor() ERC721A("JustBanana", "JUSTBANANA") {
  }

  function _startTokenId() internal view virtual override returns (uint256) {
    return START_TOKEN_ID;
  }

  //////////////////////
  // Setters for Owner
  //////////////////////

  function setCurrentRound(uint8 round_) public onlyOwner {
    currentRound = round_;
    emit RoundChanged(round_);
  }

  function setTeamAddress(address addr) public onlyOwner {
    teamAddress = addr;
  }

  function setWhitelisterAddress(address addr) public onlyOwner {
    whitelisterAddress = addr;
  }

  function setSignerAddress(address addr) public onlyOwner {
    _signer = addr;
  }

  function setMaxMintPerTx(uint8 count) public onlyOwner {
    maxMintPerTx = count;
  }

  function setMaxMintPerAddress(uint16 count) public onlyOwner {
    maxMintPerAddress = count;
  }

  function setBaseURI(string memory baseURI) external onlyOwner {
    require(!metadataFrozen, "Metadata has already been frozen");
    _baseURIExtended = baseURI;
  }

  function addAllowedRoleInRound(uint8 round, int16 role, string memory roleName, uint256 maxMint, uint256 mintPrice) public onlyOwner {
    bool role_already_existed = allowedRolesInRound[round][role].exists;
    allowedRolesInRound[round][role].name = roleName;
    allowedRolesInRound[round][role].role_id = role;
    allowedRolesInRound[round][role].max_mint = maxMint;
    allowedRolesInRound[round][role].mint_price = mintPrice;
    allowedRolesInRound[round][role].exists = true;
    if (role_already_existed)
      return;
    allowedRolesInRoundCount[round]++;

    allowedRolesInRoundArr[round].push(role);

    bool found = false;
    for (uint8 i = 0; i < availableRounds.length; i++)
      if (availableRounds[i] == round)
        found = true;

    if (!found)
      availableRounds.push(round);
  }

  function removeAllowedRoleInRound(uint8 round, int16 role) public onlyOwner {
    require(allowedRolesInRound[round][role].exists, "Role not existed");
    allowedRolesInRound[round][role].name = "";
    allowedRolesInRound[round][role].role_id = 0;
    allowedRolesInRound[round][role].max_mint = 0;
    allowedRolesInRound[round][role].mint_price = 0;
    allowedRolesInRound[round][role].exists = false;
    allowedRolesInRoundCount[round]--;

    // Remove available role
    for (uint8 i = 0; i < allowedRolesInRoundArr[round].length; i++) {
      if (allowedRolesInRoundArr[round][i] == role) {
        removeArrayAtInt16Index(allowedRolesInRoundArr[round], i);
        break;
      }
    }

    if (allowedRolesInRoundCount[round] == 0) {
      // Remove available round
      for (uint8 i = 0; i < availableRounds.length; i++) {
        if (availableRounds[i] == round) {
          removeArrayAtUint8Index(availableRounds, i);
          break;
        }
      }
    }
  }

  function setRoundAllocation(uint8 round, uint256 allocation) public onlyOwner {
    roundAllocations[round] = allocation;
  }

  function freezeMetadata() public onlyOwner {
    metadataFrozen = true;
  }
  
  ////////////
  // Minting
  ////////////

  function mintReservedNFTs() public onlyOwner {
    require(teamAddress != address(0), "Team wallet is not yet set");
    require(whitelisterAddress != address(0), "Whitelister address is not yet set");
    require(!_isReservedNFTsMinted, "Already minted");

    string memory baseURI = _baseURI();
    require(bytes(baseURI).length != 0, "baseURI is not yet set");

    if (RESERVED_NFT_COUNT > 0)
      _safeMint(owner(), RESERVED_NFT_COUNT);

    _isReservedNFTsMinted = true;

    emit TotalMintedChanged(totalMinted());
  }

  function mintTeamNFTs() public onlyOwner {
    require(teamAddress != address(0), "Team wallet is not yet set");
    require(whitelisterAddress != address(0), "Whitelister address is not yet set");
    require(_isReservedNFTsMinted, "Reserved NFTs needs to be minted first");
    require(!_isTeamNFTsMinted, "Already minted");

    string memory baseURI = _baseURI();
    require(bytes(baseURI).length != 0, "baseURI is not yet set");

    if (TEAM_NFT_COUNT > 0)
      _safeMint(teamAddress, TEAM_NFT_COUNT);

    _isTeamNFTsMinted = true;
  }

  function mint(uint256 quantity, int8 role, uint256 nonce, uint8 v, bytes32 r, bytes32 s) external payable whenNotPaused {
    require(currentRound != 0, "Mint is not yet started");

    uint256 combined_nonce = nonce;
    if (role >= 0)
      combined_nonce = (nonce << 8) + uint8(role);

    require(_nonces[combined_nonce] == 0, "Duplicated nonce");
    require(_recoverAddress(combined_nonce, v, r, s) == _signer, "Invalid signature");

    bool is_public_round = allowedRolesInRound[currentRound][0].exists;
    int8 selected_role = IWhitelist(whitelisterAddress).isWhitelist(msg.sender);
    if (role >= 0)
      selected_role = role;

    if (!allowedRolesInRound[currentRound][selected_role].exists) {
      if (!is_public_round)
        require(false, "You are not eligible to mint in this round");
      selected_role = 0;
    }

    require(_isReservedNFTsMinted && _isTeamNFTsMinted, "Contract is not ready for public mint yet");
    require(quantity > 0, "Quantity cannot be zero");
    if (role >= 0)
      require(maxMintableForTxForRole(msg.sender, role) >= quantity, "You have reached maximum allowed");
    else
      require(maxMintableForTx(msg.sender) >= quantity, "You have reached maximum allowed");
    require(totalMinted() + quantity <= MAX_SUPPLY, "Cannot mint more than maximum supply");
    require(mintableLeft() >= quantity, "Not enough NFT left to mint.");

    uint256 cost = quantity * allowedRolesInRound[currentRound][selected_role].mint_price;
    _nonces[combined_nonce] = 1;

    require(msg.value == cost, "Unmatched ether balance");

    _safeMint(msg.sender, quantity);

    _addressTokenMinted[msg.sender] = _addressTokenMinted[msg.sender] + quantity;
  }

  function _recoverAddress(uint256 nonce, uint8 v, bytes32 r, bytes32 s) private pure returns (address) {
    bytes32 msgHash = keccak256(abi.encodePacked(nonce));
    bytes32 messageDigest = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", msgHash));
    return ecrecover(messageDigest, v, r, s);
  }

  //////////////
  // Pausable
  //////////////

  function pause() public onlyOwner {
    _pause();
  }

  function unpause() public onlyOwner {
    _unpause();
  }

  ///////////////////
  // Internal Views
  ///////////////////

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

  /////////////////
  // Public Views
  /////////////////

  function getAllAvailableRounds() public onlyOwner() view returns (uint8[] memory) {
    uint256 len = availableRounds.length;
    uint8[] memory ret = new uint8[](len);
    for (uint i = 0; i < len; i++)
      ret[i] = availableRounds[i];
    return ret;
  }

  function getAllowedRolesInRoundArr(uint8 round) public onlyOwner() view returns (int16[] memory) {
    uint256 len = allowedRolesInRoundArr[round].length;
    int16[] memory ret = new int16[](len);
    for (uint i = 0; i < len; i++)
      ret[i] = allowedRolesInRoundArr[round][i];
    return ret;
  }

  function mintPriceForCurrentRound(address addr) public view returns (uint256) {
    int8 selected_role = IWhitelist(whitelisterAddress).isWhitelist(addr);
    return allowedRolesInRound[currentRound][selected_role].mint_price;
  }

  function mintPriceForCurrentRoundForRole(int8 role) public view returns (uint256) {
    return allowedRolesInRound[currentRound][role].mint_price;
  }

  function maxMintable(address addr) public view virtual returns (uint256) {
    int8 selected_role = IWhitelist(whitelisterAddress).isWhitelist(addr);
    return maxMintableForRole(addr, selected_role);
  }

  function maxMintableForRole(address addr, int8 role) public view virtual returns (uint256) {
    uint256 minted = _addressTokenMinted[addr];
    uint256 max_mint = 0;

    if (currentRound == 0)
      return 0;

    bool is_public_round = allowedRolesInRound[currentRound][0].exists;
    if (allowedRolesInRound[currentRound][role].exists)
      max_mint = allowedRolesInRound[currentRound][role].max_mint;
    else if (is_public_round)
      max_mint = allowedRolesInRound[currentRound][0].max_mint;

    // Hit the maximum per wallet
    if (minted >= maxMintPerAddress)
      return 0;
    // Cannot mint more for this round
    if (minted >= max_mint)
      return 0;

    uint256 wallet_quota_left = maxMintPerAddress - minted;
    uint256 round_quota_left = max_mint - minted;

    return wallet_quota_left < round_quota_left ? wallet_quota_left : round_quota_left;
  }

  function maxMintableForTx(address addr) public view virtual returns (uint256) {
    uint256 mintable = maxMintable(addr);

    if (mintable > maxMintPerTx)
      return maxMintPerTx;

    return mintable;
  }

  function maxMintableForTxForRole(address addr, int8 role) public view virtual returns (uint256) {
    uint256 mintable = maxMintableForRole(addr, role);

    if (mintable > maxMintPerTx)
      return maxMintPerTx;

    return mintable;
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');

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

  function totalMinted() public view returns (uint256) {
    return _totalMinted();
  }

  function mintableLeft() public view returns (uint256) {
    return MAX_SUPPLY - totalMinted();
  }

  ////////////
  // Helpers
  ////////////

  function removeArrayAtInt16Index(int16[] storage array, uint256 index) private {
    for (uint i = index; i < array.length - 1; i++)
      array[i] = array[i + 1];
    delete array[array.length - 1];
    array.pop();
  }

  function removeArrayAtUint8Index(uint8[] storage array, uint256 index) private {
    for (uint i = index; i < array.length - 1; i++)
      array[i] = array[i + 1];
    delete array[array.length - 1];
    array.pop();
  }

  ///////////////
  // Withdrawal
  ///////////////

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

  function withdrawToken(address tokenAddress) public onlyOwner {
    IERC20 tokenContract = IERC20(tokenAddress);
    tokenContract.transfer(msg.sender, tokenContract.balanceOf(address(this)));
  }

  /////////////
  // Fallback
  /////////////

  receive() external payable {
    emit Received(msg.sender, msg.value);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721A {
    using Address for address;
    using Strings for uint256;

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr) if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 6 of 13 : 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 7 of 13 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

File 8 of 13 : 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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @dev 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 12 of 13 : 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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"","type":"uint8"}],"name":"RoundChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"TotalMintedChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_NFT_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_NFT_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"round","type":"uint8"},{"internalType":"int16","name":"role","type":"int16"},{"internalType":"string","name":"roleName","type":"string"},{"internalType":"uint256","name":"maxMint","type":"uint256"},{"internalType":"uint256","name":"mintPrice","type":"uint256"}],"name":"addAllowedRoleInRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"int16","name":"","type":"int16"}],"name":"allowedRolesInRound","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"int16","name":"role_id","type":"int16"},{"internalType":"uint256","name":"max_mint","type":"uint256"},{"internalType":"uint256","name":"mint_price","type":"uint256"},{"internalType":"bool","name":"exists","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"allowedRolesInRoundArr","outputs":[{"internalType":"int16","name":"","type":"int16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"allowedRolesInRoundCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"availableRounds","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRound","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllAvailableRounds","outputs":[{"internalType":"uint8[]","name":"","type":"uint8[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"round","type":"uint8"}],"name":"getAllowedRolesInRoundArr","outputs":[{"internalType":"int16[]","name":"","type":"int16[]"}],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerAddress","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTx","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"maxMintable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"int8","name":"role","type":"int8"}],"name":"maxMintableForRole","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"maxMintableForTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"int8","name":"role","type":"int8"}],"name":"maxMintableForTxForRole","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"int8","name":"role","type":"int8"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"mintPriceForCurrentRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int8","name":"role","type":"int8"}],"name":"mintPriceForCurrentRoundForRole","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintReservedNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintTeamNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintableLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"round","type":"uint8"},{"internalType":"int16","name":"role","type":"int16"}],"name":"removeAllowedRoleInRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"roundAllocations","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"round_","type":"uint8"}],"name":"setCurrentRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"count","type":"uint16"}],"name":"setMaxMintPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"count","type":"uint8"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"round","type":"uint8"},{"internalType":"uint256","name":"allocation","type":"uint256"}],"name":"setRoundAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setWhitelisterAddress","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":"teamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelisterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526127106009556101f4600a556000600b819055600c55600e805461ffff191690556011805460ff191690556012805463ffffffff60a01b191661020560a91b1790553480156200005357600080fd5b506040518060400160405280600a8152602001694a75737442616e616e6160b01b8152506040518060400160405280600a8152602001694a55535442414e414e4160b01b8152508160029080519060200190620000b292919062000141565b508051620000c890600390602084019062000141565b5050600c5460005550620000dc33620000ef565b6008805460ff60a01b1916905562000224565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014f90620001e7565b90600052602060002090601f016020900481019282620001735760008555620001be565b82601f106200018e57805160ff1916838001178555620001be565b82800160010185558215620001be579182015b82811115620001be578251825591602001919060010190620001a1565b50620001cc929150620001d0565b5090565b5b80821115620001cc5760008155600101620001d1565b600181811c90821680620001fc57607f821691505b602082108114156200021e57634e487b7160e01b600052602260045260246000fd5b50919050565b613fdd80620002346000396000f3fe6080604052600436106103265760003560e01c80637211fb2f116101a7578063aab16cfc116100ed578063d111515d11610090578063d111515d14610a2c578063de7fcb1d14610a41578063e985e9c514610a62578063f2fde38b14610aab578063fb3cc6c214610acb578063fc39c60a14610aec578063fd1b18c714610b01578063fe2e66f414610b2157600080fd5b8063aab16cfc14610933578063ac7dc68d14610955578063b1e8dbaa1461096a578063b64927061461098a578063b88d4fde1461099f578063bc5087a3146109bf578063be568448146109df578063c87b56dd14610a0c57600080fd5b8063882b859811610155578063882b85981461083757806389476069146108575780638a19c8bc146108775780638b98668e146108a35780638da5cb5b146108d457806395d89b41146108e9578063a22cb465146108fe578063a2309ff81461091e57600080fd5b80637211fb2f1461076657806377d16df01461077957806379a2c3f8146107ac57806380a9ebeb146107cc57806383e141e9146107ec5780638456cb591461080c57806387f65c911461082157600080fd5b806334f954ab1161026c5780635c975abb1161021a5780635c975abb1461067c5780635ed88ecf14610691578063622e4e78146106b15780636352211e146106d15780636690864e146106f157806370a0823114610711578063715018a614610731578063720a05071461074657600080fd5b806334f954ab1461058c5780633ccfd60b146105d05780633f4ba83a146105e55780633f7da39a146105fa57806342842e0e1461061a57806355f804b31461063a578063572849c41461065a57600080fd5b80631662da6a116102d45780631662da6a1461046a57806318160ddd1461048a578063183ab2641461049f5780631c23ff86146104bf5780631c75f0851461050457806323b872dd146105295780632c2d8b4c1461054957806332cb6b0c1461057657600080fd5b806301ffc9a71461036a578063046dc1661461039f57806306fdde03146103c1578063081812fc146103e3578063095ea7b31461041057806311284a6314610430578063134c160d1461045457600080fd5b3661036557604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561037657600080fd5b5061038a6103853660046138b0565b610b41565b60405190151581526020015b60405180910390f35b3480156103ab57600080fd5b506103bf6103ba36600461370b565b610b93565b005b3480156103cd57600080fd5b506103d6610bf5565b6040516103969190613c06565b3480156103ef57600080fd5b506104036103fe366004613974565b610c87565b6040516103969190613b33565b34801561041c57600080fd5b506103bf61042b36600461386b565b610ccb565b34801561043c57600080fd5b50610446600b5481565b604051908152602001610396565b34801561046057600080fd5b50610446600a5481565b34801561047657600080fd5b506103bf61048536600461370b565b610d52565b34801561049657600080fd5b50610446610da3565b3480156104ab57600080fd5b506103bf6104ba3660046139fd565b610dbb565b3480156104cb57600080fd5b506104466104da3660046138e8565b60115460ff16600090815260146020908152604080832093830b60010b8352929052206003015490565b34801561051057600080fd5b506011546104039061010090046001600160a01b031681565b34801561053557600080fd5b506103bf610544366004613757565b610e33565b34801561055557600080fd5b506104466105643660046139fd565b60186020526000908152604090205481565b34801561058257600080fd5b5061044660095481565b34801561059857600080fd5b506105bd6105a73660046139fd565b60156020526000908152604090205461ffff1681565b60405161ffff9091168152602001610396565b3480156105dc57600080fd5b506103bf610e3e565b3480156105f157600080fd5b506103bf610ea0565b34801561060657600080fd5b50601254610403906001600160a01b031681565b34801561062657600080fd5b506103bf610635366004613757565b610ed9565b34801561064657600080fd5b506103bf610655366004613920565b610ef4565b34801561066657600080fd5b506012546105bd90600160b01b900461ffff1681565b34801561068857600080fd5b5061038a610f90565b34801561069d57600080fd5b506104466106ac36600461370b565b610fa0565b3480156106bd57600080fd5b506103bf6106cc3660046139fd565b611038565b3480156106dd57600080fd5b506104036106ec366004613974565b611087565b3480156106fd57600080fd5b506103bf61070c36600461370b565b611099565b34801561071d57600080fd5b5061044661072c36600461370b565b6110f0565b34801561073d57600080fd5b506103bf61113e565b34801561075257600080fd5b5061044661076136600461370b565b611177565b6103bf6107743660046139a4565b61122a565b34801561078557600080fd5b50610799610794366004613aad565b61177f565b60405160019190910b8152602001610396565b3480156107b857600080fd5b506103bf6107c7366004613952565b6117c5565b3480156107d857600080fd5b506103bf6107e7366004613a40565b611816565b3480156107f857600080fd5b506103bf610807366004613aad565b611a49565b34801561081857600080fd5b506103bf611a8e565b34801561082d57600080fd5b50610446600c5481565b34801561084357600080fd5b50610446610852366004613840565b611ac5565b34801561086357600080fd5b506103bf61087236600461370b565b611afd565b34801561088357600080fd5b506011546108919060ff1681565b60405160ff9091168152602001610396565b3480156108af57600080fd5b506108c36108be366004613a17565b611c32565b604051610396959493929190613c19565b3480156108e057600080fd5b50610403611cfc565b3480156108f557600080fd5b506103d6611d0b565b34801561090a57600080fd5b506103bf61091936600461380a565b611d1a565b34801561092a57600080fd5b50610446611db0565b34801561093f57600080fd5b50610948611dbf565b6040516103969190613bcb565b34801561096157600080fd5b50610446611ede565b34801561097657600080fd5b50610891610985366004613974565b611ef5565b34801561099657600080fd5b506103bf611f29565b3480156109ab57600080fd5b506103bf6109ba366004613792565b61209c565b3480156109cb57600080fd5b506104466109da366004613840565b6120e6565b3480156109eb57600080fd5b506109ff6109fa3660046139fd565b61222d565b6040516103969190613b84565b348015610a1857600080fd5b506103d6610a27366004613974565b612375565b348015610a3857600080fd5b506103bf612440565b348015610a4d57600080fd5b5060125461089190600160a81b900460ff1681565b348015610a6e57600080fd5b5061038a610a7d366004613725565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610ab757600080fd5b506103bf610ac636600461370b565b612484565b348015610ad757600080fd5b5060125461038a90600160a01b900460ff1681565b348015610af857600080fd5b506103bf612524565b348015610b0d57600080fd5b50610446610b1c36600461370b565b612658565b348015610b2d57600080fd5b506103bf610b3c366004613a17565b61268f565b60006001600160e01b031982166380ac58cd60e01b1480610b7257506001600160e01b03198216635b5e139f60e01b145b80610b8d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b33610b9c611cfc565b6001600160a01b031614610bcb5760405162461bcd60e51b8152600401610bc290613d85565b60405180910390fd5b600e80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b606060028054610c0490613e66565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3090613e66565b8015610c7d5780601f10610c5257610100808354040283529160200191610c7d565b820191906000526020600020905b815481529060010190602001808311610c6057829003601f168201915b5050505050905090565b6000610c9282612933565b610caf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610cd682611087565b9050806001600160a01b0316836001600160a01b03161415610d0b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610d4257610d258133610a7d565b610d42576040516367d9dca160e11b815260040160405180910390fd5b610d4d838383612973565b505050565b33610d5b611cfc565b6001600160a01b031614610d815760405162461bcd60e51b8152600401610bc290613d85565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000610dae600c5490565b6001546000540303905090565b33610dc4611cfc565b6001600160a01b031614610dea5760405162461bcd60e51b8152600401610bc290613d85565b6011805460ff191660ff83169081179091556040519081527f5d14047d25a400b6364f7b505872a4f0e8437d0dfd6cbdd5eee59f37baee7f45906020015b60405180910390a150565b610d4d8383836129cf565b33610e47611cfc565b6001600160a01b031614610e6d5760405162461bcd60e51b8152600401610bc290613d85565b6040514790339082156108fc029083906000818181858888f19350505050158015610e9c573d6000803e3d6000fd5b5050565b33610ea9611cfc565b6001600160a01b031614610ecf5760405162461bcd60e51b8152600401610bc290613d85565b610ed7612ba8565b565b610d4d8383836040518060200160405280600081525061209c565b33610efd611cfc565b6001600160a01b031614610f235760405162461bcd60e51b8152600401610bc290613d85565b601254600160a01b900460ff1615610f7d5760405162461bcd60e51b815260206004820181905260248201527f4d657461646174612068617320616c7265616479206265656e2066726f7a656e6044820152606401610bc2565b8051610e9c90600d9060208401906135a4565b600854600160a01b900460ff1690565b60125460405163c683630d60e01b815260009182916001600160a01b039091169063c683630d90610fd5908690600401613b33565b60206040518083038186803b158015610fed57600080fd5b505afa158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110259190613904565b905061103183826120e6565b9392505050565b33611041611cfc565b6001600160a01b0316146110675760405162461bcd60e51b8152600401610bc290613d85565b6012805460ff909216600160a81b0260ff60a81b19909216919091179055565b600061109282612c3a565b5192915050565b336110a2611cfc565b6001600160a01b0316146110c85760405162461bcd60e51b8152600401610bc290613d85565b601180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006001600160a01b038216611119576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b33611147611cfc565b6001600160a01b03161461116d5760405162461bcd60e51b8152600401610bc290613d85565b610ed76000612d63565b60125460405163c683630d60e01b815260009182916001600160a01b039091169063c683630d906111ac908690600401613b33565b60206040518083038186803b1580156111c457600080fd5b505afa1580156111d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fc9190613904565b60115460ff16600090815260146020908152604080832093830b60010b835292905220600301549392505050565b611232610f90565b1561124f5760405162461bcd60e51b8152600401610bc290613d24565b60115460ff1661129b5760405162461bcd60e51b8152602060048201526017602482015276135a5b9d081a5cc81b9bdd081e595d081cdd185c9d1959604a1b6044820152606401610bc2565b83600086810b126112ba576112b760ff8716600887901b613dba565b90505b60008181526010602052604090205460ff161561130c5760405162461bcd60e51b815260206004820152601060248201526f4475706c696361746564206e6f6e636560801b6044820152606401610bc2565b600e546201000090046001600160a01b031661132a82868686612db5565b6001600160a01b0316146113745760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b6044820152606401610bc2565b60115460ff9081166000908152601460209081526040808320838052909152808220600490810154601254925163c683630d60e01b81529416936001600160a01b039092169163c683630d916113cc91339101613b33565b60206040518083038186803b1580156113e457600080fd5b505afa1580156113f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141c9190613904565b905060008860000b1261142c5750865b60115460ff908116600090815260146020908152604080832085840b60010b8452909152902060040154166114bf57816114bb5760405162461bcd60e51b815260206004820152602a60248201527f596f7520617265206e6f7420656c696769626c6520746f206d696e7420696e206044820152691d1a1a5cc81c9bdd5b9960b21b6064820152608401610bc2565b5060005b600e5460ff1680156114d85750600e54610100900460ff165b6115365760405162461bcd60e51b815260206004820152602960248201527f436f6e7472616374206973206e6f7420726561647920666f72207075626c6963604482015268081b5a5b9d081e595d60ba1b6064820152608401610bc2565b600089116115805760405162461bcd60e51b81526020600482015260176024820152765175616e746974792063616e6e6f74206265207a65726f60481b6044820152606401610bc2565b60008860000b126115b95788611596338a611ac5565b10156115b45760405162461bcd60e51b8152600401610bc290613cef565b6115e1565b886115c333612658565b10156115e15760405162461bcd60e51b8152600401610bc290613cef565b600954896115ed611db0565b6115f79190613dba565b11156116515760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f74206d696e74206d6f7265207468616e206d6178696d756d20737560448201526370706c7960e01b6064820152608401610bc2565b8861165a611ede565b10156116a85760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f756768204e4654206c65667420746f206d696e742e000000006044820152606401610bc2565b60115460ff16600090815260146020908152604080832084840b60010b84529091528120600301546116da908b613de6565b6000858152601060205260409020805460ff19166001179055905034811461173e5760405162461bcd60e51b8152602060048201526017602482015276556e6d6174636865642065746865722062616c616e636560481b6044820152606401610bc2565b611748338b612ea1565b336000908152600f6020526040902054611763908b90613dba565b336000908152600f602052604090205550505050505050505050565b6016602052816000526040600020818154811061179b57600080fd5b9060005260206000209060109182820401919006600202915091509054906101000a900460010b81565b336117ce611cfc565b6001600160a01b0316146117f45760405162461bcd60e51b8152600401610bc290613d85565b6012805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b3361181f611cfc565b6001600160a01b0316146118455760405162461bcd60e51b8152600401610bc290613d85565b60ff8581166000908152601460209081526040808320600189810b900b845282529091206004810154865193169261187f928701906135a4565b5060ff86166000908152601460209081526040808320600189810b80820b8652919093529220808201805461ffff191661ffff9094169390931790925560028201859055600382018490556004909101805460ff1916909117905580156118e65750611a42565b60ff86166000908152601560205260408120805461ffff169161190883613ea1565b825461010092830a61ffff81810219909216928216029190911790925560ff89166000908152601660209081526040822080546001818101835591845291832060108304018054600f90931660020290940a80860219909216908b900b909416029290921790559050805b60175460ff821610156119e5578760ff1660178260ff16815481106119a857634e487b7160e01b600052603260045260246000fd5b60009182526020918290209181049091015460ff601f9092166101000a90041614156119d357600191505b806119dd81613ede565b915050611973565b5080611a3f5760178054600181018255600091909152602081047fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c1501805460ff808b16601f9094166101000a938402930219169190911790555b50505b5050505050565b33611a52611cfc565b6001600160a01b031614611a785760405162461bcd60e51b8152600401610bc290613d85565b60ff909116600090815260186020526040902055565b33611a97611cfc565b6001600160a01b031614611abd5760405162461bcd60e51b8152600401610bc290613d85565b610ed7612ebb565b600080611ad284846120e6565b601254909150600160a81b900460ff16811115611031575050601254600160a81b900460ff16610b8d565b33611b06611cfc565b6001600160a01b031614611b2c5760405162461bcd60e51b8152600401610bc290613d85565b6040516370a0823160e01b815281906001600160a01b0382169063a9059cbb90339083906370a0823190611b64903090600401613b33565b60206040518083038186803b158015611b7c57600080fd5b505afa158015611b90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb4919061398c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611bfa57600080fd5b505af1158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4d9190613894565b6014602090815260009283526040808420909152908252902080548190611c5890613e66565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8490613e66565b8015611cd15780601f10611ca657610100808354040283529160200191611cd1565b820191906000526020600020905b815481529060010190602001808311611cb457829003601f168201915b5050506001808501546002860154600387015460049097015495969190920b94919350915060ff1685565b6008546001600160a01b031690565b606060038054610c0490613e66565b6001600160a01b038216331415611d445760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000611dba612f1b565b905090565b606033611dca611cfc565b6001600160a01b031614611df05760405162461bcd60e51b8152600401610bc290613d85565b6017546000816001600160401b03811115611e1b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611e44578160200160208202803683370190505b50905060005b82811015611ed75760178181548110611e7357634e487b7160e01b600052603260045260246000fd5b90600052602060002090602091828204019190069054906101000a900460ff16828281518110611eb357634e487b7160e01b600052603260045260246000fd5b60ff9092166020928302919091019091015280611ecf81613ec3565b915050611e4a565b5091505090565b6000611ee8611db0565b600954611dba9190613e05565b60178181548110611f0557600080fd5b9060005260206000209060209182820401919006915054906101000a900460ff1681565b33611f32611cfc565b6001600160a01b031614611f585760405162461bcd60e51b8152600401610bc290613d85565b60115461010090046001600160a01b0316611f855760405162461bcd60e51b8152600401610bc290613d4e565b6012546001600160a01b0316611fad5760405162461bcd60e51b8152600401610bc290613cad565b600e5460ff1661200e5760405162461bcd60e51b815260206004820152602660248201527f5265736572766564204e465473206e6565647320746f206265206d696e74656460448201526508199a5c9cdd60d21b6064820152608401610bc2565b600e54610100900460ff16156120365760405162461bcd60e51b8152600401610bc290613c55565b6000612040612f2f565b90508051600014156120645760405162461bcd60e51b8152600401610bc290613c7d565b600b541561208a57601154600b5461208a9161010090046001600160a01b031690612ea1565b50600e805461ff001916610100179055565b6120a78484846129cf565b6001600160a01b0383163b156120e0576120c384848484612f3e565b6120e0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600f6020526040812054601154829060ff1661211657600092505050610b8d565b60115460ff90811660009081526014602090815260408083208380528083528184206004908101548a860b60010b865291909352922001549082169116156121875760115460ff16600090815260146020908152604080832088840b60010b845290915290206002015491506121b3565b80156121b35760115460ff16600090815260146020908152604080832083805290915290206002015491505b601254600160b01b900461ffff1683106121d35760009350505050610b8d565b8183106121e65760009350505050610b8d565b601254600090612202908590600160b01b900461ffff16613e05565b905060006122108585613e05565b905080821061221f5780612221565b815b98975050505050505050565b606033612238611cfc565b6001600160a01b03161461225e5760405162461bcd60e51b8152600401610bc290613d85565b60ff821660009081526016602052604081205490816001600160401b0381111561229857634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156122c1578160200160208202803683370190505b50905060005b8281101561236b5760ff8516600090815260166020526040902080548290811061230157634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900460010b82828151811061234457634e487b7160e01b600052603260045260246000fd5b602002602001019060010b908160010b81525050808061236390613ec3565b9150506122c7565b509150505b919050565b606061238082612933565b6123e45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bc2565b60006123ee612f2f565b905080516000141561240f5760405180602001604052806000815250611031565b8061241984613032565b60405160200161242a929190613af4565b6040516020818303038152906040529392505050565b33612449611cfc565b6001600160a01b03161461246f5760405162461bcd60e51b8152600401610bc290613d85565b6012805460ff60a01b1916600160a01b179055565b3361248d611cfc565b6001600160a01b0316146124b35760405162461bcd60e51b8152600401610bc290613d85565b6001600160a01b0381166125185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc2565b61252181612d63565b50565b3361252d611cfc565b6001600160a01b0316146125535760405162461bcd60e51b8152600401610bc290613d85565b60115461010090046001600160a01b03166125805760405162461bcd60e51b8152600401610bc290613d4e565b6012546001600160a01b03166125a85760405162461bcd60e51b8152600401610bc290613cad565b600e5460ff16156125cb5760405162461bcd60e51b8152600401610bc290613c55565b60006125d5612f2f565b90508051600014156125f95760405162461bcd60e51b8152600401610bc290613c7d565b600a54156126145761261461260c611cfc565b600a54612ea1565b600e805460ff191660011790557f046d6e23370929e6ffcba08e484c7f34a18aea43c06d0ecc15a56dabe7b0f44961264a611db0565b604051908152602001610e28565b60008061266483610fa0565b601254909150600160a81b900460ff16811115610b8d575050601254600160a81b900460ff16919050565b33612698611cfc565b6001600160a01b0316146126be5760405162461bcd60e51b8152600401610bc290613d85565b60ff8083166000908152601460209081526040808320600186810b900b8452909152902060040154166127265760405162461bcd60e51b815260206004820152601060248201526f149bdb19481b9bdd08195e1a5cdd195960821b6044820152606401610bc2565b604080516020808201808452600080845260ff8716815260148352848120600187810b900b8252909252929020905161275f92906135a4565b5060ff82166000818152601460209081526040808320600186810b810b8552908352818420908101805461ffff191690556002810184905560038101849055600401805460ff1916905592825260159052908120805461ffff16916127c383613e48565b91906101000a81548161ffff021916908361ffff1602179055505060005b60ff80841660009081526016602052604090205490821610156128995760ff80841660009081526016602052604090208054600185900b92841690811061283857634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900460010b60010b14156128875760ff808416600090815260166020526040902061288291831661314b565b612899565b8061289181613ede565b9150506127e1565b5060ff821660009081526015602052604090205461ffff16610e9c5760005b60175460ff82161015610d4d578260ff1660178260ff16815481106128ed57634e487b7160e01b600052603260045260246000fd5b60009182526020918290209181049091015460ff601f9092166101000a900416141561292157610d4d60178260ff166132b7565b8061292b81613ede565b9150506128b8565b60008161293f600c5490565b1115801561294e575060005482105b8015610b8d575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006129da82612c3a565b9050836001600160a01b031681600001516001600160a01b031614612a115760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480612a2f5750612a2f8533610a7d565b80612a4a575033612a3f84610c87565b6001600160a01b0316145b905080612a6a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416612a9157604051633a954ecd60e21b815260040160405180910390fd5b612a9d60008487612973565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116612b71576000548214612b7157805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b0316600080516020613f8883398151915260405160405180910390a4611a42565b612bb0610f90565b612bf35760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bc2565b6008805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051612c309190613b33565b60405180910390a1565b60408051606081018252600080825260208201819052918101919091528180612c62600c5490565b11612d4a57600054811015612d4a57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290612d485780516001600160a01b031615612cdf579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612d43579392505050565b612cdf565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008085604051602001612dcb91815260200190565b604051602081830303815290604052805190602001209050600081604051602001612e2291907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60408051601f1981840301815282825280516020918201206000845290830180835281905260ff8916918301919091526060820187905260808201869052915060019060a0016020604051602081039080840390855afa158015612e8a573d6000803e3d6000fd5b50505060206040510351925050505b949350505050565b610e9c828260405180602001604052806000815250613412565b612ec3610f90565b15612ee05760405162461bcd60e51b8152600401610bc290613d24565b6008805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612c233390565b6000612f26600c5490565b60005403905090565b6060600d8054610c0490613e66565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612f73903390899088908890600401613b47565b602060405180830381600087803b158015612f8d57600080fd5b505af1925050508015612fbd575060408051601f3d908101601f19168201909252612fba918101906138cc565b60015b613018573d808015612feb576040519150601f19603f3d011682016040523d82523d6000602084013e612ff0565b606091505b508051613010576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612e99565b6060816130565750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613080578061306a81613ec3565b91506130799050600a83613dd2565b915061305a565b6000816001600160401b038111156130a857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130d2576020820181803683370190505b5090505b8415612e99576130e7600183613e05565b91506130f4600a86613efe565b6130ff906030613dba565b60f81b81838151811061312257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613144600a86613dd2565b94506130d6565b805b825461315b90600190613e05565b811015613214578261316e826001613dba565b8154811061318c57634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900460010b8382815481106131cf57634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908360010b61ffff160217905550808061320c90613ec3565b91505061314d565b508154829061322590600190613e05565b8154811061324357634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002026101000a81549061ffff02191690558180548061328757634e487b7160e01b600052603160045260246000fd5b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a021916905590555050565b805b82546132c790600190613e05565b81101561337557826132da826001613dba565b815481106132f857634e487b7160e01b600052603260045260246000fd5b90600052602060002090602091828204019190069054906101000a900460ff1683828154811061333857634e487b7160e01b600052603260045260246000fd5b90600052602060002090602091828204019190066101000a81548160ff021916908360ff160217905550808061336d90613ec3565b9150506132b9565b508154829061338690600190613e05565b815481106133a457634e487b7160e01b600052603260045260246000fd5b90600052602060002090602091828204019190066101000a81549060ff0219169055818054806133e457634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002090602091828204019190066101000a81549060ff021916905590555050565b6000546001600160a01b03841661343b57604051622e076360e81b815260040160405180910390fd5b826134595760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546001600160801b031981166001600160401b038083168b018116918217600160401b67ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15613561575b60405182906001600160a01b03881690600090600080516020613f88833981519152908290a461352a6000878480600101955087612f3e565b613547576040516368d2bf6b60e11b815260040160405180910390fd5b8082106134f157826000541461355c57600080fd5b613594565b5b6040516001830192906001600160a01b03881690600090600080516020613f88833981519152908290a4808210613562575b5060009081556120e09085838684565b8280546135b090613e66565b90600052602060002090601f0160209004810192826135d25760008555613618565b82601f106135eb57805160ff1916838001178555613618565b82800160010185558215613618579182015b828111156136185782518255916020019190600101906135fd565b50613624929150613628565b5090565b5b808211156136245760008155600101613629565b60006001600160401b038084111561365757613657613f3e565b604051601f8501601f19908116603f0116810190828211818310171561367f5761367f613f3e565b8160405280935085815286868601111561369857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461237057600080fd5b8035600181900b811461237057600080fd5b600082601f8301126136eb578081fd5b6110318383356020850161363d565b803560ff8116811461237057600080fd5b60006020828403121561371c578081fd5b611031826136b2565b60008060408385031215613737578081fd5b613740836136b2565b915061374e602084016136b2565b90509250929050565b60008060006060848603121561376b578081fd5b613774846136b2565b9250613782602085016136b2565b9150604084013590509250925092565b600080600080608085870312156137a7578081fd5b6137b0856136b2565b93506137be602086016136b2565b92506040850135915060608501356001600160401b038111156137df578182fd5b8501601f810187136137ef578182fd5b6137fe8782356020840161363d565b91505092959194509250565b6000806040838503121561381c578182fd5b613825836136b2565b9150602083013561383581613f54565b809150509250929050565b60008060408385031215613852578182fd5b61385b836136b2565b9150602083013561383581613f78565b6000806040838503121561387d578182fd5b613886836136b2565b946020939093013593505050565b6000602082840312156138a5578081fd5b815161103181613f54565b6000602082840312156138c1578081fd5b813561103181613f62565b6000602082840312156138dd578081fd5b815161103181613f62565b6000602082840312156138f9578081fd5b813561103181613f78565b600060208284031215613915578081fd5b815161103181613f78565b600060208284031215613931578081fd5b81356001600160401b03811115613946578182fd5b612e99848285016136db565b600060208284031215613963578081fd5b813561ffff81168114611031578182fd5b600060208284031215613985578081fd5b5035919050565b60006020828403121561399d578081fd5b5051919050565b60008060008060008060c087890312156139bc578384fd5b8635955060208701356139ce81613f78565b9450604087013593506139e3606088016136fa565b92506080870135915060a087013590509295509295509295565b600060208284031215613a0e578081fd5b611031826136fa565b60008060408385031215613a29578182fd5b613a32836136fa565b915061374e602084016136c9565b600080600080600060a08688031215613a57578283fd5b613a60866136fa565b9450613a6e602087016136c9565b935060408601356001600160401b03811115613a88578384fd5b613a94888289016136db565b9598949750949560608101359550608001359392505050565b60008060408385031215613abf578182fd5b613886836136fa565b60008151808452613ae0816020860160208601613e1c565b601f01601f19169290920160200192915050565b60008351613b06818460208801613e1c565b835190830190613b1a818360208801613e1c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b7a90830184613ac8565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613bbf578351600190810b8452938501939285019201613ba0565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613bbf57835160ff1683529284019291840191600101613be7565b6020815260006110316020830184613ac8565b60a081526000613c2c60a0830188613ac8565b90508560010b602083015284604083015283606083015282151560808301529695505050505050565b6020808252600e908201526d105b1c9958591e481b5a5b9d195960921b604082015260600190565b60208082526016908201527518985cd9555492481a5cc81b9bdd081e595d081cd95d60521b604082015260600190565b60208082526022908201527f57686974656c69737465722061646472657373206973206e6f74207965742073604082015261195d60f21b606082015260800190565b6020808252818101527f596f7520686176652072656163686564206d6178696d756d20616c6c6f776564604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601a908201527f5465616d2077616c6c6574206973206e6f742079657420736574000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115613dcd57613dcd613f12565b500190565b600082613de157613de1613f28565b500490565b6000816000190483118215151615613e0057613e00613f12565b500290565b600082821015613e1757613e17613f12565b500390565b60005b83811015613e37578181015183820152602001613e1f565b838111156120e05750506000910152565b600061ffff821680613e5c57613e5c613f12565b6000190192915050565b600181811c90821680613e7a57607f821691505b60208210811415613e9b57634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415613eb957613eb9613f12565b6001019392505050565b6000600019821415613ed757613ed7613f12565b5060010190565b600060ff821660ff811415613ef557613ef5613f12565b60010192915050565b600082613f0d57613f0d613f28565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461252157600080fd5b6001600160e01b03198116811461252157600080fd5b8060000b811461252157600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204fe87e81a9d13ed631b31df80b33ac202489f46dd766c3986a7aadf00e06d0d664736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.