ETH Price: $2,988.60 (+4.45%)
Gas: 2 Gwei

Contract

0x86eEcaeFB5BdEedAb0484A8d27Db4D024166557E
 

Overview

ETH Balance

0.2 ETH

Eth Value

$597.72 (@ $2,988.60/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...201118032024-06-17 13:27:5918 days ago1718630879IN
0x86eEcaeF...24166557E
0 ETH0.000120084.83952406
Set Approval For...201117702024-06-17 13:21:2318 days ago1718630483IN
0x86eEcaeF...24166557E
0 ETH0.000147965.98327563
Set Approval For...195986982024-04-06 19:13:4790 days ago1712430827IN
0x86eEcaeF...24166557E
0 ETH0.0005323311.41351643
Set Approval For...182667502023-10-03 1:32:11277 days ago1696296731IN
0x86eEcaeF...24166557E
0 ETH0.000206298.34223459
Transfer From179073142023-08-13 17:05:11327 days ago1691946311IN
0x86eEcaeF...24166557E
0 ETH0.0011988820.79228237
Set Approval For...176773282023-07-12 11:57:23359 days ago1689163043IN
0x86eEcaeF...24166557E
0 ETH0.0007468116.0120098
Set Approval For...171603892023-04-30 17:35:59432 days ago1682876159IN
0x86eEcaeF...24166557E
0 ETH0.0024913153.41474801
Safe Transfer Fr...171427482023-04-28 6:08:35435 days ago1682662115IN
0x86eEcaeF...24166557E
0 ETH0.0024344636.75613316
Mint170978182023-04-21 22:48:35441 days ago1682117315IN
0x86eEcaeF...24166557E
0.04 ETH0.003461840.09033428
Safe Transfer Fr...168350282023-03-15 18:18:59478 days ago1678904339IN
0x86eEcaeF...24166557E
0 ETH0.0021298434.66932195
Safe Transfer Fr...168092702023-03-12 3:26:47482 days ago1678591607IN
0x86eEcaeF...24166557E
0 ETH0.0009082418.48543547
Safe Transfer Fr...168092652023-03-12 3:25:47482 days ago1678591547IN
0x86eEcaeF...24166557E
0 ETH0.0010029820.41377227
Safe Transfer Fr...167914022023-03-09 15:01:11484 days ago1678374071IN
0x86eEcaeF...24166557E
0 ETH0.0020724533.74174899
Safe Transfer Fr...166847092023-02-22 14:56:23499 days ago1677077783IN
0x86eEcaeF...24166557E
0 ETH0.0025098737.9015578
Mint166847012023-02-22 14:54:47499 days ago1677077687IN
0x86eEcaeF...24166557E
0.04 ETH0.0033354638.6273235
Mint166446742023-02-16 23:48:23505 days ago1676591303IN
0x86eEcaeF...24166557E
0.04 ETH0.0030850435.72719211
Set Mint Limit166201802023-02-13 13:37:11508 days ago1676295431IN
0x86eEcaeF...24166557E
0 ETH0.0007113824.50249173
Set Mint Price166184262023-02-13 7:44:35508 days ago1676274275IN
0x86eEcaeF...24166557E
0 ETH0.0004394315.12883424
Safe Transfer Fr...165318642023-02-01 5:24:47521 days ago1675229087IN
0x86eEcaeF...24166557E
0 ETH0.0004331915.11506284
Safe Transfer Fr...165318622023-02-01 5:24:23521 days ago1675229063IN
0x86eEcaeF...24166557E
0 ETH0.0007805715.84564552
Set Approval For...165137492023-01-29 16:44:47523 days ago1675010687IN
0x86eEcaeF...24166557E
0 ETH0.000425617.15233086
Safe Transfer Fr...165099682023-01-29 4:03:11524 days ago1674964991IN
0x86eEcaeF...24166557E
0 ETH0.0007528615.28693589
Set Approval For...165022222023-01-28 2:07:23525 days ago1674871643IN
0x86eEcaeF...24166557E
0 ETH0.0008668918.58655198
Set Approval For...164268372023-01-17 13:31:47535 days ago1673962307IN
0x86eEcaeF...24166557E
0 ETH0.0008541918.31425977
Set Approval For...164205972023-01-16 16:38:35536 days ago1673887115IN
0x86eEcaeF...24166557E
0 ETH0.0010805923.16842178
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To Value
153879702022-08-22 3:39:27684 days ago1661139567
0x86eEcaeF...24166557E
0.16 ETH
153560212022-08-17 2:22:04689 days ago1660702924
0x86eEcaeF...24166557E
1.14 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Astrobabies

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : astrobabymerkle.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
 
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "erc721a/contracts/ERC721A.sol";
 
contract Astrobabies is ERC721A, Ownable, ReentrancyGuard {
    using Address for address;
 
    enum State {
        Setup,
        PreSale,
        PublicSale,
        Finished
    }
 
    State private _state;
    uint256 private mintPrice = 0.02 ether;
    uint256 private maxSupply = 8880;
    uint256 private mintLimit = 10;
    string private baseTokenUri;
    bool private revealed = false;
    string private unRevealUri;
    bytes32 private root;
 
    constructor(
        string memory name_,
        string memory symbol_,
        string memory unRevealUri_,
        string memory baseTokenUri_,
        bytes32 _root
    ) ERC721A (
        name_,
        symbol_
    ) {
        _state = State.Setup;
        unRevealUri = unRevealUri_;
        baseTokenUri = baseTokenUri_;
        root = _root;
    }
 
    function setBaseTokenUri(string memory baseTokenUri_) external onlyOwner {
        baseTokenUri = baseTokenUri_;
    }

    function changeRoot(bytes32 root_) external onlyOwner {
        root = root_;
    }

    function setUnRevealUrl(string memory revealUri_) external onlyOwner {
        unRevealUri = revealUri_;
    }
    
    function revealCollection() external onlyOwner{
        revealed = true;
    }
 
    function tokenURI(uint256 tokenId_) public view override(ERC721A) returns (string memory ) {
        if (!_exists(tokenId_)) revert URIQueryForNonexistentToken(); 
        if (revealed == true) {
            return string(abi.encodePacked(baseTokenUri, Strings.toString(tokenId_), ".json"));
       } else {
           return unRevealUri;
       }
    }
 
    function withdrawAll(address recipient) external onlyOwner {
        uint256 balance = address(this).balance;
        payable(recipient).transfer(balance);
    }
 
    function setStateToSetup() external onlyOwner {
        _state = State.Setup;
    }
   
    function startPreSale() external onlyOwner {
        _state = State.PreSale;
    }
 
    function startPublicSale() external onlyOwner {
        _state = State.PublicSale;
    }
   
    function finishSale() external onlyOwner {
        _state = State.Finished;
    }
 
    function setMaxSupply(uint256 supply) external onlyOwner {
        maxSupply = supply;
    }
 
    function getMaxSupply() public view returns(uint256) {
        return maxSupply;
    }
 
    function setMintLimit(uint256 limit) external onlyOwner {
        mintLimit = limit;
    }
 
    function setMintPrice(uint256 price) external onlyOwner {
        mintPrice = price;
    }
 
    function getMintPrice() public view returns(uint256) {
        if (_state == State.PreSale) {
            return 0;
        }
        return mintPrice;
    }
 
    function getMintLimit() public view returns(uint256) {
        return mintLimit;
    }

    function isWhitelisted(bytes32[] memory proof, bytes32 leaf) internal view returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }
 
    function mint(
        uint256 amount
    ) external payable nonReentrant {
        require(_state != State.Setup, "Minting hasn't started yet.");
        require(_state != State.Finished, "Minting is closed.");
        require(
            !Address.isContract(msg.sender),
            "Contracts are not allowed to mint."
        );
        if (_state == State.PublicSale) {
        require(
            balanceOf(msg.sender) + amount <= mintLimit,
            "Mint limit exceeded."
        );
        require(
            _totalMinted() + amount <= maxSupply,
            "Amount should not exceed max supply."
        );
        require(
            amount * mintPrice <= msg.value,
            "Insuficient ETH to mint."
        );
        _safeMint(msg.sender, amount);
        } else {
            revert("Presale is Enabled.");
        }
    }

    function preSaleMint(
        uint256 amount,
        bytes32[] memory proof
    ) external payable nonReentrant {
        require(_state != State.Setup, "Minting hasn't started yet.");
        require(_state != State.Finished, "Minting is closed.");
        require(
            !Address.isContract(msg.sender),
            "Contracts are not allowed to mint."
        );
        if (_state == State.PreSale) {
            require(
                isWhitelisted(proof, keccak256(abi.encodePacked(msg.sender))),
                "You're not whitelisted."
            );
            require(
                balanceOf(msg.sender) + amount <= 3,
                "Mint limit exceeded for Presale."
            );
            require(
                _totalMinted() + amount <= 1110,
                "Max Presale supply reached."
            );
            _safeMint(msg.sender, amount);
        } else {
            revert("Presale Ended.");
        }
    }
 
    function airDrop(address[] memory recipients, uint256[] memory numberOfTokensPerWallet, uint256 numberOfTokensToAirdrop) public onlyOwner {
        require(
            recipients.length == numberOfTokensPerWallet.length,
            "Different array sizes"
        );
 
        require(
            _totalMinted() + numberOfTokensToAirdrop <= maxSupply,
            "Exceeded max supply"
        );
 
        for (uint256 i=0; i<recipients.length; i++) {
            address recipient = recipients[i];
            _safeMint(recipient, numberOfTokensPerWallet[i]);
        }
    }
 }

