ETH Price: $3,376.43 (-3.15%)

Contract

0xDD510ce28dfD085d9cf58F5402cA6d63985e83C0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...212469882024-11-23 0:55:3533 days ago1732323335IN
0xDD510ce2...3985e83C0
0 ETH0.0006365313.7584244
Set Approval For...212052832024-11-17 5:17:2339 days ago1731820643IN
0xDD510ce2...3985e83C0
0 ETH0.000526811.3867636
Safe Transfer Fr...212052562024-11-17 5:11:5939 days ago1731820319IN
0xDD510ce2...3985e83C0
0 ETH0.000456839.36370816
Safe Transfer Fr...212052532024-11-17 5:11:2339 days ago1731820283IN
0xDD510ce2...3985e83C0
0 ETH0.0005499110.26198352
Set Approval For...210833792024-10-31 4:58:1156 days ago1730350691IN
0xDD510ce2...3985e83C0
0 ETH0.000168656.94945144
Set Approval For...208823292024-10-03 3:33:5984 days ago1727926439IN
0xDD510ce2...3985e83C0
0 ETH0.000131625.4234662
Set Approval For...207421172024-09-13 13:53:35103 days ago1726235615IN
0xDD510ce2...3985e83C0
0 ETH0.00014063.04454294
Set Approval For...207327932024-09-12 6:38:23105 days ago1726123103IN
0xDD510ce2...3985e83C0
0 ETH0.000141733.06909316
Set Approval For...206626012024-09-02 11:31:11114 days ago1725276671IN
0xDD510ce2...3985e83C0
0 ETH0.000096962.09970426
Set Approval For...205822592024-08-22 6:08:47126 days ago1724306927IN
0xDD510ce2...3985e83C0
0 ETH0.000038771.59751444
Set Approval For...205700482024-08-20 13:11:47127 days ago1724159507IN
0xDD510ce2...3985e83C0
0 ETH0.000053672.21170819
Set Approval For...205689312024-08-20 9:26:35128 days ago1724145995IN
0xDD510ce2...3985e83C0
0 ETH0.000046111.9
Set Approval For...205685712024-08-20 8:14:11128 days ago1724141651IN
0xDD510ce2...3985e83C0
0 ETH0.000055552.28926771
Set Approval For...205242652024-08-14 3:44:35134 days ago1723607075IN
0xDD510ce2...3985e83C0
0 ETH0.000062072.55784333
Set Approval For...205190352024-08-13 10:14:11134 days ago1723544051IN
0xDD510ce2...3985e83C0
0 ETH0.00005642.32399542
Set Approval For...205182722024-08-13 7:40:11135 days ago1723534811IN
0xDD510ce2...3985e83C0
0 ETH0.000032791.34997275
Set Approval For...204734292024-08-07 1:32:11141 days ago1722994331IN
0xDD510ce2...3985e83C0
0 ETH0.000070321.52286857
Set Approval For...201618812024-06-24 13:36:47184 days ago1719236207IN
0xDD510ce2...3985e83C0
0 ETH0.000354937.68570057
Set Approval For...201513202024-06-23 2:08:59186 days ago1719108539IN
0xDD510ce2...3985e83C0
0 ETH0.000062112.55942402
Set Approval For...197461542024-04-27 10:45:11242 days ago1714214711IN
0xDD510ce2...3985e83C0
0 ETH0.000143555.89455684
Set Approval For...197461522024-04-27 10:44:47242 days ago1714214687IN
0xDD510ce2...3985e83C0
0 ETH0.000138665.70782104
Set Approval For...196674392024-04-16 10:26:23253 days ago1713263183IN
0xDD510ce2...3985e83C0
0 ETH0.0003687815.19590707
Set Approval For...196024022024-04-07 7:42:59263 days ago1712475779IN
0xDD510ce2...3985e83C0
0 ETH0.0003309313.63628846
Set Approval For...196023432024-04-07 7:31:11263 days ago1712475071IN
0xDD510ce2...3985e83C0
0 ETH0.0002919812.03109768
Set Approval For...195757422024-04-03 14:08:59266 days ago1712153339IN
0xDD510ce2...3985e83C0
0 ETH0.0013105354.00019884
View all transactions

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
152885532022-08-06 11:50:57872 days ago1659786657
0xDD510ce2...3985e83C0
4.02 ETH
152885532022-08-06 11:50:57872 days ago1659786657
0xDD510ce2...3985e83C0
2.01 ETH
152885532022-08-06 11:50:57872 days ago1659786657
0xDD510ce2...3985e83C0
8.04 ETH
152885532022-08-06 11:50:57872 days ago1659786657
0xDD510ce2...3985e83C0
26.13 ETH
152637142022-08-02 14:44:20876 days ago1659451460
0xDD510ce2...3985e83C0
0.003 ETH
152637142022-08-02 14:44:20876 days ago1659451460
0xDD510ce2...3985e83C0
0.0015 ETH
152637142022-08-02 14:44:20876 days ago1659451460
0xDD510ce2...3985e83C0
0.006 ETH
152637142022-08-02 14:44:20876 days ago1659451460
0xDD510ce2...3985e83C0
0.0195 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Asagi

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Asagi.sol
// SPDX-License-Identifier: MIT
/*
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@           @@              @@         @@                     @@      @@@@@@@@@@
@@@@@@@@@@@@@@@            @@              @@          @@                    @@      @@@@@@@@@@
@@@@@@@@@@@@@@             @@     @@@@@@@@@@@           @@     @@@@@@@@@@@@@@@@      @@@@@@@@@@
@@@@@@@@@@@@@      @       @@     @@@@@@@@@@@       @    @@     @@@@@@@@@@@@@@@      @@@@@@@@@@
@@@@@@@@@@@@      @@       @@     @@@@@@@@@@@       @@    @@     @           @@      @@@@@@@@@@
@@@@@@@@@@@      @@@       @@              @@       @@@    @@     @          @@      @@@@@@@@@@
@@@@@@@@@@     @           @@              @@          @    @@     @@@@@@    @@      @@@@@@@@@@
@@@@@@@@@     @            @@@@@@@@@@@     @@           @    @@     @@@@@    @@      @@@@@@@@@@
@@@@@@@@     @@@@@@@       @@@@@@@@@@@     @@       @@@@@@    @@     @@@@    @@      @@@@@@@@@@
@@@@@@@     @@@@@@@@       @@@@@@@@@@@     @@       @@@@@@@    @@     @@@    @@      @@@@@@@@@@
@@@@@@     @@@@@@@@@       @@              @@       @@@@@@@@    @@           @@      @@@@@@@@@@
@@@@@     @@@@@@@@@@       @@              @@       @@@@@@@@@    @@          @@      @@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
*/

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

interface balanceOfInterface {
  function balanceOf(address addr) external view returns (
      uint256 holds
  );
}

interface IERC20 {
    function owner() external view returns (address);
    function balanceOf(address add) external view returns (uint256);
    function transferFrom(address from, address to, uint256 amount) external;
}

interface AsagiTama {
    function walletOfOwner(address _address) external view returns (uint256[] memory);
}

