ETH Price: $3,352.80 (-0.43%)

Mitama (MTM)
 

Overview

TokenID

8301

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

To Mitamaverse and Beyond Holder pass minted automatically on polygon and delivered to the wallet that sold this NFT on ETH if the conditions were met. Sell this NFT in profit (10%+) to receive royalty payments on future sales.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Mitama

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Mitama.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/**
 *  ___  ___ _____  _____   ___  ___  ___  ___  
 *  |  \/  ||_   _||_   _| / _ \ |  \/  | / _ \ 
 *  | .  . |  | |    | |  / /_\ \| .  . |/ /_\ \
 *  | |\/| |  | |    | |  |  _  || |\/| ||  _  |
 *  | |  | | _| |_   | |  | | | || |  | || | | |
 *  \_|  |_/ \___/   \_/  \_| |_/\_|  |_/\_| |_/
 * 
 * produced by http://mitama-mint.com/
 * inspired by Kiwami.sol
 * written by zkitty.eth
 */

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./MerkleWhitelist.sol";
import "./DAHelper.sol";

contract Mitama is ERC721A, ERC2981, Ownable, MerkleWhitelist, ReentrancyGuard{
    using Strings for uint256;
    using Strings for uint8;

    /**
     * Mitama Dutch Auction configration: configured by the team at deployment.
     */
    uint256 public DA_STARTING_PRICE = 0.25 ether;
    uint256 public DA_ENDING_PRICE = 0.07 ether;
    // Decrement 0.015 ether every 1 hours ~= 0.00002 ether every 5 sec.
    uint256 public DA_DECREMENT = 0.00002 ether;
    uint256 public DA_DECREMENT_FREQUENCY = 5;
    // Mint starts: Sunday, October 30, 2022 9:00:00 PM GMT+09:00: 1667131200
    uint256 public DA_STARTING_TIMESTAMP = 1667131200;
    uint256 public DA_QUANTITY = 8580;
    // wait 1 week:
    uint256 public WAITING_FINAL_WITHDRAW = 60*60*24*7;
    // Withdraw address
    address public TEAM_WALLET = 0x7a1Bf181867703d6Fe21BaDf71e68D704751672A;

    /**
     * Mitama NFT configuration: configured by the team at deployment.
     */
    uint256 public TOKEN_QUANTITY = 10000;
    uint256 public FREE_MINT_QUANTITY = 420;
    uint256 public MAX_MINTS_PUBLIC = 1;
    uint256 public MAX_MINTS_NORMAL_WL = 2;
    uint256 public MAX_MINTS_SPECIAL_WL = 1;
    uint256 public DISCOUNT_PERCENT_NORMAL_WL = 10;
    uint256 public DISCOUNT_PERCENT_SPECIAL_WL = 30;
    
    /**
     * Internal storages for Dutch Auction
     */
    uint256 public DA_FINAL_PRICE;
    // How many each WL have been minted
    uint16 public PUBLIC_MINTED;
    uint16 public NORMAL_WL_MINTED;
    uint16 public SPECIAL_WL_MINTED;
    // Withdraw status
    bool public INITIAL_FUNDS_WITHDRAWN;
    bool public REMAINING_FUNDS_WITHDRAWN;
    // Event:
    event DAisFinishedAtPrice(uint256 finalPrice);
    //Struct for storing batch price data.
    //userAddress to token price data
    mapping(address => TokenBatchPrice[]) public userToTokenBatchPrices;
    mapping(address => TokenBatchPrice[]) public normalWLToTokenBatchPrices;
    mapping(address => TokenBatchPrice[]) public specialWLToTokenBatchPrices;
    mapping(address => bool) public userToHasMintedFreeMint;

    /**
     * Internal storages for NFT Collection
     */
    // tokenURI
    string public baseURI;
    string public UNREVEALED_URI;
    bool public REVEALED;
    // auraLevel by tokenId
    mapping(uint256 => uint8) public auraLevel;

    /**
     * ERC2981 Rolyalty Standard
     */ 
    address public receiver = TEAM_WALLET;
    uint96 public feeNumerator = 330;

    /**
     * Custom error
     */
    error DAIsNotStarted();
    error DAMustBeOver();
    error InvalidTiming();
    error InsuficientFunds(uint256 actual, uint256 expect);
    error ExceedsMaxMint();
    error ExceedsMaxSupply();
    error InvalidMintRequest();
    error TransferFailed();
    error InvalidTokenId();

    /**
     * Initializate contract
     */
    constructor(
        string memory _unrevealedURI
    ) ERC721A ('Mitama', 'MTM') {
        setRevealData(false, _unrevealedURI);
    }
    
    /**
     * Mint
     */

    function currentPrice() public view returns (uint256) {
        if(block.timestamp < DA_STARTING_TIMESTAMP) revert DAIsNotStarted();

        if (DA_FINAL_PRICE > 0) return DA_FINAL_PRICE;

        //Seconds since we started
        uint256 timeSinceStart = block.timestamp - DA_STARTING_TIMESTAMP;

        //How many decrements should've happened since that time
        uint256 decrementsSinceStart = timeSinceStart / DA_DECREMENT_FREQUENCY;

        //How much eth to remove
        uint256 totalDecrement = decrementsSinceStart * DA_DECREMENT;

        //If how much we want to reduce is greater or equal to the range, return the lowest value
        if (totalDecrement >= DA_STARTING_PRICE - DA_ENDING_PRICE) {
            return DA_ENDING_PRICE;
        }

        //If not, return the starting price minus the decrement.
        return DA_STARTING_PRICE - totalDecrement;
    }

    function mintDAPublic (uint8 quantity) public payable {
        if(!canMintDA(msg.sender, msg.value, quantity, MAX_MINTS_PUBLIC, userToTokenBatchPrices))
            revert InvalidMintRequest();
        userToTokenBatchPrices[msg.sender].push(
            TokenBatchPrice(uint128(msg.value), quantity)
        );
        PUBLIC_MINTED += quantity;
        //Mint the quantity
        _safeMint(msg.sender, quantity);
    }
    
    function mintDANormalWL(bytes32[] calldata merkleProof, uint8 quantity)
        public
        payable 
        onlyNormalWhitelist(merkleProof)
    {
        if(!canMintDA(msg.sender, msg.value, quantity, MAX_MINTS_NORMAL_WL, normalWLToTokenBatchPrices))
            revert InvalidMintRequest();
        normalWLToTokenBatchPrices[msg.sender].push(
            TokenBatchPrice(uint128(msg.value), quantity)
        );
        NORMAL_WL_MINTED += quantity;
        //Mint the quantity
        _safeMint(msg.sender, quantity);
    }


    /* Mint for Special WL */
    function mintSpecialWL(bytes32[] calldata merkleProof, uint8 quantity)
        public
        payable 
        onlySpecialWhitelist(merkleProof)
    {
        if(!canMintDA(msg.sender, msg.value, quantity, MAX_MINTS_SPECIAL_WL, specialWLToTokenBatchPrices))
            revert InvalidMintRequest();
        specialWLToTokenBatchPrices[msg.sender].push(
            TokenBatchPrice(uint128(msg.value), quantity)
        );
        SPECIAL_WL_MINTED += quantity;
        //Mint the quantity
        _safeMint(msg.sender, quantity);
    }

    function freeMint(bytes32[] memory proof)
        public
        onlyFreeMintWhitelist(proof)
    {
        if(DA_FINAL_PRICE == 0) revert DAMustBeOver();
        if(userToHasMintedFreeMint[msg.sender]) revert ExceedsMaxMint();

        //Require max supply just in case.
        if(totalSupply() + 1 > TOKEN_QUANTITY) revert ExceedsMaxSupply();

        userToHasMintedFreeMint[msg.sender] = true;

        //Mint them
        _safeMint(msg.sender, 1);
    }
    
    function teamMint(uint256 quantity, address user) public onlyOwner {
        //Max supply
        if(totalSupply() + quantity > TOKEN_QUANTITY) revert ExceedsMaxSupply();
        if(DA_FINAL_PRICE == 0) revert DAMustBeOver();

        //Mint the quantity
        _safeMint(user, quantity);
    }

    /**
     * Refund and Withdraw
     */

    function withdrawInitialFunds() public onlyOwner nonReentrant{
        //Should be invoked only one time. 
        if(INITIAL_FUNDS_WITHDRAWN)revert("Already invoked.");
        if(DA_FINAL_PRICE == 0) revert DAMustBeOver();

        uint256 DAFunds = DA_QUANTITY * DA_FINAL_PRICE;
        uint256 normalWLRefund = NORMAL_WL_MINTED *
            ((DA_FINAL_PRICE / 100) * 20);
        uint256 specialWLRefund = SPECIAL_WL_MINTED *
            ((DA_FINAL_PRICE / 100) * 20);
        
        uint256 initialFunds = DAFunds - normalWLRefund - specialWLRefund;

        INITIAL_FUNDS_WITHDRAWN = true;

        (bool succ, ) = payable(TEAM_WALLET).call{
            value: initialFunds
        }("");
        if(!succ) revert TransferFailed();
    }

    function withdrawFinalFunds() public onlyOwner nonReentrant{
        //Should 1 weeks after DA Starts.
        if(block.timestamp < DA_STARTING_TIMESTAMP + WAITING_FINAL_WITHDRAW)
            revert InvalidTiming();

        uint256 finalFunds = address(this).balance;

        (bool succ, ) = payable(TEAM_WALLET).call{
            value: finalFunds
        }("");
        if(!succ) revert TransferFailed();
    }

    /* Refund by owner */
    function refundExtraETH() public nonReentrant{
        if(DA_FINAL_PRICE == 0) revert DAMustBeOver();

        uint256 publicRefund = DAHelper._getRefund(msg.sender, userToTokenBatchPrices, 0, DA_FINAL_PRICE);
        uint256 normalWLRefund = DAHelper._getRefund(msg.sender, normalWLToTokenBatchPrices, DISCOUNT_PERCENT_NORMAL_WL, DA_FINAL_PRICE);
        uint256 specialWLRefund = DAHelper._getRefund(msg.sender, specialWLToTokenBatchPrices, DISCOUNT_PERCENT_SPECIAL_WL, DA_FINAL_PRICE);
        uint256 totalRefund = publicRefund + normalWLRefund + specialWLRefund;

        if(totalRefund > address(this).balance) revert('Contract runs out of funds.');
        payable(msg.sender).transfer(totalRefund);
    }


    /**
     * Update NFT's AuraLevel
     */
    function updateAuraLevel(uint256 tokenId, uint8 level) public onlyOwner {
        if(!_exists(tokenId)) revert InvalidTokenId();
        if(6 > level || level < auraLevel[tokenId]) revert ('Invalid Aura Level.');
        auraLevel[tokenId] = level;
    }

    /**
     * Internal functions for Dutch Auction
     */

    function canMintDA(
        address user,
        uint256 amount,
        uint8 quantity, 
        uint256 _MAX_MINT,
        mapping(address => TokenBatchPrice[]) storage _userToTokenBatchPrices
    ) internal returns (bool) {
        if(block.timestamp < DA_STARTING_TIMESTAMP) revert DAIsNotStarted();

        if(_userToTokenBatchPrices[user].length > _MAX_MINT -1) {
            revert ExceedsMaxMint();
        } else if(_userToTokenBatchPrices[user].length > 0){
            if(_userToTokenBatchPrices[user].length > _MAX_MINT)
                revert ExceedsMaxMint();         
        } else if(quantity > _MAX_MINT){
            revert ExceedsMaxMint();
        }

        uint256 _currentPrice = currentPrice();

        //Require enough ETH
        if(amount < quantity * _currentPrice) revert InsuficientFunds(amount, quantity * _currentPrice);

        //Max supply
        if(totalSupply() + quantity > DA_QUANTITY) revert ExceedsMaxSupply();

        //This is the final price
        if (totalSupply() + quantity == DA_QUANTITY) {
            DA_FINAL_PRICE = _currentPrice;
            emit DAisFinishedAtPrice(DA_FINAL_PRICE);
        }
        return true;
    }
    
    /**
     * House keeping funcitons
     */
    
    /* ERC721 Setters */
    function setBaseURI(string memory _baseURI) public onlyOwner {
        baseURI = _baseURI;
    }
    
    function setRevealData(bool _revealed, string memory _unrevealedURI)
        public
        onlyOwner
    {
        REVEALED = _revealed;
        UNREVEALED_URI = _unrevealedURI;
    }

    /* ERC721 primitive */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if(!_exists(tokenId)) revert InvalidTokenId();
        uint8 auraLevel_ = auraLevel[tokenId];
        if (REVEALED){
            return bytes(baseURI).length > 0 
                ? string(abi.encodePacked(baseURI, tokenId.toString(), "-", auraLevel_.toString())) 
                : "";
        } else {
            return UNREVEALED_URI;           
        }
    }
    
    /**
    * inherited: ERC2981 Royalty Standard
    */ 
    function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) public onlyOwner{
        receiver = _receiver;
        feeNumerator = _feeNumerator;
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    //inherited: {IERC165-supportsInterface}.
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }
}