File 2 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// 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 {
    // Reference type for token approval.
    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 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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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]`.
        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 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 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 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.
            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`.
                )

                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 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // 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 3 of 11 : 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 4 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 5 of 11 : 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 6 of 11 : 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 7 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : 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 11 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 10 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// 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();

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

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

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

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

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

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

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

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

    // =============================================================
    //                        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 11 of 11 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"unRevealUri_","type":"string"},{"internalType":"string","name":"baseTokenUri_","type":"string"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","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":"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":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":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"numberOfTokensPerWallet","type":"uint256[]"},{"internalType":"uint256","name":"numberOfTokensToAirdrop","type":"uint256"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root_","type":"bytes32"}],"name":"changeRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finishSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenUri_","type":"string"}],"name":"setBaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStateToSetup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"revealUri_","type":"string"}],"name":"setUnRevealUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266470de4df820000600b556122b0600c55600a600d556000600f60006101000a81548160ff0219169083151502179055503480156200004257600080fd5b50604051620044cc380380620044cc833981810160405281019062000068919062000366565b848481600290805190602001906200008292919062000221565b5080600390805190602001906200009b92919062000221565b50620000ac6200014e60201b60201c565b6000819055505050620000d4620000c86200015360201b60201c565b6200015b60201b60201c565b60016009819055506000600a60006101000a81548160ff0219169083600381111562000105576200010462000575565b5b021790555082601090805190602001906200012292919062000221565b5081600e90805190602001906200013b92919062000221565b5080601181905550505050505062000641565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022f9062000509565b90600052602060002090601f0160209004810192826200025357600085556200029f565b82601f106200026e57805160ff19168380011785556200029f565b828001600101855582156200029f579182015b828111156200029e57825182559160200191906001019062000281565b5b509050620002ae9190620002b2565b5090565b5b80821115620002cd576000816000905550600101620002b3565b5090565b6000620002e8620002e28462000493565b6200046a565b90508281526020810184848401111562000307576200030662000607565b5b62000314848285620004d3565b509392505050565b6000815190506200032d8162000627565b92915050565b600082601f8301126200034b576200034a62000602565b5b81516200035d848260208601620002d1565b91505092915050565b600080600080600060a0868803121562000385576200038462000611565b5b600086015167ffffffffffffffff811115620003a657620003a56200060c565b5b620003b48882890162000333565b955050602086015167ffffffffffffffff811115620003d857620003d76200060c565b5b620003e68882890162000333565b945050604086015167ffffffffffffffff8111156200040a57620004096200060c565b5b620004188882890162000333565b935050606086015167ffffffffffffffff8111156200043c576200043b6200060c565b5b6200044a8882890162000333565b92505060806200045d888289016200031c565b9150509295509295909350565b60006200047662000489565b90506200048482826200053f565b919050565b6000604051905090565b600067ffffffffffffffff821115620004b157620004b0620005d3565b5b620004bc8262000616565b9050602081019050919050565b6000819050919050565b60005b83811015620004f3578082015181840152602081019050620004d6565b8381111562000503576000848401525b50505050565b600060028204905060018216806200052257607f821691505b60208210811415620005395762000538620005a4565b5b50919050565b6200054a8262000616565b810181811067ffffffffffffffff821117156200056c576200056b620005d3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200063281620004c9565b81146200063e57600080fd5b50565b613e7b80620006516000396000f3fe6080604052600436106102045760003560e01c80636f8b44b011610118578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd146106af578063e985e9c5146106ec578063f2fde38b14610729578063f4a0a52814610752578063fa09e6301461077b57610204565b8063a0712d6814610616578063a22cb46514610632578063a7f93ebd1461065b578063b88d4fde1461068657610204565b80638da5cb5b116100e75780638da5cb5b146105575780638f86f5ea1461058257806395652cfa1461059957806395d89b41146105c25780639e6a1d7d146105ed57610204565b80636f8b44b0146104b157806370a08231146104da578063715018a61461051757806386316bbb1461052e57610204565b806323b872dd1161019b5780634c0f38c21161016a5780634c0f38c2146103eb5780634c220f6e1461041657806355dd574c1461043257806356bda4a2146104495780636352211e1461047457610204565b806323b872dd146103595780633d59cd601461038257806340d0b4a9146103ab57806342842e0e146103c257610204565b80630a3db14f116101d75780630a3db14f146102d75780630c1c972a1461030057806318160ddd1461031757806323af88271461034257610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612d2f565b6107a4565b60405161023d91906132c5565b60405180910390f35b34801561025257600080fd5b5061025b610836565b60405161026891906132e0565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612dd2565b6108c8565b6040516102a5919061325e565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190612c37565b610947565b005b3480156102e357600080fd5b506102fe60048036038101906102f99190612c77565b610a8b565b005b34801561030c57600080fd5b50610315610b97565b005b34801561032357600080fd5b5061032c610bcc565b6040516103399190613502565b60405180910390f35b34801561034e57600080fd5b50610357610be3565b005b34801561036557600080fd5b50610380600480360381019061037b9190612b21565b610c18565b005b34801561038e57600080fd5b506103a960048036038101906103a49190612d02565b610f3d565b005b3480156103b757600080fd5b506103c0610f4f565b005b3480156103ce57600080fd5b506103e960048036038101906103e49190612b21565b610f74565b005b3480156103f757600080fd5b50610400610f94565b60405161040d9190613502565b60405180910390f35b610430600480360381019061042b9190612dff565b610f9e565b005b34801561043e57600080fd5b506104476112d1565b005b34801561045557600080fd5b5061045e611306565b60405161046b9190613502565b60405180910390f35b34801561048057600080fd5b5061049b60048036038101906104969190612dd2565b611310565b6040516104a8919061325e565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d39190612dd2565b611322565b005b3480156104e657600080fd5b5061050160048036038101906104fc9190612ab4565b611334565b60405161050e9190613502565b60405180910390f35b34801561052357600080fd5b5061052c6113ed565b005b34801561053a57600080fd5b5061055560048036038101906105509190612d89565b611401565b005b34801561056357600080fd5b5061056c611423565b604051610579919061325e565b60405180910390f35b34801561058e57600080fd5b5061059761144d565b005b3480156105a557600080fd5b506105c060048036038101906105bb9190612d89565b611482565b005b3480156105ce57600080fd5b506105d76114a4565b6040516105e491906132e0565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f9190612dd2565b611536565b005b610630600480360381019061062b9190612dd2565b611548565b005b34801561063e57600080fd5b5061065960048036038101906106549190612bf7565b61185c565b005b34801561066757600080fd5b506106706119d4565b60405161067d9190613502565b60405180910390f35b34801561069257600080fd5b506106ad60048036038101906106a89190612b74565b611a24565b005b3480156106bb57600080fd5b506106d660048036038101906106d19190612dd2565b611a97565b6040516106e391906132e0565b60405180910390f35b3480156106f857600080fd5b50610713600480360381019061070e9190612ae1565b611bb9565b60405161072091906132c5565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b9190612ab4565b611c4d565b005b34801561075e57600080fd5b5061077960048036038101906107749190612dd2565b611cd1565b005b34801561078757600080fd5b506107a2600480360381019061079d9190612ab4565b611ce3565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ff57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061082f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461084590613855565b80601f016020809104026020016040519081016040528092919081815260200182805461087190613855565b80156108be5780601f10610893576101008083540402835291602001916108be565b820191906000526020600020905b8154815290600101906020018083116108a157829003601f168201915b5050505050905090565b60006108d382611d3b565b610909576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095282611310565b90508073ffffffffffffffffffffffffffffffffffffffff16610973611d9a565b73ffffffffffffffffffffffffffffffffffffffff16146109d65761099f8161099a611d9a565b611bb9565b6109d5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610a93611da2565b8151835114610ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ace906133c2565b60405180910390fd5b600c5481610ae3611e20565b610aed9190613680565b1115610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2590613462565b60405180910390fd5b60005b8351811015610b91576000848281518110610b4f57610b4e613a12565b5b60200260200101519050610b7d81858481518110610b7057610b6f613a12565b5b6020026020010151611e33565b508080610b89906138b8565b915050610b31565b50505050565b610b9f611da2565b6002600a60006101000a81548160ff02191690836003811115610bc557610bc46139b4565b5b0217905550565b6000610bd6611e51565b6001546000540303905090565b610beb611da2565b6000600a60006101000a81548160ff02191690836003811115610c1157610c106139b4565b5b0217905550565b6000610c2382611e56565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c8a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c9684611f24565b91509150610cac8187610ca7611d9a565b611f4b565b610cf857610cc186610cbc611d9a565b611bb9565b610cf7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d5f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d6c8686866001611f8f565b8015610d7757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e4585610e21888887611f95565b7c020000000000000000000000000000000000000000000000000000000017611fbd565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610ecd576000600185019050600060046000838152602001908152602001600020541415610ecb576000548114610eca578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f358686866001611fe8565b505050505050565b610f45611da2565b8060118190555050565b610f57611da2565b6001600f60006101000a81548160ff021916908315150217905550565b610f8f83838360405180602001604052806000815250611a24565b505050565b6000600c54905090565b60026009541415610fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdb906134e2565b60405180910390fd5b60026009819055506000600381111561100057610fff6139b4565b5b600a60009054906101000a900460ff166003811115611022576110216139b4565b5b1415611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a90613402565b60405180910390fd5b600380811115611076576110756139b4565b5b600a60009054906101000a900460ff166003811115611098576110976139b4565b5b14156110d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d0906134c2565b60405180910390fd5b6110e233611fee565b15611122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111990613482565b60405180910390fd5b60016003811115611136576111356139b4565b5b600a60009054906101000a900460ff166003811115611158576111576139b4565b5b141561128a5761118e81336040516020016111739190613214565b60405160208183030381529060405280519060200120612011565b6111cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c490613382565b60405180910390fd5b6003826111d933611334565b6111e39190613680565b1115611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b90613302565b60405180910390fd5b61045682611230611e20565b61123a9190613680565b111561127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906133a2565b60405180910390fd5b6112853383611e33565b6112c5565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bc906134a2565b60405180910390fd5b60016009819055505050565b6112d9611da2565b6001600a60006101000a81548160ff021916908360038111156112ff576112fe6139b4565b5b0217905550565b6000600d54905090565b600061131b82611e56565b9050919050565b61132a611da2565b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561139c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113f5611da2565b6113ff6000612028565b565b611409611da2565b806010908051906020019061141f9291906126d9565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611455611da2565b6003600a60006101000a81548160ff0219169083600381111561147b5761147a6139b4565b5b0217905550565b61148a611da2565b80600e90805190602001906114a09291906126d9565b5050565b6060600380546114b390613855565b80601f01602080910402602001604051908101604052809291908181526020018280546114df90613855565b801561152c5780601f106115015761010080835404028352916020019161152c565b820191906000526020600020905b81548152906001019060200180831161150f57829003601f168201915b5050505050905090565b61153e611da2565b80600d8190555050565b6002600954141561158e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611585906134e2565b60405180910390fd5b6002600981905550600060038111156115aa576115a96139b4565b5b600a60009054906101000a900460ff1660038111156115cc576115cb6139b4565b5b141561160d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160490613402565b60405180910390fd5b6003808111156116205761161f6139b4565b5b600a60009054906101000a900460ff166003811115611642576116416139b4565b5b1415611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a906134c2565b60405180910390fd5b61168c33611fee565b156116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c390613482565b60405180910390fd5b600260038111156116e0576116df6139b4565b5b600a60009054906101000a900460ff166003811115611702576117016139b4565b5b141561181657600d548161171533611334565b61171f9190613680565b1115611760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175790613322565b60405180910390fd5b600c548161176c611e20565b6117769190613680565b11156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90613362565b60405180910390fd5b34600b54826117c69190613707565b1115611807576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fe90613442565b60405180910390fd5b6118113382611e33565b611851565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611848906133e2565b60405180910390fd5b600160098190555050565b611864611d9a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c9576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118d6611d9a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611983611d9a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119c891906132c5565b60405180910390a35050565b6000600160038111156119ea576119e96139b4565b5b600a60009054906101000a900460ff166003811115611a0c57611a0b6139b4565b5b1415611a1b5760009050611a21565b600b5490505b90565b611a2f848484610c18565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a9157611a5a848484846120ee565b611a90576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611aa282611d3b565b611ad8576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60011515600f60009054906101000a900460ff1615151415611b2657600e611aff8361224e565b604051602001611b1092919061322f565b6040516020818303038152906040529050611bb4565b60108054611b3390613855565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5f90613855565b8015611bac5780601f10611b8157610100808354040283529160200191611bac565b820191906000526020600020905b815481529060010190602001808311611b8f57829003601f168201915b505050505090505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c55611da2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbc90613342565b60405180910390fd5b611cce81612028565b50565b611cd9611da2565b80600b8190555050565b611ceb611da2565b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611d36573d6000803e3d6000fd5b505050565b600081611d46611e51565b11158015611d55575060005482105b8015611d93575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b611daa6123af565b73ffffffffffffffffffffffffffffffffffffffff16611dc8611423565b73ffffffffffffffffffffffffffffffffffffffff1614611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1590613422565b60405180910390fd5b565b6000611e2a611e51565b60005403905090565b611e4d8282604051806020016040528060008152506123b7565b5050565b600090565b60008082905080611e65611e51565b11611eed57600054811015611eec5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611eea575b6000811415611ee0576004600083600190039350838152602001908152602001600020549050611eb5565b8092505050611f1f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611fac868684612454565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612020836011548461245d565b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612114611d9a565b8786866040518563ffffffff1660e01b81526004016121369493929190613279565b602060405180830381600087803b15801561215057600080fd5b505af192505050801561218157506040513d601f19601f8201168201806040525081019061217e9190612d5c565b60015b6121fb573d80600081146121b1576040519150601f19603f3d011682016040523d82523d6000602084013e6121b6565b606091505b506000815114156121f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612296576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123aa565b600082905060005b600082146122c85780806122b1906138b8565b915050600a826122c191906136d6565b915061229e565b60008167ffffffffffffffff8111156122e4576122e3613a41565b5b6040519080825280601f01601f1916602001820160405280156123165781602001600182028036833780820191505090505b5090505b600085146123a35760018261232f9190613761565b9150600a8561233e9190613925565b603061234a9190613680565b60f81b8183815181106123605761235f613a12565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561239c91906136d6565b945061231a565b8093505050505b919050565b600033905090565b6123c18383612474565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461244f57600080549050600083820390505b61240160008683806001019450866120ee565b612437576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106123ee57816000541461244c57600080fd5b50505b505050565b60009392505050565b60008261246a8584612631565b1490509392505050565b60008054905060008214156124b5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124c26000848385611f8f565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506125398361252a6000866000611f95565b61253385612687565b17611fbd565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146125da57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061259f565b506000821415612616576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061262c6000848385611fe8565b505050565b60008082905060005b845181101561267c576126678286838151811061265a57612659613a12565b5b6020026020010151612697565b91508080612674906138b8565b91505061263a565b508091505092915050565b60006001821460e11b9050919050565b60008183106126af576126aa82846126c2565b6126ba565b6126b983836126c2565b5b905092915050565b600082600052816020526040600020905092915050565b8280546126e590613855565b90600052602060002090601f016020900481019282612707576000855561274e565b82601f1061272057805160ff191683800117855561274e565b8280016001018555821561274e579182015b8281111561274d578251825591602001919060010190612732565b5b50905061275b919061275f565b5090565b5b80821115612778576000816000905550600101612760565b5090565b600061278f61278a84613542565b61351d565b905080838252602082019050828560208602820111156127b2576127b1613a75565b5b60005b858110156127e257816127c88882612950565b8452602084019350602083019250506001810190506127b5565b5050509392505050565b60006127ff6127fa8461356e565b61351d565b9050808382526020820190508285602086028201111561282257612821613a75565b5b60005b8581101561285257816128388882612a04565b845260208401935060208301925050600181019050612825565b5050509392505050565b600061286f61286a8461359a565b61351d565b9050808382526020820190508285602086028201111561289257612891613a75565b5b60005b858110156128c257816128a88882612a9f565b845260208401935060208301925050600181019050612895565b5050509392505050565b60006128df6128da846135c6565b61351d565b9050828152602081018484840111156128fb576128fa613a7a565b5b612906848285613813565b509392505050565b600061292161291c846135f7565b61351d565b90508281526020810184848401111561293d5761293c613a7a565b5b612948848285613813565b509392505050565b60008135905061295f81613dd2565b92915050565b600082601f83011261297a57612979613a70565b5b813561298a84826020860161277c565b91505092915050565b600082601f8301126129a8576129a7613a70565b5b81356129b88482602086016127ec565b91505092915050565b600082601f8301126129d6576129d5613a70565b5b81356129e684826020860161285c565b91505092915050565b6000813590506129fe81613de9565b92915050565b600081359050612a1381613e00565b92915050565b600081359050612a2881613e17565b92915050565b600081519050612a3d81613e17565b92915050565b600082601f830112612a5857612a57613a70565b5b8135612a688482602086016128cc565b91505092915050565b600082601f830112612a8657612a85613a70565b5b8135612a9684826020860161290e565b91505092915050565b600081359050612aae81613e2e565b92915050565b600060208284031215612aca57612ac9613a84565b5b6000612ad884828501612950565b91505092915050565b60008060408385031215612af857612af7613a84565b5b6000612b0685828601612950565b9250506020612b1785828601612950565b9150509250929050565b600080600060608486031215612b3a57612b39613a84565b5b6000612b4886828701612950565b9350506020612b5986828701612950565b9250506040612b6a86828701612a9f565b9150509250925092565b60008060008060808587031215612b8e57612b8d613a84565b5b6000612b9c87828801612950565b9450506020612bad87828801612950565b9350506040612bbe87828801612a9f565b925050606085013567ffffffffffffffff811115612bdf57612bde613a7f565b5b612beb87828801612a43565b91505092959194509250565b60008060408385031215612c0e57612c0d613a84565b5b6000612c1c85828601612950565b9250506020612c2d858286016129ef565b9150509250929050565b60008060408385031215612c4e57612c4d613a84565b5b6000612c5c85828601612950565b9250506020612c6d85828601612a9f565b9150509250929050565b600080600060608486031215612c9057612c8f613a84565b5b600084013567ffffffffffffffff811115612cae57612cad613a7f565b5b612cba86828701612965565b935050602084013567ffffffffffffffff811115612cdb57612cda613a7f565b5b612ce7868287016129c1565b9250506040612cf886828701612a9f565b9150509250925092565b600060208284031215612d1857612d17613a84565b5b6000612d2684828501612a04565b91505092915050565b600060208284031215612d4557612d44613a84565b5b6000612d5384828501612a19565b91505092915050565b600060208284031215612d7257612d71613a84565b5b6000612d8084828501612a2e565b91505092915050565b600060208284031215612d9f57612d9e613a84565b5b600082013567ffffffffffffffff811115612dbd57612dbc613a7f565b5b612dc984828501612a71565b91505092915050565b600060208284031215612de857612de7613a84565b5b6000612df684828501612a9f565b91505092915050565b60008060408385031215612e1657612e15613a84565b5b6000612e2485828601612a9f565b925050602083013567ffffffffffffffff811115612e4557612e44613a7f565b5b612e5185828601612993565b9150509250929050565b612e6481613795565b82525050565b612e7b612e7682613795565b613901565b82525050565b612e8a816137a7565b82525050565b6000612e9b8261363d565b612ea58185613653565b9350612eb5818560208601613822565b612ebe81613a89565b840191505092915050565b6000612ed482613648565b612ede8185613664565b9350612eee818560208601613822565b612ef781613a89565b840191505092915050565b6000612f0d82613648565b612f178185613675565b9350612f27818560208601613822565b80840191505092915050565b60008154612f4081613855565b612f4a8186613675565b94506001821660008114612f655760018114612f7657612fa9565b60ff19831686528186019350612fa9565b612f7f85613628565b60005b83811015612fa157815481890152600182019150602081019050612f82565b838801955050505b50505092915050565b6000612fbf602083613664565b9150612fca82613aa7565b602082019050919050565b6000612fe2601483613664565b9150612fed82613ad0565b602082019050919050565b6000613005602683613664565b915061301082613af9565b604082019050919050565b6000613028602483613664565b915061303382613b48565b604082019050919050565b600061304b601783613664565b915061305682613b97565b602082019050919050565b600061306e601b83613664565b915061307982613bc0565b602082019050919050565b6000613091601583613664565b915061309c82613be9565b602082019050919050565b60006130b4601383613664565b91506130bf82613c12565b602082019050919050565b60006130d7601b83613664565b91506130e282613c3b565b602082019050919050565b60006130fa600583613675565b915061310582613c64565b600582019050919050565b600061311d602083613664565b915061312882613c8d565b602082019050919050565b6000613140601883613664565b915061314b82613cb6565b602082019050919050565b6000613163601383613664565b915061316e82613cdf565b602082019050919050565b6000613186602283613664565b915061319182613d08565b604082019050919050565b60006131a9600e83613664565b91506131b482613d57565b602082019050919050565b60006131cc601283613664565b91506131d782613d80565b602082019050919050565b60006131ef601f83613664565b91506131fa82613da9565b602082019050919050565b61320e81613809565b82525050565b60006132208284612e6a565b60148201915081905092915050565b600061323b8285612f33565b91506132478284612f02565b9150613252826130ed565b91508190509392505050565b60006020820190506132736000830184612e5b565b92915050565b600060808201905061328e6000830187612e5b565b61329b6020830186612e5b565b6132a86040830185613205565b81810360608301526132ba8184612e90565b905095945050505050565b60006020820190506132da6000830184612e81565b92915050565b600060208201905081810360008301526132fa8184612ec9565b905092915050565b6000602082019050818103600083015261331b81612fb2565b9050919050565b6000602082019050818103600083015261333b81612fd5565b9050919050565b6000602082019050818103600083015261335b81612ff8565b9050919050565b6000602082019050818103600083015261337b8161301b565b9050919050565b6000602082019050818103600083015261339b8161303e565b9050919050565b600060208201905081810360008301526133bb81613061565b9050919050565b600060208201905081810360008301526133db81613084565b9050919050565b600060208201905081810360008301526133fb816130a7565b9050919050565b6000602082019050818103600083015261341b816130ca565b9050919050565b6000602082019050818103600083015261343b81613110565b9050919050565b6000602082019050818103600083015261345b81613133565b9050919050565b6000602082019050818103600083015261347b81613156565b9050919050565b6000602082019050818103600083015261349b81613179565b9050919050565b600060208201905081810360008301526134bb8161319c565b9050919050565b600060208201905081810360008301526134db816131bf565b9050919050565b600060208201905081810360008301526134fb816131e2565b9050919050565b60006020820190506135176000830184613205565b92915050565b6000613527613538565b90506135338282613887565b919050565b6000604051905090565b600067ffffffffffffffff82111561355d5761355c613a41565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561358957613588613a41565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135b5576135b4613a41565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135e1576135e0613a41565b5b6135ea82613a89565b9050602081019050919050565b600067ffffffffffffffff82111561361257613611613a41565b5b61361b82613a89565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061368b82613809565b915061369683613809565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136cb576136ca613956565b5b828201905092915050565b60006136e182613809565b91506136ec83613809565b9250826136fc576136fb613985565b5b828204905092915050565b600061371282613809565b915061371d83613809565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561375657613755613956565b5b828202905092915050565b600061376c82613809565b915061377783613809565b92508282101561378a57613789613956565b5b828203905092915050565b60006137a0826137e9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613840578082015181840152602081019050613825565b8381111561384f576000848401525b50505050565b6000600282049050600182168061386d57607f821691505b60208210811415613881576138806139e3565b5b50919050565b61389082613a89565b810181811067ffffffffffffffff821117156138af576138ae613a41565b5b80604052505050565b60006138c382613809565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138f6576138f5613956565b5b600182019050919050565b600061390c82613913565b9050919050565b600061391e82613a9a565b9050919050565b600061393082613809565b915061393b83613809565b92508261394b5761394a613985565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74206c696d697420657863656564656420666f722050726573616c652e600082015250565b7f4d696e74206c696d69742065786365656465642e000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e742073686f756c64206e6f7420657863656564206d61782073757060008201527f706c792e00000000000000000000000000000000000000000000000000000000602082015250565b7f596f75277265206e6f742077686974656c69737465642e000000000000000000600082015250565b7f4d61782050726573616c6520737570706c7920726561636865642e0000000000600082015250565b7f446966666572656e742061727261792073697a65730000000000000000000000600082015250565b7f50726573616c6520697320456e61626c65642e00000000000000000000000000600082015250565b7f4d696e74696e67206861736e27742073746172746564207965742e0000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e737566696369656e742045544820746f206d696e742e0000000000000000600082015250565b7f4578636565646564206d617820737570706c7900000000000000000000000000600082015250565b7f436f6e74726163747320617265206e6f7420616c6c6f77656420746f206d696e60008201527f742e000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c6520456e6465642e000000000000000000000000000000000000600082015250565b7f4d696e74696e6720697320636c6f7365642e0000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b613ddb81613795565b8114613de657600080fd5b50565b613df2816137a7565b8114613dfd57600080fd5b50565b613e09816137b3565b8114613e1457600080fd5b50565b613e20816137bd565b8114613e2b57600080fd5b50565b613e3781613809565b8114613e4257600080fd5b5056fea26469706673582212201212ba1ad1eb79a27b5cc1aa275d9bb54e4c51532167d7a2eb41df8798f6ddf964736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0397f70e4e5a1cc90cf595c7dcd6d09a47d4a861a0550cdc827731439890618940000000000000000000000000000000000000000000000000000000000000009415354524f42414259000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044153424200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f756e72657665616c2e6d7970696e6174612e636c6f75642f697066732f516d58537952506a4851384152347433617a5a70387034594e344542665276467153634634316d3774667952736e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62353548326861726252434c7a38714c4a56795961715736624e4e7a4e4657354b5a4a436976434d32455a742f00000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c80636f8b44b011610118578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd146106af578063e985e9c5146106ec578063f2fde38b14610729578063f4a0a52814610752578063fa09e6301461077b57610204565b8063a0712d6814610616578063a22cb46514610632578063a7f93ebd1461065b578063b88d4fde1461068657610204565b80638da5cb5b116100e75780638da5cb5b146105575780638f86f5ea1461058257806395652cfa1461059957806395d89b41146105c25780639e6a1d7d146105ed57610204565b80636f8b44b0146104b157806370a08231146104da578063715018a61461051757806386316bbb1461052e57610204565b806323b872dd1161019b5780634c0f38c21161016a5780634c0f38c2146103eb5780634c220f6e1461041657806355dd574c1461043257806356bda4a2146104495780636352211e1461047457610204565b806323b872dd146103595780633d59cd601461038257806340d0b4a9146103ab57806342842e0e146103c257610204565b80630a3db14f116101d75780630a3db14f146102d75780630c1c972a1461030057806318160ddd1461031757806323af88271461034257610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612d2f565b6107a4565b60405161023d91906132c5565b60405180910390f35b34801561025257600080fd5b5061025b610836565b60405161026891906132e0565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612dd2565b6108c8565b6040516102a5919061325e565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190612c37565b610947565b005b3480156102e357600080fd5b506102fe60048036038101906102f99190612c77565b610a8b565b005b34801561030c57600080fd5b50610315610b97565b005b34801561032357600080fd5b5061032c610bcc565b6040516103399190613502565b60405180910390f35b34801561034e57600080fd5b50610357610be3565b005b34801561036557600080fd5b50610380600480360381019061037b9190612b21565b610c18565b005b34801561038e57600080fd5b506103a960048036038101906103a49190612d02565b610f3d565b005b3480156103b757600080fd5b506103c0610f4f565b005b3480156103ce57600080fd5b506103e960048036038101906103e49190612b21565b610f74565b005b3480156103f757600080fd5b50610400610f94565b60405161040d9190613502565b60405180910390f35b610430600480360381019061042b9190612dff565b610f9e565b005b34801561043e57600080fd5b506104476112d1565b005b34801561045557600080fd5b5061045e611306565b60405161046b9190613502565b60405180910390f35b34801561048057600080fd5b5061049b60048036038101906104969190612dd2565b611310565b6040516104a8919061325e565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d39190612dd2565b611322565b005b3480156104e657600080fd5b5061050160048036038101906104fc9190612ab4565b611334565b60405161050e9190613502565b60405180910390f35b34801561052357600080fd5b5061052c6113ed565b005b34801561053a57600080fd5b5061055560048036038101906105509190612d89565b611401565b005b34801561056357600080fd5b5061056c611423565b604051610579919061325e565b60405180910390f35b34801561058e57600080fd5b5061059761144d565b005b3480156105a557600080fd5b506105c060048036038101906105bb9190612d89565b611482565b005b3480156105ce57600080fd5b506105d76114a4565b6040516105e491906132e0565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f9190612dd2565b611536565b005b610630600480360381019061062b9190612dd2565b611548565b005b34801561063e57600080fd5b5061065960048036038101906106549190612bf7565b61185c565b005b34801561066757600080fd5b506106706119d4565b60405161067d9190613502565b60405180910390f35b34801561069257600080fd5b506106ad60048036038101906106a89190612b74565b611a24565b005b3480156106bb57600080fd5b506106d660048036038101906106d19190612dd2565b611a97565b6040516106e391906132e0565b60405180910390f35b3480156106f857600080fd5b50610713600480360381019061070e9190612ae1565b611bb9565b60405161072091906132c5565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b9190612ab4565b611c4d565b005b34801561075e57600080fd5b5061077960048036038101906107749190612dd2565b611cd1565b005b34801561078757600080fd5b506107a2600480360381019061079d9190612ab4565b611ce3565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ff57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061082f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461084590613855565b80601f016020809104026020016040519081016040528092919081815260200182805461087190613855565b80156108be5780601f10610893576101008083540402835291602001916108be565b820191906000526020600020905b8154815290600101906020018083116108a157829003601f168201915b5050505050905090565b60006108d382611d3b565b610909576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095282611310565b90508073ffffffffffffffffffffffffffffffffffffffff16610973611d9a565b73ffffffffffffffffffffffffffffffffffffffff16146109d65761099f8161099a611d9a565b611bb9565b6109d5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610a93611da2565b8151835114610ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ace906133c2565b60405180910390fd5b600c5481610ae3611e20565b610aed9190613680565b1115610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2590613462565b60405180910390fd5b60005b8351811015610b91576000848281518110610b4f57610b4e613a12565b5b60200260200101519050610b7d81858481518110610b7057610b6f613a12565b5b6020026020010151611e33565b508080610b89906138b8565b915050610b31565b50505050565b610b9f611da2565b6002600a60006101000a81548160ff02191690836003811115610bc557610bc46139b4565b5b0217905550565b6000610bd6611e51565b6001546000540303905090565b610beb611da2565b6000600a60006101000a81548160ff02191690836003811115610c1157610c106139b4565b5b0217905550565b6000610c2382611e56565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c8a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c9684611f24565b91509150610cac8187610ca7611d9a565b611f4b565b610cf857610cc186610cbc611d9a565b611bb9565b610cf7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d5f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d6c8686866001611f8f565b8015610d7757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e4585610e21888887611f95565b7c020000000000000000000000000000000000000000000000000000000017611fbd565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610ecd576000600185019050600060046000838152602001908152602001600020541415610ecb576000548114610eca578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f358686866001611fe8565b505050505050565b610f45611da2565b8060118190555050565b610f57611da2565b6001600f60006101000a81548160ff021916908315150217905550565b610f8f83838360405180602001604052806000815250611a24565b505050565b6000600c54905090565b60026009541415610fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdb906134e2565b60405180910390fd5b60026009819055506000600381111561100057610fff6139b4565b5b600a60009054906101000a900460ff166003811115611022576110216139b4565b5b1415611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a90613402565b60405180910390fd5b600380811115611076576110756139b4565b5b600a60009054906101000a900460ff166003811115611098576110976139b4565b5b14156110d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d0906134c2565b60405180910390fd5b6110e233611fee565b15611122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111990613482565b60405180910390fd5b60016003811115611136576111356139b4565b5b600a60009054906101000a900460ff166003811115611158576111576139b4565b5b141561128a5761118e81336040516020016111739190613214565b60405160208183030381529060405280519060200120612011565b6111cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c490613382565b60405180910390fd5b6003826111d933611334565b6111e39190613680565b1115611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b90613302565b60405180910390fd5b61045682611230611e20565b61123a9190613680565b111561127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906133a2565b60405180910390fd5b6112853383611e33565b6112c5565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bc906134a2565b60405180910390fd5b60016009819055505050565b6112d9611da2565b6001600a60006101000a81548160ff021916908360038111156112ff576112fe6139b4565b5b0217905550565b6000600d54905090565b600061131b82611e56565b9050919050565b61132a611da2565b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561139c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113f5611da2565b6113ff6000612028565b565b611409611da2565b806010908051906020019061141f9291906126d9565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611455611da2565b6003600a60006101000a81548160ff0219169083600381111561147b5761147a6139b4565b5b0217905550565b61148a611da2565b80600e90805190602001906114a09291906126d9565b5050565b6060600380546114b390613855565b80601f01602080910402602001604051908101604052809291908181526020018280546114df90613855565b801561152c5780601f106115015761010080835404028352916020019161152c565b820191906000526020600020905b81548152906001019060200180831161150f57829003601f168201915b5050505050905090565b61153e611da2565b80600d8190555050565b6002600954141561158e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611585906134e2565b60405180910390fd5b6002600981905550600060038111156115aa576115a96139b4565b5b600a60009054906101000a900460ff1660038111156115cc576115cb6139b4565b5b141561160d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160490613402565b60405180910390fd5b6003808111156116205761161f6139b4565b5b600a60009054906101000a900460ff166003811115611642576116416139b4565b5b1415611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a906134c2565b60405180910390fd5b61168c33611fee565b156116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c390613482565b60405180910390fd5b600260038111156116e0576116df6139b4565b5b600a60009054906101000a900460ff166003811115611702576117016139b4565b5b141561181657600d548161171533611334565b61171f9190613680565b1115611760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175790613322565b60405180910390fd5b600c548161176c611e20565b6117769190613680565b11156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90613362565b60405180910390fd5b34600b54826117c69190613707565b1115611807576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fe90613442565b60405180910390fd5b6118113382611e33565b611851565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611848906133e2565b60405180910390fd5b600160098190555050565b611864611d9a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c9576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118d6611d9a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611983611d9a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119c891906132c5565b60405180910390a35050565b6000600160038111156119ea576119e96139b4565b5b600a60009054906101000a900460ff166003811115611a0c57611a0b6139b4565b5b1415611a1b5760009050611a21565b600b5490505b90565b611a2f848484610c18565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a9157611a5a848484846120ee565b611a90576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611aa282611d3b565b611ad8576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60011515600f60009054906101000a900460ff1615151415611b2657600e611aff8361224e565b604051602001611b1092919061322f565b6040516020818303038152906040529050611bb4565b60108054611b3390613855565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5f90613855565b8015611bac5780601f10611b8157610100808354040283529160200191611bac565b820191906000526020600020905b815481529060010190602001808311611b8f57829003601f168201915b505050505090505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c55611da2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbc90613342565b60405180910390fd5b611cce81612028565b50565b611cd9611da2565b80600b8190555050565b611ceb611da2565b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611d36573d6000803e3d6000fd5b505050565b600081611d46611e51565b11158015611d55575060005482105b8015611d93575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b611daa6123af565b73ffffffffffffffffffffffffffffffffffffffff16611dc8611423565b73ffffffffffffffffffffffffffffffffffffffff1614611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1590613422565b60405180910390fd5b565b6000611e2a611e51565b60005403905090565b611e4d8282604051806020016040528060008152506123b7565b5050565b600090565b60008082905080611e65611e51565b11611eed57600054811015611eec5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611eea575b6000811415611ee0576004600083600190039350838152602001908152602001600020549050611eb5565b8092505050611f1f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611fac868684612454565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612020836011548461245d565b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612114611d9a565b8786866040518563ffffffff1660e01b81526004016121369493929190613279565b602060405180830381600087803b15801561215057600080fd5b505af192505050801561218157506040513d601f19601f8201168201806040525081019061217e9190612d5c565b60015b6121fb573d80600081146121b1576040519150601f19603f3d011682016040523d82523d6000602084013e6121b6565b606091505b506000815114156121f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612296576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123aa565b600082905060005b600082146122c85780806122b1906138b8565b915050600a826122c191906136d6565b915061229e565b60008167ffffffffffffffff8111156122e4576122e3613a41565b5b6040519080825280601f01601f1916602001820160405280156123165781602001600182028036833780820191505090505b5090505b600085146123a35760018261232f9190613761565b9150600a8561233e9190613925565b603061234a9190613680565b60f81b8183815181106123605761235f613a12565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561239c91906136d6565b945061231a565b8093505050505b919050565b600033905090565b6123c18383612474565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461244f57600080549050600083820390505b61240160008683806001019450866120ee565b612437576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106123ee57816000541461244c57600080fd5b50505b505050565b60009392505050565b60008261246a8584612631565b1490509392505050565b60008054905060008214156124b5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124c26000848385611f8f565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506125398361252a6000866000611f95565b61253385612687565b17611fbd565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146125da57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061259f565b506000821415612616576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061262c6000848385611fe8565b505050565b60008082905060005b845181101561267c576126678286838151811061265a57612659613a12565b5b6020026020010151612697565b91508080612674906138b8565b91505061263a565b508091505092915050565b60006001821460e11b9050919050565b60008183106126af576126aa82846126c2565b6126ba565b6126b983836126c2565b5b905092915050565b600082600052816020526040600020905092915050565b8280546126e590613855565b90600052602060002090601f016020900481019282612707576000855561274e565b82601f1061272057805160ff191683800117855561274e565b8280016001018555821561274e579182015b8281111561274d578251825591602001919060010190612732565b5b50905061275b919061275f565b5090565b5b80821115612778576000816000905550600101612760565b5090565b600061278f61278a84613542565b61351d565b905080838252602082019050828560208602820111156127b2576127b1613a75565b5b60005b858110156127e257816127c88882612950565b8452602084019350602083019250506001810190506127b5565b5050509392505050565b60006127ff6127fa8461356e565b61351d565b9050808382526020820190508285602086028201111561282257612821613a75565b5b60005b8581101561285257816128388882612a04565b845260208401935060208301925050600181019050612825565b5050509392505050565b600061286f61286a8461359a565b61351d565b9050808382526020820190508285602086028201111561289257612891613a75565b5b60005b858110156128c257816128a88882612a9f565b845260208401935060208301925050600181019050612895565b5050509392505050565b60006128df6128da846135c6565b61351d565b9050828152602081018484840111156128fb576128fa613a7a565b5b612906848285613813565b509392505050565b600061292161291c846135f7565b61351d565b90508281526020810184848401111561293d5761293c613a7a565b5b612948848285613813565b509392505050565b60008135905061295f81613dd2565b92915050565b600082601f83011261297a57612979613a70565b5b813561298a84826020860161277c565b91505092915050565b600082601f8301126129a8576129a7613a70565b5b81356129b88482602086016127ec565b91505092915050565b600082601f8301126129d6576129d5613a70565b5b81356129e684826020860161285c565b91505092915050565b6000813590506129fe81613de9565b92915050565b600081359050612a1381613e00565b92915050565b600081359050612a2881613e17565b92915050565b600081519050612a3d81613e17565b92915050565b600082601f830112612a5857612a57613a70565b5b8135612a688482602086016128cc565b91505092915050565b600082601f830112612a8657612a85613a70565b5b8135612a9684826020860161290e565b91505092915050565b600081359050612aae81613e2e565b92915050565b600060208284031215612aca57612ac9613a84565b5b6000612ad884828501612950565b91505092915050565b60008060408385031215612af857612af7613a84565b5b6000612b0685828601612950565b9250506020612b1785828601612950565b9150509250929050565b600080600060608486031215612b3a57612b39613a84565b5b6000612b4886828701612950565b9350506020612b5986828701612950565b9250506040612b6a86828701612a9f565b9150509250925092565b60008060008060808587031215612b8e57612b8d613a84565b5b6000612b9c87828801612950565b9450506020612bad87828801612950565b9350506040612bbe87828801612a9f565b925050606085013567ffffffffffffffff811115612bdf57612bde613a7f565b5b612beb87828801612a43565b91505092959194509250565b60008060408385031215612c0e57612c0d613a84565b5b6000612c1c85828601612950565b9250506020612c2d858286016129ef565b9150509250929050565b60008060408385031215612c4e57612c4d613a84565b5b6000612c5c85828601612950565b9250506020612c6d85828601612a9f565b9150509250929050565b600080600060608486031215612c9057612c8f613a84565b5b600084013567ffffffffffffffff811115612cae57612cad613a7f565b5b612cba86828701612965565b935050602084013567ffffffffffffffff811115612cdb57612cda613a7f565b5b612ce7868287016129c1565b9250506040612cf886828701612a9f565b9150509250925092565b600060208284031215612d1857612d17613a84565b5b6000612d2684828501612a04565b91505092915050565b600060208284031215612d4557612d44613a84565b5b6000612d5384828501612a19565b91505092915050565b600060208284031215612d7257612d71613a84565b5b6000612d8084828501612a2e565b91505092915050565b600060208284031215612d9f57612d9e613a84565b5b600082013567ffffffffffffffff811115612dbd57612dbc613a7f565b5b612dc984828501612a71565b91505092915050565b600060208284031215612de857612de7613a84565b5b6000612df684828501612a9f565b91505092915050565b60008060408385031215612e1657612e15613a84565b5b6000612e2485828601612a9f565b925050602083013567ffffffffffffffff811115612e4557612e44613a7f565b5b612e5185828601612993565b9150509250929050565b612e6481613795565b82525050565b612e7b612e7682613795565b613901565b82525050565b612e8a816137a7565b82525050565b6000612e9b8261363d565b612ea58185613653565b9350612eb5818560208601613822565b612ebe81613a89565b840191505092915050565b6000612ed482613648565b612ede8185613664565b9350612eee818560208601613822565b612ef781613a89565b840191505092915050565b6000612f0d82613648565b612f178185613675565b9350612f27818560208601613822565b80840191505092915050565b60008154612f4081613855565b612f4a8186613675565b94506001821660008114612f655760018114612f7657612fa9565b60ff19831686528186019350612fa9565b612f7f85613628565b60005b83811015612fa157815481890152600182019150602081019050612f82565b838801955050505b50505092915050565b6000612fbf602083613664565b9150612fca82613aa7565b602082019050919050565b6000612fe2601483613664565b9150612fed82613ad0565b602082019050919050565b6000613005602683613664565b915061301082613af9565b604082019050919050565b6000613028602483613664565b915061303382613b48565b604082019050919050565b600061304b601783613664565b915061305682613b97565b602082019050919050565b600061306e601b83613664565b915061307982613bc0565b602082019050919050565b6000613091601583613664565b915061309c82613be9565b602082019050919050565b60006130b4601383613664565b91506130bf82613c12565b602082019050919050565b60006130d7601b83613664565b91506130e282613c3b565b602082019050919050565b60006130fa600583613675565b915061310582613c64565b600582019050919050565b600061311d602083613664565b915061312882613c8d565b602082019050919050565b6000613140601883613664565b915061314b82613cb6565b602082019050919050565b6000613163601383613664565b915061316e82613cdf565b602082019050919050565b6000613186602283613664565b915061319182613d08565b604082019050919050565b60006131a9600e83613664565b91506131b482613d57565b602082019050919050565b60006131cc601283613664565b91506131d782613d80565b602082019050919050565b60006131ef601f83613664565b91506131fa82613da9565b602082019050919050565b61320e81613809565b82525050565b60006132208284612e6a565b60148201915081905092915050565b600061323b8285612f33565b91506132478284612f02565b9150613252826130ed565b91508190509392505050565b60006020820190506132736000830184612e5b565b92915050565b600060808201905061328e6000830187612e5b565b61329b6020830186612e5b565b6132a86040830185613205565b81810360608301526132ba8184612e90565b905095945050505050565b60006020820190506132da6000830184612e81565b92915050565b600060208201905081810360008301526132fa8184612ec9565b905092915050565b6000602082019050818103600083015261331b81612fb2565b9050919050565b6000602082019050818103600083015261333b81612fd5565b9050919050565b6000602082019050818103600083015261335b81612ff8565b9050919050565b6000602082019050818103600083015261337b8161301b565b9050919050565b6000602082019050818103600083015261339b8161303e565b9050919050565b600060208201905081810360008301526133bb81613061565b9050919050565b600060208201905081810360008301526133db81613084565b9050919050565b600060208201905081810360008301526133fb816130a7565b9050919050565b6000602082019050818103600083015261341b816130ca565b9050919050565b6000602082019050818103600083015261343b81613110565b9050919050565b6000602082019050818103600083015261345b81613133565b9050919050565b6000602082019050818103600083015261347b81613156565b9050919050565b6000602082019050818103600083015261349b81613179565b9050919050565b600060208201905081810360008301526134bb8161319c565b9050919050565b600060208201905081810360008301526134db816131bf565b9050919050565b600060208201905081810360008301526134fb816131e2565b9050919050565b60006020820190506135176000830184613205565b92915050565b6000613527613538565b90506135338282613887565b919050565b6000604051905090565b600067ffffffffffffffff82111561355d5761355c613a41565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561358957613588613a41565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135b5576135b4613a41565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135e1576135e0613a41565b5b6135ea82613a89565b9050602081019050919050565b600067ffffffffffffffff82111561361257613611613a41565b5b61361b82613a89565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061368b82613809565b915061369683613809565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136cb576136ca613956565b5b828201905092915050565b60006136e182613809565b91506136ec83613809565b9250826136fc576136fb613985565b5b828204905092915050565b600061371282613809565b915061371d83613809565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561375657613755613956565b5b828202905092915050565b600061376c82613809565b915061377783613809565b92508282101561378a57613789613956565b5b828203905092915050565b60006137a0826137e9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613840578082015181840152602081019050613825565b8381111561384f576000848401525b50505050565b6000600282049050600182168061386d57607f821691505b60208210811415613881576138806139e3565b5b50919050565b61389082613a89565b810181811067ffffffffffffffff821117156138af576138ae613a41565b5b80604052505050565b60006138c382613809565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138f6576138f5613956565b5b600182019050919050565b600061390c82613913565b9050919050565b600061391e82613a9a565b9050919050565b600061393082613809565b915061393b83613809565b92508261394b5761394a613985565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74206c696d697420657863656564656420666f722050726573616c652e600082015250565b7f4d696e74206c696d69742065786365656465642e000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e742073686f756c64206e6f7420657863656564206d61782073757060008201527f706c792e00000000000000000000000000000000000000000000000000000000602082015250565b7f596f75277265206e6f742077686974656c69737465642e000000000000000000600082015250565b7f4d61782050726573616c6520737570706c7920726561636865642e0000000000600082015250565b7f446966666572656e742061727261792073697a65730000000000000000000000600082015250565b7f50726573616c6520697320456e61626c65642e00000000000000000000000000600082015250565b7f4d696e74696e67206861736e27742073746172746564207965742e0000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e737566696369656e742045544820746f206d696e742e0000000000000000600082015250565b7f4578636565646564206d617820737570706c7900000000000000000000000000600082015250565b7f436f6e74726163747320617265206e6f7420616c6c6f77656420746f206d696e60008201527f742e000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c6520456e6465642e000000000000000000000000000000000000600082015250565b7f4d696e74696e6720697320636c6f7365642e0000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b613ddb81613795565b8114613de657600080fd5b50565b613df2816137a7565b8114613dfd57600080fd5b50565b613e09816137b3565b8114613e1457600080fd5b50565b613e20816137bd565b8114613e2b57600080fd5b50565b613e3781613809565b8114613e4257600080fd5b5056fea26469706673582212201212ba1ad1eb79a27b5cc1aa275d9bb54e4c51532167d7a2eb41df8798f6ddf964736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0397f70e4e5a1cc90cf595c7dcd6d09a47d4a861a0550cdc827731439890618940000000000000000000000000000000000000000000000000000000000000009415354524f42414259000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044153424200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f756e72657665616c2e6d7970696e6174612e636c6f75642f697066732f516d58537952506a4851384152347433617a5a70387034594e344542665276467153634634316d3774667952736e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62353548326861726252434c7a38714c4a56795961715736624e4e7a4e4657354b5a4a436976434d32455a742f00000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): ASTROBABY
Arg [1] : symbol_ (string): ASBB
Arg [2] : unRevealUri_ (string): https://unreveal.mypinata.cloud/ipfs/QmXSyRPjHQ8AR4t3azZp8p4YN4EBfRvFqScF41m7tfyRsn
Arg [3] : baseTokenUri_ (string): ipfs://Qmb55H2harbRCLz8qLJVyYaqW6bNNzNFW5KZJCivCM2EZt/
Arg [4] : _root (bytes32): 0x397f70e4e5a1cc90cf595c7dcd6d09a47d4a861a0550cdc82773143989061894

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [4] : 397f70e4e5a1cc90cf595c7dcd6d09a47d4a861a0550cdc82773143989061894
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 415354524f424142590000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4153424200000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000053
Arg [10] : 68747470733a2f2f756e72657665616c2e6d7970696e6174612e636c6f75642f
Arg [11] : 697066732f516d58537952506a4851384152347433617a5a70387034594e3445
Arg [12] : 42665276467153634634316d3774667952736e00000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [14] : 697066733a2f2f516d62353548326861726252434c7a38714c4a567959617157
Arg [15] : 36624e4e7a4e4657354b5a4a436976434d32455a742f00000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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