contract Asagi is Ownable, ERC721A, ReentrancyGuard, ERC2981{
    uint256 public tokenCount;
    uint256 public batchSize = 100;
    uint256 private wLMintPrice = 0.03 ether;
    uint256 private mintPrice = 0.05 ether;
    uint256 public MintLimit = 3;
    uint256 public _totalSupply = 1500;
    bool public wlSaleStart = false;
    bool public saleStart = false;
    mapping(address => uint256) public Minted; 
    bytes32 public merkleRoot;

    address public royaltyAddress;
    uint96 public royaltyFee = 1000;
    bool public revealed = false;
    
  constructor(
  ) ERC721A("Asagi", "ASAGI",batchSize, _totalSupply) {
     tokenCount = 0;
  }
  function ownerMint(uint256 quantity, address to) external onlyOwner {
    require((quantity + tokenCount) <= (_totalSupply), "too many already minted before patner mint");
    _safeMint(to, quantity);
    tokenCount += quantity;
  }
  
  function wlMint(uint256 quantity, bytes32[] calldata _merkleProof) public payable nonReentrant {
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

    require(MintLimit >= quantity, "limit over");
    require(MintLimit >= Minted[msg.sender] + quantity, "You have no Mint left");
    require(msg.value == wLMintPrice * quantity, "Value sent is not correct");
    require((quantity + tokenCount) <= (_totalSupply), "Sorry. No more NFTs");
    require(wlSaleStart, "Sale Paused");    
    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf),"Invalid Merkle Proof");
         
    Minted[msg.sender] += quantity;
    _safeMint(msg.sender, quantity);
    tokenCount += quantity;
  }
  function psMint(uint256 quantity) public payable nonReentrant {
    require(MintLimit >= quantity, "limit over");
    require(MintLimit >= Minted[msg.sender] + quantity, "You have no Mint left");
    require(msg.value == mintPrice * quantity, "Value sent is not correct");
    require((quantity + tokenCount) <= (_totalSupply), "Sorry. No more NFTs");
    require(saleStart, "Sale Paused");
         
    Minted[msg.sender] += quantity;
    _safeMint(msg.sender, quantity);
    tokenCount += quantity;
  }

  function withdrawRevenueShare() external onlyOwner {
    uint256 sendAmount = address(this).balance;

    address artist = payable(0xC341575cc758840f7Fdd102474c4d0e81c8DeD98);
    address engineer = payable(0x253058B7F0fF2C6218dB7569cE1d399F7183E355);
    address marketer = payable(0xf2fd31926B3bc3fB47C108B31cC0829F20DeE4c0);
    address manager = payable(0x2064f95A4537a7e9ce364384F55A2F4bBA3F0346);
    bool success;

    (success, ) = artist.call{value: (sendAmount * 650/1000)}("");
    require(success, "Failed to withdraw Ether");
    (success, ) = engineer.call{value: (sendAmount * 200/1000)}("");
    require(success, "Failed to withdraw Ether");
    (success, ) = marketer.call{value: (sendAmount * 50/1000)}("");
    require(success, "Failed to withdraw Ether");
    (success, ) = manager.call{value: (sendAmount * 100/1000)}("");
    require(success, "Failed to withdraw Ether");
  }

  function switchWlSale(bool _state) external onlyOwner {
    wlSaleStart = _state;
  }
  function switchSale(bool _state) external onlyOwner {
    saleStart = _state;
  }
  function setWlLimit(uint256 newLimit) external onlyOwner {
    MintLimit = newLimit;
  }
  function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
    merkleRoot = _merkleRoot;
  }

  function walletOfOwner(address _address) public view returns (uint256[] memory) {
    uint256 ownerTokenCount = balanceOf(_address);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
      for (uint256 i; i < ownerTokenCount; i++) {
        tokenIds[i] = tokenOfOwnerByIndex(_address, i);
      }
    return tokenIds;
  }

  //set Default Royalty._feeNumerator 500 = 5% Royalty
  function setRoyaltyFee(uint96 _feeNumerator) external onlyOwner {
    royaltyFee = _feeNumerator;
    _setDefaultRoyalty(royaltyAddress, royaltyFee);
  }

  //Change the royalty address where royalty payouts are sent
  function setRoyaltyAddress(address _royaltyAddress) external onlyOwner {
    royaltyAddress = _royaltyAddress;
    _setDefaultRoyalty(royaltyAddress, royaltyFee);
  }
  
  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) {
    return super.supportsInterface(interfaceId);
  }

  //Implementation on wear change from here down.
  //URI
  string public _baseTokenURI;
  string private revealUri;

  //style Map
  mapping(uint256 => uint256) public mapTokenMode;
  //TokenModeToURI
  mapping(uint256 => string) public TokenModeToUriMap;
  //AsagiTama
  mapping(uint256 => uint256) public TokenID2AtMode;

  //key Project
  address public x1_address;
  address public x2_address;
  address public x3_address;
  address public x4_address;
  address public x5_address;
  address public at_adress; 
  balanceOfInterface x1_Contract;
  balanceOfInterface x2_Contract;
  IERC20 x3_SAL;
  balanceOfInterface x4_Contract;
  balanceOfInterface x5_Contract;
  AsagiTama at_Contract;

  address private treasuryaddy;
  uint256 public SalCost = 30 ether;  //able to change

  bool public releaseX1=false;
  bool public releaseX2=false;
  bool public releaseX3=false;
  bool public releaseX4=false;
  bool public releaseX5=false;
  bool public releaseAT=false;

  //retuen BaseURI.internal.
  function _baseURI(uint256 tokenId) internal view returns (string memory){
    if(mapTokenMode[tokenId] == 0) {
      return _baseTokenURI;
    }
    if(mapTokenMode[tokenId] == 1) {
      return TokenModeToUriMap[1];
    }
    if(mapTokenMode[tokenId] == 2) {
      return TokenModeToUriMap[2];
    }
    if(mapTokenMode[tokenId] == 3) {
      return TokenModeToUriMap[3];
    }
    if(mapTokenMode[tokenId] == 4) {
      return TokenModeToUriMap[4];
    }
    if(mapTokenMode[tokenId] == 5) {
      return TokenModeToUriMap[5];
    }
    if(mapTokenMode[tokenId] == 6) {
      uint256 x = TokenID2AtMode[tokenId]+6;
      return TokenModeToUriMap[x];
    }
      return _baseTokenURI;
  }

  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), "URI query for nonexistent token");
    if(revealed == false) {
      return revealUri;
      }
    return string(abi.encodePacked(_baseURI(_tokenId), Strings.toString(_tokenId), ".json"));
  }

  //change mode for holder
  function ModeBase(uint256 tokenId) public{
    require(ownerOf(tokenId) == msg.sender, "You are not the holder of this token.");
    mapTokenMode[tokenId] = 0;
  }
  function ModeX1(uint256 tokenId) public{
    require(ownerOf(tokenId) == msg.sender, "You are not the holder of this token.");
    require(releaseX1);
    require(0<x1_Contract.balanceOf(msg.sender), "You don't have collaboration token.");
    mapTokenMode[tokenId] = 1;
  }
  function ModeX2(uint256 tokenId) public{
    require(ownerOf(tokenId) == msg.sender, "You are not the holder of this token.");
    require(releaseX2);
    require(0<x2_Contract.balanceOf(msg.sender), "You don't have collaboration token.");
    mapTokenMode[tokenId] = 2;
  }
  //Wearable change with token//
  function ModeX3(uint256 tokenId) public{
    require(ownerOf(tokenId) == msg.sender, "You are not the holder of this token.");
    require(releaseX3);
    require(x3_SAL.balanceOf(msg.sender) >= SalCost,  "You don't have enough $SAL");
  //transfer//
    x3_SAL.transferFrom(msg.sender, treasuryaddy, SalCost);
    mapTokenMode[tokenId] = 3;
  }
  function ModeX4(uint256 tokenId) public{
    require(ownerOf(tokenId) == msg.sender, "You are not the holder of this token.");
    require(0<x4_Contract.balanceOf(msg.sender), "You don't have collaboration token.");
    require(releaseX4);
    mapTokenMode[tokenId] = 4;
  }
  function ModeX5(uint256 tokenId) public{
    require(ownerOf(tokenId) == msg.sender, "You are not the holder of X token.");
    require(releaseX5);
    require(0<x5_Contract.balanceOf(msg.sender), "You don't have collaboration token.");
    mapTokenMode[tokenId] = 5;
  }
  function ModeAT(uint256 tokenId, uint256 AtNumber) public{
    require(ownerOf(tokenId) == msg.sender, "You are not the holder of X token.");
    require(releaseAT);
    require(AtNumber<6);
    bool check = false;
    for (uint256 i; i < at_Contract.walletOfOwner(msg.sender).length; i++) {
      if (at_Contract.walletOfOwner(msg.sender)[i]%6 == AtNumber){
        check = true;
      }
    }
    require(check);
    mapTokenMode[tokenId] = 6;
    TokenID2AtMode[tokenId]=AtNumber;
  }
  function ModeResetByOwner(uint256[] memory list) public onlyOwner{
    for (uint i = 0; i < list.length; i++) {
      mapTokenMode[i] = 0;
    }
  }

  //set URI
  function setBaseURI(string calldata baseURI) external onlyOwner {
    _baseTokenURI = baseURI;
  }
  function setExtraURI(string calldata baseURI, uint256 TokenMode) external onlyOwner {
    TokenModeToUriMap[TokenMode] = baseURI;
  }
  function setHiddenBaseURI(string memory uri_) public onlyOwner {
    revealUri = uri_;
  }
  function setreveal(bool bool_) external onlyOwner {
    revealed = bool_;
  }
  //set x address
  function setX1Adress(address _address) external onlyOwner {
    x1_address = _address;
    x1_Contract = balanceOfInterface(x1_address);
  }
  function setX2Adress(address _address) external onlyOwner {
    x2_address = _address;
    x2_Contract = balanceOfInterface(x2_address);
  }

  //Wearable functionality using $SAL by 0xSumo & SOCO//
  //Can you keep it to yourself?//
  function setX3Adress(address _address) external onlyOwner {
    x3_address = _address;
    x3_SAL = IERC20(x3_address);
  }
  function setTreasury(address _address) external onlyOwner {
    treasuryaddy = _address;
  }
  function setCost(uint256 _Cost) external onlyOwner {
    SalCost = _Cost;
  }

  //You ain't heard nothin' yet!//
  function setX4Adress(address _address) external onlyOwner {
    x4_address = _address;
    x4_Contract = balanceOfInterface(x4_address);
  }
  function setX5Adress(address _address) external onlyOwner {
    x5_address = _address;
    x5_Contract = balanceOfInterface(x5_address);
  }

  //Can you keep a secret?//
  function setAtAdress(address _address) external onlyOwner {
    at_adress = _address;
    at_Contract = AsagiTama(at_adress);
  }
  //set release flag
  function releaseX1Flag(bool bool_) external onlyOwner {
    releaseX1 = bool_;
  }
  function releaseX2Flag(bool bool_) external onlyOwner {
    releaseX2 = bool_;
  }
  function releaseX3Flag(bool bool_) external onlyOwner {
    releaseX3 = bool_;
  }
  function releaseX4Flag(bool bool_) external onlyOwner {
    releaseX4 = bool_;
  }
  function releaseX5Flag(bool bool_) external onlyOwner {
    releaseX5 = bool_;
  }
  function releaseATFlag(bool bool_) external onlyOwner {
    releaseAT = bool_;
  }

  function wearAuthOfOwner(address _address) public view returns (uint256[] memory) {
    uint256[] memory wearAuthList = new uint256[](11);
    if (x1_address != 0x0000000000000000000000000000000000000000){
      wearAuthList[0]=x1_Contract.balanceOf(_address);
    }
    if (x2_address != 0x0000000000000000000000000000000000000000){
      wearAuthList[1]=x2_Contract.balanceOf(_address);
    }
    if (x3_address != 0x0000000000000000000000000000000000000000){
      wearAuthList[2]=x3_SAL.balanceOf(_address);
    }
    if (x4_address != 0x0000000000000000000000000000000000000000){
      wearAuthList[3]=x4_Contract.balanceOf(_address);
    }
    if (x5_address != 0x0000000000000000000000000000000000000000){
      wearAuthList[4]=x5_Contract.balanceOf(_address);
    }
    if (at_adress != 0x0000000000000000000000000000000000000000){
      for (uint256 i; i < at_Contract.walletOfOwner(_address).length; i++) {
        if (at_Contract.walletOfOwner(_address)[i]%6 == 0){
          wearAuthList[5]=wearAuthList[5]+1;
        }
        if (at_Contract.walletOfOwner(_address)[i]%6 == 1){
          wearAuthList[6]=wearAuthList[6]+1;
        }
        if (at_Contract.walletOfOwner(_address)[i]%6 == 2){
          wearAuthList[7]=wearAuthList[7]+1;
        }
        if (at_Contract.walletOfOwner(_address)[i]%6 == 3){
          wearAuthList[8]=wearAuthList[8]+1;
        }
        if (at_Contract.walletOfOwner(_address)[i]%6 == 4){
          wearAuthList[9]=wearAuthList[9]+1;
        }
        if (at_Contract.walletOfOwner(_address)[i]%6 == 5){
          wearAuthList[10]=wearAuthList[10]+1;
        }
      }
    }
    return wearAuthList;
  }

}

File 2 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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

