ETH Price: $2,450.84 (+2.08%)

Contract

0xc95fe3de85fB39Cb3bd2F7930a766f4F3cE7FccA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040161041712022-12-03 12:04:59656 days ago1670069099IN
 Create: LORD
0 ETH0.0485086210.49861157

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LORD

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : LORD.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a-upgradeable/contracts/ERC721AUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgradeable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract LORD is Initializable, ERC721AUpgradeable, ReentrancyGuardUpgradeable {
    using Strings for uint256;

    address public owner;

    bytes32 public root;

    bool public paused;
    bool public whitelistStatus;

    uint256 public totalNFT;
    uint256 public mintPrice;
    uint256 public maxMintAmount;

    string public baseURI;
    string public baseExtension;

    mapping(address => uint256) public nftDetails;

    modifier onlyOwner() {
        require(owner == msg.sender, "not owner");
        _;
    }

    modifier isNFTOwner(uint256[] calldata _tokenId) {
        require(_ismultipleTokenIdOwner(_tokenId), "You are not nft owner");
        _;
    }

    modifier whenNotPaused() {
        require(!paused, "contract paused");
        _;
    }

    modifier isPriceEqual(uint256 _price, uint256 _quantity) {
        require(_price >= mintPrice * _quantity, "amount not sufficient");
        _;
    }

    modifier isMaxNFT(uint256 quantity) {
        require(
            maxMintAmount >= (nftDetails[msg.sender] + quantity),
            "above max quantity"
        );
        _;
    }

    event LordMint(address to, uint256 quantity);
    event withdraw(address owner, uint256 amount);
    event PriceUpdate(address owner, uint256 newPrice);
    event UpdateOwner(address oldOwner, address newOwner);
    event BURN(address user, uint256[] tokenId);
    event UpdateBaseURI(string _newBaseURI);
    event UpdateMaxMintAmount(uint256 _newmaxMintAmount);
    event ChangeWhitelistStatus(bool status);
    event UpdateRoot(bytes32 root);
    event Pausable(bool _state);

    function initialize(
        address _owner,
        bytes32 _root,
        uint256 _totalNFT,
        uint256 _mintPrice,
        uint256 _maxMintAmount,
        string memory _initBaseURI,
        string memory _name,
        string memory _symbol,
        string memory _baseExtension
    ) external initializerERC721A initializer {
        __ERC721A_init(_name, _symbol);
        owner = _owner;
        root = _root;
        baseURI = _initBaseURI;
        totalNFT = _totalNFT;
        mintPrice = _mintPrice;
        maxMintAmount = _maxMintAmount;
        baseExtension = _baseExtension;
    }

    function setOwner(address _owner) external onlyOwner {
        owner = _owner;
        emit UpdateOwner(msg.sender, owner);
    }

    function setTotalNFT(uint256 _totalNFT) external onlyOwner {
        require(_totalNFT > totalNFT, "not less than totalNFT");
        totalNFT = _totalNFT;
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
        emit UpdateBaseURI(_newBaseURI);
    }

    function setBaseExtension(string memory _newBaseExtension)
        external
        onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

    function setmaxMintAmount(uint256 _newmaxMintAmount) external onlyOwner {
        maxMintAmount = _newmaxMintAmount;
        emit UpdateMaxMintAmount(_newmaxMintAmount);
    }

    function setWhitelistStatus(bool _status) external onlyOwner {
        whitelistStatus = _status;
        emit ChangeWhitelistStatus(_status);
    }

    function setRoot(bytes32 _root) external onlyOwner {
        root = _root;
        emit UpdateRoot(_root);
    }

    function pause(bool _state) external nonReentrant onlyOwner {
        paused = _state;
        emit Pausable(_state);
    }

    function updatePrice(uint256 _price) external onlyOwner {
        mintPrice = _price;
        emit PriceUpdate(msg.sender, _price);
    }

    function ownerMint(address _to, uint256 _quantity)
        external
        payable
        nonReentrant
        onlyOwner
    {
        require(_to != address(0), "null address");
        require(totalNFT >= (_nextTokenId() + _quantity), "lord full");

        _safeMint(_to, _quantity);

        emit LordMint(_to, _quantity);
    }

    function burn(uint256[] calldata _tokenId) external isNFTOwner(_tokenId) {
        for (uint256 i = 0; i < _tokenId.length; i++) {
            _burn(_tokenId[i]);
        }
        emit BURN(msg.sender, _tokenId);
    }

    function mint(
        address _to,
        uint256 _quantity,
        bytes32[] calldata _merkleProof
    )
        external
        payable
        nonReentrant
        whenNotPaused
        isPriceEqual(msg.value, _quantity)
        isMaxNFT(_quantity)
    {
        require(_to != address(0), "null address");
        require(_quantity <= maxMintAmount && _quantity > 0, "zero quantity");
        require(totalNFT >= (_nextTokenId() + _quantity), "lord full");

        if (!whitelistStatus) {
            bytes32 leafToCheck = keccak256(abi.encodePacked(msg.sender));
            require(
                MerkleProofUpgradeable.verify(_merkleProof, root, leafToCheck),
                "Incorrect proof"
            );
        }

        nftDetails[msg.sender] += _quantity;

        _safeMint(_to, _quantity);

        emit LordMint(_to, _quantity);
    }

    function withdrawFunds(uint256 _amount) external nonReentrant onlyOwner {
        require(
            _amount != 0 && address(this).balance >= _amount,
            "amount is not sufficient"
        );

        (bool success, ) = owner.call{value: _amount}("");
        require(success, "refund failed");

        emit withdraw(owner, _amount);
    }

    function multipleNFTTransfer(
        address from,
        address to,
        uint256[] memory tokenId
    ) external {
        require(tokenId.length != 0, "length not zero");
        for (uint256 i = 0; i < tokenId.length; i++) {
            safeTransferFrom(from, to, tokenId[i]);
        }
    }

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

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

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

    function _ismultipleTokenIdOwner(uint256[] calldata _tokenId)
        internal
        view
        returns (bool)
    {
        for (uint256 i = 0; i < _tokenId.length; i++) {
            require(
                msg.sender == ownerOf(_tokenId[i]),
                "You are not nft owner"
            );
        }

        return true;
    }
}