File 2 of 14 : MerkleWhitelist.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

library WL {
  function _verify(bytes32[] memory proof, bytes32 addressHash, bytes32 whitelistMerkleRoot)
    internal
    pure
    returns (bool)
  {
    return MerkleProof.verify(proof, whitelistMerkleRoot, addressHash);
  }

  function _hash(address _address) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(_address));
  }
}

contract MerkleWhitelist is Ownable {
  bytes32 public normalWhitelistMerkleRoot;
  bytes32 public specialWhitelistMerkleRoot;
  bytes32 public freeMintWhitelistMerkleRoot;

  string public whitelistURI;
  error CallerIsNotWhitelisted();

  /*
  READ FUNCTIONS
  */

  //Frontend verify functions
  function verifyNormalSender(address userAddress, bytes32[] memory proof) public view returns (bool) {
    return WL._verify(proof, WL._hash(userAddress), normalWhitelistMerkleRoot);
  }

  function verifySpecialSender(address userAddress, bytes32[] memory proof) public view returns (bool) {
    return WL._verify(proof, WL._hash(userAddress), specialWhitelistMerkleRoot);
  }

  function verifyFreeMintSender(address userAddress, bytes32[] memory proof) public view returns (bool) {
    return WL._verify(proof, WL._hash(userAddress), freeMintWhitelistMerkleRoot);
  }

  //Internal verify functions
  function _verifyNormalSender(bytes32[] memory proof) internal view returns (bool) {
    return WL._verify(proof, WL._hash(msg.sender), normalWhitelistMerkleRoot);
  }

  function _verifySpecialSender(bytes32[] memory proof) internal view returns (bool) {
    return WL._verify(proof, WL._hash(msg.sender), specialWhitelistMerkleRoot);
  }

  function _verifyFreeMintSender(bytes32[] memory proof) internal view returns (bool) {
    return WL._verify(proof, WL._hash(msg.sender), freeMintWhitelistMerkleRoot);
  }

  /*
  OWNER FUNCTIONS
  */

  function setNormalWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
    normalWhitelistMerkleRoot = merkleRoot;
  }
  function setSpecialWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
    specialWhitelistMerkleRoot = merkleRoot;
  }
  function setFreeMintWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
    freeMintWhitelistMerkleRoot = merkleRoot;
  }
  /*
  MODIFIER
  */
  modifier onlyNormalWhitelist(bytes32[] memory proof) {
    if(!_verifyNormalSender(proof)) revert CallerIsNotWhitelisted();
    _;
  }

  modifier onlySpecialWhitelist(bytes32[] memory proof) {
    if(!_verifySpecialSender(proof)) revert CallerIsNotWhitelisted();
    _;
  }
  
  modifier onlyFreeMintWhitelist(bytes32[] memory proof) {
    if(!_verifyFreeMintSender(proof)) revert CallerIsNotWhitelisted();
    _;
  }
}

File 3 of 14 : DAHelper.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

struct TokenBatchPrice {
    uint128 pricePaid;
    uint8 quantityMinted;
}

library DAHelper {
    function _getRefund(
        address user,
        mapping(address => TokenBatchPrice[]) storage _userToTokenBatchPrices,
        uint256 _DISCOUNT_PERCENT,
        uint256 _DA_FINAL_PRICE
    ) internal returns (uint256) {
        TokenBatchPrice[] storage tokenBatchPrices = _userToTokenBatchPrices[user];
        uint256 totalRefund;
        for (
            uint256 i = tokenBatchPrices.length;
            i > 0;
            i--
        ) {
            //This is what they should have paid if they bought at lowest price tier.
            uint256 expectedPrice = tokenBatchPrices[i - 1]
                .quantityMinted * _DA_FINAL_PRICE * (100 - _DISCOUNT_PERCENT) / 100;

            //What they paid - what they should have paid = refund.
            uint256 refund = tokenBatchPrices[i - 1]
                .pricePaid - expectedPrice;

            //Remove this tokenBatch
            tokenBatchPrices.pop();

            //Send them their extra monies.
            totalRefund += refund;
        }
        return totalRefund;
    }
}