File 4 of 16 : ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.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 and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // 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) private _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;

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

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

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

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

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

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @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)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

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

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

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

    require(
      _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
      "ERC721A: approve caller is not owner nor approved for all"
    );

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

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

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

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

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

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

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, 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;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

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

  /**
   * @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);
  }

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

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

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * 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`.
   */
  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.
   *
   * 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` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

File 5 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 8 of 16 : 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 9 of 16 : 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 10 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: 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 15 of 16 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"Minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"AtNumber","type":"uint256"}],"name":"ModeAT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ModeBase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"list","type":"uint256[]"}],"name":"ModeResetByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ModeX1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ModeX2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ModeX3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ModeX4","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ModeX5","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"SalCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"TokenID2AtMode","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"TokenModeToUriMap","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"at_adress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"batchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mapTokenMode","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"psMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"releaseAT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"releaseATFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseX1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"releaseX1Flag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseX2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"releaseX2Flag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseX3","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"releaseX3Flag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseX4","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"releaseX4Flag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseX5","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"releaseX5Flag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":[],"name":"saleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setAtAdress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256","name":"TokenMode","type":"uint256"}],"name":"setExtraURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setHiddenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setWlLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setX1Adress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setX2Adress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setX3Adress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setX4Adress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setX5Adress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setreveal","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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"switchSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"switchWlSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"wearAuthOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawRevenueShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"wlMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"x1_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"x2_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"x3_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"x4_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"x5_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c0604052600060018190556008556064600d55666a94d74f430000600e5566b1a2bc2ec50000600f5560036010556105dc6011556012805461ffff19169055601580546001600160a01b0316607d60a31b1790556016805460ff191690556801a055690d9db80000602955602a805465ffffffffffff191690553480156200008757600080fd5b5060405180604001604052806005815260200164417361676960d81b81525060405180604001604052806005815260200164415341474960d81b815250600d54601154620000e4620000de620001fa60201b60201c565b620001fe565b60008111620001515760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001b35760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000148565b8351620001c89060029060208701906200024e565b508251620001de9060039060208601906200024e565b5060a091909152608052505060016009556000600c5562000331565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200025c90620002f4565b90600052602060002090601f016020900481019282620002805760008555620002cb565b82601f106200029b57805160ff1916838001178555620002cb565b82800160010185558215620002cb579182015b82811115620002cb578251825591602001919060010190620002ae565b50620002d9929150620002dd565b5090565b5b80821115620002d95760008155600101620002de565b600181811c908216806200030957607f821691505b602082108114156200032b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516151fb6200036260003960008181613cf801528181613d2201526144270152600050506151fb6000f3fe6080604052600436106104c05760003560e01c80639732371a11610276578063c9e229a91161014f578063e8c25b46116100c1578063f0f4426011610085578063f0f4426014610f1e578063f2fde38b14610f3e578063f4daaba114610f5e578063f5fab0cf14610f74578063f9baa58614610f94578063fc35c7e314610fb457600080fd5b8063e8c25b4614610e5f578063e985e9c514610e7f578063ea41d23014610ec8578063ec8e6a6314610ee8578063ef34872314610efe57600080fd5b8063d9d921f511610113578063d9d921f514610d9f578063dbce0fbc14610dbf578063deb7b40614610ddf578063dfdfa6a414610dff578063e0ded20714610e1f578063e4f0407514610e3f57600080fd5b8063c9e229a914610d15578063cfc86f7b14610d34578063d3750ff314610d49578063d52c57e014610d69578063d7224ba014610d8957600080fd5b8063ae73603c116101e8578063b8997a97116101ac578063b8997a9714610c34578063b8e5b01514610c73578063b94df57814610c93578063c7f95b7b14610cb3578063c8369b4114610cd3578063c87b56dd14610cf557600080fd5b8063ae73603c14610b9d578063b48c170d14610bb7578063b4ded4fe14610bda578063b6766b6d14610bf4578063b88d4fde14610c1457600080fd5b8063a93ff4e51161023a578063a93ff4e514610ae9578063aa38cd3214610b09578063aa927c4a14610b1e578063ab0bcc4114610b3e578063ad2f852a14610b5d578063ae64a5e714610b7d57600080fd5b80639732371a14610a5257806398a9b27214610a735780639f181b5e14610a93578063a22cb46514610aa9578063a63c0fc914610ac957600080fd5b80633eaaf86b116103a8578063684a4aa01161031a5780637cb64759116102de5780637cb64759146109925780637d2f7325146109b25780637d76c09c146109d25780638da5cb5b146109f257806390ddedd514610a1057806395d89b4114610a3d57600080fd5b8063684a4aa0146108fd57806370a082311461091d578063715018a61461093d57806377ad641a146109525780637c635c521461097257600080fd5b80634f6ccce71161036c5780634f6ccce714610836578063518302271461085657806355f804b3146108705780635c6bf735146108905780636352211e146108b0578063640dd9a0146108d057600080fd5b80633eaaf86b146107a05780633ef0d36d146107b657806342842e0e146107c9578063438b6300146107e957806344a0d68a1461081657600080fd5b8063276b4d80116104415780632eb4a7ab116104055780632eb4a7ab146106f45780632f5d8cad1461070a5780632f745c591461072a578063312de6301461074a57806331faafb41461076a5780633d77bdb71461078a57600080fd5b8063276b4d80146106355780632a55205a146106555780632b3dce1d146106945780632ba7db1f146106a75780632d7691be146106c757600080fd5b806318160ddd1161048857806318160ddd146105965780631e772f5f146105b55780631fab179e146105d557806320ac6850146105f557806323b872dd1461061557600080fd5b806301ffc9a7146104c557806306d254da146104fa57806306fdde031461051c578063081812fc1461053e578063095ea7b314610576575b600080fd5b3480156104d157600080fd5b506104e56104e0366004614b3c565b610fd4565b60405190151581526020015b60405180910390f35b34801561050657600080fd5b5061051a610515366004614888565b610fe5565b005b34801561052857600080fd5b50610531611028565b6040516104f19190614e3b565b34801561054a57600080fd5b5061055e610559366004614b23565b6110ba565b6040516001600160a01b0390911681526020016104f1565b34801561058257600080fd5b5061051a6105913660046149b7565b61114a565b3480156105a257600080fd5b506001545b6040519081526020016104f1565b3480156105c157600080fd5b5061051a6105d0366004614b23565b611262565b3480156105e157600080fd5b5061051a6105f0366004614b23565b611357565b34801561060157600080fd5b5061051a610610366004614c02565b611364565b34801561062157600080fd5b5061051a6106303660046148d6565b611383565b34801561064157600080fd5b5061051a610650366004614b08565b61138e565b34801561066157600080fd5b50610675610670366004614d04565b6113b0565b604080516001600160a01b0390931683526020830191909152016104f1565b61051a6106a2366004614b23565b61145e565b3480156106b357600080fd5b5061051a6106c2366004614b08565b611698565b3480156106d357600080fd5b506105a76106e2366004614b23565b60196020526000908152604090205481565b34801561070057600080fd5b506105a760145481565b34801561071657600080fd5b5061051a610725366004614b08565b6116ba565b34801561073657600080fd5b506105a76107453660046149b7565b6116d5565b34801561075657600080fd5b5061051a610765366004614d04565b61184d565b34801561077657600080fd5b5061051a610785366004614d26565b611a1b565b34801561079657600080fd5b506105a760295481565b3480156107ac57600080fd5b506105a760115481565b61051a6107c4366004614c86565b611a5c565b3480156107d557600080fd5b5061051a6107e43660046148d6565b611d51565b3480156107f557600080fd5b50610809610804366004614888565b611d6c565b6040516104f19190614df7565b34801561082257600080fd5b5061051a610831366004614b23565b611e0d565b34801561084257600080fd5b506105a7610851366004614b23565b611e1a565b34801561086257600080fd5b506016546104e59060ff1681565b34801561087c57600080fd5b5061051a61088b366004614b76565b611e83565b34801561089c57600080fd5b5061051a6108ab366004614b23565b611e97565b3480156108bc57600080fd5b5061055e6108cb366004614b23565b611f8b565b3480156108dc57600080fd5b506105a76108eb366004614b23565b601b6020526000908152604090205481565b34801561090957600080fd5b50601d5461055e906001600160a01b031681565b34801561092957600080fd5b506105a7610938366004614888565b611f9d565b34801561094957600080fd5b5061051a61202e565b34801561095e57600080fd5b50602a546104e59062010000900460ff1681565b34801561097e57600080fd5b5061051a61098d366004614b08565b612042565b34801561099e57600080fd5b5061051a6109ad366004614b23565b61205d565b3480156109be57600080fd5b5061051a6109cd366004614888565b61206a565b3480156109de57600080fd5b50601c5461055e906001600160a01b031681565b3480156109fe57600080fd5b506000546001600160a01b031661055e565b348015610a1c57600080fd5b506105a7610a2b366004614888565b60136020526000908152604090205481565b348015610a4957600080fd5b5061053161209e565b348015610a5e57600080fd5b50602a546104e5906301000000900460ff1681565b348015610a7f57600080fd5b5061051a610a8e366004614b23565b6120ad565b348015610a9f57600080fd5b506105a7600c5481565b348015610ab557600080fd5b5061051a610ac436600461498d565b612242565b348015610ad557600080fd5b5061051a610ae4366004614b08565b612307565b348015610af557600080fd5b5061051a610b04366004614b08565b61232f565b348015610b1557600080fd5b5061051a612355565b348015610b2a57600080fd5b5061051a610b39366004614888565b6125cc565b348015610b4a57600080fd5b506012546104e590610100900460ff1681565b348015610b6957600080fd5b5060155461055e906001600160a01b031681565b348015610b8957600080fd5b50610531610b98366004614b23565b612600565b348015610ba957600080fd5b50602a546104e59060ff1681565b348015610bc357600080fd5b50602a546104e59065010000000000900460ff1681565b348015610be657600080fd5b506012546104e59060ff1681565b348015610c0057600080fd5b5061051a610c0f366004614888565b61269a565b348015610c2057600080fd5b5061051a610c2f366004614912565b6126ce565b348015610c4057600080fd5b50601554610c5b90600160a01b90046001600160601b031681565b6040516001600160601b0390911681526020016104f1565b348015610c7f57600080fd5b5061051a610c8e366004614b08565b612707565b348015610c9f57600080fd5b5061051a610cae366004614b23565b612722565b348015610cbf57600080fd5b5060215461055e906001600160a01b031681565b348015610cdf57600080fd5b50602a546104e590640100000000900460ff1681565b348015610d0157600080fd5b50610531610d10366004614b23565b612763565b348015610d2157600080fd5b50602a546104e590610100900460ff1681565b348015610d4057600080fd5b50610531612891565b348015610d5557600080fd5b5061051a610d64366004614b08565b61289e565b348015610d7557600080fd5b5061051a610d84366004614c63565b6128c2565b348015610d9557600080fd5b506105a760085481565b348015610dab57600080fd5b5061051a610dba366004614888565b612960565b348015610dcb57600080fd5b5061051a610dda366004614b08565b612994565b348015610deb57600080fd5b5061051a610dfa366004614bb7565b6129be565b348015610e0b57600080fd5b5061051a610e1a366004614b23565b6129df565b348015610e2b57600080fd5b50610809610e3a366004614888565b612ad1565b348015610e4b57600080fd5b5061051a610e5a366004614b23565b6134c2565b348015610e6b57600080fd5b5061051a610e7a3660046149e1565b6135af565b348015610e8b57600080fd5b506104e5610e9a3660046148a3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610ed457600080fd5b50601f5461055e906001600160a01b031681565b348015610ef457600080fd5b506105a760105481565b348015610f0a57600080fd5b5061051a610f19366004614888565b6135e4565b348015610f2a57600080fd5b5061051a610f39366004614888565b613618565b348015610f4a57600080fd5b5061051a610f59366004614888565b613642565b348015610f6a57600080fd5b506105a7600d5481565b348015610f8057600080fd5b5061051a610f8f366004614888565b6136b8565b348015610fa057600080fd5b50601e5461055e906001600160a01b031681565b348015610fc057600080fd5b5060205461055e906001600160a01b031681565b6000610fdf826136ec565b92915050565b610fed613711565b601580546001600160a01b0319166001600160a01b0383169081179182905561102591600160a01b90046001600160601b031661376b565b50565b606060028054611037906150ed565b80601f0160208091040260200160405190810160405280929190818152602001828054611063906150ed565b80156110b05780601f10611085576101008083540402835291602001916110b0565b820191906000526020600020905b81548152906001019060200180831161109357829003601f168201915b5050505050905090565b60006110c7826001541190565b61112e5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061115582611f8b565b9050806001600160a01b0316836001600160a01b031614156111c45760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401611125565b336001600160a01b03821614806111e057506111e08133610e9a565b6112525760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401611125565b61125d838383613868565b505050565b3361126c82611f8b565b6001600160a01b0316146112925760405162461bcd60e51b815260040161112590614ed6565b602a54640100000000900460ff166112a957600080fd5b6026546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156112ec57600080fd5b505afa158015611300573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113249190614c4a565b6000106113435760405162461bcd60e51b815260040161112590614e93565b600090815260196020526040902060059055565b61135f613711565b601055565b61136c613711565b805161137f9060189060208401906146bb565b5050565b61125d8383836138c4565b611396613711565b602a80549115156101000261ff0019909216919091179055565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291611425575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611444906001600160601b03168761504c565b61144e9190615038565b91519350909150505b9250929050565b600260095414156114b15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611125565b60026009556010548111156114f55760405162461bcd60e51b815260206004820152600a6024820152693634b6b4ba1037bb32b960b11b6044820152606401611125565b33600090815260136020526040902054611510908290615020565b60105410156115595760405162461bcd60e51b8152602060048201526015602482015274165bdd481a185d99481b9bc8135a5b9d081b19599d605a1b6044820152606401611125565b80600f54611567919061504c565b34146115b15760405162461bcd60e51b815260206004820152601960248201527815985b1d59481cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b6044820152606401611125565b601154600c546115c19083615020565b11156116055760405162461bcd60e51b8152602060048201526013602482015272536f7272792e204e6f206d6f7265204e46547360681b6044820152606401611125565b601254610100900460ff1661164a5760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b6044820152606401611125565b3360009081526013602052604081208054839290611669908490615020565b9091555061167990503382613c46565b80600c600082825461168b9190615020565b9091555050600160095550565b6116a0613711565b601280549115156101000261ff0019909216919091179055565b6116c2613711565b6016805460ff1916911515919091179055565b60006116e083611f9d565b82106117395760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401611125565b600061174460015490565b905060008060005b838110156117ed576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561179e57805192505b876001600160a01b0316836001600160a01b031614156117da57868414156117cc57509350610fdf92505050565b836117d681615128565b9450505b50806117e581615128565b91505061174c565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401611125565b3361185783611f8b565b6001600160a01b03161461187d5760405162461bcd60e51b815260040161112590614ed6565b602a5465010000000000900460ff1661189557600080fd5b600681106118a257600080fd5b6000805b60275460405162438b6360e81b81523360048201526001600160a01b039091169063438b63009060240160006040518083038186803b1580156118e857600080fd5b505afa1580156118fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119249190810190614a7d565b518110156119ef5760275460405162438b6360e81b815233600482015284916006916001600160a01b039091169063438b63009060240160006040518083038186803b15801561197357600080fd5b505afa158015611987573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119af9190810190614a7d565b83815181106119c0576119c0615183565b60200260200101516119d29190615143565b14156119dd57600191505b806119e781615128565b9150506118a6565b50806119fa57600080fd5b50600091825260196020908152604080842060069055601b90915290912055565b611a23613711565b601580546001600160a01b03908116600160a01b6001600160601b0385811682028381179586905561102595941690921792041661376b565b60026009541415611aaf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611125565b60026009556040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050836010541015611b2c5760405162461bcd60e51b815260206004820152600a6024820152693634b6b4ba1037bb32b960b11b6044820152606401611125565b33600090815260136020526040902054611b47908590615020565b6010541015611b905760405162461bcd60e51b8152602060048201526015602482015274165bdd481a185d99481b9bc8135a5b9d081b19599d605a1b6044820152606401611125565b83600e54611b9e919061504c565b3414611be85760405162461bcd60e51b815260206004820152601960248201527815985b1d59481cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b6044820152606401611125565b601154600c54611bf89086615020565b1115611c3c5760405162461bcd60e51b8152602060048201526013602482015272536f7272792e204e6f206d6f7265204e46547360681b6044820152606401611125565b60125460ff16611c7c5760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b6044820152606401611125565b611cbd838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014549150849050613c60565b611d005760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63290283937b7b360611b6044820152606401611125565b3360009081526013602052604081208054869290611d1f908490615020565b90915550611d2f90503385613c46565b83600c6000828254611d419190615020565b9091555050600160095550505050565b61125d838383604051806020016040528060008152506126ce565b60606000611d7983611f9d565b90506000816001600160401b03811115611d9557611d95615199565b604051908082528060200260200182016040528015611dbe578160200160208202803683370190505b50905060005b82811015611e0557611dd685826116d5565b828281518110611de857611de8615183565b602090810291909101015280611dfd81615128565b915050611dc4565b509392505050565b611e15613711565b602955565b6000611e2560015490565b8210611e7f5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401611125565b5090565b611e8b613711565b61125d6017838361473b565b33611ea182611f8b565b6001600160a01b031614611ec75760405162461bcd60e51b815260040161112590614e4e565b6025546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015611f0a57600080fd5b505afa158015611f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f429190614c4a565b600010611f615760405162461bcd60e51b815260040161112590614e93565b602a546301000000900460ff16611f7757600080fd5b600090815260196020526040902060049055565b6000611f9682613c76565b5192915050565b60006001600160a01b0382166120095760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401611125565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b612036613711565b6120406000613e1f565b565b61204a613711565b6012805460ff1916911515919091179055565b612065613711565b601455565b612072613711565b601c80546001600160a01b039092166001600160a01b0319928316811790915560228054909216179055565b606060038054611037906150ed565b336120b782611f8b565b6001600160a01b0316146120dd5760405162461bcd60e51b815260040161112590614e4e565b602a5462010000900460ff166120f257600080fd5b602954602480546040516370a0823160e01b81523360048201526001600160a01b03909116916370a08231910160206040518083038186803b15801561213757600080fd5b505afa15801561214b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216f9190614c4a565b10156121bd5760405162461bcd60e51b815260206004820152601a60248201527f596f7520646f6e2774206861766520656e6f756768202453414c0000000000006044820152606401611125565b602480546028546029546040516323b872dd60e01b81523360048201526001600160a01b0392831694810194909452604484015216906323b872dd90606401600060405180830381600087803b15801561221657600080fd5b505af115801561222a573d6000803e3d6000fd5b50505060009182525060196020526040902060039055565b6001600160a01b03821633141561229b5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401611125565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61230f613711565b602a80549115156401000000000264ff0000000019909216919091179055565b612337613711565b602a805491151563010000000263ff00000019909216919091179055565b61235d613711565b4773c341575cc758840f7fdd102474c4d0e81c8ded9873253058b7f0ff2c6218db7569ce1d399f7183e35573f2fd31926b3bc3fb47c108b31cc0829f20dee4c0732064f95a4537a7e9ce364384f55a2f4bba3f03466000846103e86123c48861028a61504c565b6123ce9190615038565b604051600081818185875af1925050503d806000811461240a576040519150601f19603f3d011682016040523d82523d6000602084013e61240f565b606091505b505080915050806124325760405162461bcd60e51b815260040161112590614f18565b6001600160a01b0384166103e861244a8860c861504c565b6124549190615038565b604051600081818185875af1925050503d8060008114612490576040519150601f19603f3d011682016040523d82523d6000602084013e612495565b606091505b505080915050806124b85760405162461bcd60e51b815260040161112590614f18565b6001600160a01b0383166103e86124d088603261504c565b6124da9190615038565b604051600081818185875af1925050503d8060008114612516576040519150601f19603f3d011682016040523d82523d6000602084013e61251b565b606091505b5050809150508061253e5760405162461bcd60e51b815260040161112590614f18565b6001600160a01b0382166103e861255688606461504c565b6125609190615038565b604051600081818185875af1925050503d806000811461259c576040519150601f19603f3d011682016040523d82523d6000602084013e6125a1565b606091505b505080915050806125c45760405162461bcd60e51b815260040161112590614f18565b505050505050565b6125d4613711565b601d80546001600160a01b039092166001600160a01b0319928316811790915560238054909216179055565b601a6020526000908152604090208054612619906150ed565b80601f0160208091040260200160405190810160405280929190818152602001828054612645906150ed565b80156126925780601f1061266757610100808354040283529160200191612692565b820191906000526020600020905b81548152906001019060200180831161267557829003601f168201915b505050505081565b6126a2613711565b601f80546001600160a01b039092166001600160a01b0319928316811790915560258054909216179055565b6126d98484846138c4565b6126e584848484613e6f565b6127015760405162461bcd60e51b815260040161112590614f4f565b50505050565b61270f613711565b602a805460ff1916911515919091179055565b3361272c82611f8b565b6001600160a01b0316146127525760405162461bcd60e51b815260040161112590614e4e565b600090815260196020526040812055565b6060612770826001541190565b6127bc5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401611125565b60165460ff1661285857601880546127d3906150ed565b80601f01602080910402602001604051908101604052809291908181526020018280546127ff906150ed565b801561284c5780601f106128215761010080835404028352916020019161284c565b820191906000526020600020905b81548152906001019060200180831161282f57829003601f168201915b50505050509050919050565b61286182613f7d565b61286a83614202565b60405160200161287b929190614d7b565b6040516020818303038152906040529050919050565b60178054612619906150ed565b6128a6613711565b602a8054911515620100000262ff000019909216919091179055565b6128ca613711565b601154600c546128da9084615020565b111561293b5760405162461bcd60e51b815260206004820152602a60248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f72652070604482015269185d1b995c881b5a5b9d60b21b6064820152608401611125565b6129458183613c46565b81600c60008282546129579190615020565b90915550505050565b612968613711565b601e80546001600160a01b039092166001600160a01b0319928316811790915560248054909216179055565b61299c613711565b602a8054911515650100000000000265ff000000000019909216919091179055565b6129c6613711565b6000818152601a6020526040902061270190848461473b565b336129e982611f8b565b6001600160a01b031614612a0f5760405162461bcd60e51b815260040161112590614e4e565b602a54610100900460ff16612a2357600080fd5b6023546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015612a6657600080fd5b505afa158015612a7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9e9190614c4a565b600010612abd5760405162461bcd60e51b815260040161112590614e93565b600090815260196020526040902060029055565b60408051600b80825261018082019092526060916000919060208201610160803683375050601c54919250506001600160a01b031615612ba8576022546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b158015612b5057600080fd5b505afa158015612b64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b889190614c4a565b81600081518110612b9b57612b9b615183565b6020026020010181815250505b601d546001600160a01b031615612c56576023546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b158015612bfe57600080fd5b505afa158015612c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c369190614c4a565b81600181518110612c4957612c49615183565b6020026020010181815250505b601e546001600160a01b031615612d0357602480546040516370a0823160e01b81526001600160a01b038681166004830152909116916370a08231910160206040518083038186803b158015612cab57600080fd5b505afa158015612cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce39190614c4a565b81600281518110612cf657612cf6615183565b6020026020010181815250505b601f546001600160a01b031615612db1576025546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b158015612d5957600080fd5b505afa158015612d6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d919190614c4a565b81600381518110612da457612da4615183565b6020026020010181815250505b6020546001600160a01b031615612e5f576026546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b158015612e0757600080fd5b505afa158015612e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3f9190614c4a565b81600481518110612e5257612e52615183565b6020026020010181815250505b6021546001600160a01b031615610fdf5760005b60275460405162438b6360e81b81526001600160a01b0386811660048301529091169063438b63009060240160006040518083038186803b158015612eb757600080fd5b505afa158015612ecb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ef39190810190614a7d565b518110156134bb5760275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b158015612f4057600080fd5b505afa158015612f54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f7c9190810190614a7d565b8281518110612f8d57612f8d615183565b6020026020010151612f9f9190615143565b612fea5781600581518110612fb657612fb6615183565b60200260200101516001612fca9190615020565b82600581518110612fdd57612fdd615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b15801561302f57600080fd5b505afa158015613043573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261306b9190810190614a7d565b828151811061307c5761307c615183565b602002602001015161308e9190615143565b600114156130dd57816006815181106130a9576130a9615183565b602002602001015160016130bd9190615020565b826006815181106130d0576130d0615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b15801561312257600080fd5b505afa158015613136573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261315e9190810190614a7d565b828151811061316f5761316f615183565b60200260200101516131819190615143565b600214156131d0578160078151811061319c5761319c615183565b602002602001015160016131b09190615020565b826007815181106131c3576131c3615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b15801561321557600080fd5b505afa158015613229573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132519190810190614a7d565b828151811061326257613262615183565b60200260200101516132749190615143565b600314156132c3578160088151811061328f5761328f615183565b602002602001015160016132a39190615020565b826008815181106132b6576132b6615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b15801561330857600080fd5b505afa15801561331c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133449190810190614a7d565b828151811061335557613355615183565b60200260200101516133679190615143565b600414156133b6578160098151811061338257613382615183565b602002602001015160016133969190615020565b826009815181106133a9576133a9615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b1580156133fb57600080fd5b505afa15801561340f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134379190810190614a7d565b828151811061344857613448615183565b602002602001015161345a9190615143565b600514156134a95781600a8151811061347557613475615183565b602002602001015160016134899190615020565b82600a8151811061349c5761349c615183565b6020026020010181815250505b806134b381615128565b915050612e73565b5092915050565b336134cc82611f8b565b6001600160a01b0316146134f25760405162461bcd60e51b815260040161112590614e4e565b602a5460ff1661350157600080fd5b6022546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561354457600080fd5b505afa158015613558573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357c9190614c4a565b60001061359b5760405162461bcd60e51b815260040161112590614e93565b600090815260196020526040902060019055565b6135b7613711565b60005b815181101561137f57600081815260196020526040812055806135dc81615128565b9150506135ba565b6135ec613711565b602080546001600160a01b039092166001600160a01b0319928316811790915560268054909216179055565b613620613711565b602880546001600160a01b0319166001600160a01b0392909216919091179055565b61364a613711565b6001600160a01b0381166136af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611125565b61102581613e1f565b6136c0613711565b602180546001600160a01b039092166001600160a01b0319928316811790915560278054909216179055565b60006001600160e01b0319821663152a902d60e11b1480610fdf5750610fdf826142ff565b6000546001600160a01b031633146120405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611125565b6127106001600160601b03821611156137d95760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611125565b6001600160a01b03821661382f5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611125565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006138cf82613c76565b80519091506000906001600160a01b0316336001600160a01b031614806139065750336138fb846110ba565b6001600160a01b0316145b80613918575081516139189033610e9a565b9050806139825760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401611125565b846001600160a01b031682600001516001600160a01b0316146139f65760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401611125565b6001600160a01b038416613a5a5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401611125565b613a6a6000848460000151613868565b6001600160a01b0385166000908152600560205260408120805460019290613a9c9084906001600160801b031661506b565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526005602052604081208054600194509092613ae891859116614ff5565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055613b6f846001615020565b6000818152600460205260409020549091506001600160a01b0316613c0057613b99816001541190565b15613c005760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125c4565b61137f82826040518060200160405280600081525061436a565b600082613c6d8584614644565b14949350505050565b6040805180820190915260008082526020820152613c95826001541190565b613cf45760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401611125565b60007f00000000000000000000000000000000000000000000000000000000000000008310613d5557613d477f000000000000000000000000000000000000000000000000000000000000000084615093565b613d52906001615020565b90505b825b818110613dbe576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215613dab57949350505050565b5080613db6816150d6565b915050613d57565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401611125565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15613f7157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613eb3903390899088908890600401614dba565b602060405180830381600087803b158015613ecd57600080fd5b505af1925050508015613efd575060408051601f3d908101601f19168201909252613efa91810190614b59565b60015b613f57573d808015613f2b576040519150601f19603f3d011682016040523d82523d6000602084013e613f30565b606091505b508051613f4f5760405162461bcd60e51b815260040161112590614f4f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613f75565b5060015b949350505050565b600081815260196020526040902054606090613fa057601780546127d3906150ed565b60008281526019602052604090205460011415613fed576001600052601a6020527ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c6180546127d3906150ed565b6000828152601960205260409020546002141561403a576002600052601a6020527f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c4f80546127d3906150ed565b60008281526019602052604090205460031415614087576003600052601a6020527f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e280546127d3906150ed565b600082815260196020526040902054600414156140d4576004600052601a6020527f06b28f262ad931a15c9e47271fc159a891b2bcb0da2659cac5bbfed4886cf26e80546127d3906150ed565b60008281526019602052604090205460051415614121576005600052601a6020527f82f07edc09f3a46c1925d02252613a7fcc7be7d03b538b0c268df85f2f13a7ab80546127d3906150ed565b600082815260196020526040902054600614156141f5576000828152601b6020526040812054614152906006615020565b6000818152601a6020526040902080549192509061416f906150ed565b80601f016020809104026020016040519081016040528092919081815260200182805461419b906150ed565b80156141e85780601f106141bd576101008083540402835291602001916141e8565b820191906000526020600020905b8154815290600101906020018083116141cb57829003601f168201915b5050505050915050919050565b601780546127d3906150ed565b6060816142265750506040805180820190915260018152600360fc1b602082015290565b8160005b8115614250578061423a81615128565b91506142499050600a83615038565b915061422a565b6000816001600160401b0381111561426a5761426a615199565b6040519080825280601f01601f191660200182016040528015614294576020820181803683370190505b5090505b8415613f75576142a9600183615093565b91506142b6600a86615143565b6142c1906030615020565b60f81b8183815181106142d6576142d6615183565b60200101906001600160f81b031916908160001a9053506142f8600a86615038565b9450614298565b60006001600160e01b031982166380ac58cd60e01b148061433057506001600160e01b03198216635b5e139f60e01b145b8061434b57506001600160e01b0319821663780e9d6360e01b145b80610fdf57506301ffc9a760e01b6001600160e01b0319831614610fdf565b6001546001600160a01b0384166143cd5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401611125565b6143d8816001541190565b156144255760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401611125565b7f00000000000000000000000000000000000000000000000000000000000000008311156144a05760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401611125565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906144fc908790614ff5565b6001600160801b0316815260200185836020015161451a9190614ff5565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156146395760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46145fd6000888488613e6f565b6146195760405162461bcd60e51b815260040161112590614f4f565b8161462381615128565b925050808061463190615128565b9150506145b0565b5060018190556125c4565b600081815b8451811015611e05576146758286838151811061466857614668615183565b6020026020010151614689565b91508061468181615128565b915050614649565b60008183106146a55760008281526020849052604090206146b4565b60008381526020839052604090205b9392505050565b8280546146c7906150ed565b90600052602060002090601f0160209004810192826146e9576000855561472f565b82601f1061470257805160ff191683800117855561472f565b8280016001018555821561472f579182015b8281111561472f578251825591602001919060010190614714565b50611e7f9291506147af565b828054614747906150ed565b90600052602060002090601f016020900481019282614769576000855561472f565b82601f106147825782800160ff1982351617855561472f565b8280016001018555821561472f579182015b8281111561472f578235825591602001919060010190614794565b5b80821115611e7f57600081556001016147b0565b60006001600160401b038311156147dd576147dd615199565b6147f0601f8401601f1916602001614fa2565b905082815283838301111561480457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461483257600080fd5b919050565b8035801515811461483257600080fd5b60008083601f84011261485957600080fd5b5081356001600160401b0381111561487057600080fd5b60208301915083602082850101111561145757600080fd5b60006020828403121561489a57600080fd5b6146b48261481b565b600080604083850312156148b657600080fd5b6148bf8361481b565b91506148cd6020840161481b565b90509250929050565b6000806000606084860312156148eb57600080fd5b6148f48461481b565b92506149026020850161481b565b9150604084013590509250925092565b6000806000806080858703121561492857600080fd5b6149318561481b565b935061493f6020860161481b565b92506040850135915060608501356001600160401b0381111561496157600080fd5b8501601f8101871361497257600080fd5b614981878235602084016147c4565b91505092959194509250565b600080604083850312156149a057600080fd5b6149a98361481b565b91506148cd60208401614837565b600080604083850312156149ca57600080fd5b6149d38361481b565b946020939093013593505050565b600060208083850312156149f457600080fd5b82356001600160401b03811115614a0a57600080fd5b8301601f81018513614a1b57600080fd5b8035614a2e614a2982614fd2565b614fa2565b80828252848201915084840188868560051b8701011115614a4e57600080fd5b600094505b83851015614a71578035835260019490940193918501918501614a53565b50979650505050505050565b60006020808385031215614a9057600080fd5b82516001600160401b03811115614aa657600080fd5b8301601f81018513614ab757600080fd5b8051614ac5614a2982614fd2565b80828252848201915084840188868560051b8701011115614ae557600080fd5b600094505b83851015614a71578051835260019490940193918501918501614aea565b600060208284031215614b1a57600080fd5b6146b482614837565b600060208284031215614b3557600080fd5b5035919050565b600060208284031215614b4e57600080fd5b81356146b4816151af565b600060208284031215614b6b57600080fd5b81516146b4816151af565b60008060208385031215614b8957600080fd5b82356001600160401b03811115614b9f57600080fd5b614bab85828601614847565b90969095509350505050565b600080600060408486031215614bcc57600080fd5b83356001600160401b03811115614be257600080fd5b614bee86828701614847565b909790965060209590950135949350505050565b600060208284031215614c1457600080fd5b81356001600160401b03811115614c2a57600080fd5b8201601f81018413614c3b57600080fd5b613f75848235602084016147c4565b600060208284031215614c5c57600080fd5b5051919050565b60008060408385031215614c7657600080fd5b823591506148cd6020840161481b565b600080600060408486031215614c9b57600080fd5b8335925060208401356001600160401b0380821115614cb957600080fd5b818601915086601f830112614ccd57600080fd5b813581811115614cdc57600080fd5b8760208260051b8501011115614cf157600080fd5b6020830194508093505050509250925092565b60008060408385031215614d1757600080fd5b50508035926020909101359150565b600060208284031215614d3857600080fd5b81356001600160601b03811681146146b457600080fd5b60008151808452614d678160208601602086016150aa565b601f01601f19169290920160200192915050565b60008351614d8d8184602088016150aa565b835190830190614da18183602088016150aa565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614ded90830184614d4f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015614e2f57835183529284019291840191600101614e13565b50909695505050505050565b6020815260006146b46020830184614d4f565b60208082526025908201527f596f7520617265206e6f742074686520686f6c646572206f662074686973207460408201526437b5b2b71760d91b606082015260800190565b60208082526023908201527f596f7520646f6e2774206861766520636f6c6c61626f726174696f6e20746f6b60408201526232b71760e91b606082015260800190565b60208082526022908201527f596f7520617265206e6f742074686520686f6c646572206f66205820746f6b65604082015261371760f11b606082015260800190565b60208082526018908201527f4661696c656420746f2077697468647261772045746865720000000000000000604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715614fca57614fca615199565b604052919050565b60006001600160401b03821115614feb57614feb615199565b5060051b60200190565b60006001600160801b0380831681851680830382111561501757615017615157565b01949350505050565b6000821982111561503357615033615157565b500190565b6000826150475761504761516d565b500490565b600081600019048311821515161561506657615066615157565b500290565b60006001600160801b038381169083168181101561508b5761508b615157565b039392505050565b6000828210156150a5576150a5615157565b500390565b60005b838110156150c55781810151838201526020016150ad565b838111156127015750506000910152565b6000816150e5576150e5615157565b506000190190565b600181811c9082168061510157607f821691505b6020821081141561512257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561513c5761513c615157565b5060010190565b6000826151525761515261516d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461102557600080fdfea2646970667358221220d1906fef5bf14815fbd56ad01375c00bd1c1c1223c8bd99140d8c73577bb24ac64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106104c05760003560e01c80639732371a11610276578063c9e229a91161014f578063e8c25b46116100c1578063f0f4426011610085578063f0f4426014610f1e578063f2fde38b14610f3e578063f4daaba114610f5e578063f5fab0cf14610f74578063f9baa58614610f94578063fc35c7e314610fb457600080fd5b8063e8c25b4614610e5f578063e985e9c514610e7f578063ea41d23014610ec8578063ec8e6a6314610ee8578063ef34872314610efe57600080fd5b8063d9d921f511610113578063d9d921f514610d9f578063dbce0fbc14610dbf578063deb7b40614610ddf578063dfdfa6a414610dff578063e0ded20714610e1f578063e4f0407514610e3f57600080fd5b8063c9e229a914610d15578063cfc86f7b14610d34578063d3750ff314610d49578063d52c57e014610d69578063d7224ba014610d8957600080fd5b8063ae73603c116101e8578063b8997a97116101ac578063b8997a9714610c34578063b8e5b01514610c73578063b94df57814610c93578063c7f95b7b14610cb3578063c8369b4114610cd3578063c87b56dd14610cf557600080fd5b8063ae73603c14610b9d578063b48c170d14610bb7578063b4ded4fe14610bda578063b6766b6d14610bf4578063b88d4fde14610c1457600080fd5b8063a93ff4e51161023a578063a93ff4e514610ae9578063aa38cd3214610b09578063aa927c4a14610b1e578063ab0bcc4114610b3e578063ad2f852a14610b5d578063ae64a5e714610b7d57600080fd5b80639732371a14610a5257806398a9b27214610a735780639f181b5e14610a93578063a22cb46514610aa9578063a63c0fc914610ac957600080fd5b80633eaaf86b116103a8578063684a4aa01161031a5780637cb64759116102de5780637cb64759146109925780637d2f7325146109b25780637d76c09c146109d25780638da5cb5b146109f257806390ddedd514610a1057806395d89b4114610a3d57600080fd5b8063684a4aa0146108fd57806370a082311461091d578063715018a61461093d57806377ad641a146109525780637c635c521461097257600080fd5b80634f6ccce71161036c5780634f6ccce714610836578063518302271461085657806355f804b3146108705780635c6bf735146108905780636352211e146108b0578063640dd9a0146108d057600080fd5b80633eaaf86b146107a05780633ef0d36d146107b657806342842e0e146107c9578063438b6300146107e957806344a0d68a1461081657600080fd5b8063276b4d80116104415780632eb4a7ab116104055780632eb4a7ab146106f45780632f5d8cad1461070a5780632f745c591461072a578063312de6301461074a57806331faafb41461076a5780633d77bdb71461078a57600080fd5b8063276b4d80146106355780632a55205a146106555780632b3dce1d146106945780632ba7db1f146106a75780632d7691be146106c757600080fd5b806318160ddd1161048857806318160ddd146105965780631e772f5f146105b55780631fab179e146105d557806320ac6850146105f557806323b872dd1461061557600080fd5b806301ffc9a7146104c557806306d254da146104fa57806306fdde031461051c578063081812fc1461053e578063095ea7b314610576575b600080fd5b3480156104d157600080fd5b506104e56104e0366004614b3c565b610fd4565b60405190151581526020015b60405180910390f35b34801561050657600080fd5b5061051a610515366004614888565b610fe5565b005b34801561052857600080fd5b50610531611028565b6040516104f19190614e3b565b34801561054a57600080fd5b5061055e610559366004614b23565b6110ba565b6040516001600160a01b0390911681526020016104f1565b34801561058257600080fd5b5061051a6105913660046149b7565b61114a565b3480156105a257600080fd5b506001545b6040519081526020016104f1565b3480156105c157600080fd5b5061051a6105d0366004614b23565b611262565b3480156105e157600080fd5b5061051a6105f0366004614b23565b611357565b34801561060157600080fd5b5061051a610610366004614c02565b611364565b34801561062157600080fd5b5061051a6106303660046148d6565b611383565b34801561064157600080fd5b5061051a610650366004614b08565b61138e565b34801561066157600080fd5b50610675610670366004614d04565b6113b0565b604080516001600160a01b0390931683526020830191909152016104f1565b61051a6106a2366004614b23565b61145e565b3480156106b357600080fd5b5061051a6106c2366004614b08565b611698565b3480156106d357600080fd5b506105a76106e2366004614b23565b60196020526000908152604090205481565b34801561070057600080fd5b506105a760145481565b34801561071657600080fd5b5061051a610725366004614b08565b6116ba565b34801561073657600080fd5b506105a76107453660046149b7565b6116d5565b34801561075657600080fd5b5061051a610765366004614d04565b61184d565b34801561077657600080fd5b5061051a610785366004614d26565b611a1b565b34801561079657600080fd5b506105a760295481565b3480156107ac57600080fd5b506105a760115481565b61051a6107c4366004614c86565b611a5c565b3480156107d557600080fd5b5061051a6107e43660046148d6565b611d51565b3480156107f557600080fd5b50610809610804366004614888565b611d6c565b6040516104f19190614df7565b34801561082257600080fd5b5061051a610831366004614b23565b611e0d565b34801561084257600080fd5b506105a7610851366004614b23565b611e1a565b34801561086257600080fd5b506016546104e59060ff1681565b34801561087c57600080fd5b5061051a61088b366004614b76565b611e83565b34801561089c57600080fd5b5061051a6108ab366004614b23565b611e97565b3480156108bc57600080fd5b5061055e6108cb366004614b23565b611f8b565b3480156108dc57600080fd5b506105a76108eb366004614b23565b601b6020526000908152604090205481565b34801561090957600080fd5b50601d5461055e906001600160a01b031681565b34801561092957600080fd5b506105a7610938366004614888565b611f9d565b34801561094957600080fd5b5061051a61202e565b34801561095e57600080fd5b50602a546104e59062010000900460ff1681565b34801561097e57600080fd5b5061051a61098d366004614b08565b612042565b34801561099e57600080fd5b5061051a6109ad366004614b23565b61205d565b3480156109be57600080fd5b5061051a6109cd366004614888565b61206a565b3480156109de57600080fd5b50601c5461055e906001600160a01b031681565b3480156109fe57600080fd5b506000546001600160a01b031661055e565b348015610a1c57600080fd5b506105a7610a2b366004614888565b60136020526000908152604090205481565b348015610a4957600080fd5b5061053161209e565b348015610a5e57600080fd5b50602a546104e5906301000000900460ff1681565b348015610a7f57600080fd5b5061051a610a8e366004614b23565b6120ad565b348015610a9f57600080fd5b506105a7600c5481565b348015610ab557600080fd5b5061051a610ac436600461498d565b612242565b348015610ad557600080fd5b5061051a610ae4366004614b08565b612307565b348015610af557600080fd5b5061051a610b04366004614b08565b61232f565b348015610b1557600080fd5b5061051a612355565b348015610b2a57600080fd5b5061051a610b39366004614888565b6125cc565b348015610b4a57600080fd5b506012546104e590610100900460ff1681565b348015610b6957600080fd5b5060155461055e906001600160a01b031681565b348015610b8957600080fd5b50610531610b98366004614b23565b612600565b348015610ba957600080fd5b50602a546104e59060ff1681565b348015610bc357600080fd5b50602a546104e59065010000000000900460ff1681565b348015610be657600080fd5b506012546104e59060ff1681565b348015610c0057600080fd5b5061051a610c0f366004614888565b61269a565b348015610c2057600080fd5b5061051a610c2f366004614912565b6126ce565b348015610c4057600080fd5b50601554610c5b90600160a01b90046001600160601b031681565b6040516001600160601b0390911681526020016104f1565b348015610c7f57600080fd5b5061051a610c8e366004614b08565b612707565b348015610c9f57600080fd5b5061051a610cae366004614b23565b612722565b348015610cbf57600080fd5b5060215461055e906001600160a01b031681565b348015610cdf57600080fd5b50602a546104e590640100000000900460ff1681565b348015610d0157600080fd5b50610531610d10366004614b23565b612763565b348015610d2157600080fd5b50602a546104e590610100900460ff1681565b348015610d4057600080fd5b50610531612891565b348015610d5557600080fd5b5061051a610d64366004614b08565b61289e565b348015610d7557600080fd5b5061051a610d84366004614c63565b6128c2565b348015610d9557600080fd5b506105a760085481565b348015610dab57600080fd5b5061051a610dba366004614888565b612960565b348015610dcb57600080fd5b5061051a610dda366004614b08565b612994565b348015610deb57600080fd5b5061051a610dfa366004614bb7565b6129be565b348015610e0b57600080fd5b5061051a610e1a366004614b23565b6129df565b348015610e2b57600080fd5b50610809610e3a366004614888565b612ad1565b348015610e4b57600080fd5b5061051a610e5a366004614b23565b6134c2565b348015610e6b57600080fd5b5061051a610e7a3660046149e1565b6135af565b348015610e8b57600080fd5b506104e5610e9a3660046148a3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610ed457600080fd5b50601f5461055e906001600160a01b031681565b348015610ef457600080fd5b506105a760105481565b348015610f0a57600080fd5b5061051a610f19366004614888565b6135e4565b348015610f2a57600080fd5b5061051a610f39366004614888565b613618565b348015610f4a57600080fd5b5061051a610f59366004614888565b613642565b348015610f6a57600080fd5b506105a7600d5481565b348015610f8057600080fd5b5061051a610f8f366004614888565b6136b8565b348015610fa057600080fd5b50601e5461055e906001600160a01b031681565b348015610fc057600080fd5b5060205461055e906001600160a01b031681565b6000610fdf826136ec565b92915050565b610fed613711565b601580546001600160a01b0319166001600160a01b0383169081179182905561102591600160a01b90046001600160601b031661376b565b50565b606060028054611037906150ed565b80601f0160208091040260200160405190810160405280929190818152602001828054611063906150ed565b80156110b05780601f10611085576101008083540402835291602001916110b0565b820191906000526020600020905b81548152906001019060200180831161109357829003601f168201915b5050505050905090565b60006110c7826001541190565b61112e5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061115582611f8b565b9050806001600160a01b0316836001600160a01b031614156111c45760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401611125565b336001600160a01b03821614806111e057506111e08133610e9a565b6112525760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401611125565b61125d838383613868565b505050565b3361126c82611f8b565b6001600160a01b0316146112925760405162461bcd60e51b815260040161112590614ed6565b602a54640100000000900460ff166112a957600080fd5b6026546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156112ec57600080fd5b505afa158015611300573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113249190614c4a565b6000106113435760405162461bcd60e51b815260040161112590614e93565b600090815260196020526040902060059055565b61135f613711565b601055565b61136c613711565b805161137f9060189060208401906146bb565b5050565b61125d8383836138c4565b611396613711565b602a80549115156101000261ff0019909216919091179055565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291611425575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611444906001600160601b03168761504c565b61144e9190615038565b91519350909150505b9250929050565b600260095414156114b15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611125565b60026009556010548111156114f55760405162461bcd60e51b815260206004820152600a6024820152693634b6b4ba1037bb32b960b11b6044820152606401611125565b33600090815260136020526040902054611510908290615020565b60105410156115595760405162461bcd60e51b8152602060048201526015602482015274165bdd481a185d99481b9bc8135a5b9d081b19599d605a1b6044820152606401611125565b80600f54611567919061504c565b34146115b15760405162461bcd60e51b815260206004820152601960248201527815985b1d59481cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b6044820152606401611125565b601154600c546115c19083615020565b11156116055760405162461bcd60e51b8152602060048201526013602482015272536f7272792e204e6f206d6f7265204e46547360681b6044820152606401611125565b601254610100900460ff1661164a5760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b6044820152606401611125565b3360009081526013602052604081208054839290611669908490615020565b9091555061167990503382613c46565b80600c600082825461168b9190615020565b9091555050600160095550565b6116a0613711565b601280549115156101000261ff0019909216919091179055565b6116c2613711565b6016805460ff1916911515919091179055565b60006116e083611f9d565b82106117395760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401611125565b600061174460015490565b905060008060005b838110156117ed576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561179e57805192505b876001600160a01b0316836001600160a01b031614156117da57868414156117cc57509350610fdf92505050565b836117d681615128565b9450505b50806117e581615128565b91505061174c565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401611125565b3361185783611f8b565b6001600160a01b03161461187d5760405162461bcd60e51b815260040161112590614ed6565b602a5465010000000000900460ff1661189557600080fd5b600681106118a257600080fd5b6000805b60275460405162438b6360e81b81523360048201526001600160a01b039091169063438b63009060240160006040518083038186803b1580156118e857600080fd5b505afa1580156118fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119249190810190614a7d565b518110156119ef5760275460405162438b6360e81b815233600482015284916006916001600160a01b039091169063438b63009060240160006040518083038186803b15801561197357600080fd5b505afa158015611987573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119af9190810190614a7d565b83815181106119c0576119c0615183565b60200260200101516119d29190615143565b14156119dd57600191505b806119e781615128565b9150506118a6565b50806119fa57600080fd5b50600091825260196020908152604080842060069055601b90915290912055565b611a23613711565b601580546001600160a01b03908116600160a01b6001600160601b0385811682028381179586905561102595941690921792041661376b565b60026009541415611aaf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611125565b60026009556040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050836010541015611b2c5760405162461bcd60e51b815260206004820152600a6024820152693634b6b4ba1037bb32b960b11b6044820152606401611125565b33600090815260136020526040902054611b47908590615020565b6010541015611b905760405162461bcd60e51b8152602060048201526015602482015274165bdd481a185d99481b9bc8135a5b9d081b19599d605a1b6044820152606401611125565b83600e54611b9e919061504c565b3414611be85760405162461bcd60e51b815260206004820152601960248201527815985b1d59481cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b6044820152606401611125565b601154600c54611bf89086615020565b1115611c3c5760405162461bcd60e51b8152602060048201526013602482015272536f7272792e204e6f206d6f7265204e46547360681b6044820152606401611125565b60125460ff16611c7c5760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b6044820152606401611125565b611cbd838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014549150849050613c60565b611d005760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63290283937b7b360611b6044820152606401611125565b3360009081526013602052604081208054869290611d1f908490615020565b90915550611d2f90503385613c46565b83600c6000828254611d419190615020565b9091555050600160095550505050565b61125d838383604051806020016040528060008152506126ce565b60606000611d7983611f9d565b90506000816001600160401b03811115611d9557611d95615199565b604051908082528060200260200182016040528015611dbe578160200160208202803683370190505b50905060005b82811015611e0557611dd685826116d5565b828281518110611de857611de8615183565b602090810291909101015280611dfd81615128565b915050611dc4565b509392505050565b611e15613711565b602955565b6000611e2560015490565b8210611e7f5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401611125565b5090565b611e8b613711565b61125d6017838361473b565b33611ea182611f8b565b6001600160a01b031614611ec75760405162461bcd60e51b815260040161112590614e4e565b6025546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015611f0a57600080fd5b505afa158015611f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f429190614c4a565b600010611f615760405162461bcd60e51b815260040161112590614e93565b602a546301000000900460ff16611f7757600080fd5b600090815260196020526040902060049055565b6000611f9682613c76565b5192915050565b60006001600160a01b0382166120095760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401611125565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b612036613711565b6120406000613e1f565b565b61204a613711565b6012805460ff1916911515919091179055565b612065613711565b601455565b612072613711565b601c80546001600160a01b039092166001600160a01b0319928316811790915560228054909216179055565b606060038054611037906150ed565b336120b782611f8b565b6001600160a01b0316146120dd5760405162461bcd60e51b815260040161112590614e4e565b602a5462010000900460ff166120f257600080fd5b602954602480546040516370a0823160e01b81523360048201526001600160a01b03909116916370a08231910160206040518083038186803b15801561213757600080fd5b505afa15801561214b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216f9190614c4a565b10156121bd5760405162461bcd60e51b815260206004820152601a60248201527f596f7520646f6e2774206861766520656e6f756768202453414c0000000000006044820152606401611125565b602480546028546029546040516323b872dd60e01b81523360048201526001600160a01b0392831694810194909452604484015216906323b872dd90606401600060405180830381600087803b15801561221657600080fd5b505af115801561222a573d6000803e3d6000fd5b50505060009182525060196020526040902060039055565b6001600160a01b03821633141561229b5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401611125565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61230f613711565b602a80549115156401000000000264ff0000000019909216919091179055565b612337613711565b602a805491151563010000000263ff00000019909216919091179055565b61235d613711565b4773c341575cc758840f7fdd102474c4d0e81c8ded9873253058b7f0ff2c6218db7569ce1d399f7183e35573f2fd31926b3bc3fb47c108b31cc0829f20dee4c0732064f95a4537a7e9ce364384f55a2f4bba3f03466000846103e86123c48861028a61504c565b6123ce9190615038565b604051600081818185875af1925050503d806000811461240a576040519150601f19603f3d011682016040523d82523d6000602084013e61240f565b606091505b505080915050806124325760405162461bcd60e51b815260040161112590614f18565b6001600160a01b0384166103e861244a8860c861504c565b6124549190615038565b604051600081818185875af1925050503d8060008114612490576040519150601f19603f3d011682016040523d82523d6000602084013e612495565b606091505b505080915050806124b85760405162461bcd60e51b815260040161112590614f18565b6001600160a01b0383166103e86124d088603261504c565b6124da9190615038565b604051600081818185875af1925050503d8060008114612516576040519150601f19603f3d011682016040523d82523d6000602084013e61251b565b606091505b5050809150508061253e5760405162461bcd60e51b815260040161112590614f18565b6001600160a01b0382166103e861255688606461504c565b6125609190615038565b604051600081818185875af1925050503d806000811461259c576040519150601f19603f3d011682016040523d82523d6000602084013e6125a1565b606091505b505080915050806125c45760405162461bcd60e51b815260040161112590614f18565b505050505050565b6125d4613711565b601d80546001600160a01b039092166001600160a01b0319928316811790915560238054909216179055565b601a6020526000908152604090208054612619906150ed565b80601f0160208091040260200160405190810160405280929190818152602001828054612645906150ed565b80156126925780601f1061266757610100808354040283529160200191612692565b820191906000526020600020905b81548152906001019060200180831161267557829003601f168201915b505050505081565b6126a2613711565b601f80546001600160a01b039092166001600160a01b0319928316811790915560258054909216179055565b6126d98484846138c4565b6126e584848484613e6f565b6127015760405162461bcd60e51b815260040161112590614f4f565b50505050565b61270f613711565b602a805460ff1916911515919091179055565b3361272c82611f8b565b6001600160a01b0316146127525760405162461bcd60e51b815260040161112590614e4e565b600090815260196020526040812055565b6060612770826001541190565b6127bc5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401611125565b60165460ff1661285857601880546127d3906150ed565b80601f01602080910402602001604051908101604052809291908181526020018280546127ff906150ed565b801561284c5780601f106128215761010080835404028352916020019161284c565b820191906000526020600020905b81548152906001019060200180831161282f57829003601f168201915b50505050509050919050565b61286182613f7d565b61286a83614202565b60405160200161287b929190614d7b565b6040516020818303038152906040529050919050565b60178054612619906150ed565b6128a6613711565b602a8054911515620100000262ff000019909216919091179055565b6128ca613711565b601154600c546128da9084615020565b111561293b5760405162461bcd60e51b815260206004820152602a60248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f72652070604482015269185d1b995c881b5a5b9d60b21b6064820152608401611125565b6129458183613c46565b81600c60008282546129579190615020565b90915550505050565b612968613711565b601e80546001600160a01b039092166001600160a01b0319928316811790915560248054909216179055565b61299c613711565b602a8054911515650100000000000265ff000000000019909216919091179055565b6129c6613711565b6000818152601a6020526040902061270190848461473b565b336129e982611f8b565b6001600160a01b031614612a0f5760405162461bcd60e51b815260040161112590614e4e565b602a54610100900460ff16612a2357600080fd5b6023546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015612a6657600080fd5b505afa158015612a7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9e9190614c4a565b600010612abd5760405162461bcd60e51b815260040161112590614e93565b600090815260196020526040902060029055565b60408051600b80825261018082019092526060916000919060208201610160803683375050601c54919250506001600160a01b031615612ba8576022546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b158015612b5057600080fd5b505afa158015612b64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b889190614c4a565b81600081518110612b9b57612b9b615183565b6020026020010181815250505b601d546001600160a01b031615612c56576023546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b158015612bfe57600080fd5b505afa158015612c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c369190614c4a565b81600181518110612c4957612c49615183565b6020026020010181815250505b601e546001600160a01b031615612d0357602480546040516370a0823160e01b81526001600160a01b038681166004830152909116916370a08231910160206040518083038186803b158015612cab57600080fd5b505afa158015612cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce39190614c4a565b81600281518110612cf657612cf6615183565b6020026020010181815250505b601f546001600160a01b031615612db1576025546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b158015612d5957600080fd5b505afa158015612d6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d919190614c4a565b81600381518110612da457612da4615183565b6020026020010181815250505b6020546001600160a01b031615612e5f576026546040516370a0823160e01b81526001600160a01b038581166004830152909116906370a082319060240160206040518083038186803b158015612e0757600080fd5b505afa158015612e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3f9190614c4a565b81600481518110612e5257612e52615183565b6020026020010181815250505b6021546001600160a01b031615610fdf5760005b60275460405162438b6360e81b81526001600160a01b0386811660048301529091169063438b63009060240160006040518083038186803b158015612eb757600080fd5b505afa158015612ecb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ef39190810190614a7d565b518110156134bb5760275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b158015612f4057600080fd5b505afa158015612f54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f7c9190810190614a7d565b8281518110612f8d57612f8d615183565b6020026020010151612f9f9190615143565b612fea5781600581518110612fb657612fb6615183565b60200260200101516001612fca9190615020565b82600581518110612fdd57612fdd615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b15801561302f57600080fd5b505afa158015613043573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261306b9190810190614a7d565b828151811061307c5761307c615183565b602002602001015161308e9190615143565b600114156130dd57816006815181106130a9576130a9615183565b602002602001015160016130bd9190615020565b826006815181106130d0576130d0615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b15801561312257600080fd5b505afa158015613136573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261315e9190810190614a7d565b828151811061316f5761316f615183565b60200260200101516131819190615143565b600214156131d0578160078151811061319c5761319c615183565b602002602001015160016131b09190615020565b826007815181106131c3576131c3615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b15801561321557600080fd5b505afa158015613229573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132519190810190614a7d565b828151811061326257613262615183565b60200260200101516132749190615143565b600314156132c3578160088151811061328f5761328f615183565b602002602001015160016132a39190615020565b826008815181106132b6576132b6615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b15801561330857600080fd5b505afa15801561331c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133449190810190614a7d565b828151811061335557613355615183565b60200260200101516133679190615143565b600414156133b6578160098151811061338257613382615183565b602002602001015160016133969190615020565b826009815181106133a9576133a9615183565b6020026020010181815250505b60275460405162438b6360e81b81526001600160a01b038681166004830152600692169063438b63009060240160006040518083038186803b1580156133fb57600080fd5b505afa15801561340f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134379190810190614a7d565b828151811061344857613448615183565b602002602001015161345a9190615143565b600514156134a95781600a8151811061347557613475615183565b602002602001015160016134899190615020565b82600a8151811061349c5761349c615183565b6020026020010181815250505b806134b381615128565b915050612e73565b5092915050565b336134cc82611f8b565b6001600160a01b0316146134f25760405162461bcd60e51b815260040161112590614e4e565b602a5460ff1661350157600080fd5b6022546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561354457600080fd5b505afa158015613558573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357c9190614c4a565b60001061359b5760405162461bcd60e51b815260040161112590614e93565b600090815260196020526040902060019055565b6135b7613711565b60005b815181101561137f57600081815260196020526040812055806135dc81615128565b9150506135ba565b6135ec613711565b602080546001600160a01b039092166001600160a01b0319928316811790915560268054909216179055565b613620613711565b602880546001600160a01b0319166001600160a01b0392909216919091179055565b61364a613711565b6001600160a01b0381166136af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611125565b61102581613e1f565b6136c0613711565b602180546001600160a01b039092166001600160a01b0319928316811790915560278054909216179055565b60006001600160e01b0319821663152a902d60e11b1480610fdf5750610fdf826142ff565b6000546001600160a01b031633146120405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611125565b6127106001600160601b03821611156137d95760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611125565b6001600160a01b03821661382f5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611125565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006138cf82613c76565b80519091506000906001600160a01b0316336001600160a01b031614806139065750336138fb846110ba565b6001600160a01b0316145b80613918575081516139189033610e9a565b9050806139825760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401611125565b846001600160a01b031682600001516001600160a01b0316146139f65760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401611125565b6001600160a01b038416613a5a5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401611125565b613a6a6000848460000151613868565b6001600160a01b0385166000908152600560205260408120805460019290613a9c9084906001600160801b031661506b565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526005602052604081208054600194509092613ae891859116614ff5565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055613b6f846001615020565b6000818152600460205260409020549091506001600160a01b0316613c0057613b99816001541190565b15613c005760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125c4565b61137f82826040518060200160405280600081525061436a565b600082613c6d8584614644565b14949350505050565b6040805180820190915260008082526020820152613c95826001541190565b613cf45760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401611125565b60007f00000000000000000000000000000000000000000000000000000000000000648310613d5557613d477f000000000000000000000000000000000000000000000000000000000000006484615093565b613d52906001615020565b90505b825b818110613dbe576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215613dab57949350505050565b5080613db6816150d6565b915050613d57565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401611125565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15613f7157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613eb3903390899088908890600401614dba565b602060405180830381600087803b158015613ecd57600080fd5b505af1925050508015613efd575060408051601f3d908101601f19168201909252613efa91810190614b59565b60015b613f57573d808015613f2b576040519150601f19603f3d011682016040523d82523d6000602084013e613f30565b606091505b508051613f4f5760405162461bcd60e51b815260040161112590614f4f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613f75565b5060015b949350505050565b600081815260196020526040902054606090613fa057601780546127d3906150ed565b60008281526019602052604090205460011415613fed576001600052601a6020527ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c6180546127d3906150ed565b6000828152601960205260409020546002141561403a576002600052601a6020527f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c4f80546127d3906150ed565b60008281526019602052604090205460031415614087576003600052601a6020527f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e280546127d3906150ed565b600082815260196020526040902054600414156140d4576004600052601a6020527f06b28f262ad931a15c9e47271fc159a891b2bcb0da2659cac5bbfed4886cf26e80546127d3906150ed565b60008281526019602052604090205460051415614121576005600052601a6020527f82f07edc09f3a46c1925d02252613a7fcc7be7d03b538b0c268df85f2f13a7ab80546127d3906150ed565b600082815260196020526040902054600614156141f5576000828152601b6020526040812054614152906006615020565b6000818152601a6020526040902080549192509061416f906150ed565b80601f016020809104026020016040519081016040528092919081815260200182805461419b906150ed565b80156141e85780601f106141bd576101008083540402835291602001916141e8565b820191906000526020600020905b8154815290600101906020018083116141cb57829003601f168201915b5050505050915050919050565b601780546127d3906150ed565b6060816142265750506040805180820190915260018152600360fc1b602082015290565b8160005b8115614250578061423a81615128565b91506142499050600a83615038565b915061422a565b6000816001600160401b0381111561426a5761426a615199565b6040519080825280601f01601f191660200182016040528015614294576020820181803683370190505b5090505b8415613f75576142a9600183615093565b91506142b6600a86615143565b6142c1906030615020565b60f81b8183815181106142d6576142d6615183565b60200101906001600160f81b031916908160001a9053506142f8600a86615038565b9450614298565b60006001600160e01b031982166380ac58cd60e01b148061433057506001600160e01b03198216635b5e139f60e01b145b8061434b57506001600160e01b0319821663780e9d6360e01b145b80610fdf57506301ffc9a760e01b6001600160e01b0319831614610fdf565b6001546001600160a01b0384166143cd5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401611125565b6143d8816001541190565b156144255760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401611125565b7f00000000000000000000000000000000000000000000000000000000000000648311156144a05760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401611125565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906144fc908790614ff5565b6001600160801b0316815260200185836020015161451a9190614ff5565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156146395760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46145fd6000888488613e6f565b6146195760405162461bcd60e51b815260040161112590614f4f565b8161462381615128565b925050808061463190615128565b9150506145b0565b5060018190556125c4565b600081815b8451811015611e05576146758286838151811061466857614668615183565b6020026020010151614689565b91508061468181615128565b915050614649565b60008183106146a55760008281526020849052604090206146b4565b60008381526020839052604090205b9392505050565b8280546146c7906150ed565b90600052602060002090601f0160209004810192826146e9576000855561472f565b82601f1061470257805160ff191683800117855561472f565b8280016001018555821561472f579182015b8281111561472f578251825591602001919060010190614714565b50611e7f9291506147af565b828054614747906150ed565b90600052602060002090601f016020900481019282614769576000855561472f565b82601f106147825782800160ff1982351617855561472f565b8280016001018555821561472f579182015b8281111561472f578235825591602001919060010190614794565b5b80821115611e7f57600081556001016147b0565b60006001600160401b038311156147dd576147dd615199565b6147f0601f8401601f1916602001614fa2565b905082815283838301111561480457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461483257600080fd5b919050565b8035801515811461483257600080fd5b60008083601f84011261485957600080fd5b5081356001600160401b0381111561487057600080fd5b60208301915083602082850101111561145757600080fd5b60006020828403121561489a57600080fd5b6146b48261481b565b600080604083850312156148b657600080fd5b6148bf8361481b565b91506148cd6020840161481b565b90509250929050565b6000806000606084860312156148eb57600080fd5b6148f48461481b565b92506149026020850161481b565b9150604084013590509250925092565b6000806000806080858703121561492857600080fd5b6149318561481b565b935061493f6020860161481b565b92506040850135915060608501356001600160401b0381111561496157600080fd5b8501601f8101871361497257600080fd5b614981878235602084016147c4565b91505092959194509250565b600080604083850312156149a057600080fd5b6149a98361481b565b91506148cd60208401614837565b600080604083850312156149ca57600080fd5b6149d38361481b565b946020939093013593505050565b600060208083850312156149f457600080fd5b82356001600160401b03811115614a0a57600080fd5b8301601f81018513614a1b57600080fd5b8035614a2e614a2982614fd2565b614fa2565b80828252848201915084840188868560051b8701011115614a4e57600080fd5b600094505b83851015614a71578035835260019490940193918501918501614a53565b50979650505050505050565b60006020808385031215614a9057600080fd5b82516001600160401b03811115614aa657600080fd5b8301601f81018513614ab757600080fd5b8051614ac5614a2982614fd2565b80828252848201915084840188868560051b8701011115614ae557600080fd5b600094505b83851015614a71578051835260019490940193918501918501614aea565b600060208284031215614b1a57600080fd5b6146b482614837565b600060208284031215614b3557600080fd5b5035919050565b600060208284031215614b4e57600080fd5b81356146b4816151af565b600060208284031215614b6b57600080fd5b81516146b4816151af565b60008060208385031215614b8957600080fd5b82356001600160401b03811115614b9f57600080fd5b614bab85828601614847565b90969095509350505050565b600080600060408486031215614bcc57600080fd5b83356001600160401b03811115614be257600080fd5b614bee86828701614847565b909790965060209590950135949350505050565b600060208284031215614c1457600080fd5b81356001600160401b03811115614c2a57600080fd5b8201601f81018413614c3b57600080fd5b613f75848235602084016147c4565b600060208284031215614c5c57600080fd5b5051919050565b60008060408385031215614c7657600080fd5b823591506148cd6020840161481b565b600080600060408486031215614c9b57600080fd5b8335925060208401356001600160401b0380821115614cb957600080fd5b818601915086601f830112614ccd57600080fd5b813581811115614cdc57600080fd5b8760208260051b8501011115614cf157600080fd5b6020830194508093505050509250925092565b60008060408385031215614d1757600080fd5b50508035926020909101359150565b600060208284031215614d3857600080fd5b81356001600160601b03811681146146b457600080fd5b60008151808452614d678160208601602086016150aa565b601f01601f19169290920160200192915050565b60008351614d8d8184602088016150aa565b835190830190614da18183602088016150aa565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614ded90830184614d4f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015614e2f57835183529284019291840191600101614e13565b50909695505050505050565b6020815260006146b46020830184614d4f565b60208082526025908201527f596f7520617265206e6f742074686520686f6c646572206f662074686973207460408201526437b5b2b71760d91b606082015260800190565b60208082526023908201527f596f7520646f6e2774206861766520636f6c6c61626f726174696f6e20746f6b60408201526232b71760e91b606082015260800190565b60208082526022908201527f596f7520617265206e6f742074686520686f6c646572206f66205820746f6b65604082015261371760f11b606082015260800190565b60208082526018908201527f4661696c656420746f2077697468647261772045746865720000000000000000604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715614fca57614fca615199565b604052919050565b60006001600160401b03821115614feb57614feb615199565b5060051b60200190565b60006001600160801b0380831681851680830382111561501757615017615157565b01949350505050565b6000821982111561503357615033615157565b500190565b6000826150475761504761516d565b500490565b600081600019048311821515161561506657615066615157565b500290565b60006001600160801b038381169083168181101561508b5761508b615157565b039392505050565b6000828210156150a5576150a5615157565b500390565b60005b838110156150c55781810151838201526020016150ad565b838111156127015750506000910152565b6000816150e5576150e5615157565b506000190190565b600181811c9082168061510157607f821691505b6020821081141561512257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561513c5761513c615157565b5060010190565b6000826151525761515261516d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461102557600080fdfea2646970667358221220d1906fef5bf14815fbd56ad01375c00bd1c1c1223c8bd99140d8c73577bb24ac64736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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