File 2 of 11 : ERC721AUpgradeable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AUpgradeable.sol';
import {ERC721AStorage} from './ERC721AStorage.sol';
import './ERC721A__Initializable.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721ReceiverUpgradeable {
    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 ERC721AUpgradeable is ERC721A__Initializable, IERC721AUpgradeable {
    using ERC721AStorage for ERC721AStorage.Layout;

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

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

    function __ERC721A_init(string memory name_, string memory symbol_) internal onlyInitializingERC721A {
        __ERC721A_init_unchained(name_, symbol_);
    }

    function __ERC721A_init_unchained(string memory name_, string memory symbol_) internal onlyInitializingERC721A {
        ERC721AStorage.layout()._name = name_;
        ERC721AStorage.layout()._symbol = symbol_;
        ERC721AStorage.layout()._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 ERC721AStorage.layout()._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 ERC721AStorage.layout()._currentIndex - ERC721AStorage.layout()._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 ERC721AStorage.layout()._currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return ERC721AStorage.layout()._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 ERC721AStorage.layout()._packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return
            (ERC721AStorage.layout()._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
            (ERC721AStorage.layout()._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(ERC721AStorage.layout()._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 = ERC721AStorage.layout()._packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        ERC721AStorage.layout()._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 ERC721AStorage.layout()._name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return ERC721AStorage.layout()._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(ERC721AStorage.layout()._packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (ERC721AStorage.layout()._packedOwnerships[index] == 0) {
            ERC721AStorage.layout()._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 < ERC721AStorage.layout()._currentIndex) {
                    uint256 packed = ERC721AStorage.layout()._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 = ERC721AStorage.layout()._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();
            }

        ERC721AStorage.layout()._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 ERC721AStorage.layout()._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();

        ERC721AStorage.layout()._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 ERC721AStorage.layout()._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 < ERC721AStorage.layout()._currentIndex && // If within bounds,
            ERC721AStorage.layout()._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)
    {
        ERC721AStorage.TokenApprovalRef storage tokenApproval = ERC721AStorage.layout()._tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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.
            --ERC721AStorage.layout()._packedAddressData[from]; // Updates: `balance -= 1`.
            ++ERC721AStorage.layout()._packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            ERC721AStorage.layout()._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 (ERC721AStorage.layout()._packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != ERC721AStorage.layout()._currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        ERC721AStorage.layout()._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__IERC721ReceiverUpgradeable(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data)
        returns (bytes4 retval) {
            return retval == ERC721A__IERC721ReceiverUpgradeable(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 = ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

            ERC721AStorage.layout()._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 = ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

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

            ERC721AStorage.layout()._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 = ERC721AStorage.layout()._currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (ERC721AStorage.layout()._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;`.
            ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._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 (ERC721AStorage.layout()._packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != ERC721AStorage.layout()._currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        ERC721AStorage.layout()._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 {
            ERC721AStorage.layout()._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 = ERC721AStorage.layout()._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);
        ERC721AStorage.layout()._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 aligned.
            // 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 : ReentrancyGuardUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0-rc.1) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ReentrancyGuardUpgradeable is Initializable {
    // 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;

    function __ReentrancyGuard_init() internal onlyInitializing {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal onlyInitializing {
        _status = _NOT_ENTERED;
    }

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 4 of 11 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0-rc.1) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: setting the version to 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

    /**
     * @dev Internal function that returns the initialized version. Returns `_initialized`
     */
    function _getInitializedVersion() internal view returns (uint8) {
        return _initialized;
    }

    /**
     * @dev Internal function that returns the initialized version. Returns `_initializing`
     */
    function _isInitializing() internal view returns (bool) {
        return _initializing;
    }
}

File 5 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 6 of 11 : MerkleProofUpgradeable.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 MerkleProofUpgradeable {
    /**
     * @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 7 of 11 : ERC721AStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

library ERC721AStorage {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    struct Layout {
        // =============================================================
        //                            STORAGE
        // =============================================================

        // The next token ID to be minted.
        uint256 _currentIndex;
        // The number of tokens burned.
        uint256 _burnCounter;
        // Token name
        string _name;
        // Token symbol
        string _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) _packedOwnerships;
        // Mapping owner address to address data.
        //
        // Bits Layout:
        // - [0..63]    `balance`
        // - [64..127]  `numberMinted`
        // - [128..191] `numberBurned`
        // - [192..255] `aux`
        mapping(address => uint256) _packedAddressData;
        // Mapping from token ID to approved address.
        mapping(uint256 => ERC721AStorage.TokenApprovalRef) _tokenApprovals;
        // Mapping from owner to operator approvals
        mapping(address => mapping(address => bool)) _operatorApprovals;
    }

    bytes32 internal constant STORAGE_SLOT = keccak256('ERC721A.contracts.storage.ERC721A');

    function layout() internal pure returns (Layout storage l) {
        bytes32 slot = STORAGE_SLOT;
        assembly {
            l.slot := slot
        }
    }
}

File 8 of 11 : ERC721A__Initializable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable diamond facet contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */

import {ERC721A__InitializableStorage} from './ERC721A__InitializableStorage.sol';

abstract contract ERC721A__Initializable {
    using ERC721A__InitializableStorage for ERC721A__InitializableStorage.Layout;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializerERC721A() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(
            ERC721A__InitializableStorage.layout()._initializing
                ? _isConstructor()
                : !ERC721A__InitializableStorage.layout()._initialized,
            'ERC721A__Initializable: contract is already initialized'
        );

        bool isTopLevelCall = !ERC721A__InitializableStorage.layout()._initializing;
        if (isTopLevelCall) {
            ERC721A__InitializableStorage.layout()._initializing = true;
            ERC721A__InitializableStorage.layout()._initialized = true;
        }

        _;

        if (isTopLevelCall) {
            ERC721A__InitializableStorage.layout()._initializing = false;
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializingERC721A() {
        require(
            ERC721A__InitializableStorage.layout()._initializing,
            'ERC721A__Initializable: contract is not initializing'
        );
        _;
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        // extcodesize checks the size of the code stored in an address, and
        // address returns the current address. Since the code is still not
        // deployed when running a constructor, any checks on its code size will
        // yield zero, making it an effective way to detect if a contract is
        // under construction or not.
        address self = address(this);
        uint256 cs;
        assembly {
            cs := extcodesize(self)
        }
        return cs == 0;
    }
}

File 9 of 11 : IERC721AUpgradeable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721AUpgradeable {
    /**
     * 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 10 of 11 : ERC721A__InitializableStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This is a base storage for the  initialization function for upgradeable diamond facet contracts
 **/

library ERC721A__InitializableStorage {
    struct Layout {
        /*
         * Indicates that the contract has been initialized.
         */
        bool _initialized;
        /*
         * Indicates that the contract is in the process of being initialized.
         */
        bool _initializing;
    }

    bytes32 internal constant STORAGE_SLOT = keccak256('ERC721A.contracts.storage.initializable.facet');

    function layout() internal pure returns (Layout storage l) {
        bytes32 slot = STORAGE_SLOT;
        assembly {
            l.slot := slot
        }
    }
}

File 11 of 11 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0-rc.1) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

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

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

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenId","type":"uint256[]"}],"name":"BURN","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"ChangeWhitelistStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"LordMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_state","type":"bool"}],"name":"Pausable","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"UpdateBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"UpdateMaxMintAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"UpdateOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"UpdateRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","type":"event"},{"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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenId","type":"uint256[]"}],"name":"burn","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":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"uint256","name":"_totalNFT","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseExtension","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","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":"multipleNFTTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftDetails","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalNFT","type":"uint256"}],"name":"setTotalNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setWhitelistStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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":"totalNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50615319806100206000396000f3fe60806040526004361061022f5760003560e01c80636817c76c1161012e5780639ddf7ad3116100ab578063c87b56dd1161006f578063c87b56dd14610806578063da3ef23f14610843578063dab5f3401461086c578063e985e9c514610895578063ebf0c717146108d25761022f565b80639ddf7ad314610735578063a22cb46514610760578063b80f55c914610789578063b88d4fde146107b2578063c6682862146107db5761022f565b80638a1dea54116100f25780638a1dea54146106645780638d6cc56d1461068d5780638da5cb5b146106b657806395d89b41146106e15780639ae69ad51461070c5761022f565b80636817c76c1461057f5780636c0360eb146105aa57806370a08231146105d55780637197e022146106125780637f00c7a61461063b5761022f565b806318160ddd116101bc5780634a999118116101805780634a999118146104a957806355f804b3146104d25780635c975abb146104fb5780636352211e14610526578063641ce140146105635761022f565b806318160ddd146103e5578063239c70ae1461041057806323b872dd1461043b57806342842e0e14610464578063484b973c1461048d5761022f565b8063081812fc11610203578063081812fc146102f0578063095ea7b31461032d57806310dbe6661461035657806313af403514610393578063155dd5ee146103bc5761022f565b80624563791461023457806301ffc9a71461025f57806302329a291461029c57806306fdde03146102c5575b600080fd5b34801561024057600080fd5b506102496108fd565b60405161025691906149b9565b60405180910390f35b34801561026b57600080fd5b506102866004803603810190610281919061405b565b610903565b6040516102939190614706565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190614009565b610995565b005b3480156102d157600080fd5b506102da610a89565b6040516102e79190614757565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906140ee565b610b24565b604051610324919061461b565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190613f1c565b610bac565b005b34801561036257600080fd5b5061037d60048036038101906103789190613c24565b610cf9565b60405161038a91906149b9565b60405180910390f35b34801561039f57600080fd5b506103ba60048036038101906103b59190613c24565b610d11565b005b3480156103c857600080fd5b506103e360048036038101906103de91906140ee565b610e40565b005b3480156103f157600080fd5b506103fa61105d565b60405161040791906149b9565b60405180910390f35b34801561041c57600080fd5b50610425611086565b60405161043291906149b9565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190613cf0565b61108c565b005b34801561047057600080fd5b5061048b60048036038101906104869190613cf0565b6113e7565b005b6104a760048036038101906104a29190613f1c565b611407565b005b3480156104b557600080fd5b506104d060048036038101906104cb9190614009565b6115b5565b005b3480156104de57600080fd5b506104f960048036038101906104f491906140ad565b611699565b005b34801561050757600080fd5b5061051061177a565b60405161051d9190614706565b60405180910390f35b34801561053257600080fd5b5061054d600480360381019061054891906140ee565b61178d565b60405161055a919061461b565b60405180910390f35b61057d60048036038101906105789190613f58565b61179f565b005b34801561058b57600080fd5b50610594611b69565b6040516105a191906149b9565b60405180910390f35b3480156105b657600080fd5b506105bf611b6f565b6040516105cc9190614757565b60405180910390f35b3480156105e157600080fd5b506105fc60048036038101906105f79190613c24565b611bfd565b60405161060991906149b9565b60405180910390f35b34801561061e57600080fd5b5061063960048036038101906106349190613df6565b611cbf565b005b34801561064757600080fd5b50610662600480360381019061065d91906140ee565b611fb0565b005b34801561067057600080fd5b5061068b600480360381019061068691906140ee565b612081565b005b34801561069957600080fd5b506106b460048036038101906106af91906140ee565b61215f565b005b3480156106c257600080fd5b506106cb612232565b6040516106d8919061461b565b60405180910390f35b3480156106ed57600080fd5b506106f6612258565b6040516107039190614757565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190613c89565b6122f3565b005b34801561074157600080fd5b5061074a6123a8565b6040516107579190614706565b60405180910390f35b34801561076c57600080fd5b5061078760048036038101906107829190613dba565b6123bb565b005b34801561079557600080fd5b506107b060048036038101906107ab9190613fc4565b61253c565b005b3480156107be57600080fd5b506107d960048036038101906107d49190613d3f565b612632565b005b3480156107e757600080fd5b506107f06126a5565b6040516107fd9190614757565b60405180910390f35b34801561081257600080fd5b5061082d600480360381019061082891906140ee565b612733565b60405161083a9190614757565b60405180910390f35b34801561084f57600080fd5b5061086a600480360381019061086591906140ad565b6127dd565b005b34801561087857600080fd5b50610893600480360381019061088e9190614032565b612887565b005b3480156108a157600080fd5b506108bc60048036038101906108b79190613c4d565b612958565b6040516108c99190614706565b60405180910390f35b3480156108de57600080fd5b506108e76129f5565b6040516108f49190614721565b60405180910390f35b60365481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061098e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b61099d6129fb565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2490614979565b60405180910390fd5b80603560006101000a81548160ff0219169083151502179055507fd50aa5e7250de744184760fe907adb5d01955537ddb35ac6d3bd5b8c1fffde1281604051610a769190614706565b60405180910390a1610a86612a4b565b50565b6060610a93612a54565b6002018054610aa190614cef565b80601f0160208091040260200160405190810160405280929190818152602001828054610acd90614cef565b8015610b1a5780601f10610aef57610100808354040283529160200191610b1a565b820191906000526020600020905b815481529060010190602001808311610afd57829003601f168201915b5050505050905090565b6000610b2f82612a81565b610b65576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b6d612a54565b600601600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb78261178d565b90508073ffffffffffffffffffffffffffffffffffffffff16610bd8612af2565b73ffffffffffffffffffffffffffffffffffffffff1614610c3b57610c0481610bff612af2565b612958565b610c3a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b82610c44612a54565b600601600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b603b6020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9890614979565b60405180910390fd5b80603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe2c7d1c4da37855e682bde14f17826d185497973b73fba7554daa6da467058d933603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051610e35929190614636565b60405180910390a150565b610e486129fb565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecf90614979565b60405180910390fd5b60008114158015610ee95750804710155b610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f906148f9565b60405180910390fd5b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610f7090614606565b60006040518083038185875af1925050503d8060008114610fad576040519150601f19603f3d011682016040523d82523d6000602084013e610fb2565b606091505b5050905080610ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fed90614999565b60405180910390fd5b7ff3fef3a3f44f9c277339b67d54f015748bd8d6b77a985b0ab6e71126b018c34a603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040516110499291906146dd565b60405180910390a15061105a612a4b565b50565b6000611067612afa565b61106f612a54565b6001015461107b612a54565b600001540303905090565b60385481565b600061109782612aff565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110fe576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061110a84612be8565b91509150611120818761111b612af2565b612c18565b61116c5761113586611130612af2565b612958565b61116b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156111d3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111e08686866001612c5c565b80156111eb57600082555b6111f3612a54565b60050160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600190039190508190555061124a612a54565b60050160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506112cb856112a7888887612c62565b7c020000000000000000000000000000000000000000000000000000000017612c8a565b6112d3612a54565b60040160008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156113775760006001850190506000611325612a54565b600401600083815260200190815260200160002054141561137557611348612a54565b600001548114611374578361135b612a54565b6004016000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113df8686866001612cb5565b505050505050565b61140283838360405180602001604052806000815250612632565b505050565b61140f6129fb565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690614979565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561150f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611506906147d9565b60405180910390fd5b80611518612cbb565b6115229190614afb565b6036541015611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90614799565b60405180910390fd5b6115708282612cce565b7f672176cde8013e1f51f0d3a41c7062f323967217ba67b0e434a786cdd8ae77f982826040516115a19291906146dd565b60405180910390a16115b1612a4b565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c90614979565b60405180910390fd5b80603560016101000a81548160ff0219169083151502179055507f6f4de221b9b07998bdbee74be3c500f8cab6fa9d7184f718692ecd7c7ba384e08160405161168e9190614706565b60405180910390a150565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172090614979565b60405180910390fd5b806039908051906020019061173f929190613909565b507f157d450c8fb1377294d9db75af1de2753efc52d8e5578551d70d2c7d9cd74df98160405161176f9190614757565b60405180910390a150565b603560009054906101000a900460ff1681565b600061179882612aff565b9050919050565b6117a76129fb565b603560009054906101000a900460ff16156117f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ee90614939565b60405180910390fd5b3483806037546118079190614b82565b821015611849576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611840906148d9565b60405180910390fd5b8480603b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118959190614afb565b60385410156118d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d090614839565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415611949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611940906147d9565b60405180910390fd5b603854861115801561195b5750600086115b61199a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199190614919565b60405180910390fd5b856119a3612cbb565b6119ad9190614afb565b60365410156119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890614799565b60405180910390fd5b603560019054906101000a900460ff16611abf57600033604051602001611a1891906145af565b604051602081830303815290604052805190602001209050611a7e868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060345483612cec565b611abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab490614899565b60405180910390fd5b505b85603b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b0e9190614afb565b92505081905550611b1f8787612cce565b7f672176cde8013e1f51f0d3a41c7062f323967217ba67b0e434a786cdd8ae77f98787604051611b509291906146dd565b60405180910390a1505050611b63612a4b565b50505050565b60375481565b60398054611b7c90614cef565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba890614cef565b8015611bf55780601f10611bca57610100808354040283529160200191611bf5565b820191906000526020600020905b815481529060010190602001808311611bd857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c65576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff611c76612a54565b60050160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611cc7612d03565b60000160019054906101000a900460ff16611cfb57611ce4612d03565b60000160009054906101000a900460ff1615611d04565b611d03612d30565b5b611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a90614859565b60405180910390fd5b6000611d4d612d03565b60000160019054906101000a900460ff161590508015611db0576001611d71612d03565b60000160016101000a81548160ff0219169083151502179055506001611d95612d03565b60000160006101000a81548160ff0219169083151502179055505b60008060019054906101000a900460ff16159050808015611de15750600160008054906101000a900460ff1660ff16105b80611e0e5750611df030612d47565b158015611e0d5750600160008054906101000a900460ff1660ff16145b5b611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490614819565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611e8a576001600060016101000a81548160ff0219169083151502179055505b611e948585612d6a565b8a603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550896034819055508560399080519060200190611ef2929190613909565b5088603681905550876037819055508660388190555082603a9080519060200190611f1e929190613909565b508015611f785760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611f6f919061473c565b60405180910390a15b508015611fa4576000611f89612d03565b60000160016101000a81548160ff0219169083151502179055505b50505050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203790614979565b60405180910390fd5b806038819055507f3385c6869dac98adc3e3da5522d70ccb86f500f2d93abcba38f62572f6b9ad838160405161207691906149b9565b60405180910390a150565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210890614979565b60405180910390fd5b6036548111612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c906147f9565b60405180910390fd5b8060368190555050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146121ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e690614979565b60405180910390fd5b806037819055507f64e6e7bd72b853c4e62fd6ceaca05a104700c70a4cb567c75c7f2242ba7f037c33826040516122279291906146dd565b60405180910390a150565b603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060612262612a54565b600301805461227090614cef565b80601f016020809104026020016040519081016040528092919081815260200182805461229c90614cef565b80156122e95780601f106122be576101008083540402835291602001916122e9565b820191906000526020600020905b8154815290600101906020018083116122cc57829003601f168201915b5050505050905090565b600081511415612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90614779565b60405180910390fd5b60005b81518110156123a25761238f8484848481518110612382577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516113e7565b808061239a90614d52565b91505061233b565b50505050565b603560019054906101000a900460ff1681565b6123c3612af2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612428576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80612431612a54565b600701600061243e612af2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166124eb612af2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125309190614706565b60405180910390a35050565b81816125488282612dd0565b612587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257e906148b9565b60405180910390fd5b60005b848490508110156125f0576125dd8585838181106125d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612eb6565b80806125e890614d52565b91505061258a565b507ff34926b1f0ade565906a068ca10b7384b67033aa38ace87d6332b128fcd3c487338585604051612624939291906146ab565b60405180910390a150505050565b61263d84848461108c565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461269f5761266884848484612ec4565b61269e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b603a80546126b290614cef565b80601f01602080910402602001604051908101604052809291908181526020018280546126de90614cef565b801561272b5780601f106127005761010080835404028352916020019161272b565b820191906000526020600020905b81548152906001019060200180831161270e57829003601f168201915b505050505081565b606061273e82612a81565b61277d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277490614879565b60405180910390fd5b6000612787613024565b905060008151116127a757604051806020016040528060008152506127d5565b806127b1846130b6565b603a6040516020016127c5939291906145ca565b6040516020818303038152906040525b915050919050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461286d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286490614979565b60405180910390fd5b80603a9080519060200190612883929190613909565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e90614979565b60405180910390fd5b806034819055507fc8d52687b85ab11e6859cb0b390a9e926e1b348d9796e084f88f88420c176fc68160405161294d9190614721565b60405180910390a150565b6000612962612a54565b60070160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60345481565b60026001541415612a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3890614959565b60405180910390fd5b6002600181905550565b60018081905550565b6000807f2569078dfb4b0305704d3008e7403993ae9601b85f7ae5e742de3de8f8011c4090508091505090565b600081612a8c612afa565b11158015612aa45750612a9d612a54565b6000015482105b8015612aeb575060007c0100000000000000000000000000000000000000000000000000000000612ad3612a54565b60040160008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612b0e612afa565b11612bb157612b1b612a54565b60000154811015612bb0576000612b30612a54565b600401600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612bae575b6000811415612ba457612b81612a54565b600401600083600190039350838152602001908152602001600020549050612b70565b8092505050612be3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000612bf5612a54565b600601600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612c79868684613263565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612cc5612a54565b60000154905090565b612ce882826040518060200160405280600081525061326c565b5050565b600082612cf9858461331c565b1490509392505050565b6000807fee151c8401928dc223602bb187aff91b9a56c7cae5476ef1b3287b085a16c85f90508091505090565b6000803090506000813b9050600081149250505090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b612d72612d03565b60000160019054906101000a900460ff16612dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db9906147b9565b60405180910390fd5b612dcc8282613398565b5050565b600080600090505b83839050811015612eab57612e2b848483818110612e1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8f906148b9565b60405180910390fd5b8080612ea390614d52565b915050612dd8565b506001905092915050565b612ec181600061344b565b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eea612af2565b8786866040518563ffffffff1660e01b8152600401612f0c949392919061465f565b602060405180830381600087803b158015612f2657600080fd5b505af1925050508015612f5757506040513d601f19601f82011682018060405250810190612f549190614084565b60015b612fd1573d8060008114612f87576040519150601f19603f3d011682016040523d82523d6000602084013e612f8c565b606091505b50600081511415612fc9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606039805461303390614cef565b80601f016020809104026020016040519081016040528092919081815260200182805461305f90614cef565b80156130ac5780601f10613081576101008083540402835291602001916130ac565b820191906000526020600020905b81548152906001019060200180831161308f57829003601f168201915b5050505050905090565b606060008214156130fe576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061325e565b600082905060005b6000821461313057808061311990614d52565b915050600a826131299190614b51565b9150613106565b60008167ffffffffffffffff811115613172577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131a45781602001600182028036833780820191505090505b5090505b60008514613257576001826131bd9190614bdc565b9150600a856131cc9190614dbf565b60306131d89190614afb565b60f81b818381518110613214577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132509190614b51565b94506131a8565b8093505050505b919050565b60009392505050565b61327683836136d5565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461331757600061329f612a54565b600001549050600083820390505b6132c06000868380600101945086612ec4565b6132f6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106132ad5781613306612a54565b600001541461331457600080fd5b50505b505050565b60008082905060005b845181101561338d576133788286838151811061336b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516138b7565b9150808061338590614d52565b915050613325565b508091505092915050565b6133a0612d03565b60000160019054906101000a900460ff166133f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e7906147b9565b60405180910390fd5b816133f9612a54565b600201908051906020019061340f929190613909565b5080613419612a54565b600301908051906020019061342f929190613909565b50613438612afa565b613440612a54565b600001819055505050565b600061345683612aff565b9050600081905060008061346986612be8565b9150915084156134d2576134858184613480612af2565b612c18565b6134d15761349a83613495612af2565b612958565b6134d0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6134e0836000886001612c5c565b80156134eb57600082555b600160806001901b036134fc612a54565b60050160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061359c8361355985600088612c62565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612c8a565b6135a4612a54565b60040160008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516141561364857600060018701905060006135f6612a54565b600401600083815260200190815260200160002054141561364657613619612a54565b600001548114613645578461362c612a54565b6004016000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136b2836000886001612cb5565b6136ba612a54565b60010160008154809291906001019190505550505050505050565b60006136df612a54565b6000015490506000821415613720576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61372d6000848385612c5c565b600160406001901b178202613740612a54565b60050160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506137ad8361379e6000866000612c62565b6137a7856138e2565b17612c8a565b6137b5612a54565b600401600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461385757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061381c565b506000821415613893576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061389c612a54565b6000018190555050506138b26000848385612cb5565b505050565b60008183106138cf576138ca82846138f2565b6138da565b6138d983836138f2565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b82805461391590614cef565b90600052602060002090601f016020900481019282613937576000855561397e565b82601f1061395057805160ff191683800117855561397e565b8280016001018555821561397e579182015b8281111561397d578251825591602001919060010190613962565b5b50905061398b919061398f565b5090565b5b808211156139a8576000816000905550600101613990565b5090565b60006139bf6139ba846149f9565b6149d4565b905080838252602082019050828560208602820111156139de57600080fd5b60005b85811015613a0e57816139f48882613c0f565b8452602084019350602083019250506001810190506139e1565b5050509392505050565b6000613a2b613a2684614a25565b6149d4565b905082815260208101848484011115613a4357600080fd5b613a4e848285614cad565b509392505050565b6000613a69613a6484614a56565b6149d4565b905082815260208101848484011115613a8157600080fd5b613a8c848285614cad565b509392505050565b600081359050613aa381615270565b92915050565b60008083601f840112613abb57600080fd5b8235905067ffffffffffffffff811115613ad457600080fd5b602083019150836020820283011115613aec57600080fd5b9250929050565b60008083601f840112613b0557600080fd5b8235905067ffffffffffffffff811115613b1e57600080fd5b602083019150836020820283011115613b3657600080fd5b9250929050565b600082601f830112613b4e57600080fd5b8135613b5e8482602086016139ac565b91505092915050565b600081359050613b7681615287565b92915050565b600081359050613b8b8161529e565b92915050565b600081359050613ba0816152b5565b92915050565b600081519050613bb5816152b5565b92915050565b600082601f830112613bcc57600080fd5b8135613bdc848260208601613a18565b91505092915050565b600082601f830112613bf657600080fd5b8135613c06848260208601613a56565b91505092915050565b600081359050613c1e816152cc565b92915050565b600060208284031215613c3657600080fd5b6000613c4484828501613a94565b91505092915050565b60008060408385031215613c6057600080fd5b6000613c6e85828601613a94565b9250506020613c7f85828601613a94565b9150509250929050565b600080600060608486031215613c9e57600080fd5b6000613cac86828701613a94565b9350506020613cbd86828701613a94565b925050604084013567ffffffffffffffff811115613cda57600080fd5b613ce686828701613b3d565b9150509250925092565b600080600060608486031215613d0557600080fd5b6000613d1386828701613a94565b9350506020613d2486828701613a94565b9250506040613d3586828701613c0f565b9150509250925092565b60008060008060808587031215613d5557600080fd5b6000613d6387828801613a94565b9450506020613d7487828801613a94565b9350506040613d8587828801613c0f565b925050606085013567ffffffffffffffff811115613da257600080fd5b613dae87828801613bbb565b91505092959194509250565b60008060408385031215613dcd57600080fd5b6000613ddb85828601613a94565b9250506020613dec85828601613b67565b9150509250929050565b60008060008060008060008060006101208a8c031215613e1557600080fd5b6000613e238c828d01613a94565b9950506020613e348c828d01613b7c565b9850506040613e458c828d01613c0f565b9750506060613e568c828d01613c0f565b9650506080613e678c828d01613c0f565b95505060a08a013567ffffffffffffffff811115613e8457600080fd5b613e908c828d01613be5565b94505060c08a013567ffffffffffffffff811115613ead57600080fd5b613eb98c828d01613be5565b93505060e08a013567ffffffffffffffff811115613ed657600080fd5b613ee28c828d01613be5565b9250506101008a013567ffffffffffffffff811115613f0057600080fd5b613f0c8c828d01613be5565b9150509295985092959850929598565b60008060408385031215613f2f57600080fd5b6000613f3d85828601613a94565b9250506020613f4e85828601613c0f565b9150509250929050565b60008060008060608587031215613f6e57600080fd5b6000613f7c87828801613a94565b9450506020613f8d87828801613c0f565b935050604085013567ffffffffffffffff811115613faa57600080fd5b613fb687828801613aa9565b925092505092959194509250565b60008060208385031215613fd757600080fd5b600083013567ffffffffffffffff811115613ff157600080fd5b613ffd85828601613af3565b92509250509250929050565b60006020828403121561401b57600080fd5b600061402984828501613b67565b91505092915050565b60006020828403121561404457600080fd5b600061405284828501613b7c565b91505092915050565b60006020828403121561406d57600080fd5b600061407b84828501613b91565b91505092915050565b60006020828403121561409657600080fd5b60006140a484828501613ba6565b91505092915050565b6000602082840312156140bf57600080fd5b600082013567ffffffffffffffff8111156140d957600080fd5b6140e584828501613be5565b91505092915050565b60006020828403121561410057600080fd5b600061410e84828501613c0f565b91505092915050565b61412081614c10565b82525050565b61413761413282614c10565b614d9b565b82525050565b60006141498385614ab2565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561417857600080fd5b602083029250614189838584614cad565b82840190509392505050565b61419e81614c22565b82525050565b6141ad81614c2e565b82525050565b60006141be82614a9c565b6141c88185614ac3565b93506141d8818560208601614cbc565b6141e181614eac565b840191505092915050565b6141f581614c9b565b82525050565b600061420682614aa7565b6142108185614adf565b9350614220818560208601614cbc565b61422981614eac565b840191505092915050565b600061423f82614aa7565b6142498185614af0565b9350614259818560208601614cbc565b80840191505092915050565b6000815461427281614cef565b61427c8186614af0565b9450600182166000811461429757600181146142a8576142db565b60ff198316865281860193506142db565b6142b185614a87565b60005b838110156142d3578154818901526001820191506020810190506142b4565b838801955050505b50505092915050565b60006142f1600f83614adf565b91506142fc82614eca565b602082019050919050565b6000614314600983614adf565b915061431f82614ef3565b602082019050919050565b6000614337603483614adf565b915061434282614f1c565b604082019050919050565b600061435a600c83614adf565b915061436582614f6b565b602082019050919050565b600061437d601683614adf565b915061438882614f94565b602082019050919050565b60006143a0602e83614adf565b91506143ab82614fbd565b604082019050919050565b60006143c3601283614adf565b91506143ce8261500c565b602082019050919050565b60006143e6603783614adf565b91506143f182615035565b604082019050919050565b6000614409602f83614adf565b915061441482615084565b604082019050919050565b600061442c600f83614adf565b9150614437826150d3565b602082019050919050565b600061444f601583614adf565b915061445a826150fc565b602082019050919050565b6000614472601583614adf565b915061447d82615125565b602082019050919050565b6000614495601883614adf565b91506144a08261514e565b602082019050919050565b60006144b8600d83614adf565b91506144c382615177565b602082019050919050565b60006144db600083614ad4565b91506144e6826151a0565b600082019050919050565b60006144fe600f83614adf565b9150614509826151a3565b602082019050919050565b6000614521601f83614adf565b915061452c826151cc565b602082019050919050565b6000614544600983614adf565b915061454f826151f5565b602082019050919050565b6000614567600d83614adf565b91506145728261521e565b602082019050919050565b600061458a600183614af0565b915061459582615247565b600182019050919050565b6145a981614c84565b82525050565b60006145bb8284614126565b60148201915081905092915050565b60006145d68286614234565b91506145e18261457d565b91506145ed8285614234565b91506145f98284614265565b9150819050949350505050565b6000614611826144ce565b9150819050919050565b60006020820190506146306000830184614117565b92915050565b600060408201905061464b6000830185614117565b6146586020830184614117565b9392505050565b60006080820190506146746000830187614117565b6146816020830186614117565b61468e60408301856145a0565b81810360608301526146a081846141b3565b905095945050505050565b60006040820190506146c06000830186614117565b81810360208301526146d381848661413d565b9050949350505050565b60006040820190506146f26000830185614117565b6146ff60208301846145a0565b9392505050565b600060208201905061471b6000830184614195565b92915050565b600060208201905061473660008301846141a4565b92915050565b600060208201905061475160008301846141ec565b92915050565b6000602082019050818103600083015261477181846141fb565b905092915050565b60006020820190508181036000830152614792816142e4565b9050919050565b600060208201905081810360008301526147b281614307565b9050919050565b600060208201905081810360008301526147d28161432a565b9050919050565b600060208201905081810360008301526147f28161434d565b9050919050565b6000602082019050818103600083015261481281614370565b9050919050565b6000602082019050818103600083015261483281614393565b9050919050565b60006020820190508181036000830152614852816143b6565b9050919050565b60006020820190508181036000830152614872816143d9565b9050919050565b60006020820190508181036000830152614892816143fc565b9050919050565b600060208201905081810360008301526148b28161441f565b9050919050565b600060208201905081810360008301526148d281614442565b9050919050565b600060208201905081810360008301526148f281614465565b9050919050565b6000602082019050818103600083015261491281614488565b9050919050565b60006020820190508181036000830152614932816144ab565b9050919050565b60006020820190508181036000830152614952816144f1565b9050919050565b6000602082019050818103600083015261497281614514565b9050919050565b6000602082019050818103600083015261499281614537565b9050919050565b600060208201905081810360008301526149b28161455a565b9050919050565b60006020820190506149ce60008301846145a0565b92915050565b60006149de6149ef565b90506149ea8282614d21565b919050565b6000604051905090565b600067ffffffffffffffff821115614a1457614a13614e7d565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a4057614a3f614e7d565b5b614a4982614eac565b9050602081019050919050565b600067ffffffffffffffff821115614a7157614a70614e7d565b5b614a7a82614eac565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b0682614c84565b9150614b1183614c84565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b4657614b45614df0565b5b828201905092915050565b6000614b5c82614c84565b9150614b6783614c84565b925082614b7757614b76614e1f565b5b828204905092915050565b6000614b8d82614c84565b9150614b9883614c84565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bd157614bd0614df0565b5b828202905092915050565b6000614be782614c84565b9150614bf283614c84565b925082821015614c0557614c04614df0565b5b828203905092915050565b6000614c1b82614c64565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614ca682614c8e565b9050919050565b82818337600083830152505050565b60005b83811015614cda578082015181840152602081019050614cbf565b83811115614ce9576000848401525b50505050565b60006002820490506001821680614d0757607f821691505b60208210811415614d1b57614d1a614e4e565b5b50919050565b614d2a82614eac565b810181811067ffffffffffffffff82111715614d4957614d48614e7d565b5b80604052505050565b6000614d5d82614c84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d9057614d8f614df0565b5b600182019050919050565b6000614da682614dad565b9050919050565b6000614db882614ebd565b9050919050565b6000614dca82614c84565b9150614dd583614c84565b925082614de557614de4614e1f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f6c656e677468206e6f74207a65726f0000000000000000000000000000000000600082015250565b7f6c6f72642066756c6c0000000000000000000000000000000000000000000000600082015250565b7f455243373231415f5f496e697469616c697a61626c653a20636f6e747261637460008201527f206973206e6f7420696e697469616c697a696e67000000000000000000000000602082015250565b7f6e756c6c20616464726573730000000000000000000000000000000000000000600082015250565b7f6e6f74206c657373207468616e20746f74616c4e465400000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f61626f7665206d6178207175616e746974790000000000000000000000000000600082015250565b7f455243373231415f5f496e697469616c697a61626c653a20636f6e747261637460008201527f20697320616c726561647920696e697469616c697a6564000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f496e636f72726563742070726f6f660000000000000000000000000000000000600082015250565b7f596f7520617265206e6f74206e6674206f776e65720000000000000000000000600082015250565b7f616d6f756e74206e6f742073756666696369656e740000000000000000000000600082015250565b7f616d6f756e74206973206e6f742073756666696369656e740000000000000000600082015250565b7f7a65726f207175616e7469747900000000000000000000000000000000000000600082015250565b50565b7f636f6e7472616374207061757365640000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b7f726566756e64206661696c656400000000000000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b61527981614c10565b811461528457600080fd5b50565b61529081614c22565b811461529b57600080fd5b50565b6152a781614c2e565b81146152b257600080fd5b50565b6152be81614c38565b81146152c957600080fd5b50565b6152d581614c84565b81146152e057600080fd5b5056fea26469706673582212201f5629ed51741f12086dfc7cd727e33284e096303f3c9f899a376d23b2958f7d64736f6c63430008040033

Deployed Bytecode

0x60806040526004361061022f5760003560e01c80636817c76c1161012e5780639ddf7ad3116100ab578063c87b56dd1161006f578063c87b56dd14610806578063da3ef23f14610843578063dab5f3401461086c578063e985e9c514610895578063ebf0c717146108d25761022f565b80639ddf7ad314610735578063a22cb46514610760578063b80f55c914610789578063b88d4fde146107b2578063c6682862146107db5761022f565b80638a1dea54116100f25780638a1dea54146106645780638d6cc56d1461068d5780638da5cb5b146106b657806395d89b41146106e15780639ae69ad51461070c5761022f565b80636817c76c1461057f5780636c0360eb146105aa57806370a08231146105d55780637197e022146106125780637f00c7a61461063b5761022f565b806318160ddd116101bc5780634a999118116101805780634a999118146104a957806355f804b3146104d25780635c975abb146104fb5780636352211e14610526578063641ce140146105635761022f565b806318160ddd146103e5578063239c70ae1461041057806323b872dd1461043b57806342842e0e14610464578063484b973c1461048d5761022f565b8063081812fc11610203578063081812fc146102f0578063095ea7b31461032d57806310dbe6661461035657806313af403514610393578063155dd5ee146103bc5761022f565b80624563791461023457806301ffc9a71461025f57806302329a291461029c57806306fdde03146102c5575b600080fd5b34801561024057600080fd5b506102496108fd565b60405161025691906149b9565b60405180910390f35b34801561026b57600080fd5b506102866004803603810190610281919061405b565b610903565b6040516102939190614706565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190614009565b610995565b005b3480156102d157600080fd5b506102da610a89565b6040516102e79190614757565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906140ee565b610b24565b604051610324919061461b565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190613f1c565b610bac565b005b34801561036257600080fd5b5061037d60048036038101906103789190613c24565b610cf9565b60405161038a91906149b9565b60405180910390f35b34801561039f57600080fd5b506103ba60048036038101906103b59190613c24565b610d11565b005b3480156103c857600080fd5b506103e360048036038101906103de91906140ee565b610e40565b005b3480156103f157600080fd5b506103fa61105d565b60405161040791906149b9565b60405180910390f35b34801561041c57600080fd5b50610425611086565b60405161043291906149b9565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190613cf0565b61108c565b005b34801561047057600080fd5b5061048b60048036038101906104869190613cf0565b6113e7565b005b6104a760048036038101906104a29190613f1c565b611407565b005b3480156104b557600080fd5b506104d060048036038101906104cb9190614009565b6115b5565b005b3480156104de57600080fd5b506104f960048036038101906104f491906140ad565b611699565b005b34801561050757600080fd5b5061051061177a565b60405161051d9190614706565b60405180910390f35b34801561053257600080fd5b5061054d600480360381019061054891906140ee565b61178d565b60405161055a919061461b565b60405180910390f35b61057d60048036038101906105789190613f58565b61179f565b005b34801561058b57600080fd5b50610594611b69565b6040516105a191906149b9565b60405180910390f35b3480156105b657600080fd5b506105bf611b6f565b6040516105cc9190614757565b60405180910390f35b3480156105e157600080fd5b506105fc60048036038101906105f79190613c24565b611bfd565b60405161060991906149b9565b60405180910390f35b34801561061e57600080fd5b5061063960048036038101906106349190613df6565b611cbf565b005b34801561064757600080fd5b50610662600480360381019061065d91906140ee565b611fb0565b005b34801561067057600080fd5b5061068b600480360381019061068691906140ee565b612081565b005b34801561069957600080fd5b506106b460048036038101906106af91906140ee565b61215f565b005b3480156106c257600080fd5b506106cb612232565b6040516106d8919061461b565b60405180910390f35b3480156106ed57600080fd5b506106f6612258565b6040516107039190614757565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190613c89565b6122f3565b005b34801561074157600080fd5b5061074a6123a8565b6040516107579190614706565b60405180910390f35b34801561076c57600080fd5b5061078760048036038101906107829190613dba565b6123bb565b005b34801561079557600080fd5b506107b060048036038101906107ab9190613fc4565b61253c565b005b3480156107be57600080fd5b506107d960048036038101906107d49190613d3f565b612632565b005b3480156107e757600080fd5b506107f06126a5565b6040516107fd9190614757565b60405180910390f35b34801561081257600080fd5b5061082d600480360381019061082891906140ee565b612733565b60405161083a9190614757565b60405180910390f35b34801561084f57600080fd5b5061086a600480360381019061086591906140ad565b6127dd565b005b34801561087857600080fd5b50610893600480360381019061088e9190614032565b612887565b005b3480156108a157600080fd5b506108bc60048036038101906108b79190613c4d565b612958565b6040516108c99190614706565b60405180910390f35b3480156108de57600080fd5b506108e76129f5565b6040516108f49190614721565b60405180910390f35b60365481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061098e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b61099d6129fb565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2490614979565b60405180910390fd5b80603560006101000a81548160ff0219169083151502179055507fd50aa5e7250de744184760fe907adb5d01955537ddb35ac6d3bd5b8c1fffde1281604051610a769190614706565b60405180910390a1610a86612a4b565b50565b6060610a93612a54565b6002018054610aa190614cef565b80601f0160208091040260200160405190810160405280929190818152602001828054610acd90614cef565b8015610b1a5780601f10610aef57610100808354040283529160200191610b1a565b820191906000526020600020905b815481529060010190602001808311610afd57829003601f168201915b5050505050905090565b6000610b2f82612a81565b610b65576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b6d612a54565b600601600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb78261178d565b90508073ffffffffffffffffffffffffffffffffffffffff16610bd8612af2565b73ffffffffffffffffffffffffffffffffffffffff1614610c3b57610c0481610bff612af2565b612958565b610c3a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b82610c44612a54565b600601600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b603b6020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9890614979565b60405180910390fd5b80603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe2c7d1c4da37855e682bde14f17826d185497973b73fba7554daa6da467058d933603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051610e35929190614636565b60405180910390a150565b610e486129fb565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecf90614979565b60405180910390fd5b60008114158015610ee95750804710155b610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f906148f9565b60405180910390fd5b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610f7090614606565b60006040518083038185875af1925050503d8060008114610fad576040519150601f19603f3d011682016040523d82523d6000602084013e610fb2565b606091505b5050905080610ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fed90614999565b60405180910390fd5b7ff3fef3a3f44f9c277339b67d54f015748bd8d6b77a985b0ab6e71126b018c34a603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040516110499291906146dd565b60405180910390a15061105a612a4b565b50565b6000611067612afa565b61106f612a54565b6001015461107b612a54565b600001540303905090565b60385481565b600061109782612aff565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110fe576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061110a84612be8565b91509150611120818761111b612af2565b612c18565b61116c5761113586611130612af2565b612958565b61116b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156111d3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111e08686866001612c5c565b80156111eb57600082555b6111f3612a54565b60050160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600190039190508190555061124a612a54565b60050160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506112cb856112a7888887612c62565b7c020000000000000000000000000000000000000000000000000000000017612c8a565b6112d3612a54565b60040160008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156113775760006001850190506000611325612a54565b600401600083815260200190815260200160002054141561137557611348612a54565b600001548114611374578361135b612a54565b6004016000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113df8686866001612cb5565b505050505050565b61140283838360405180602001604052806000815250612632565b505050565b61140f6129fb565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690614979565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561150f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611506906147d9565b60405180910390fd5b80611518612cbb565b6115229190614afb565b6036541015611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90614799565b60405180910390fd5b6115708282612cce565b7f672176cde8013e1f51f0d3a41c7062f323967217ba67b0e434a786cdd8ae77f982826040516115a19291906146dd565b60405180910390a16115b1612a4b565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c90614979565b60405180910390fd5b80603560016101000a81548160ff0219169083151502179055507f6f4de221b9b07998bdbee74be3c500f8cab6fa9d7184f718692ecd7c7ba384e08160405161168e9190614706565b60405180910390a150565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172090614979565b60405180910390fd5b806039908051906020019061173f929190613909565b507f157d450c8fb1377294d9db75af1de2753efc52d8e5578551d70d2c7d9cd74df98160405161176f9190614757565b60405180910390a150565b603560009054906101000a900460ff1681565b600061179882612aff565b9050919050565b6117a76129fb565b603560009054906101000a900460ff16156117f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ee90614939565b60405180910390fd5b3483806037546118079190614b82565b821015611849576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611840906148d9565b60405180910390fd5b8480603b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118959190614afb565b60385410156118d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d090614839565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415611949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611940906147d9565b60405180910390fd5b603854861115801561195b5750600086115b61199a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199190614919565b60405180910390fd5b856119a3612cbb565b6119ad9190614afb565b60365410156119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890614799565b60405180910390fd5b603560019054906101000a900460ff16611abf57600033604051602001611a1891906145af565b604051602081830303815290604052805190602001209050611a7e868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060345483612cec565b611abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab490614899565b60405180910390fd5b505b85603b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b0e9190614afb565b92505081905550611b1f8787612cce565b7f672176cde8013e1f51f0d3a41c7062f323967217ba67b0e434a786cdd8ae77f98787604051611b509291906146dd565b60405180910390a1505050611b63612a4b565b50505050565b60375481565b60398054611b7c90614cef565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba890614cef565b8015611bf55780601f10611bca57610100808354040283529160200191611bf5565b820191906000526020600020905b815481529060010190602001808311611bd857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c65576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff611c76612a54565b60050160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611cc7612d03565b60000160019054906101000a900460ff16611cfb57611ce4612d03565b60000160009054906101000a900460ff1615611d04565b611d03612d30565b5b611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a90614859565b60405180910390fd5b6000611d4d612d03565b60000160019054906101000a900460ff161590508015611db0576001611d71612d03565b60000160016101000a81548160ff0219169083151502179055506001611d95612d03565b60000160006101000a81548160ff0219169083151502179055505b60008060019054906101000a900460ff16159050808015611de15750600160008054906101000a900460ff1660ff16105b80611e0e5750611df030612d47565b158015611e0d5750600160008054906101000a900460ff1660ff16145b5b611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490614819565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611e8a576001600060016101000a81548160ff0219169083151502179055505b611e948585612d6a565b8a603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550896034819055508560399080519060200190611ef2929190613909565b5088603681905550876037819055508660388190555082603a9080519060200190611f1e929190613909565b508015611f785760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611f6f919061473c565b60405180910390a15b508015611fa4576000611f89612d03565b60000160016101000a81548160ff0219169083151502179055505b50505050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203790614979565b60405180910390fd5b806038819055507f3385c6869dac98adc3e3da5522d70ccb86f500f2d93abcba38f62572f6b9ad838160405161207691906149b9565b60405180910390a150565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210890614979565b60405180910390fd5b6036548111612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c906147f9565b60405180910390fd5b8060368190555050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146121ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e690614979565b60405180910390fd5b806037819055507f64e6e7bd72b853c4e62fd6ceaca05a104700c70a4cb567c75c7f2242ba7f037c33826040516122279291906146dd565b60405180910390a150565b603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060612262612a54565b600301805461227090614cef565b80601f016020809104026020016040519081016040528092919081815260200182805461229c90614cef565b80156122e95780601f106122be576101008083540402835291602001916122e9565b820191906000526020600020905b8154815290600101906020018083116122cc57829003601f168201915b5050505050905090565b600081511415612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90614779565b60405180910390fd5b60005b81518110156123a25761238f8484848481518110612382577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516113e7565b808061239a90614d52565b91505061233b565b50505050565b603560019054906101000a900460ff1681565b6123c3612af2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612428576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80612431612a54565b600701600061243e612af2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166124eb612af2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125309190614706565b60405180910390a35050565b81816125488282612dd0565b612587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257e906148b9565b60405180910390fd5b60005b848490508110156125f0576125dd8585838181106125d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612eb6565b80806125e890614d52565b91505061258a565b507ff34926b1f0ade565906a068ca10b7384b67033aa38ace87d6332b128fcd3c487338585604051612624939291906146ab565b60405180910390a150505050565b61263d84848461108c565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461269f5761266884848484612ec4565b61269e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b603a80546126b290614cef565b80601f01602080910402602001604051908101604052809291908181526020018280546126de90614cef565b801561272b5780601f106127005761010080835404028352916020019161272b565b820191906000526020600020905b81548152906001019060200180831161270e57829003601f168201915b505050505081565b606061273e82612a81565b61277d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277490614879565b60405180910390fd5b6000612787613024565b905060008151116127a757604051806020016040528060008152506127d5565b806127b1846130b6565b603a6040516020016127c5939291906145ca565b6040516020818303038152906040525b915050919050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461286d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286490614979565b60405180910390fd5b80603a9080519060200190612883929190613909565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e90614979565b60405180910390fd5b806034819055507fc8d52687b85ab11e6859cb0b390a9e926e1b348d9796e084f88f88420c176fc68160405161294d9190614721565b60405180910390a150565b6000612962612a54565b60070160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60345481565b60026001541415612a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3890614959565b60405180910390fd5b6002600181905550565b60018081905550565b6000807f2569078dfb4b0305704d3008e7403993ae9601b85f7ae5e742de3de8f8011c4090508091505090565b600081612a8c612afa565b11158015612aa45750612a9d612a54565b6000015482105b8015612aeb575060007c0100000000000000000000000000000000000000000000000000000000612ad3612a54565b60040160008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612b0e612afa565b11612bb157612b1b612a54565b60000154811015612bb0576000612b30612a54565b600401600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612bae575b6000811415612ba457612b81612a54565b600401600083600190039350838152602001908152602001600020549050612b70565b8092505050612be3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000612bf5612a54565b600601600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612c79868684613263565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612cc5612a54565b60000154905090565b612ce882826040518060200160405280600081525061326c565b5050565b600082612cf9858461331c565b1490509392505050565b6000807fee151c8401928dc223602bb187aff91b9a56c7cae5476ef1b3287b085a16c85f90508091505090565b6000803090506000813b9050600081149250505090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b612d72612d03565b60000160019054906101000a900460ff16612dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db9906147b9565b60405180910390fd5b612dcc8282613398565b5050565b600080600090505b83839050811015612eab57612e2b848483818110612e1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8f906148b9565b60405180910390fd5b8080612ea390614d52565b915050612dd8565b506001905092915050565b612ec181600061344b565b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eea612af2565b8786866040518563ffffffff1660e01b8152600401612f0c949392919061465f565b602060405180830381600087803b158015612f2657600080fd5b505af1925050508015612f5757506040513d601f19601f82011682018060405250810190612f549190614084565b60015b612fd1573d8060008114612f87576040519150601f19603f3d011682016040523d82523d6000602084013e612f8c565b606091505b50600081511415612fc9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606039805461303390614cef565b80601f016020809104026020016040519081016040528092919081815260200182805461305f90614cef565b80156130ac5780601f10613081576101008083540402835291602001916130ac565b820191906000526020600020905b81548152906001019060200180831161308f57829003601f168201915b5050505050905090565b606060008214156130fe576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061325e565b600082905060005b6000821461313057808061311990614d52565b915050600a826131299190614b51565b9150613106565b60008167ffffffffffffffff811115613172577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131a45781602001600182028036833780820191505090505b5090505b60008514613257576001826131bd9190614bdc565b9150600a856131cc9190614dbf565b60306131d89190614afb565b60f81b818381518110613214577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132509190614b51565b94506131a8565b8093505050505b919050565b60009392505050565b61327683836136d5565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461331757600061329f612a54565b600001549050600083820390505b6132c06000868380600101945086612ec4565b6132f6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106132ad5781613306612a54565b600001541461331457600080fd5b50505b505050565b60008082905060005b845181101561338d576133788286838151811061336b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516138b7565b9150808061338590614d52565b915050613325565b508091505092915050565b6133a0612d03565b60000160019054906101000a900460ff166133f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e7906147b9565b60405180910390fd5b816133f9612a54565b600201908051906020019061340f929190613909565b5080613419612a54565b600301908051906020019061342f929190613909565b50613438612afa565b613440612a54565b600001819055505050565b600061345683612aff565b9050600081905060008061346986612be8565b9150915084156134d2576134858184613480612af2565b612c18565b6134d15761349a83613495612af2565b612958565b6134d0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6134e0836000886001612c5c565b80156134eb57600082555b600160806001901b036134fc612a54565b60050160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061359c8361355985600088612c62565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612c8a565b6135a4612a54565b60040160008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516141561364857600060018701905060006135f6612a54565b600401600083815260200190815260200160002054141561364657613619612a54565b600001548114613645578461362c612a54565b6004016000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136b2836000886001612cb5565b6136ba612a54565b60010160008154809291906001019190505550505050505050565b60006136df612a54565b6000015490506000821415613720576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61372d6000848385612c5c565b600160406001901b178202613740612a54565b60050160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506137ad8361379e6000866000612c62565b6137a7856138e2565b17612c8a565b6137b5612a54565b600401600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461385757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061381c565b506000821415613893576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061389c612a54565b6000018190555050506138b26000848385612cb5565b505050565b60008183106138cf576138ca82846138f2565b6138da565b6138d983836138f2565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b82805461391590614cef565b90600052602060002090601f016020900481019282613937576000855561397e565b82601f1061395057805160ff191683800117855561397e565b8280016001018555821561397e579182015b8281111561397d578251825591602001919060010190613962565b5b50905061398b919061398f565b5090565b5b808211156139a8576000816000905550600101613990565b5090565b60006139bf6139ba846149f9565b6149d4565b905080838252602082019050828560208602820111156139de57600080fd5b60005b85811015613a0e57816139f48882613c0f565b8452602084019350602083019250506001810190506139e1565b5050509392505050565b6000613a2b613a2684614a25565b6149d4565b905082815260208101848484011115613a4357600080fd5b613a4e848285614cad565b509392505050565b6000613a69613a6484614a56565b6149d4565b905082815260208101848484011115613a8157600080fd5b613a8c848285614cad565b509392505050565b600081359050613aa381615270565b92915050565b60008083601f840112613abb57600080fd5b8235905067ffffffffffffffff811115613ad457600080fd5b602083019150836020820283011115613aec57600080fd5b9250929050565b60008083601f840112613b0557600080fd5b8235905067ffffffffffffffff811115613b1e57600080fd5b602083019150836020820283011115613b3657600080fd5b9250929050565b600082601f830112613b4e57600080fd5b8135613b5e8482602086016139ac565b91505092915050565b600081359050613b7681615287565b92915050565b600081359050613b8b8161529e565b92915050565b600081359050613ba0816152b5565b92915050565b600081519050613bb5816152b5565b92915050565b600082601f830112613bcc57600080fd5b8135613bdc848260208601613a18565b91505092915050565b600082601f830112613bf657600080fd5b8135613c06848260208601613a56565b91505092915050565b600081359050613c1e816152cc565b92915050565b600060208284031215613c3657600080fd5b6000613c4484828501613a94565b91505092915050565b60008060408385031215613c6057600080fd5b6000613c6e85828601613a94565b9250506020613c7f85828601613a94565b9150509250929050565b600080600060608486031215613c9e57600080fd5b6000613cac86828701613a94565b9350506020613cbd86828701613a94565b925050604084013567ffffffffffffffff811115613cda57600080fd5b613ce686828701613b3d565b9150509250925092565b600080600060608486031215613d0557600080fd5b6000613d1386828701613a94565b9350506020613d2486828701613a94565b9250506040613d3586828701613c0f565b9150509250925092565b60008060008060808587031215613d5557600080fd5b6000613d6387828801613a94565b9450506020613d7487828801613a94565b9350506040613d8587828801613c0f565b925050606085013567ffffffffffffffff811115613da257600080fd5b613dae87828801613bbb565b91505092959194509250565b60008060408385031215613dcd57600080fd5b6000613ddb85828601613a94565b9250506020613dec85828601613b67565b9150509250929050565b60008060008060008060008060006101208a8c031215613e1557600080fd5b6000613e238c828d01613a94565b9950506020613e348c828d01613b7c565b9850506040613e458c828d01613c0f565b9750506060613e568c828d01613c0f565b9650506080613e678c828d01613c0f565b95505060a08a013567ffffffffffffffff811115613e8457600080fd5b613e908c828d01613be5565b94505060c08a013567ffffffffffffffff811115613ead57600080fd5b613eb98c828d01613be5565b93505060e08a013567ffffffffffffffff811115613ed657600080fd5b613ee28c828d01613be5565b9250506101008a013567ffffffffffffffff811115613f0057600080fd5b613f0c8c828d01613be5565b9150509295985092959850929598565b60008060408385031215613f2f57600080fd5b6000613f3d85828601613a94565b9250506020613f4e85828601613c0f565b9150509250929050565b60008060008060608587031215613f6e57600080fd5b6000613f7c87828801613a94565b9450506020613f8d87828801613c0f565b935050604085013567ffffffffffffffff811115613faa57600080fd5b613fb687828801613aa9565b925092505092959194509250565b60008060208385031215613fd757600080fd5b600083013567ffffffffffffffff811115613ff157600080fd5b613ffd85828601613af3565b92509250509250929050565b60006020828403121561401b57600080fd5b600061402984828501613b67565b91505092915050565b60006020828403121561404457600080fd5b600061405284828501613b7c565b91505092915050565b60006020828403121561406d57600080fd5b600061407b84828501613b91565b91505092915050565b60006020828403121561409657600080fd5b60006140a484828501613ba6565b91505092915050565b6000602082840312156140bf57600080fd5b600082013567ffffffffffffffff8111156140d957600080fd5b6140e584828501613be5565b91505092915050565b60006020828403121561410057600080fd5b600061410e84828501613c0f565b91505092915050565b61412081614c10565b82525050565b61413761413282614c10565b614d9b565b82525050565b60006141498385614ab2565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561417857600080fd5b602083029250614189838584614cad565b82840190509392505050565b61419e81614c22565b82525050565b6141ad81614c2e565b82525050565b60006141be82614a9c565b6141c88185614ac3565b93506141d8818560208601614cbc565b6141e181614eac565b840191505092915050565b6141f581614c9b565b82525050565b600061420682614aa7565b6142108185614adf565b9350614220818560208601614cbc565b61422981614eac565b840191505092915050565b600061423f82614aa7565b6142498185614af0565b9350614259818560208601614cbc565b80840191505092915050565b6000815461427281614cef565b61427c8186614af0565b9450600182166000811461429757600181146142a8576142db565b60ff198316865281860193506142db565b6142b185614a87565b60005b838110156142d3578154818901526001820191506020810190506142b4565b838801955050505b50505092915050565b60006142f1600f83614adf565b91506142fc82614eca565b602082019050919050565b6000614314600983614adf565b915061431f82614ef3565b602082019050919050565b6000614337603483614adf565b915061434282614f1c565b604082019050919050565b600061435a600c83614adf565b915061436582614f6b565b602082019050919050565b600061437d601683614adf565b915061438882614f94565b602082019050919050565b60006143a0602e83614adf565b91506143ab82614fbd565b604082019050919050565b60006143c3601283614adf565b91506143ce8261500c565b602082019050919050565b60006143e6603783614adf565b91506143f182615035565b604082019050919050565b6000614409602f83614adf565b915061441482615084565b604082019050919050565b600061442c600f83614adf565b9150614437826150d3565b602082019050919050565b600061444f601583614adf565b915061445a826150fc565b602082019050919050565b6000614472601583614adf565b915061447d82615125565b602082019050919050565b6000614495601883614adf565b91506144a08261514e565b602082019050919050565b60006144b8600d83614adf565b91506144c382615177565b602082019050919050565b60006144db600083614ad4565b91506144e6826151a0565b600082019050919050565b60006144fe600f83614adf565b9150614509826151a3565b602082019050919050565b6000614521601f83614adf565b915061452c826151cc565b602082019050919050565b6000614544600983614adf565b915061454f826151f5565b602082019050919050565b6000614567600d83614adf565b91506145728261521e565b602082019050919050565b600061458a600183614af0565b915061459582615247565b600182019050919050565b6145a981614c84565b82525050565b60006145bb8284614126565b60148201915081905092915050565b60006145d68286614234565b91506145e18261457d565b91506145ed8285614234565b91506145f98284614265565b9150819050949350505050565b6000614611826144ce565b9150819050919050565b60006020820190506146306000830184614117565b92915050565b600060408201905061464b6000830185614117565b6146586020830184614117565b9392505050565b60006080820190506146746000830187614117565b6146816020830186614117565b61468e60408301856145a0565b81810360608301526146a081846141b3565b905095945050505050565b60006040820190506146c06000830186614117565b81810360208301526146d381848661413d565b9050949350505050565b60006040820190506146f26000830185614117565b6146ff60208301846145a0565b9392505050565b600060208201905061471b6000830184614195565b92915050565b600060208201905061473660008301846141a4565b92915050565b600060208201905061475160008301846141ec565b92915050565b6000602082019050818103600083015261477181846141fb565b905092915050565b60006020820190508181036000830152614792816142e4565b9050919050565b600060208201905081810360008301526147b281614307565b9050919050565b600060208201905081810360008301526147d28161432a565b9050919050565b600060208201905081810360008301526147f28161434d565b9050919050565b6000602082019050818103600083015261481281614370565b9050919050565b6000602082019050818103600083015261483281614393565b9050919050565b60006020820190508181036000830152614852816143b6565b9050919050565b60006020820190508181036000830152614872816143d9565b9050919050565b60006020820190508181036000830152614892816143fc565b9050919050565b600060208201905081810360008301526148b28161441f565b9050919050565b600060208201905081810360008301526148d281614442565b9050919050565b600060208201905081810360008301526148f281614465565b9050919050565b6000602082019050818103600083015261491281614488565b9050919050565b60006020820190508181036000830152614932816144ab565b9050919050565b60006020820190508181036000830152614952816144f1565b9050919050565b6000602082019050818103600083015261497281614514565b9050919050565b6000602082019050818103600083015261499281614537565b9050919050565b600060208201905081810360008301526149b28161455a565b9050919050565b60006020820190506149ce60008301846145a0565b92915050565b60006149de6149ef565b90506149ea8282614d21565b919050565b6000604051905090565b600067ffffffffffffffff821115614a1457614a13614e7d565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a4057614a3f614e7d565b5b614a4982614eac565b9050602081019050919050565b600067ffffffffffffffff821115614a7157614a70614e7d565b5b614a7a82614eac565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b0682614c84565b9150614b1183614c84565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b4657614b45614df0565b5b828201905092915050565b6000614b5c82614c84565b9150614b6783614c84565b925082614b7757614b76614e1f565b5b828204905092915050565b6000614b8d82614c84565b9150614b9883614c84565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bd157614bd0614df0565b5b828202905092915050565b6000614be782614c84565b9150614bf283614c84565b925082821015614c0557614c04614df0565b5b828203905092915050565b6000614c1b82614c64565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614ca682614c8e565b9050919050565b82818337600083830152505050565b60005b83811015614cda578082015181840152602081019050614cbf565b83811115614ce9576000848401525b50505050565b60006002820490506001821680614d0757607f821691505b60208210811415614d1b57614d1a614e4e565b5b50919050565b614d2a82614eac565b810181811067ffffffffffffffff82111715614d4957614d48614e7d565b5b80604052505050565b6000614d5d82614c84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d9057614d8f614df0565b5b600182019050919050565b6000614da682614dad565b9050919050565b6000614db882614ebd565b9050919050565b6000614dca82614c84565b9150614dd583614c84565b925082614de557614de4614e1f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f6c656e677468206e6f74207a65726f0000000000000000000000000000000000600082015250565b7f6c6f72642066756c6c0000000000000000000000000000000000000000000000600082015250565b7f455243373231415f5f496e697469616c697a61626c653a20636f6e747261637460008201527f206973206e6f7420696e697469616c697a696e67000000000000000000000000602082015250565b7f6e756c6c20616464726573730000000000000000000000000000000000000000600082015250565b7f6e6f74206c657373207468616e20746f74616c4e465400000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f61626f7665206d6178207175616e746974790000000000000000000000000000600082015250565b7f455243373231415f5f496e697469616c697a61626c653a20636f6e747261637460008201527f20697320616c726561647920696e697469616c697a6564000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f496e636f72726563742070726f6f660000000000000000000000000000000000600082015250565b7f596f7520617265206e6f74206e6674206f776e65720000000000000000000000600082015250565b7f616d6f756e74206e6f742073756666696369656e740000000000000000000000600082015250565b7f616d6f756e74206973206e6f742073756666696369656e740000000000000000600082015250565b7f7a65726f207175616e7469747900000000000000000000000000000000000000600082015250565b50565b7f636f6e7472616374207061757365640000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b7f726566756e64206661696c656400000000000000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b61527981614c10565b811461528457600080fd5b50565b61529081614c22565b811461529b57600080fd5b50565b6152a781614c2e565b81146152b257600080fd5b50565b6152be81614c38565b81146152c957600080fd5b50565b6152d581614c84565b81146152e057600080fd5b5056fea26469706673582212201f5629ed51741f12086dfc7cd727e33284e096303f3c9f899a376d23b2958f7d64736f6c63430008040033

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  ]

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.