File 4 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

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

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

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

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 5 of 14 : 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 6 of 14 : 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 14 : 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 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 12 of 14 : 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 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CallerIsNotWhitelisted","type":"error"},{"inputs":[],"name":"DAIsNotStarted","type":"error"},{"inputs":[],"name":"DAMustBeOver","type":"error"},{"inputs":[],"name":"ExceedsMaxMint","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[{"internalType":"uint256","name":"actual","type":"uint256"},{"internalType":"uint256","name":"expect","type":"uint256"}],"name":"InsuficientFunds","type":"error"},{"inputs":[],"name":"InvalidMintRequest","type":"error"},{"inputs":[],"name":"InvalidTiming","type":"error"},{"inputs":[],"name":"InvalidTokenId","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"finalPrice","type":"uint256"}],"name":"DAisFinishedAtPrice","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":"DA_DECREMENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_DECREMENT_FREQUENCY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_ENDING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_FINAL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_STARTING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_STARTING_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DISCOUNT_PERCENT_NORMAL_WL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DISCOUNT_PERCENT_SPECIAL_WL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_MINT_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_FUNDS_WITHDRAWN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_NORMAL_WL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_SPECIAL_WL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NORMAL_WL_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REMAINING_FUNDS_WITHDRAWN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEALED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SPECIAL_WL_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNREVEALED_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WAITING_FINAL_WITHDRAW","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":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"auraLevel","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeNumerator","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mintDANormalWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mintDAPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mintSpecialWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"normalWLToTokenBatchPrices","outputs":[{"internalType":"uint128","name":"pricePaid","type":"uint128"},{"internalType":"uint8","name":"quantityMinted","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"normalWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundExtraETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setFreeMintWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setNormalWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"},{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setRevealData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setSpecialWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"specialWLToTokenBatchPrices","outputs":[{"internalType":"uint128","name":"pricePaid","type":"uint128"},{"internalType":"uint8","name":"quantityMinted","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"specialWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"level","type":"uint8"}],"name":"updateAuraLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userToHasMintedFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userToTokenBatchPrices","outputs":[{"internalType":"uint128","name":"pricePaid","type":"uint128"},{"internalType":"uint8","name":"quantityMinted","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verifyFreeMintSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verifyNormalSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verifySpecialSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFinalFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawInitialFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526703782dace9d9000060105566f8b0a10e4700006011556512309ce54000601255600560135563635e674060145561218460155562093a80601655737a1bf181867703d6fe21badf71e68d704751672a601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506127106018556101a46019556001601a556002601b556001601c55600a601d55601e8055601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16602960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061014a602960146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055503480156200015b57600080fd5b50604051620063463803806200634683398181016040528101906200018191906200069b565b6040518060400160405280600681526020017f4d6974616d6100000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d544d00000000000000000000000000000000000000000000000000000000008152508160029080519060200190620002059291906200044e565b5080600390805190602001906200021e9291906200044e565b506200022f6200027960201b60201c565b6000819055505050620002576200024b6200027e60201b60201c565b6200028660201b60201c565b6001600f81905550620002726000826200034c60201b60201c565b50620007d4565b600090565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200035c6200039360201b60201c565b81602760006101000a81548160ff02191690831515021790555080602690805190602001906200038e9291906200044e565b505050565b620003a36200027e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003c96200042460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000419906200074d565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200045c906200079e565b90600052602060002090601f016020900481019282620004805760008555620004cc565b82601f106200049b57805160ff1916838001178555620004cc565b82800160010185558215620004cc579182015b82811115620004cb578251825591602001919060010190620004ae565b5b509050620004db9190620004df565b5090565b5b80821115620004fa576000816000905550600101620004e0565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000567826200051c565b810181811067ffffffffffffffff821117156200058957620005886200052d565b5b80604052505050565b60006200059e620004fe565b9050620005ac82826200055c565b919050565b600067ffffffffffffffff821115620005cf57620005ce6200052d565b5b620005da826200051c565b9050602081019050919050565b60005b8381101562000607578082015181840152602081019050620005ea565b8381111562000617576000848401525b50505050565b6000620006346200062e84620005b1565b62000592565b90508281526020810184848401111562000653576200065262000517565b5b62000660848285620005e7565b509392505050565b600082601f83011262000680576200067f62000512565b5b8151620006928482602086016200061d565b91505092915050565b600060208284031215620006b457620006b362000508565b5b600082015167ffffffffffffffff811115620006d557620006d46200050d565b5b620006e38482850162000668565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000735602083620006ec565b91506200074282620006fd565b602082019050919050565b60006020820190508181036000830152620007688162000726565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007b757607f821691505b60208210811415620007ce57620007cd6200076f565b5b50919050565b615b6280620007e46000396000f3fe60806040526004361061041b5760003560e01c8063950acf981161021e578063c55f6d9a11610123578063ea18dc5c116100ab578063f5998ed81161007a578063f5998ed814610fa6578063f7260d3e14610fd1578063f7fc32fc14610ffc578063f89d2e4d14611025578063fca2c9b3146110505761041b565b8063ea18dc5c14610f10578063efb4031d14610f3b578063f2fde38b14610f52578063f33b7e9214610f7b5761041b565b8063d7b23268116100f2578063d7b2326814610e04578063df16f77814610e2d578063e64c1fb414610e6b578063e86dea4a14610ea8578063e985e9c514610ed35761041b565b8063c55f6d9a14610d5c578063c87b56dd14610d87578063cd43398814610dc4578063d627349f14610ded5761041b565b8063b1bb8edb116101a6578063b9765a1f11610175578063b9765a1f14610c76578063bfa457bc14610c8d578063c0fb03d214610cb6578063c0feb25814610cf4578063c4267c8d14610d315761041b565b8063b1bb8edb14610bd9578063b31fddab14610c04578063b812937114610c2f578063b88d4fde14610c5a5761041b565b80639b2b0d3e116101ed5780639b2b0d3e14610b135780639d1b464a14610b3e578063a22cb46514610b69578063a76a958714610b92578063abeba90114610bbd5761041b565b8063950acf9814610a6757806395d89b4114610a9257806397f65c0814610abd578063996e52b514610ae85761041b565b80634bc959ac116103245780636c0360eb116102ac57806386c4c0f41161027b57806386c4c0f4146109a357806388d15d50146109cc57806389b79014146109f55780638a81ac0a14610a205780638da5cb5b14610a3c5761041b565b80636c0360eb146108f957806370a0823114610924578063715018a61461096157806378615c32146109785761041b565b80635070b833116102f35780635070b83314610800578063507862d11461082b57806355f804b314610856578063587ef6711461087f5780636352211e146108bc5761041b565b80634bc959ac146107325780634bfbfc611461075b5780634d5d8824146107865780634f0a4ba9146107c35761041b565b8063209b26c3116103a75780632b905bf6116103765780632b905bf6146106795780632dcf6102146106a457806336248ae2146106cf57806338c8a988146106fa57806342842e0e146107165761041b565b8063209b26c3146105b6578063214a0a5f146105e157806323b872dd1461061f5780632a55205a1461063b5761041b565b8063088ba4c9116103ee578063088ba4c9146104ee578063095ea7b31461051957806311e033b51461053557806318160ddd14610560578063204e656b1461058b5761041b565b806301ffc9a71461042057806304634d8d1461045d57806306fdde0314610486578063081812fc146104b1575b600080fd5b34801561042c57600080fd5b5061044760048036038101906104429190614560565b61107b565b60405161045491906145a8565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614665565b6110f5565b005b34801561049257600080fd5b5061049b61117d565b6040516104a8919061473e565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d39190614796565b61120f565b6040516104e591906147d2565b60405180910390f35b3480156104fa57600080fd5b5061050361128e565b60405161051091906147fc565b60405180910390f35b610533600480360381019061052e9190614817565b611294565b005b34801561054157600080fd5b5061054a6113d8565b60405161055791906147fc565b60405180910390f35b34801561056c57600080fd5b506105756113de565b60405161058291906147fc565b60405180910390f35b34801561059757600080fd5b506105a06113f5565b6040516105ad91906145a8565b60405180910390f35b3480156105c257600080fd5b506105cb611408565b6040516105d891906147fc565b60405180910390f35b3480156105ed57600080fd5b5061060860048036038101906106039190614817565b61140e565b60405161061692919061489e565b60405180910390f35b610639600480360381019061063491906148c7565b611474565b005b34801561064757600080fd5b50610662600480360381019061065d919061491a565b611799565b60405161067092919061495a565b60405180910390f35b34801561068557600080fd5b5061068e611984565b60405161069b91906147d2565b60405180910390f35b3480156106b057600080fd5b506106b96119aa565b6040516106c6919061499c565b60405180910390f35b3480156106db57600080fd5b506106e46119b0565b6040516106f1919061499c565b60405180910390f35b610714600480360381019061070f9190614a48565b6119b6565b005b610730600480360381019061072b91906148c7565b611bbc565b005b34801561073e57600080fd5b5061075960048036038101906107549190614ad4565b611bdc565b005b34801561076757600080fd5b50610770611bee565b60405161077d91906147fc565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a89190614b01565b611bf4565b6040516107ba91906145a8565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e59190614796565b611c14565b6040516107f79190614b2e565b60405180910390f35b34801561080c57600080fd5b50610815611c34565b604051610822919061499c565b60405180910390f35b34801561083757600080fd5b50610840611c3a565b60405161084d919061473e565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190614c79565b611cc8565b005b34801561088b57600080fd5b506108a660048036038101906108a19190614d85565b611cea565b6040516108b391906145a8565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190614796565b611d09565b6040516108f091906147d2565b60405180910390f35b34801561090557600080fd5b5061090e611d1b565b60405161091b919061473e565b60405180910390f35b34801561093057600080fd5b5061094b60048036038101906109469190614b01565b611da9565b60405161095891906147fc565b60405180910390f35b34801561096d57600080fd5b50610976611e62565b005b34801561098457600080fd5b5061098d611e76565b60405161099a91906147fc565b60405180910390f35b3480156109af57600080fd5b506109ca60048036038101906109c59190614de1565b611e7c565b005b3480156109d857600080fd5b506109f360048036038101906109ee9190614e21565b611f6a565b005b348015610a0157600080fd5b50610a0a612121565b604051610a179190614e87565b60405180910390f35b610a3a6004803603810190610a359190614ea2565b612135565b005b348015610a4857600080fd5b50610a516122b7565b604051610a5e91906147d2565b60405180910390f35b348015610a7357600080fd5b50610a7c6122e1565b604051610a8991906147fc565b60405180910390f35b348015610a9e57600080fd5b50610aa76122e7565b604051610ab4919061473e565b60405180910390f35b348015610ac957600080fd5b50610ad2612379565b604051610adf91906147fc565b60405180910390f35b348015610af457600080fd5b50610afd61237f565b604051610b0a91906147fc565b60405180910390f35b348015610b1f57600080fd5b50610b28612385565b604051610b359190614e87565b60405180910390f35b348015610b4a57600080fd5b50610b53612399565b604051610b6091906147fc565b60405180910390f35b348015610b7557600080fd5b50610b906004803603810190610b8b9190614efb565b61245c565b005b348015610b9e57600080fd5b50610ba7612567565b604051610bb491906145a8565b60405180910390f35b610bd76004803603810190610bd29190614a48565b61257a565b005b348015610be557600080fd5b50610bee612780565b604051610bfb9190614e87565b60405180910390f35b348015610c1057600080fd5b50610c19612794565b604051610c2691906147fc565b60405180910390f35b348015610c3b57600080fd5b50610c4461279a565b604051610c5191906147fc565b60405180910390f35b610c746004803603810190610c6f9190614fdc565b6127a0565b005b348015610c8257600080fd5b50610c8b612813565b005b348015610c9957600080fd5b50610cb46004803603810190610caf919061505f565b61298f565b005b348015610cc257600080fd5b50610cdd6004803603810190610cd89190614817565b612a30565b604051610ceb92919061489e565b60405180910390f35b348015610d0057600080fd5b50610d1b6004803603810190610d169190614d85565b612a96565b604051610d2891906145a8565b60405180910390f35b348015610d3d57600080fd5b50610d46612ab5565b604051610d5391906145a8565b60405180910390f35b348015610d6857600080fd5b50610d71612ac8565b604051610d7e91906147fc565b60405180910390f35b348015610d9357600080fd5b50610dae6004803603810190610da99190614796565b612ace565b604051610dbb919061473e565b60405180910390f35b348015610dd057600080fd5b50610deb6004803603810190610de69190614ad4565b612c49565b005b348015610df957600080fd5b50610e02612c5b565b005b348015610e1057600080fd5b50610e2b6004803603810190610e26919061509f565b612ed8565b005b348015610e3957600080fd5b50610e546004803603810190610e4f9190614817565b612f15565b604051610e6292919061489e565b60405180910390f35b348015610e7757600080fd5b50610e926004803603810190610e8d9190614d85565b612f7b565b604051610e9f91906145a8565b60405180910390f35b348015610eb457600080fd5b50610ebd612f9a565b604051610eca919061510a565b60405180910390f35b348015610edf57600080fd5b50610efa6004803603810190610ef59190615125565b612fb8565b604051610f0791906145a8565b60405180910390f35b348015610f1c57600080fd5b50610f2561304c565b604051610f3291906147fc565b60405180910390f35b348015610f4757600080fd5b50610f50613052565b005b348015610f5e57600080fd5b50610f796004803603810190610f749190614b01565b6131c7565b005b348015610f8757600080fd5b50610f9061324b565b604051610f9d919061473e565b60405180910390f35b348015610fb257600080fd5b50610fbb6132d9565b604051610fc891906147fc565b60405180910390f35b348015610fdd57600080fd5b50610fe66132df565b604051610ff391906147d2565b60405180910390f35b34801561100857600080fd5b50611023600480360381019061101e9190614ad4565b613305565b005b34801561103157600080fd5b5061103a613317565b60405161104791906147fc565b60405180910390f35b34801561105c57600080fd5b5061106561331d565b60405161107291906147fc565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806110ee57506110ed82613323565b5b9050919050565b6110fd61339d565b81602960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080602960146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550611179828261341b565b5050565b60606002805461118c90615194565b80601f01602080910402602001604051908101604052809291908181526020018280546111b890615194565b80156112055780601f106111da57610100808354040283529160200191611205565b820191906000526020600020905b8154815290600101906020018083116111e857829003601f168201915b5050505050905090565b600061121a826135b1565b611250576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b601c5481565b600061129f82611d09565b90508073ffffffffffffffffffffffffffffffffffffffff166112c0613610565b73ffffffffffffffffffffffffffffffffffffffff1614611323576112ec816112e7613610565b612fb8565b611322576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601b5481565b60006113e8613618565b6001546000540303905090565b602060069054906101000a900460ff1681565b601e5481565b6023602052816000526040600020818154811061142a57600080fd5b90600052602060002001600091509150508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a900460ff16905082565b600061147f8261361d565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114e6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806114f2846136eb565b915091506115088187611503613610565b613712565b6115545761151d86611518613610565b612fb8565b611553576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156115bb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115c88686866001613756565b80156115d357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506116a18561167d88888761375c565b7c020000000000000000000000000000000000000000000000000000000017613784565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611729576000600185019050600060046000838152602001908152602001600020541415611727576000548114611726578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461179186868660016137af565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16141561192f5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006119396137b5565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661196591906151f5565b61196f919061527e565b90508160000151819350935050509250929050565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b600d5481565b828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050611a01816137bf565b611a37576040517fb8e309a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a47333484601b5460226137dd565b611a7d576040517fa6df31da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280346fffffffffffffffffffffffffffffffff1681526020018460ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a81548160ff021916908360ff16021790555050508160ff16602060028282829054906101000a900461ffff16611b8f91906152af565b92506101000a81548161ffff021916908361ffff160217905550611bb6338360ff16613ad8565b50505050565b611bd7838383604051806020016040528060008152506127a0565b505050565b611be461339d565b80600b8190555050565b601a5481565b60246020528060005260406000206000915054906101000a900460ff1681565b60286020528060005260406000206000915054906101000a900460ff1681565b600b5481565b60268054611c4790615194565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7390615194565b8015611cc05780601f10611c9557610100808354040283529160200191611cc0565b820191906000526020600020905b815481529060010190602001808311611ca357829003601f168201915b505050505081565b611cd061339d565b8060259080519060200190611ce6929190614451565b5050565b6000611d0182611cf985613af6565b600d54613b26565b905092915050565b6000611d148261361d565b9050919050565b60258054611d2890615194565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5490615194565b8015611da15780601f10611d7657610100808354040283529160200191611da1565b820191906000526020600020905b815481529060010190602001808311611d8457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e11576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611e6a61339d565b611e746000613b3c565b565b60145481565b611e8461339d565b611e8d826135b1565b611ec3576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060ff1660061180611efa57506028600083815260200190815260200160002060009054906101000a900460ff1660ff168160ff16105b15611f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3190615333565b60405180910390fd5b806028600084815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050565b80611f7481613c02565b611faa576040517fb8e309a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601f541415611fe7576040517f410397d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561206b576040517f52f7657b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60185460016120786113de565b6120829190615353565b11156120ba576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001602460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061211d336001613ad8565b5050565b602060009054906101000a900461ffff1681565b612145333483601a5460216137dd565b61217b576040517fa6df31da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280346fffffffffffffffffffffffffffffffff1681526020018360ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a81548160ff021916908360ff16021790555050508060ff16602060008282829054906101000a900461ffff1661228d91906152af565b92506101000a81548161ffff021916908361ffff1602179055506122b4338260ff16613ad8565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60185481565b6060600380546122f690615194565b80601f016020809104026020016040519081016040528092919081815260200182805461232290615194565b801561236f5780601f106123445761010080835404028352916020019161236f565b820191906000526020600020905b81548152906001019060200180831161235257829003601f168201915b5050505050905090565b60115481565b60135481565b602060049054906101000a900461ffff1681565b60006014544210156123d7576040517f5cf0a99b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601f5411156123ec57601f549050612459565b6000601454426123fc91906153a9565b905060006013548261240e919061527e565b905060006012548261242091906151f5565b905060115460105461243291906153a9565b8110612445576011549350505050612459565b8060105461245391906153a9565b93505050505b90565b8060076000612469613610565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612516613610565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161255b91906145a8565b60405180910390a35050565b602760009054906101000a900460ff1681565b828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506125c581613c20565b6125fb576040517fb8e309a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61260b333484601c5460236137dd565b612641576040517fa6df31da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280346fffffffffffffffffffffffffffffffff1681526020018460ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a81548160ff021916908360ff16021790555050508160ff16602060048282829054906101000a900461ffff1661275391906152af565b92506101000a81548161ffff021916908361ffff16021790555061277a338360ff16613ad8565b50505050565b602060029054906101000a900461ffff1681565b601d5481565b60125481565b6127ab848484611474565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461280d576127d684848484613c3e565b61280c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6002600f541415612859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285090615429565b60405180910390fd5b6002600f819055506000601f54141561289e576040517f410397d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128b03360216000601f54613d9e565b905060006128c5336022601d54601f54613d9e565b905060006128da336023601e54601f54613d9e565b905060008183856128eb9190615353565b6128f59190615353565b90504781111561293a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293190615495565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612980573d6000803e3d6000fd5b50505050506001600f81905550565b61299761339d565b601854826129a36113de565b6129ad9190615353565b11156129e5576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601f541415612a22576040517f410397d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a2c8183613ad8565b5050565b60226020528160005260406000208181548110612a4c57600080fd5b90600052602060002001600091509150508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a900460ff16905082565b6000612aad82612aa585613af6565b600c54613b26565b905092915050565b602060079054906101000a900460ff1681565b60195481565b6060612ad9826135b1565b612b0f576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006028600084815260200190815260200160002060009054906101000a900460ff169050602760009054906101000a900460ff1615612bb557600060258054612b5890615194565b905011612b745760405180602001604052806000815250612bad565b6025612b7f84613f5c565b612b8b8360ff16613f5c565b604051602001612b9d939291906155d1565b6040516020818303038152906040525b915050612c44565b60268054612bc290615194565b80601f0160208091040260200160405190810160405280929190818152602001828054612bee90615194565b8015612c3b5780601f10612c1057610100808354040283529160200191612c3b565b820191906000526020600020905b815481529060010190602001808311612c1e57829003601f168201915b50505050509150505b919050565b612c5161339d565b80600d8190555050565b612c6361339d565b6002600f541415612ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca090615429565b60405180910390fd5b6002600f81905550602060069054906101000a900460ff1615612d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf890615659565b60405180910390fd5b6000601f541415612d3e576040517f410397d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601f54601554612d5091906151f5565b9050600060146064601f54612d65919061527e565b612d6f91906151f5565b602060029054906101000a900461ffff1661ffff16612d8e91906151f5565b9050600060146064601f54612da3919061527e565b612dad91906151f5565b602060049054906101000a900461ffff1661ffff16612dcc91906151f5565b90506000818385612ddd91906153a9565b612de791906153a9565b90506001602060066101000a81548160ff0219169083151502179055506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051612e4c906156aa565b60006040518083038185875af1925050503d8060008114612e89576040519150601f19603f3d011682016040523d82523d6000602084013e612e8e565b606091505b5050905080612ec9576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050506001600f81905550565b612ee061339d565b81602760006101000a81548160ff0219169083151502179055508060269080519060200190612f10929190614451565b505050565b60216020528160005260406000208181548110612f3157600080fd5b90600052602060002001600091509150508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a900460ff16905082565b6000612f9282612f8a85613af6565b600b54613b26565b905092915050565b602960149054906101000a90046bffffffffffffffffffffffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60155481565b61305a61339d565b6002600f5414156130a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309790615429565b60405180910390fd5b6002600f819055506016546014546130b89190615353565b4210156130f1576040517fc8b9bc9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60004790506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161313e906156aa565b60006040518083038185875af1925050503d806000811461317b576040519150601f19603f3d011682016040523d82523d6000602084013e613180565b606091505b50509050806131bb576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50506001600f81905550565b6131cf61339d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561323f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323690615731565b60405180910390fd5b61324881613b3c565b50565b600e805461325890615194565b80601f016020809104026020016040519081016040528092919081815260200182805461328490615194565b80156132d15780601f106132a6576101008083540402835291602001916132d1565b820191906000526020600020905b8154815290600101906020018083116132b457829003601f168201915b505050505081565b601f5481565b602960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61330d61339d565b80600c8190555050565b60105481565b60165481565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133965750613395826140bd565b5b9050919050565b6133a5614127565b73ffffffffffffffffffffffffffffffffffffffff166133c36122b7565b73ffffffffffffffffffffffffffffffffffffffff1614613419576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134109061579d565b60405180910390fd5b565b6134236137b5565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115613481576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134789061582f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e89061589b565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000816135bc613618565b111580156135cb575060005482105b8015613609575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061362c613618565b116136b4576000548110156136b35760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156136b1575b60008114156136a757600460008360019003935083815260200190815260200160002054905061367c565b80925050506136e6565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861377386868461412f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b60006137d6826137ce33613af6565b600b54613b26565b9050919050565b600060145442101561381b576040517f5cf0a99b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018361382891906153a9565b8260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905011156138a2576040517f52f7657b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050111561396c57828260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501115613967576040517f52f7657b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6139aa565b828460ff1611156139a9576040517f52f7657b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b60006139b4612399565b9050808560ff166139c591906151f5565b861015613a195785818660ff166139dc91906151f5565b6040517fffdfe2ea000000000000000000000000000000000000000000000000000000008152600401613a109291906158bb565b60405180910390fd5b6015548560ff16613a286113de565b613a329190615353565b1115613a6a576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6015548560ff16613a796113de565b613a839190615353565b1415613aca5780601f819055507f018c9f23e064a414ec62832f1169a4b8f09c51cf4bd29fa3c9506cf671c86eaf601f54604051613ac191906147fc565b60405180910390a15b600191505095945050505050565b613af2828260405180602001604052806000815250614138565b5050565b600081604051602001613b09919061592c565b604051602081830303815290604052805190602001209050919050565b6000613b338483856141d5565b90509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000613c1982613c1133613af6565b600d54613b26565b9050919050565b6000613c3782613c2f33613af6565b600c54613b26565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c64613610565b8786866040518563ffffffff1660e01b8152600401613c86949392919061599c565b602060405180830381600087803b158015613ca057600080fd5b505af1925050508015613cd157506040513d601f19601f82011682018060405250810190613cce91906159fd565b60015b613d4b573d8060008114613d01576040519150601f19603f3d011682016040523d82523d6000602084013e613d06565b606091505b50600081511415613d43576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000808460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600080828054905090505b6000811115613f4e5760006064876064613e0691906153a9565b8786600186613e1591906153a9565b81548110613e2657613e25615a2a565b5b9060005260206000200160000160109054906101000a900460ff1660ff16613e4e91906151f5565b613e5891906151f5565b613e62919061527e565b905060008185600185613e7591906153a9565b81548110613e8657613e85615a2a565b5b9060005260206000200160000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16613ecc91906153a9565b905084805480613edf57613ede615a59565b5b60019003818190600052602060002001600080820160006101000a8154906fffffffffffffffffffffffffffffffff02191690556000820160106101000a81549060ff0219169055505090558084613f379190615353565b935050508080613f4690615a88565b915050613dec565b508092505050949350505050565b60606000821415613fa4576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506140b8565b600082905060005b60008214613fd6578080613fbf90615ab2565b915050600a82613fcf919061527e565b9150613fac565b60008167ffffffffffffffff811115613ff257613ff1614b4e565b5b6040519080825280601f01601f1916602001820160405280156140245781602001600182028036833780820191505090505b5090505b600085146140b15760018261403d91906153a9565b9150600a8561404c9190615afb565b60306140589190615353565b60f81b81838151811061406e5761406d615a2a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856140aa919061527e565b9450614028565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b61414283836141ec565b60008373ffffffffffffffffffffffffffffffffffffffff163b146141d057600080549050600083820390505b6141826000868380600101945086613c3e565b6141b8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061416f5781600054146141cd57600080fd5b50505b505050565b6000826141e285846143a9565b1490509392505050565b600080549050600082141561422d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61423a6000848385613756565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506142b1836142a2600086600061375c565b6142ab856143ff565b17613784565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461435257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050614317565b50600082141561438e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506143a460008483856137af565b505050565b60008082905060005b84518110156143f4576143df828683815181106143d2576143d1615a2a565b5b602002602001015161440f565b915080806143ec90615ab2565b9150506143b2565b508091505092915050565b60006001821460e11b9050919050565b600081831061442757614422828461443a565b614432565b614431838361443a565b5b905092915050565b600082600052816020526040600020905092915050565b82805461445d90615194565b90600052602060002090601f01602090048101928261447f57600085556144c6565b82601f1061449857805160ff19168380011785556144c6565b828001600101855582156144c6579182015b828111156144c55782518255916020019190600101906144aa565b5b5090506144d391906144d7565b5090565b5b808211156144f05760008160009055506001016144d8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61453d81614508565b811461454857600080fd5b50565b60008135905061455a81614534565b92915050565b600060208284031215614576576145756144fe565b5b60006145848482850161454b565b91505092915050565b60008115159050919050565b6145a28161458d565b82525050565b60006020820190506145bd6000830184614599565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145ee826145c3565b9050919050565b6145fe816145e3565b811461460957600080fd5b50565b60008135905061461b816145f5565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61464281614621565b811461464d57600080fd5b50565b60008135905061465f81614639565b92915050565b6000806040838503121561467c5761467b6144fe565b5b600061468a8582860161460c565b925050602061469b85828601614650565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156146df5780820151818401526020810190506146c4565b838111156146ee576000848401525b50505050565b6000601f19601f8301169050919050565b6000614710826146a5565b61471a81856146b0565b935061472a8185602086016146c1565b614733816146f4565b840191505092915050565b600060208201905081810360008301526147588184614705565b905092915050565b6000819050919050565b61477381614760565b811461477e57600080fd5b50565b6000813590506147908161476a565b92915050565b6000602082840312156147ac576147ab6144fe565b5b60006147ba84828501614781565b91505092915050565b6147cc816145e3565b82525050565b60006020820190506147e760008301846147c3565b92915050565b6147f681614760565b82525050565b600060208201905061481160008301846147ed565b92915050565b6000806040838503121561482e5761482d6144fe565b5b600061483c8582860161460c565b925050602061484d85828601614781565b9150509250929050565b60006fffffffffffffffffffffffffffffffff82169050919050565b61487c81614857565b82525050565b600060ff82169050919050565b61489881614882565b82525050565b60006040820190506148b36000830185614873565b6148c0602083018461488f565b9392505050565b6000806000606084860312156148e0576148df6144fe565b5b60006148ee8682870161460c565b93505060206148ff8682870161460c565b925050604061491086828701614781565b9150509250925092565b60008060408385031215614931576149306144fe565b5b600061493f85828601614781565b925050602061495085828601614781565b9150509250929050565b600060408201905061496f60008301856147c3565b61497c60208301846147ed565b9392505050565b6000819050919050565b61499681614983565b82525050565b60006020820190506149b1600083018461498d565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126149dc576149db6149b7565b5b8235905067ffffffffffffffff8111156149f9576149f86149bc565b5b602083019150836020820283011115614a1557614a146149c1565b5b9250929050565b614a2581614882565b8114614a3057600080fd5b50565b600081359050614a4281614a1c565b92915050565b600080600060408486031215614a6157614a606144fe565b5b600084013567ffffffffffffffff811115614a7f57614a7e614503565b5b614a8b868287016149c6565b93509350506020614a9e86828701614a33565b9150509250925092565b614ab181614983565b8114614abc57600080fd5b50565b600081359050614ace81614aa8565b92915050565b600060208284031215614aea57614ae96144fe565b5b6000614af884828501614abf565b91505092915050565b600060208284031215614b1757614b166144fe565b5b6000614b258482850161460c565b91505092915050565b6000602082019050614b43600083018461488f565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614b86826146f4565b810181811067ffffffffffffffff82111715614ba557614ba4614b4e565b5b80604052505050565b6000614bb86144f4565b9050614bc48282614b7d565b919050565b600067ffffffffffffffff821115614be457614be3614b4e565b5b614bed826146f4565b9050602081019050919050565b82818337600083830152505050565b6000614c1c614c1784614bc9565b614bae565b905082815260208101848484011115614c3857614c37614b49565b5b614c43848285614bfa565b509392505050565b600082601f830112614c6057614c5f6149b7565b5b8135614c70848260208601614c09565b91505092915050565b600060208284031215614c8f57614c8e6144fe565b5b600082013567ffffffffffffffff811115614cad57614cac614503565b5b614cb984828501614c4b565b91505092915050565b600067ffffffffffffffff821115614cdd57614cdc614b4e565b5b602082029050602081019050919050565b6000614d01614cfc84614cc2565b614bae565b90508083825260208201905060208402830185811115614d2457614d236149c1565b5b835b81811015614d4d5780614d398882614abf565b845260208401935050602081019050614d26565b5050509392505050565b600082601f830112614d6c57614d6b6149b7565b5b8135614d7c848260208601614cee565b91505092915050565b60008060408385031215614d9c57614d9b6144fe565b5b6000614daa8582860161460c565b925050602083013567ffffffffffffffff811115614dcb57614dca614503565b5b614dd785828601614d57565b9150509250929050565b60008060408385031215614df857614df76144fe565b5b6000614e0685828601614781565b9250506020614e1785828601614a33565b9150509250929050565b600060208284031215614e3757614e366144fe565b5b600082013567ffffffffffffffff811115614e5557614e54614503565b5b614e6184828501614d57565b91505092915050565b600061ffff82169050919050565b614e8181614e6a565b82525050565b6000602082019050614e9c6000830184614e78565b92915050565b600060208284031215614eb857614eb76144fe565b5b6000614ec684828501614a33565b91505092915050565b614ed88161458d565b8114614ee357600080fd5b50565b600081359050614ef581614ecf565b92915050565b60008060408385031215614f1257614f116144fe565b5b6000614f208582860161460c565b9250506020614f3185828601614ee6565b9150509250929050565b600067ffffffffffffffff821115614f5657614f55614b4e565b5b614f5f826146f4565b9050602081019050919050565b6000614f7f614f7a84614f3b565b614bae565b905082815260208101848484011115614f9b57614f9a614b49565b5b614fa6848285614bfa565b509392505050565b600082601f830112614fc357614fc26149b7565b5b8135614fd3848260208601614f6c565b91505092915050565b60008060008060808587031215614ff657614ff56144fe565b5b60006150048782880161460c565b94505060206150158782880161460c565b935050604061502687828801614781565b925050606085013567ffffffffffffffff81111561504757615046614503565b5b61505387828801614fae565b91505092959194509250565b60008060408385031215615076576150756144fe565b5b600061508485828601614781565b92505060206150958582860161460c565b9150509250929050565b600080604083850312156150b6576150b56144fe565b5b60006150c485828601614ee6565b925050602083013567ffffffffffffffff8111156150e5576150e4614503565b5b6150f185828601614c4b565b9150509250929050565b61510481614621565b82525050565b600060208201905061511f60008301846150fb565b92915050565b6000806040838503121561513c5761513b6144fe565b5b600061514a8582860161460c565b925050602061515b8582860161460c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806151ac57607f821691505b602082108114156151c0576151bf615165565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061520082614760565b915061520b83614760565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615244576152436151c6565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061528982614760565b915061529483614760565b9250826152a4576152a361524f565b5b828204905092915050565b60006152ba82614e6a565b91506152c583614e6a565b92508261ffff038211156152dc576152db6151c6565b5b828201905092915050565b7f496e76616c69642041757261204c6576656c2e00000000000000000000000000600082015250565b600061531d6013836146b0565b9150615328826152e7565b602082019050919050565b6000602082019050818103600083015261534c81615310565b9050919050565b600061535e82614760565b915061536983614760565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561539e5761539d6151c6565b5b828201905092915050565b60006153b482614760565b91506153bf83614760565b9250828210156153d2576153d16151c6565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615413601f836146b0565b915061541e826153dd565b602082019050919050565b6000602082019050818103600083015261544281615406565b9050919050565b7f436f6e74726163742072756e73206f7574206f662066756e64732e0000000000600082015250565b600061547f601b836146b0565b915061548a82615449565b602082019050919050565b600060208201905081810360008301526154ae81615472565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546154e281615194565b6154ec81866154b5565b9450600182166000811461550757600181146155185761554b565b60ff1983168652818601935061554b565b615521856154c0565b60005b8381101561554357815481890152600182019150602081019050615524565b838801955050505b50505092915050565b600061555f826146a5565b61556981856154b5565b93506155798185602086016146c1565b80840191505092915050565b7f2d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006155bb6001836154b5565b91506155c682615585565b600182019050919050565b60006155dd82866154d5565b91506155e98285615554565b91506155f4826155ae565b91506156008284615554565b9150819050949350505050565b7f416c726561647920696e766f6b65642e00000000000000000000000000000000600082015250565b60006156436010836146b0565b915061564e8261560d565b602082019050919050565b6000602082019050818103600083015261567281615636565b9050919050565b600081905092915050565b50565b6000615694600083615679565b915061569f82615684565b600082019050919050565b60006156b582615687565b9150819050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061571b6026836146b0565b9150615726826156bf565b604082019050919050565b6000602082019050818103600083015261574a8161570e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006157876020836146b0565b915061579282615751565b602082019050919050565b600060208201905081810360008301526157b68161577a565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615819602a836146b0565b9150615824826157bd565b604082019050919050565b600060208201905081810360008301526158488161580c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006158856019836146b0565b91506158908261584f565b602082019050919050565b600060208201905081810360008301526158b481615878565b9050919050565b60006040820190506158d060008301856147ed565b6158dd60208301846147ed565b9392505050565b60008160601b9050919050565b60006158fc826158e4565b9050919050565b600061590e826158f1565b9050919050565b615926615921826145e3565b615903565b82525050565b60006159388284615915565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061596e82615947565b6159788185615952565b93506159888185602086016146c1565b615991816146f4565b840191505092915050565b60006080820190506159b160008301876147c3565b6159be60208301866147c3565b6159cb60408301856147ed565b81810360608301526159dd8184615963565b905095945050505050565b6000815190506159f781614534565b92915050565b600060208284031215615a1357615a126144fe565b5b6000615a21848285016159e8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000615a9382614760565b91506000821415615aa757615aa66151c6565b5b600182039050919050565b6000615abd82614760565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615af057615aef6151c6565b5b600182019050919050565b6000615b0682614760565b9150615b1183614760565b925082615b2157615b2061524f565b5b82820690509291505056fea26469706673582212202d43e2b683ec987b2720d99944866a2d35a51a5fd437f610ef025cfce1a6fbf264736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d596854387646707a3462713651436152447a6569367734583841627754726275747678504a3348657855654e00000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061041b5760003560e01c8063950acf981161021e578063c55f6d9a11610123578063ea18dc5c116100ab578063f5998ed81161007a578063f5998ed814610fa6578063f7260d3e14610fd1578063f7fc32fc14610ffc578063f89d2e4d14611025578063fca2c9b3146110505761041b565b8063ea18dc5c14610f10578063efb4031d14610f3b578063f2fde38b14610f52578063f33b7e9214610f7b5761041b565b8063d7b23268116100f2578063d7b2326814610e04578063df16f77814610e2d578063e64c1fb414610e6b578063e86dea4a14610ea8578063e985e9c514610ed35761041b565b8063c55f6d9a14610d5c578063c87b56dd14610d87578063cd43398814610dc4578063d627349f14610ded5761041b565b8063b1bb8edb116101a6578063b9765a1f11610175578063b9765a1f14610c76578063bfa457bc14610c8d578063c0fb03d214610cb6578063c0feb25814610cf4578063c4267c8d14610d315761041b565b8063b1bb8edb14610bd9578063b31fddab14610c04578063b812937114610c2f578063b88d4fde14610c5a5761041b565b80639b2b0d3e116101ed5780639b2b0d3e14610b135780639d1b464a14610b3e578063a22cb46514610b69578063a76a958714610b92578063abeba90114610bbd5761041b565b8063950acf9814610a6757806395d89b4114610a9257806397f65c0814610abd578063996e52b514610ae85761041b565b80634bc959ac116103245780636c0360eb116102ac57806386c4c0f41161027b57806386c4c0f4146109a357806388d15d50146109cc57806389b79014146109f55780638a81ac0a14610a205780638da5cb5b14610a3c5761041b565b80636c0360eb146108f957806370a0823114610924578063715018a61461096157806378615c32146109785761041b565b80635070b833116102f35780635070b83314610800578063507862d11461082b57806355f804b314610856578063587ef6711461087f5780636352211e146108bc5761041b565b80634bc959ac146107325780634bfbfc611461075b5780634d5d8824146107865780634f0a4ba9146107c35761041b565b8063209b26c3116103a75780632b905bf6116103765780632b905bf6146106795780632dcf6102146106a457806336248ae2146106cf57806338c8a988146106fa57806342842e0e146107165761041b565b8063209b26c3146105b6578063214a0a5f146105e157806323b872dd1461061f5780632a55205a1461063b5761041b565b8063088ba4c9116103ee578063088ba4c9146104ee578063095ea7b31461051957806311e033b51461053557806318160ddd14610560578063204e656b1461058b5761041b565b806301ffc9a71461042057806304634d8d1461045d57806306fdde0314610486578063081812fc146104b1575b600080fd5b34801561042c57600080fd5b5061044760048036038101906104429190614560565b61107b565b60405161045491906145a8565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614665565b6110f5565b005b34801561049257600080fd5b5061049b61117d565b6040516104a8919061473e565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d39190614796565b61120f565b6040516104e591906147d2565b60405180910390f35b3480156104fa57600080fd5b5061050361128e565b60405161051091906147fc565b60405180910390f35b610533600480360381019061052e9190614817565b611294565b005b34801561054157600080fd5b5061054a6113d8565b60405161055791906147fc565b60405180910390f35b34801561056c57600080fd5b506105756113de565b60405161058291906147fc565b60405180910390f35b34801561059757600080fd5b506105a06113f5565b6040516105ad91906145a8565b60405180910390f35b3480156105c257600080fd5b506105cb611408565b6040516105d891906147fc565b60405180910390f35b3480156105ed57600080fd5b5061060860048036038101906106039190614817565b61140e565b60405161061692919061489e565b60405180910390f35b610639600480360381019061063491906148c7565b611474565b005b34801561064757600080fd5b50610662600480360381019061065d919061491a565b611799565b60405161067092919061495a565b60405180910390f35b34801561068557600080fd5b5061068e611984565b60405161069b91906147d2565b60405180910390f35b3480156106b057600080fd5b506106b96119aa565b6040516106c6919061499c565b60405180910390f35b3480156106db57600080fd5b506106e46119b0565b6040516106f1919061499c565b60405180910390f35b610714600480360381019061070f9190614a48565b6119b6565b005b610730600480360381019061072b91906148c7565b611bbc565b005b34801561073e57600080fd5b5061075960048036038101906107549190614ad4565b611bdc565b005b34801561076757600080fd5b50610770611bee565b60405161077d91906147fc565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a89190614b01565b611bf4565b6040516107ba91906145a8565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e59190614796565b611c14565b6040516107f79190614b2e565b60405180910390f35b34801561080c57600080fd5b50610815611c34565b604051610822919061499c565b60405180910390f35b34801561083757600080fd5b50610840611c3a565b60405161084d919061473e565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190614c79565b611cc8565b005b34801561088b57600080fd5b506108a660048036038101906108a19190614d85565b611cea565b6040516108b391906145a8565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190614796565b611d09565b6040516108f091906147d2565b60405180910390f35b34801561090557600080fd5b5061090e611d1b565b60405161091b919061473e565b60405180910390f35b34801561093057600080fd5b5061094b60048036038101906109469190614b01565b611da9565b60405161095891906147fc565b60405180910390f35b34801561096d57600080fd5b50610976611e62565b005b34801561098457600080fd5b5061098d611e76565b60405161099a91906147fc565b60405180910390f35b3480156109af57600080fd5b506109ca60048036038101906109c59190614de1565b611e7c565b005b3480156109d857600080fd5b506109f360048036038101906109ee9190614e21565b611f6a565b005b348015610a0157600080fd5b50610a0a612121565b604051610a179190614e87565b60405180910390f35b610a3a6004803603810190610a359190614ea2565b612135565b005b348015610a4857600080fd5b50610a516122b7565b604051610a5e91906147d2565b60405180910390f35b348015610a7357600080fd5b50610a7c6122e1565b604051610a8991906147fc565b60405180910390f35b348015610a9e57600080fd5b50610aa76122e7565b604051610ab4919061473e565b60405180910390f35b348015610ac957600080fd5b50610ad2612379565b604051610adf91906147fc565b60405180910390f35b348015610af457600080fd5b50610afd61237f565b604051610b0a91906147fc565b60405180910390f35b348015610b1f57600080fd5b50610b28612385565b604051610b359190614e87565b60405180910390f35b348015610b4a57600080fd5b50610b53612399565b604051610b6091906147fc565b60405180910390f35b348015610b7557600080fd5b50610b906004803603810190610b8b9190614efb565b61245c565b005b348015610b9e57600080fd5b50610ba7612567565b604051610bb491906145a8565b60405180910390f35b610bd76004803603810190610bd29190614a48565b61257a565b005b348015610be557600080fd5b50610bee612780565b604051610bfb9190614e87565b60405180910390f35b348015610c1057600080fd5b50610c19612794565b604051610c2691906147fc565b60405180910390f35b348015610c3b57600080fd5b50610c4461279a565b604051610c5191906147fc565b60405180910390f35b610c746004803603810190610c6f9190614fdc565b6127a0565b005b348015610c8257600080fd5b50610c8b612813565b005b348015610c9957600080fd5b50610cb46004803603810190610caf919061505f565b61298f565b005b348015610cc257600080fd5b50610cdd6004803603810190610cd89190614817565b612a30565b604051610ceb92919061489e565b60405180910390f35b348015610d0057600080fd5b50610d1b6004803603810190610d169190614d85565b612a96565b604051610d2891906145a8565b60405180910390f35b348015610d3d57600080fd5b50610d46612ab5565b604051610d5391906145a8565b60405180910390f35b348015610d6857600080fd5b50610d71612ac8565b604051610d7e91906147fc565b60405180910390f35b348015610d9357600080fd5b50610dae6004803603810190610da99190614796565b612ace565b604051610dbb919061473e565b60405180910390f35b348015610dd057600080fd5b50610deb6004803603810190610de69190614ad4565b612c49565b005b348015610df957600080fd5b50610e02612c5b565b005b348015610e1057600080fd5b50610e2b6004803603810190610e26919061509f565b612ed8565b005b348015610e3957600080fd5b50610e546004803603810190610e4f9190614817565b612f15565b604051610e6292919061489e565b60405180910390f35b348015610e7757600080fd5b50610e926004803603810190610e8d9190614d85565b612f7b565b604051610e9f91906145a8565b60405180910390f35b348015610eb457600080fd5b50610ebd612f9a565b604051610eca919061510a565b60405180910390f35b348015610edf57600080fd5b50610efa6004803603810190610ef59190615125565b612fb8565b604051610f0791906145a8565b60405180910390f35b348015610f1c57600080fd5b50610f2561304c565b604051610f3291906147fc565b60405180910390f35b348015610f4757600080fd5b50610f50613052565b005b348015610f5e57600080fd5b50610f796004803603810190610f749190614b01565b6131c7565b005b348015610f8757600080fd5b50610f9061324b565b604051610f9d919061473e565b60405180910390f35b348015610fb257600080fd5b50610fbb6132d9565b604051610fc891906147fc565b60405180910390f35b348015610fdd57600080fd5b50610fe66132df565b604051610ff391906147d2565b60405180910390f35b34801561100857600080fd5b50611023600480360381019061101e9190614ad4565b613305565b005b34801561103157600080fd5b5061103a613317565b60405161104791906147fc565b60405180910390f35b34801561105c57600080fd5b5061106561331d565b60405161107291906147fc565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806110ee57506110ed82613323565b5b9050919050565b6110fd61339d565b81602960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080602960146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550611179828261341b565b5050565b60606002805461118c90615194565b80601f01602080910402602001604051908101604052809291908181526020018280546111b890615194565b80156112055780601f106111da57610100808354040283529160200191611205565b820191906000526020600020905b8154815290600101906020018083116111e857829003601f168201915b5050505050905090565b600061121a826135b1565b611250576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b601c5481565b600061129f82611d09565b90508073ffffffffffffffffffffffffffffffffffffffff166112c0613610565b73ffffffffffffffffffffffffffffffffffffffff1614611323576112ec816112e7613610565b612fb8565b611322576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601b5481565b60006113e8613618565b6001546000540303905090565b602060069054906101000a900460ff1681565b601e5481565b6023602052816000526040600020818154811061142a57600080fd5b90600052602060002001600091509150508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a900460ff16905082565b600061147f8261361d565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114e6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806114f2846136eb565b915091506115088187611503613610565b613712565b6115545761151d86611518613610565b612fb8565b611553576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156115bb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115c88686866001613756565b80156115d357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506116a18561167d88888761375c565b7c020000000000000000000000000000000000000000000000000000000017613784565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611729576000600185019050600060046000838152602001908152602001600020541415611727576000548114611726578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461179186868660016137af565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16141561192f5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006119396137b5565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661196591906151f5565b61196f919061527e565b90508160000151819350935050509250929050565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b600d5481565b828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050611a01816137bf565b611a37576040517fb8e309a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a47333484601b5460226137dd565b611a7d576040517fa6df31da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280346fffffffffffffffffffffffffffffffff1681526020018460ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a81548160ff021916908360ff16021790555050508160ff16602060028282829054906101000a900461ffff16611b8f91906152af565b92506101000a81548161ffff021916908361ffff160217905550611bb6338360ff16613ad8565b50505050565b611bd7838383604051806020016040528060008152506127a0565b505050565b611be461339d565b80600b8190555050565b601a5481565b60246020528060005260406000206000915054906101000a900460ff1681565b60286020528060005260406000206000915054906101000a900460ff1681565b600b5481565b60268054611c4790615194565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7390615194565b8015611cc05780601f10611c9557610100808354040283529160200191611cc0565b820191906000526020600020905b815481529060010190602001808311611ca357829003601f168201915b505050505081565b611cd061339d565b8060259080519060200190611ce6929190614451565b5050565b6000611d0182611cf985613af6565b600d54613b26565b905092915050565b6000611d148261361d565b9050919050565b60258054611d2890615194565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5490615194565b8015611da15780601f10611d7657610100808354040283529160200191611da1565b820191906000526020600020905b815481529060010190602001808311611d8457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e11576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611e6a61339d565b611e746000613b3c565b565b60145481565b611e8461339d565b611e8d826135b1565b611ec3576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060ff1660061180611efa57506028600083815260200190815260200160002060009054906101000a900460ff1660ff168160ff16105b15611f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3190615333565b60405180910390fd5b806028600084815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050565b80611f7481613c02565b611faa576040517fb8e309a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601f541415611fe7576040517f410397d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561206b576040517f52f7657b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60185460016120786113de565b6120829190615353565b11156120ba576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001602460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061211d336001613ad8565b5050565b602060009054906101000a900461ffff1681565b612145333483601a5460216137dd565b61217b576040517fa6df31da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280346fffffffffffffffffffffffffffffffff1681526020018360ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a81548160ff021916908360ff16021790555050508060ff16602060008282829054906101000a900461ffff1661228d91906152af565b92506101000a81548161ffff021916908361ffff1602179055506122b4338260ff16613ad8565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60185481565b6060600380546122f690615194565b80601f016020809104026020016040519081016040528092919081815260200182805461232290615194565b801561236f5780601f106123445761010080835404028352916020019161236f565b820191906000526020600020905b81548152906001019060200180831161235257829003601f168201915b5050505050905090565b60115481565b60135481565b602060049054906101000a900461ffff1681565b60006014544210156123d7576040517f5cf0a99b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601f5411156123ec57601f549050612459565b6000601454426123fc91906153a9565b905060006013548261240e919061527e565b905060006012548261242091906151f5565b905060115460105461243291906153a9565b8110612445576011549350505050612459565b8060105461245391906153a9565b93505050505b90565b8060076000612469613610565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612516613610565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161255b91906145a8565b60405180910390a35050565b602760009054906101000a900460ff1681565b828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506125c581613c20565b6125fb576040517fb8e309a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61260b333484601c5460236137dd565b612641576040517fa6df31da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280346fffffffffffffffffffffffffffffffff1681526020018460ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a81548160ff021916908360ff16021790555050508160ff16602060048282829054906101000a900461ffff1661275391906152af565b92506101000a81548161ffff021916908361ffff16021790555061277a338360ff16613ad8565b50505050565b602060029054906101000a900461ffff1681565b601d5481565b60125481565b6127ab848484611474565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461280d576127d684848484613c3e565b61280c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6002600f541415612859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285090615429565b60405180910390fd5b6002600f819055506000601f54141561289e576040517f410397d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128b03360216000601f54613d9e565b905060006128c5336022601d54601f54613d9e565b905060006128da336023601e54601f54613d9e565b905060008183856128eb9190615353565b6128f59190615353565b90504781111561293a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293190615495565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612980573d6000803e3d6000fd5b50505050506001600f81905550565b61299761339d565b601854826129a36113de565b6129ad9190615353565b11156129e5576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601f541415612a22576040517f410397d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a2c8183613ad8565b5050565b60226020528160005260406000208181548110612a4c57600080fd5b90600052602060002001600091509150508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a900460ff16905082565b6000612aad82612aa585613af6565b600c54613b26565b905092915050565b602060079054906101000a900460ff1681565b60195481565b6060612ad9826135b1565b612b0f576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006028600084815260200190815260200160002060009054906101000a900460ff169050602760009054906101000a900460ff1615612bb557600060258054612b5890615194565b905011612b745760405180602001604052806000815250612bad565b6025612b7f84613f5c565b612b8b8360ff16613f5c565b604051602001612b9d939291906155d1565b6040516020818303038152906040525b915050612c44565b60268054612bc290615194565b80601f0160208091040260200160405190810160405280929190818152602001828054612bee90615194565b8015612c3b5780601f10612c1057610100808354040283529160200191612c3b565b820191906000526020600020905b815481529060010190602001808311612c1e57829003601f168201915b50505050509150505b919050565b612c5161339d565b80600d8190555050565b612c6361339d565b6002600f541415612ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca090615429565b60405180910390fd5b6002600f81905550602060069054906101000a900460ff1615612d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf890615659565b60405180910390fd5b6000601f541415612d3e576040517f410397d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601f54601554612d5091906151f5565b9050600060146064601f54612d65919061527e565b612d6f91906151f5565b602060029054906101000a900461ffff1661ffff16612d8e91906151f5565b9050600060146064601f54612da3919061527e565b612dad91906151f5565b602060049054906101000a900461ffff1661ffff16612dcc91906151f5565b90506000818385612ddd91906153a9565b612de791906153a9565b90506001602060066101000a81548160ff0219169083151502179055506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051612e4c906156aa565b60006040518083038185875af1925050503d8060008114612e89576040519150601f19603f3d011682016040523d82523d6000602084013e612e8e565b606091505b5050905080612ec9576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050506001600f81905550565b612ee061339d565b81602760006101000a81548160ff0219169083151502179055508060269080519060200190612f10929190614451565b505050565b60216020528160005260406000208181548110612f3157600080fd5b90600052602060002001600091509150508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a900460ff16905082565b6000612f9282612f8a85613af6565b600b54613b26565b905092915050565b602960149054906101000a90046bffffffffffffffffffffffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60155481565b61305a61339d565b6002600f5414156130a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309790615429565b60405180910390fd5b6002600f819055506016546014546130b89190615353565b4210156130f1576040517fc8b9bc9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60004790506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161313e906156aa565b60006040518083038185875af1925050503d806000811461317b576040519150601f19603f3d011682016040523d82523d6000602084013e613180565b606091505b50509050806131bb576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50506001600f81905550565b6131cf61339d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561323f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323690615731565b60405180910390fd5b61324881613b3c565b50565b600e805461325890615194565b80601f016020809104026020016040519081016040528092919081815260200182805461328490615194565b80156132d15780601f106132a6576101008083540402835291602001916132d1565b820191906000526020600020905b8154815290600101906020018083116132b457829003601f168201915b505050505081565b601f5481565b602960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61330d61339d565b80600c8190555050565b60105481565b60165481565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133965750613395826140bd565b5b9050919050565b6133a5614127565b73ffffffffffffffffffffffffffffffffffffffff166133c36122b7565b73ffffffffffffffffffffffffffffffffffffffff1614613419576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134109061579d565b60405180910390fd5b565b6134236137b5565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115613481576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134789061582f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e89061589b565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000816135bc613618565b111580156135cb575060005482105b8015613609575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061362c613618565b116136b4576000548110156136b35760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156136b1575b60008114156136a757600460008360019003935083815260200190815260200160002054905061367c565b80925050506136e6565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861377386868461412f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b60006137d6826137ce33613af6565b600b54613b26565b9050919050565b600060145442101561381b576040517f5cf0a99b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018361382891906153a9565b8260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905011156138a2576040517f52f7657b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050111561396c57828260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501115613967576040517f52f7657b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6139aa565b828460ff1611156139a9576040517f52f7657b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b60006139b4612399565b9050808560ff166139c591906151f5565b861015613a195785818660ff166139dc91906151f5565b6040517fffdfe2ea000000000000000000000000000000000000000000000000000000008152600401613a109291906158bb565b60405180910390fd5b6015548560ff16613a286113de565b613a329190615353565b1115613a6a576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6015548560ff16613a796113de565b613a839190615353565b1415613aca5780601f819055507f018c9f23e064a414ec62832f1169a4b8f09c51cf4bd29fa3c9506cf671c86eaf601f54604051613ac191906147fc565b60405180910390a15b600191505095945050505050565b613af2828260405180602001604052806000815250614138565b5050565b600081604051602001613b09919061592c565b604051602081830303815290604052805190602001209050919050565b6000613b338483856141d5565b90509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000613c1982613c1133613af6565b600d54613b26565b9050919050565b6000613c3782613c2f33613af6565b600c54613b26565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c64613610565b8786866040518563ffffffff1660e01b8152600401613c86949392919061599c565b602060405180830381600087803b158015613ca057600080fd5b505af1925050508015613cd157506040513d601f19601f82011682018060405250810190613cce91906159fd565b60015b613d4b573d8060008114613d01576040519150601f19603f3d011682016040523d82523d6000602084013e613d06565b606091505b50600081511415613d43576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000808460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600080828054905090505b6000811115613f4e5760006064876064613e0691906153a9565b8786600186613e1591906153a9565b81548110613e2657613e25615a2a565b5b9060005260206000200160000160109054906101000a900460ff1660ff16613e4e91906151f5565b613e5891906151f5565b613e62919061527e565b905060008185600185613e7591906153a9565b81548110613e8657613e85615a2a565b5b9060005260206000200160000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16613ecc91906153a9565b905084805480613edf57613ede615a59565b5b60019003818190600052602060002001600080820160006101000a8154906fffffffffffffffffffffffffffffffff02191690556000820160106101000a81549060ff0219169055505090558084613f379190615353565b935050508080613f4690615a88565b915050613dec565b508092505050949350505050565b60606000821415613fa4576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506140b8565b600082905060005b60008214613fd6578080613fbf90615ab2565b915050600a82613fcf919061527e565b9150613fac565b60008167ffffffffffffffff811115613ff257613ff1614b4e565b5b6040519080825280601f01601f1916602001820160405280156140245781602001600182028036833780820191505090505b5090505b600085146140b15760018261403d91906153a9565b9150600a8561404c9190615afb565b60306140589190615353565b60f81b81838151811061406e5761406d615a2a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856140aa919061527e565b9450614028565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b61414283836141ec565b60008373ffffffffffffffffffffffffffffffffffffffff163b146141d057600080549050600083820390505b6141826000868380600101945086613c3e565b6141b8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061416f5781600054146141cd57600080fd5b50505b505050565b6000826141e285846143a9565b1490509392505050565b600080549050600082141561422d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61423a6000848385613756565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506142b1836142a2600086600061375c565b6142ab856143ff565b17613784565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461435257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050614317565b50600082141561438e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506143a460008483856137af565b505050565b60008082905060005b84518110156143f4576143df828683815181106143d2576143d1615a2a565b5b602002602001015161440f565b915080806143ec90615ab2565b9150506143b2565b508091505092915050565b60006001821460e11b9050919050565b600081831061442757614422828461443a565b614432565b614431838361443a565b5b905092915050565b600082600052816020526040600020905092915050565b82805461445d90615194565b90600052602060002090601f01602090048101928261447f57600085556144c6565b82601f1061449857805160ff19168380011785556144c6565b828001600101855582156144c6579182015b828111156144c55782518255916020019190600101906144aa565b5b5090506144d391906144d7565b5090565b5b808211156144f05760008160009055506001016144d8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61453d81614508565b811461454857600080fd5b50565b60008135905061455a81614534565b92915050565b600060208284031215614576576145756144fe565b5b60006145848482850161454b565b91505092915050565b60008115159050919050565b6145a28161458d565b82525050565b60006020820190506145bd6000830184614599565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145ee826145c3565b9050919050565b6145fe816145e3565b811461460957600080fd5b50565b60008135905061461b816145f5565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61464281614621565b811461464d57600080fd5b50565b60008135905061465f81614639565b92915050565b6000806040838503121561467c5761467b6144fe565b5b600061468a8582860161460c565b925050602061469b85828601614650565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156146df5780820151818401526020810190506146c4565b838111156146ee576000848401525b50505050565b6000601f19601f8301169050919050565b6000614710826146a5565b61471a81856146b0565b935061472a8185602086016146c1565b614733816146f4565b840191505092915050565b600060208201905081810360008301526147588184614705565b905092915050565b6000819050919050565b61477381614760565b811461477e57600080fd5b50565b6000813590506147908161476a565b92915050565b6000602082840312156147ac576147ab6144fe565b5b60006147ba84828501614781565b91505092915050565b6147cc816145e3565b82525050565b60006020820190506147e760008301846147c3565b92915050565b6147f681614760565b82525050565b600060208201905061481160008301846147ed565b92915050565b6000806040838503121561482e5761482d6144fe565b5b600061483c8582860161460c565b925050602061484d85828601614781565b9150509250929050565b60006fffffffffffffffffffffffffffffffff82169050919050565b61487c81614857565b82525050565b600060ff82169050919050565b61489881614882565b82525050565b60006040820190506148b36000830185614873565b6148c0602083018461488f565b9392505050565b6000806000606084860312156148e0576148df6144fe565b5b60006148ee8682870161460c565b93505060206148ff8682870161460c565b925050604061491086828701614781565b9150509250925092565b60008060408385031215614931576149306144fe565b5b600061493f85828601614781565b925050602061495085828601614781565b9150509250929050565b600060408201905061496f60008301856147c3565b61497c60208301846147ed565b9392505050565b6000819050919050565b61499681614983565b82525050565b60006020820190506149b1600083018461498d565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126149dc576149db6149b7565b5b8235905067ffffffffffffffff8111156149f9576149f86149bc565b5b602083019150836020820283011115614a1557614a146149c1565b5b9250929050565b614a2581614882565b8114614a3057600080fd5b50565b600081359050614a4281614a1c565b92915050565b600080600060408486031215614a6157614a606144fe565b5b600084013567ffffffffffffffff811115614a7f57614a7e614503565b5b614a8b868287016149c6565b93509350506020614a9e86828701614a33565b9150509250925092565b614ab181614983565b8114614abc57600080fd5b50565b600081359050614ace81614aa8565b92915050565b600060208284031215614aea57614ae96144fe565b5b6000614af884828501614abf565b91505092915050565b600060208284031215614b1757614b166144fe565b5b6000614b258482850161460c565b91505092915050565b6000602082019050614b43600083018461488f565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614b86826146f4565b810181811067ffffffffffffffff82111715614ba557614ba4614b4e565b5b80604052505050565b6000614bb86144f4565b9050614bc48282614b7d565b919050565b600067ffffffffffffffff821115614be457614be3614b4e565b5b614bed826146f4565b9050602081019050919050565b82818337600083830152505050565b6000614c1c614c1784614bc9565b614bae565b905082815260208101848484011115614c3857614c37614b49565b5b614c43848285614bfa565b509392505050565b600082601f830112614c6057614c5f6149b7565b5b8135614c70848260208601614c09565b91505092915050565b600060208284031215614c8f57614c8e6144fe565b5b600082013567ffffffffffffffff811115614cad57614cac614503565b5b614cb984828501614c4b565b91505092915050565b600067ffffffffffffffff821115614cdd57614cdc614b4e565b5b602082029050602081019050919050565b6000614d01614cfc84614cc2565b614bae565b90508083825260208201905060208402830185811115614d2457614d236149c1565b5b835b81811015614d4d5780614d398882614abf565b845260208401935050602081019050614d26565b5050509392505050565b600082601f830112614d6c57614d6b6149b7565b5b8135614d7c848260208601614cee565b91505092915050565b60008060408385031215614d9c57614d9b6144fe565b5b6000614daa8582860161460c565b925050602083013567ffffffffffffffff811115614dcb57614dca614503565b5b614dd785828601614d57565b9150509250929050565b60008060408385031215614df857614df76144fe565b5b6000614e0685828601614781565b9250506020614e1785828601614a33565b9150509250929050565b600060208284031215614e3757614e366144fe565b5b600082013567ffffffffffffffff811115614e5557614e54614503565b5b614e6184828501614d57565b91505092915050565b600061ffff82169050919050565b614e8181614e6a565b82525050565b6000602082019050614e9c6000830184614e78565b92915050565b600060208284031215614eb857614eb76144fe565b5b6000614ec684828501614a33565b91505092915050565b614ed88161458d565b8114614ee357600080fd5b50565b600081359050614ef581614ecf565b92915050565b60008060408385031215614f1257614f116144fe565b5b6000614f208582860161460c565b9250506020614f3185828601614ee6565b9150509250929050565b600067ffffffffffffffff821115614f5657614f55614b4e565b5b614f5f826146f4565b9050602081019050919050565b6000614f7f614f7a84614f3b565b614bae565b905082815260208101848484011115614f9b57614f9a614b49565b5b614fa6848285614bfa565b509392505050565b600082601f830112614fc357614fc26149b7565b5b8135614fd3848260208601614f6c565b91505092915050565b60008060008060808587031215614ff657614ff56144fe565b5b60006150048782880161460c565b94505060206150158782880161460c565b935050604061502687828801614781565b925050606085013567ffffffffffffffff81111561504757615046614503565b5b61505387828801614fae565b91505092959194509250565b60008060408385031215615076576150756144fe565b5b600061508485828601614781565b92505060206150958582860161460c565b9150509250929050565b600080604083850312156150b6576150b56144fe565b5b60006150c485828601614ee6565b925050602083013567ffffffffffffffff8111156150e5576150e4614503565b5b6150f185828601614c4b565b9150509250929050565b61510481614621565b82525050565b600060208201905061511f60008301846150fb565b92915050565b6000806040838503121561513c5761513b6144fe565b5b600061514a8582860161460c565b925050602061515b8582860161460c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806151ac57607f821691505b602082108114156151c0576151bf615165565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061520082614760565b915061520b83614760565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615244576152436151c6565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061528982614760565b915061529483614760565b9250826152a4576152a361524f565b5b828204905092915050565b60006152ba82614e6a565b91506152c583614e6a565b92508261ffff038211156152dc576152db6151c6565b5b828201905092915050565b7f496e76616c69642041757261204c6576656c2e00000000000000000000000000600082015250565b600061531d6013836146b0565b9150615328826152e7565b602082019050919050565b6000602082019050818103600083015261534c81615310565b9050919050565b600061535e82614760565b915061536983614760565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561539e5761539d6151c6565b5b828201905092915050565b60006153b482614760565b91506153bf83614760565b9250828210156153d2576153d16151c6565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615413601f836146b0565b915061541e826153dd565b602082019050919050565b6000602082019050818103600083015261544281615406565b9050919050565b7f436f6e74726163742072756e73206f7574206f662066756e64732e0000000000600082015250565b600061547f601b836146b0565b915061548a82615449565b602082019050919050565b600060208201905081810360008301526154ae81615472565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546154e281615194565b6154ec81866154b5565b9450600182166000811461550757600181146155185761554b565b60ff1983168652818601935061554b565b615521856154c0565b60005b8381101561554357815481890152600182019150602081019050615524565b838801955050505b50505092915050565b600061555f826146a5565b61556981856154b5565b93506155798185602086016146c1565b80840191505092915050565b7f2d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006155bb6001836154b5565b91506155c682615585565b600182019050919050565b60006155dd82866154d5565b91506155e98285615554565b91506155f4826155ae565b91506156008284615554565b9150819050949350505050565b7f416c726561647920696e766f6b65642e00000000000000000000000000000000600082015250565b60006156436010836146b0565b915061564e8261560d565b602082019050919050565b6000602082019050818103600083015261567281615636565b9050919050565b600081905092915050565b50565b6000615694600083615679565b915061569f82615684565b600082019050919050565b60006156b582615687565b9150819050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061571b6026836146b0565b9150615726826156bf565b604082019050919050565b6000602082019050818103600083015261574a8161570e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006157876020836146b0565b915061579282615751565b602082019050919050565b600060208201905081810360008301526157b68161577a565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615819602a836146b0565b9150615824826157bd565b604082019050919050565b600060208201905081810360008301526158488161580c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006158856019836146b0565b91506158908261584f565b602082019050919050565b600060208201905081810360008301526158b481615878565b9050919050565b60006040820190506158d060008301856147ed565b6158dd60208301846147ed565b9392505050565b60008160601b9050919050565b60006158fc826158e4565b9050919050565b600061590e826158f1565b9050919050565b615926615921826145e3565b615903565b82525050565b60006159388284615915565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061596e82615947565b6159788185615952565b93506159888185602086016146c1565b615991816146f4565b840191505092915050565b60006080820190506159b160008301876147c3565b6159be60208301866147c3565b6159cb60408301856147ed565b81810360608301526159dd8184615963565b905095945050505050565b6000815190506159f781614534565b92915050565b600060208284031215615a1357615a126144fe565b5b6000615a21848285016159e8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000615a9382614760565b91506000821415615aa757615aa66151c6565b5b600182039050919050565b6000615abd82614760565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615af057615aef6151c6565b5b600182019050919050565b6000615b0682614760565b9150615b1183614760565b925082615b2157615b2061524f565b5b82820690509291505056fea26469706673582212202d43e2b683ec987b2720d99944866a2d35a51a5fd437f610ef025cfce1a6fbf264736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d596854387646707a3462713651436152447a6569367734583841627754726275747678504a3348657855654e00000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _unrevealedURI (string): https://gateway.pinata.cloud/ipfs/QmYhT8vFpz4bq6QCaRDzei6w4X8AbwTrbutvxPJ3HexUeN

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d596854387646707a3462713651436152447a65693677345838416277
Arg [4] : 54726275747678504a3348657855654e00000000000000000000000000000000


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

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