ETH Price: $3,860.81 (-1.65%)

Token

Seatbelt On! (Passenger)
 

Overview

Max Total Supply

3,333 Passenger

Holders

2,015

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Passenger
0x77887ca3db251383d981a08ca466e8eb41d4bf25
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NFT

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : NFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;

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

contract NFT is ERC721A, Ownable {
    uint256 constant MAX_MINTS = 5;
    uint256 constant MAX_SUPPLY = 3333;
    uint256 public mintPrice = 0.005 ether;

    // Allowlist (whitelist)
    bytes32 public root;

    // Metadata, Uri
    string public baseURI = "ipfs://QmZCJBcoi552Qs3hHsbVYgxAHtP3JSpAEhTJ7BZVFTKF1u/";

    // ERC20 - Pledge
    address public _token20;
    bool private _token20Seted = false;

    // Market
    bool public isPublicSaleActive = false;
    bool public isWhiteSaleActive = false;
    bool public isBlindboxOpen = false;


    constructor() ERC721A("Seatbelt On!", "Passenger") {}

    function mintAllowList(bytes32[] memory proof, uint256 quantity) external payable {
        require(isWhiteSaleActive, "Allowlist mint is not active");
        require(isValid(proof, keccak256(abi.encodePacked(msg.sender))), "Not a part of Allowlist");
        require(quantity <= MAX_MINTS, "Exceeded the personal limit");
        require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough Seatbelts left");

        if(quantity==5){
            require(msg.value >= 0.02 ether, "Not enough ether sent");
        }
        else{
            require(msg.value >= (mintPrice * quantity), "Not enough ether sent");
        }
        
        _safeMint(msg.sender, quantity);
    }

    function mintPublic(uint256 quantity) external payable {
        require(isPublicSaleActive, "Public mint is not active");
        require(quantity <= MAX_MINTS, "Exceeded the personal limit");
        require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough Seatbelts left");

        if(quantity==5){
            require(msg.value >= 0.02 ether, "Not enough ether sent");
        }
        else{
            require(msg.value >= (mintPrice * quantity), "Not enough ether sent");
        }

        _safeMint(msg.sender, quantity);
    }

    /**
     * @dev can get one for free, if fill one other address can give 1 free token as present 
     * if not, need to fill in 0x0000000000000000000000000000000000000000, then only caller can get one for free
     * 
     * @dev use AUX to record whether mintGive or not (including mintGivePublic & mintGiveWhitelist)
     * =0: no mintGive
     * =1: mintGive
    */
    function mintGivePublic(address receiver) external {
        require(isPublicSaleActive, "Public mint is not active");
        require( receiver != _msgSender(), "You cannot fill in your own address");
        uint64 _aux = _getAux(_msgSender());
        require(_aux == 0, "You have already mint free give");
        if ( receiver == address(0)){
            require(totalSupply() + 1 <= MAX_SUPPLY, "Not enough Seatbelts left");
        }
        else{
            require(totalSupply() + 2 <= MAX_SUPPLY, "Not enough Seatbelts left");
            _safeMint(receiver, 1);
        }
        _safeMint(msg.sender, 1);

        _setAux(_msgSender(), 1);
    }
    
    /**
     * @dev can get one for free, if fill one other address can give 1 free token as present 
     * if not, need to fill in 0x0000000000000000000000000000000000000000, then only caller can get one for free
    */
   //
    function mintGiveWhitelist(address receiver, bytes32[] memory proof) external {
        require(isWhiteSaleActive, "Allowlist mint is not active");
        require(isValid(proof, keccak256(abi.encodePacked(msg.sender))), "Not a part of Allowlist");
        require( receiver != _msgSender(), "You cannot fill in your own address");
        uint64 _aux = _getAux(_msgSender());
        require(_aux == 0, "You have already mint free give");
        if ( receiver == address(0)){
            require(totalSupply() + 1 <= MAX_SUPPLY, "Not enough Seatbelts left");
        }
        else{
            require(totalSupply() + 2 <= MAX_SUPPLY, "Not enough Seatbelts left");
            _safeMint(receiver, 1);
        }
        _safeMint(msg.sender, 1);

        _setAux(_msgSender(), 1);        
    }

    function burnSeat(uint256 tokenId) external{
        _burn(tokenId, true); // no approve function, but need to check if owner
    }

    function isValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return isBlindboxOpen
                ?  string(abi.encodePacked(baseURI, _toString(tokenId), ".json")) 
                : string(abi.encodePacked(baseURI));
    }

    /**
    * @dev set the address of erc20 contract interecting with this NFT 
    * 
    * called by once and only
    */
    function setErc20(address myErc20) external onlyOwner {
        require(!_token20Seted, "Token20 has been already set");
        //I trust that there is no one in team will randomly send some wrong contract to this function;
        _token20 = myErc20;
        _token20Seted = true;
    }

    /**
    * @dev set pledge status of NFT without change owner and owner's balance record 
    * 
    * Requirements:
    * - only call by the address of erc20 contract which has set by setErc20() function
    * 
    * who heve token pledged, still can call function setApprovalForAll
    */
    function pledgeTransferFromWithoutOwnerChange(
        address from,
        address to,
        uint256 tokenId,
        uint24 isPledged
    ) external virtual {
        require(_msgSender() == _token20, "You're not our contract");

        TokenOwnership memory prevOwnership = _ownershipAt(tokenId);
        if (isPledged==0){
            require(prevOwnership.extraData == 1, "This NFT hasn't been pledged"); //extraData will be initialized to 1 when mint() & transferFrom() by erc721A
            require(prevOwnership.addr == to, "This NFT does not belong to this address");
        }
        else{
            require(prevOwnership.extraData == 0, "This NFT has already been pledged");  //extradata=0=pledged
            require(prevOwnership.addr == from, "This NFT is not yours");
        }
        
        _setExtraDataAt(tokenId, isPledged);
    }

    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view override returns (uint24) {
        return previousExtraData;
    }
    
    function getPledgeStatus(uint256 tokenId) public view returns(uint24){
        require(_exists(tokenId), "This seat does not exist");
        TokenOwnership memory prevOwnership = _ownershipAt(tokenId);
        return prevOwnership.extraData;
    }

    /**
    @dev `transfer` and `send` assume constant gas prices. 
    * onlyOwner, so we accept the reentrancy risk that `.call.value` carries.
    */
    function withdraw() external payable onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }


    function devMint(uint256 quantity) external payable onlyOwner {
        require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough Seatbelts left");
        _safeMint(msg.sender, quantity);
    }

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

    function setBaseURI(string memory _seatURI, bool _state) external onlyOwner {
        baseURI = _seatURI;
        isBlindboxOpen = _state;
    }
    
    function setIsWhiteSaleActive(bool _newState) external onlyOwner {
        isWhiteSaleActive = _newState;
    }

    function setIsPublicSaleActive(bool _newState) external onlyOwner {
        isPublicSaleActive = _newState;
    }

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

    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function getNumOfBurned(address ownerAddr) public view returns(uint256){
        return _numberBurned(ownerAddr);
    }

    function getMintStatus() external view returns(uint64){
        return _getAux(_msgSender());
    }

}

File 2 of 6 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs (modified by YiWen)

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        TokenOwnership memory prevOwnership = _ownershipAt(tokenId);
        require(prevOwnership.extraData == 0, "This NFT has already been pledged");
        
        address owner = ownerOf(tokenId);

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        TokenOwnership memory prevOwnership = _ownershipAt(tokenId);
        require(prevOwnership.extraData == 0, "This NFT has already been pledged");

        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipAt(tokenId);
        require(prevOwnership.extraData == 0, "This NFT has already been pledged");
        
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 6 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

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

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

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_token20","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnSeat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintStatus","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"ownerAddr","type":"address"}],"name":"getNumOfBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPledgeStatus","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBlindboxOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhiteSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"mintGivePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintGiveWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint24","name":"isPledged","type":"uint24"}],"name":"pledgeTransferFromWithoutOwnerChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"_seatURI","type":"string"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"myErc20","type":"address"}],"name":"setErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newState","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newState","type":"bool"}],"name":"setIsWhiteSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526611c37937e0800060095560405180606001604052806036815260200162004e9d60369139600b9080519060200190620000409291906200026e565b506000600c60146101000a81548160ff0219169083151502179055506000600c60156101000a81548160ff0219169083151502179055506000600c60166101000a81548160ff0219169083151502179055506000600c60176101000a81548160ff021916908315150217905550348015620000ba57600080fd5b506040518060400160405280600c81526020017f5365617462656c74204f6e2100000000000000000000000000000000000000008152506040518060400160405280600981526020017f50617373656e676572000000000000000000000000000000000000000000000081525081600290805190602001906200013f9291906200026e565b508060039080519060200190620001589291906200026e565b50620001696200019760201b60201c565b60008190555050506200019162000185620001a060201b60201c565b620001a860201b60201c565b62000383565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200027c906200034d565b90600052602060002090601f016020900481019282620002a05760008555620002ec565b82601f10620002bb57805160ff1916838001178555620002ec565b82800160010185558215620002ec579182015b82811115620002eb578251825591602001919060010190620002ce565b5b509050620002fb9190620002ff565b5090565b5b808211156200031a57600081600090555060010162000300565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200036657607f821691505b602082108114156200037d576200037c6200031e565b5b50919050565b614b0a80620003936000396000f3fe6080604052600436106102515760003560e01c806370a0823111610139578063b8a20ed0116100b6578063ecbc5ab11161007a578063ecbc5ab114610899578063ee9b80a4146108c4578063efd0cbf9146108ed578063f2fde38b14610909578063f4a0a52814610932578063feb3ec931461095b57610251565b8063b8a20ed01461078e578063c87b56dd146107cb578063dab5f34014610808578063e985e9c514610831578063ebf0c7171461086e57610251565b806395d89b41116100fd57806395d89b41146106bf578063a22cb465146106ea578063ad18a01f14610713578063b64b21ca1461073c578063b88d4fde1461076557610251565b806370a08231146105ec578063715018a6146106295780637eeaed98146106405780638da5cb5b14610669578063941ada0e1461069457610251565b8063375a069a116101d2578063599f6b5611610196578063599f6b56146104da5780635a97dc2e146105055780635be30b7e1461052e5780636352211e146105595780636817c76c146105965780636c0360eb146105c157610251565b8063375a069a1461044657806337bfab50146104625780633ccfd60b1461047e57806342842e0e1461048857806344fc3281146104b157610251565b806318160ddd1161021957806318160ddd146103615780631e84c4131461038c57806323b872dd146103b757806328cad13d146103e057806330637e971461040957610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be57806309060395146102fb578063095ea7b314610338575b600080fd5b34801561026257600080fd5b5061027d6004803603810190610278919061349e565b610984565b60405161028a91906134e6565b60405180910390f35b34801561029f57600080fd5b506102a8610a16565b6040516102b5919061359a565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e091906135f2565b610aa8565b6040516102f29190613660565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906135f2565b610b27565b60405161032f9190613699565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a91906136e0565b610b8b565b005b34801561036d57600080fd5b50610376610d29565b604051610383919061372f565b60405180910390f35b34801561039857600080fd5b506103a1610d40565b6040516103ae91906134e6565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d9919061374a565b610d53565b005b3480156103ec57600080fd5b50610407600480360381019061040291906137c9565b6110d2565b005b34801561041557600080fd5b50610430600480360381019061042b91906137f6565b6110f7565b60405161043d919061372f565b60405180910390f35b610460600480360381019061045b91906135f2565b611109565b005b61047c600480360381019061047791906139a1565b611175565b005b610486611385565b005b34801561049457600080fd5b506104af60048036038101906104aa919061374a565b61143c565b005b3480156104bd57600080fd5b506104d860048036038101906104d391906139fd565b61145c565b005b3480156104e657600080fd5b506104ef611709565b6040516104fc9190613660565b60405180910390f35b34801561051157600080fd5b5061052c600480360381019061052791906135f2565b61172f565b005b34801561053a57600080fd5b5061054361173d565b60405161055091906134e6565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b91906135f2565b611750565b60405161058d9190613660565b60405180910390f35b3480156105a257600080fd5b506105ab611762565b6040516105b8919061372f565b60405180910390f35b3480156105cd57600080fd5b506105d6611768565b6040516105e3919061359a565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e91906137f6565b6117f6565b604051610620919061372f565b60405180910390f35b34801561063557600080fd5b5061063e6118af565b005b34801561064c57600080fd5b50610667600480360381019061066291906137f6565b6118c3565b005b34801561067557600080fd5b5061067e611b00565b60405161068b9190613660565b60405180910390f35b3480156106a057600080fd5b506106a9611b2a565b6040516106b69190613a7c565b60405180910390f35b3480156106cb57600080fd5b506106d4611b41565b6040516106e1919061359a565b60405180910390f35b3480156106f657600080fd5b50610711600480360381019061070c9190613a97565b611bd3565b005b34801561071f57600080fd5b5061073a60048036038101906107359190613b03565b611d4b565b005b34801561074857600080fd5b50610763600480360381019061075e9190613c1f565b611f90565b005b34801561077157600080fd5b5061078c60048036038101906107879190613d1c565b611fcd565b005b34801561079a57600080fd5b506107b560048036038101906107b09190613d9f565b612040565b6040516107c291906134e6565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed91906135f2565b612057565b6040516107ff919061359a565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a9190613dfb565b612110565b005b34801561083d57600080fd5b5061085860048036038101906108539190613e28565b612122565b60405161086591906134e6565b60405180910390f35b34801561087a57600080fd5b506108836121b6565b6040516108909190613e77565b60405180910390f35b3480156108a557600080fd5b506108ae6121bc565b6040516108bb91906134e6565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e691906137f6565b6121cf565b005b610907600480360381019061090291906135f2565b612286565b005b34801561091557600080fd5b50610930600480360381019061092b91906137f6565b612426565b005b34801561093e57600080fd5b50610959600480360381019061095491906135f2565b6124aa565b005b34801561096757600080fd5b50610982600480360381019061097d91906137c9565b6124bc565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109df57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a0f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610a2590613ec1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5190613ec1565b8015610a9e5780601f10610a7357610100808354040283529160200191610a9e565b820191906000526020600020905b815481529060010190602001808311610a8157829003601f168201915b5050505050905090565b6000610ab3826124e1565b610ae9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b32826124e1565b610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6890613f3f565b60405180910390fd5b6000610b7c83612540565b90508060600151915050919050565b6000610b9682612540565b90506000816060015162ffffff1614610be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdb90613fd1565b60405180910390fd5b6000610bef83611750565b90508073ffffffffffffffffffffffffffffffffffffffff16610c1061256b565b73ffffffffffffffffffffffffffffffffffffffff1614610c7357610c3c81610c3761256b565b612122565b610c72576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b6000610d33612573565b6001546000540303905090565b600c60159054906101000a900460ff1681565b6000610d5e82612540565b90506000816060015162ffffff1614610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da390613fd1565b60405180910390fd5b6000610db78361257c565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e1e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e2a8561264a565b91509150610e408188610e3b61256b565b612671565b610e8c57610e5587610e5061256b565b612122565b610e8b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415610ef3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0087878760016126b5565b8015610f0b57600082555b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610fd986610fb58989876126bb565b7c0200000000000000000000000000000000000000000000000000000000176126e3565b600460008781526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561106157600060018601905060006004600083815260200190815260200160002054141561105f57600054811461105e578360046000838152602001908152602001600020819055505b5b505b848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110c9878787600161270e565b50505050505050565b6110da612714565b80600c60156101000a81548160ff02191690831515021790555050565b600061110282612792565b9050919050565b611111612714565b610d058161111d610d29565b6111279190614020565b1115611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f906140c2565b60405180910390fd5b61117233826127e9565b50565b600c60169054906101000a900460ff166111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb9061412e565b60405180910390fd5b6111f482336040516020016111d99190614196565b60405160208183030381529060405280519060200120612040565b611233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122a906141fd565b60405180910390fd5b6005811115611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e90614269565b60405180910390fd5b610d0581611283610d29565b61128d9190614020565b11156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c5906140c2565b60405180910390fd5b60058114156113265766470de4df820000341015611321576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611318906142d5565b60405180910390fd5b611377565b8060095461133491906142f5565b341015611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d906142d5565b60405180910390fd5b5b61138133826127e9565b5050565b61138d612714565b60003373ffffffffffffffffffffffffffffffffffffffff16476040516113b390614380565b60006040518083038185875af1925050503d80600081146113f0576040519150601f19603f3d011682016040523d82523d6000602084013e6113f5565b606091505b5050905080611439576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611430906143e1565b60405180910390fd5b50565b61145783838360405180602001604052806000815250611fcd565b505050565b600c60169054906101000a900460ff166114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a29061412e565b60405180910390fd5b6114db81336040516020016114c09190614196565b60405160208183030381529060405280519060200120612040565b61151a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611511906141fd565b60405180910390fd5b611522612807565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158790614473565b60405180910390fd5b60006115a261159d612807565b61280f565b905060008167ffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e8906144df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561168357610d056001611633610d29565b61163d9190614020565b111561167e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611675906140c2565b60405180910390fd5b6116e7565b610d056002611690610d29565b61169a9190614020565b11156116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d2906140c2565b60405180910390fd5b6116e68360016127e9565b5b6116f23360016127e9565b6117046116fd612807565b600161285c565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61173a816001612912565b50565b600c60169054906101000a900460ff1681565b600061175b8261257c565b9050919050565b60095481565b600b805461177590613ec1565b80601f01602080910402602001604051908101604052809291908181526020018280546117a190613ec1565b80156117ee5780601f106117c3576101008083540402835291602001916117ee565b820191906000526020600020905b8154815290600101906020018083116117d157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561185e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118b7612714565b6118c16000612bc0565b565b600c60159054906101000a900460ff16611912576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119099061454b565b60405180910390fd5b61191a612807565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197f90614473565b60405180910390fd5b600061199a611995612807565b61280f565b905060008167ffffffffffffffff16146119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e0906144df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a7b57610d056001611a2b610d29565b611a359190614020565b1115611a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6d906140c2565b60405180910390fd5b611adf565b610d056002611a88610d29565b611a929190614020565b1115611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca906140c2565b60405180910390fd5b611ade8260016127e9565b5b611aea3360016127e9565b611afc611af5612807565b600161285c565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611b3c611b37612807565b61280f565b905090565b606060038054611b5090613ec1565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7c90613ec1565b8015611bc95780601f10611b9e57610100808354040283529160200191611bc9565b820191906000526020600020905b815481529060010190602001808311611bac57829003601f168201915b5050505050905090565b611bdb61256b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c40576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c4d61256b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cfa61256b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d3f91906134e6565b60405180910390a35050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d8c612807565b73ffffffffffffffffffffffffffffffffffffffff1614611de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd9906145b7565b60405180910390fd5b6000611ded83612540565b905060008262ffffff161415611ec0576001816060015162ffffff1614611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4090614623565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb2906146b5565b60405180910390fd5b611f7f565b6000816060015162ffffff1614611f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0390613fd1565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614721565b60405180910390fd5b5b611f898383612c86565b5050505050565b611f98612714565b81600b9080519060200190611fae929190613340565b5080600c60176101000a81548160ff0219169083151502179055505050565b611fd8848484610d53565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461203a5761200384848484612d23565b612039576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600061204f83600a5484612e83565b905092915050565b6060612062826124e1565b612098576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120a2612e9a565b9050600c60179054906101000a900460ff166120dd57806040516020016120c9919061477d565b604051602081830303815290604052612108565b806120e784612f2c565b6040516020016120f89291906147e0565b6040516020818303038152906040525b915050919050565b612118612714565b80600a8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a5481565b600c60179054906101000a900460ff1681565b6121d7612714565b600c60149054906101000a900460ff1615612227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221e9061485b565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c60146101000a81548160ff02191690831515021790555050565b600c60159054906101000a900460ff166122d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cc9061454b565b60405180910390fd5b6005811115612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231090614269565b60405180910390fd5b610d0581612325610d29565b61232f9190614020565b1115612370576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612367906140c2565b60405180910390fd5b60058114156123c85766470de4df8200003410156123c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ba906142d5565b60405180910390fd5b612419565b806009546123d691906142f5565b341015612418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240f906142d5565b60405180910390fd5b5b61242333826127e9565b50565b61242e612714565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561249e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612495906148ed565b60405180910390fd5b6124a781612bc0565b50565b6124b2612714565b8060098190555050565b6124c4612714565b80600c60166101000a81548160ff02191690831515021790555050565b6000816124ec612573565b111580156124fb575060005482105b8015612539575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6125486133c6565b6125646004600084815260200190815260200160002054612f7c565b9050919050565b600033905090565b60006001905090565b6000808290508061258b612573565b11612613576000548110156126125760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612610575b60008114156126065760046000836001900393508381526020019081526020016000205490506125db565b8092505050612645565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86126d2868684613032565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61271c612807565b73ffffffffffffffffffffffffffffffffffffffff1661273a611b00565b73ffffffffffffffffffffffffffffffffffffffff1614612790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278790614959565b60405180910390fd5b565b600067ffffffffffffffff6080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b61280382826040518060200160405280600081525061303e565b5050565b600033905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b600061291d83612540565b90506000816060015162ffffff161461296b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296290613fd1565b60405180910390fd5b60006129768461257c565b905060008190506000806129898761264a565b9150915085156129f2576129a581846129a061256b565b612671565b6129f1576129ba836129b561256b565b612122565b6129f0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612a008360008960016126b5565b8015612a0b57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612ab383612a70856000886126bb565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176126e3565b600460008981526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612b3b576000600188019050600060046000838152602001908152602001600020541415612b39576000548114612b38578460046000838152602001908152602001600020819055505b5b505b86600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ba583600089600161270e565b60016000815480929190600101919050555050505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600460008481526020019081526020016000205490506000811415612cd8576040517ed5815300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082905060e881901b7cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831617915081600460008681526020019081526020016000208190555050505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d4961256b565b8786866040518563ffffffff1660e01b8152600401612d6b94939291906149ce565b602060405180830381600087803b158015612d8557600080fd5b505af1925050508015612db657506040513d601f19601f82011682018060405250810190612db39190614a2f565b60015b612e30573d8060008114612de6576040519150601f19603f3d011682016040523d82523d6000602084013e612deb565b606091505b50600081511415612e28576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600082612e9085846130db565b1490509392505050565b6060600b8054612ea990613ec1565b80601f0160208091040260200160405190810160405280929190818152602001828054612ed590613ec1565b8015612f225780601f10612ef757610100808354040283529160200191612f22565b820191906000526020600020905b815481529060010190602001808311612f0557829003601f168201915b5050505050905090565b606060806040510190508060405280825b600115612f6857600183039250600a81066030018353600a8104905080612f6357612f68565b612f3d565b508181036020830392508083525050919050565b612f846133c6565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008190509392505050565b6130488383613131565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130d657600080549050600083820390505b6130886000868380600101945086612d23565b6130be576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106130755781600054146130d357600080fd5b50505b505050565b60008082905060005b8451811015613126576131118286838151811061310457613103614a5c565b5b60200260200101516132ee565b9150808061311e90614a8b565b9150506130e4565b508091505092915050565b6000805490506000821415613172576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61317f60008483856126b5565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131f6836131e760008660006126bb565b6131f085613319565b176126e3565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461329757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061325c565b5060008214156132d3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506132e9600084838561270e565b505050565b6000818310613306576133018284613329565b613311565b6133108383613329565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b82805461334c90613ec1565b90600052602060002090601f01602090048101928261336e57600085556133b5565b82601f1061338757805160ff19168380011785556133b5565b828001600101855582156133b5579182015b828111156133b4578251825591602001919060010190613399565b5b5090506133c29190613415565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561342e576000816000905550600101613416565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61347b81613446565b811461348657600080fd5b50565b60008135905061349881613472565b92915050565b6000602082840312156134b4576134b361343c565b5b60006134c284828501613489565b91505092915050565b60008115159050919050565b6134e0816134cb565b82525050565b60006020820190506134fb60008301846134d7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561353b578082015181840152602081019050613520565b8381111561354a576000848401525b50505050565b6000601f19601f8301169050919050565b600061356c82613501565b613576818561350c565b935061358681856020860161351d565b61358f81613550565b840191505092915050565b600060208201905081810360008301526135b48184613561565b905092915050565b6000819050919050565b6135cf816135bc565b81146135da57600080fd5b50565b6000813590506135ec816135c6565b92915050565b6000602082840312156136085761360761343c565b5b6000613616848285016135dd565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061364a8261361f565b9050919050565b61365a8161363f565b82525050565b60006020820190506136756000830184613651565b92915050565b600062ffffff82169050919050565b6136938161367b565b82525050565b60006020820190506136ae600083018461368a565b92915050565b6136bd8161363f565b81146136c857600080fd5b50565b6000813590506136da816136b4565b92915050565b600080604083850312156136f7576136f661343c565b5b6000613705858286016136cb565b9250506020613716858286016135dd565b9150509250929050565b613729816135bc565b82525050565b60006020820190506137446000830184613720565b92915050565b6000806000606084860312156137635761376261343c565b5b6000613771868287016136cb565b9350506020613782868287016136cb565b9250506040613793868287016135dd565b9150509250925092565b6137a6816134cb565b81146137b157600080fd5b50565b6000813590506137c38161379d565b92915050565b6000602082840312156137df576137de61343c565b5b60006137ed848285016137b4565b91505092915050565b60006020828403121561380c5761380b61343c565b5b600061381a848285016136cb565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61386082613550565b810181811067ffffffffffffffff8211171561387f5761387e613828565b5b80604052505050565b6000613892613432565b905061389e8282613857565b919050565b600067ffffffffffffffff8211156138be576138bd613828565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6138e7816138d4565b81146138f257600080fd5b50565b600081359050613904816138de565b92915050565b600061391d613918846138a3565b613888565b905080838252602082019050602084028301858111156139405761393f6138cf565b5b835b81811015613969578061395588826138f5565b845260208401935050602081019050613942565b5050509392505050565b600082601f83011261398857613987613823565b5b813561399884826020860161390a565b91505092915050565b600080604083850312156139b8576139b761343c565b5b600083013567ffffffffffffffff8111156139d6576139d5613441565b5b6139e285828601613973565b92505060206139f3858286016135dd565b9150509250929050565b60008060408385031215613a1457613a1361343c565b5b6000613a22858286016136cb565b925050602083013567ffffffffffffffff811115613a4357613a42613441565b5b613a4f85828601613973565b9150509250929050565b600067ffffffffffffffff82169050919050565b613a7681613a59565b82525050565b6000602082019050613a916000830184613a6d565b92915050565b60008060408385031215613aae57613aad61343c565b5b6000613abc858286016136cb565b9250506020613acd858286016137b4565b9150509250929050565b613ae08161367b565b8114613aeb57600080fd5b50565b600081359050613afd81613ad7565b92915050565b60008060008060808587031215613b1d57613b1c61343c565b5b6000613b2b878288016136cb565b9450506020613b3c878288016136cb565b9350506040613b4d878288016135dd565b9250506060613b5e87828801613aee565b91505092959194509250565b600080fd5b600067ffffffffffffffff821115613b8a57613b89613828565b5b613b9382613550565b9050602081019050919050565b82818337600083830152505050565b6000613bc2613bbd84613b6f565b613888565b905082815260208101848484011115613bde57613bdd613b6a565b5b613be9848285613ba0565b509392505050565b600082601f830112613c0657613c05613823565b5b8135613c16848260208601613baf565b91505092915050565b60008060408385031215613c3657613c3561343c565b5b600083013567ffffffffffffffff811115613c5457613c53613441565b5b613c6085828601613bf1565b9250506020613c71858286016137b4565b9150509250929050565b600067ffffffffffffffff821115613c9657613c95613828565b5b613c9f82613550565b9050602081019050919050565b6000613cbf613cba84613c7b565b613888565b905082815260208101848484011115613cdb57613cda613b6a565b5b613ce6848285613ba0565b509392505050565b600082601f830112613d0357613d02613823565b5b8135613d13848260208601613cac565b91505092915050565b60008060008060808587031215613d3657613d3561343c565b5b6000613d44878288016136cb565b9450506020613d55878288016136cb565b9350506040613d66878288016135dd565b925050606085013567ffffffffffffffff811115613d8757613d86613441565b5b613d9387828801613cee565b91505092959194509250565b60008060408385031215613db657613db561343c565b5b600083013567ffffffffffffffff811115613dd457613dd3613441565b5b613de085828601613973565b9250506020613df1858286016138f5565b9150509250929050565b600060208284031215613e1157613e1061343c565b5b6000613e1f848285016138f5565b91505092915050565b60008060408385031215613e3f57613e3e61343c565b5b6000613e4d858286016136cb565b9250506020613e5e858286016136cb565b9150509250929050565b613e71816138d4565b82525050565b6000602082019050613e8c6000830184613e68565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ed957607f821691505b60208210811415613eed57613eec613e92565b5b50919050565b7f54686973207365617420646f6573206e6f742065786973740000000000000000600082015250565b6000613f2960188361350c565b9150613f3482613ef3565b602082019050919050565b60006020820190508181036000830152613f5881613f1c565b9050919050565b7f54686973204e46542068617320616c7265616479206265656e20706c6564676560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fbb60218361350c565b9150613fc682613f5f565b604082019050919050565b60006020820190508181036000830152613fea81613fae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061402b826135bc565b9150614036836135bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561406b5761406a613ff1565b5b828201905092915050565b7f4e6f7420656e6f756768205365617462656c7473206c65667400000000000000600082015250565b60006140ac60198361350c565b91506140b782614076565b602082019050919050565b600060208201905081810360008301526140db8161409f565b9050919050565b7f416c6c6f776c697374206d696e74206973206e6f742061637469766500000000600082015250565b6000614118601c8361350c565b9150614123826140e2565b602082019050919050565b600060208201905081810360008301526141478161410b565b9050919050565b60008160601b9050919050565b60006141668261414e565b9050919050565b60006141788261415b565b9050919050565b61419061418b8261363f565b61416d565b82525050565b60006141a2828461417f565b60148201915081905092915050565b7f4e6f7420612070617274206f6620416c6c6f776c697374000000000000000000600082015250565b60006141e760178361350c565b91506141f2826141b1565b602082019050919050565b60006020820190508181036000830152614216816141da565b9050919050565b7f45786365656465642074686520706572736f6e616c206c696d69740000000000600082015250565b6000614253601b8361350c565b915061425e8261421d565b602082019050919050565b6000602082019050818103600083015261428281614246565b9050919050565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b60006142bf60158361350c565b91506142ca82614289565b602082019050919050565b600060208201905081810360008301526142ee816142b2565b9050919050565b6000614300826135bc565b915061430b836135bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561434457614343613ff1565b5b828202905092915050565b600081905092915050565b50565b600061436a60008361434f565b91506143758261435a565b600082019050919050565b600061438b8261435d565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006143cb60108361350c565b91506143d682614395565b602082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f596f752063616e6e6f742066696c6c20696e20796f7572206f776e206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061445d60238361350c565b915061446882614401565b604082019050919050565b6000602082019050818103600083015261448c81614450565b9050919050565b7f596f75206861766520616c7265616479206d696e742066726565206769766500600082015250565b60006144c9601f8361350c565b91506144d482614493565b602082019050919050565b600060208201905081810360008301526144f8816144bc565b9050919050565b7f5075626c6963206d696e74206973206e6f742061637469766500000000000000600082015250565b600061453560198361350c565b9150614540826144ff565b602082019050919050565b6000602082019050818103600083015261456481614528565b9050919050565b7f596f75277265206e6f74206f757220636f6e7472616374000000000000000000600082015250565b60006145a160178361350c565b91506145ac8261456b565b602082019050919050565b600060208201905081810360008301526145d081614594565b9050919050565b7f54686973204e4654206861736e2774206265656e20706c656467656400000000600082015250565b600061460d601c8361350c565b9150614618826145d7565b602082019050919050565b6000602082019050818103600083015261463c81614600565b9050919050565b7f54686973204e465420646f6573206e6f742062656c6f6e6720746f207468697360008201527f2061646472657373000000000000000000000000000000000000000000000000602082015250565b600061469f60288361350c565b91506146aa82614643565b604082019050919050565b600060208201905081810360008301526146ce81614692565b9050919050565b7f54686973204e4654206973206e6f7420796f7572730000000000000000000000600082015250565b600061470b60158361350c565b9150614716826146d5565b602082019050919050565b6000602082019050818103600083015261473a816146fe565b9050919050565b600081905092915050565b600061475782613501565b6147618185614741565b935061477181856020860161351d565b80840191505092915050565b6000614789828461474c565b915081905092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006147ca600583614741565b91506147d582614794565b600582019050919050565b60006147ec828561474c565b91506147f8828461474c565b9150614803826147bd565b91508190509392505050565b7f546f6b656e323020686173206265656e20616c72656164792073657400000000600082015250565b6000614845601c8361350c565b91506148508261480f565b602082019050919050565b6000602082019050818103600083015261487481614838565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006148d760268361350c565b91506148e28261487b565b604082019050919050565b60006020820190508181036000830152614906816148ca565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061494360208361350c565b915061494e8261490d565b602082019050919050565b6000602082019050818103600083015261497281614936565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149a082614979565b6149aa8185614984565b93506149ba81856020860161351d565b6149c381613550565b840191505092915050565b60006080820190506149e36000830187613651565b6149f06020830186613651565b6149fd6040830185613720565b8181036060830152614a0f8184614995565b905095945050505050565b600081519050614a2981613472565b92915050565b600060208284031215614a4557614a4461343c565b5b6000614a5384828501614a1a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a96826135bc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ac957614ac8613ff1565b5b60018201905091905056fea26469706673582212201081eff21367bd70e7b91f5f47cd2e6efe8b11686b544b86147a9402774d333364736f6c63430008080033697066733a2f2f516d5a434a42636f69353532517333684873625659677841487450334a5370414568544a37425a5646544b4631752f

Deployed Bytecode

0x6080604052600436106102515760003560e01c806370a0823111610139578063b8a20ed0116100b6578063ecbc5ab11161007a578063ecbc5ab114610899578063ee9b80a4146108c4578063efd0cbf9146108ed578063f2fde38b14610909578063f4a0a52814610932578063feb3ec931461095b57610251565b8063b8a20ed01461078e578063c87b56dd146107cb578063dab5f34014610808578063e985e9c514610831578063ebf0c7171461086e57610251565b806395d89b41116100fd57806395d89b41146106bf578063a22cb465146106ea578063ad18a01f14610713578063b64b21ca1461073c578063b88d4fde1461076557610251565b806370a08231146105ec578063715018a6146106295780637eeaed98146106405780638da5cb5b14610669578063941ada0e1461069457610251565b8063375a069a116101d2578063599f6b5611610196578063599f6b56146104da5780635a97dc2e146105055780635be30b7e1461052e5780636352211e146105595780636817c76c146105965780636c0360eb146105c157610251565b8063375a069a1461044657806337bfab50146104625780633ccfd60b1461047e57806342842e0e1461048857806344fc3281146104b157610251565b806318160ddd1161021957806318160ddd146103615780631e84c4131461038c57806323b872dd146103b757806328cad13d146103e057806330637e971461040957610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be57806309060395146102fb578063095ea7b314610338575b600080fd5b34801561026257600080fd5b5061027d6004803603810190610278919061349e565b610984565b60405161028a91906134e6565b60405180910390f35b34801561029f57600080fd5b506102a8610a16565b6040516102b5919061359a565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e091906135f2565b610aa8565b6040516102f29190613660565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906135f2565b610b27565b60405161032f9190613699565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a91906136e0565b610b8b565b005b34801561036d57600080fd5b50610376610d29565b604051610383919061372f565b60405180910390f35b34801561039857600080fd5b506103a1610d40565b6040516103ae91906134e6565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d9919061374a565b610d53565b005b3480156103ec57600080fd5b50610407600480360381019061040291906137c9565b6110d2565b005b34801561041557600080fd5b50610430600480360381019061042b91906137f6565b6110f7565b60405161043d919061372f565b60405180910390f35b610460600480360381019061045b91906135f2565b611109565b005b61047c600480360381019061047791906139a1565b611175565b005b610486611385565b005b34801561049457600080fd5b506104af60048036038101906104aa919061374a565b61143c565b005b3480156104bd57600080fd5b506104d860048036038101906104d391906139fd565b61145c565b005b3480156104e657600080fd5b506104ef611709565b6040516104fc9190613660565b60405180910390f35b34801561051157600080fd5b5061052c600480360381019061052791906135f2565b61172f565b005b34801561053a57600080fd5b5061054361173d565b60405161055091906134e6565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b91906135f2565b611750565b60405161058d9190613660565b60405180910390f35b3480156105a257600080fd5b506105ab611762565b6040516105b8919061372f565b60405180910390f35b3480156105cd57600080fd5b506105d6611768565b6040516105e3919061359a565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e91906137f6565b6117f6565b604051610620919061372f565b60405180910390f35b34801561063557600080fd5b5061063e6118af565b005b34801561064c57600080fd5b50610667600480360381019061066291906137f6565b6118c3565b005b34801561067557600080fd5b5061067e611b00565b60405161068b9190613660565b60405180910390f35b3480156106a057600080fd5b506106a9611b2a565b6040516106b69190613a7c565b60405180910390f35b3480156106cb57600080fd5b506106d4611b41565b6040516106e1919061359a565b60405180910390f35b3480156106f657600080fd5b50610711600480360381019061070c9190613a97565b611bd3565b005b34801561071f57600080fd5b5061073a60048036038101906107359190613b03565b611d4b565b005b34801561074857600080fd5b50610763600480360381019061075e9190613c1f565b611f90565b005b34801561077157600080fd5b5061078c60048036038101906107879190613d1c565b611fcd565b005b34801561079a57600080fd5b506107b560048036038101906107b09190613d9f565b612040565b6040516107c291906134e6565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed91906135f2565b612057565b6040516107ff919061359a565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a9190613dfb565b612110565b005b34801561083d57600080fd5b5061085860048036038101906108539190613e28565b612122565b60405161086591906134e6565b60405180910390f35b34801561087a57600080fd5b506108836121b6565b6040516108909190613e77565b60405180910390f35b3480156108a557600080fd5b506108ae6121bc565b6040516108bb91906134e6565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e691906137f6565b6121cf565b005b610907600480360381019061090291906135f2565b612286565b005b34801561091557600080fd5b50610930600480360381019061092b91906137f6565b612426565b005b34801561093e57600080fd5b50610959600480360381019061095491906135f2565b6124aa565b005b34801561096757600080fd5b50610982600480360381019061097d91906137c9565b6124bc565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109df57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a0f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610a2590613ec1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5190613ec1565b8015610a9e5780601f10610a7357610100808354040283529160200191610a9e565b820191906000526020600020905b815481529060010190602001808311610a8157829003601f168201915b5050505050905090565b6000610ab3826124e1565b610ae9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b32826124e1565b610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6890613f3f565b60405180910390fd5b6000610b7c83612540565b90508060600151915050919050565b6000610b9682612540565b90506000816060015162ffffff1614610be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdb90613fd1565b60405180910390fd5b6000610bef83611750565b90508073ffffffffffffffffffffffffffffffffffffffff16610c1061256b565b73ffffffffffffffffffffffffffffffffffffffff1614610c7357610c3c81610c3761256b565b612122565b610c72576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b6000610d33612573565b6001546000540303905090565b600c60159054906101000a900460ff1681565b6000610d5e82612540565b90506000816060015162ffffff1614610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da390613fd1565b60405180910390fd5b6000610db78361257c565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e1e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e2a8561264a565b91509150610e408188610e3b61256b565b612671565b610e8c57610e5587610e5061256b565b612122565b610e8b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415610ef3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0087878760016126b5565b8015610f0b57600082555b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610fd986610fb58989876126bb565b7c0200000000000000000000000000000000000000000000000000000000176126e3565b600460008781526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561106157600060018601905060006004600083815260200190815260200160002054141561105f57600054811461105e578360046000838152602001908152602001600020819055505b5b505b848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110c9878787600161270e565b50505050505050565b6110da612714565b80600c60156101000a81548160ff02191690831515021790555050565b600061110282612792565b9050919050565b611111612714565b610d058161111d610d29565b6111279190614020565b1115611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f906140c2565b60405180910390fd5b61117233826127e9565b50565b600c60169054906101000a900460ff166111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb9061412e565b60405180910390fd5b6111f482336040516020016111d99190614196565b60405160208183030381529060405280519060200120612040565b611233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122a906141fd565b60405180910390fd5b6005811115611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e90614269565b60405180910390fd5b610d0581611283610d29565b61128d9190614020565b11156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c5906140c2565b60405180910390fd5b60058114156113265766470de4df820000341015611321576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611318906142d5565b60405180910390fd5b611377565b8060095461133491906142f5565b341015611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d906142d5565b60405180910390fd5b5b61138133826127e9565b5050565b61138d612714565b60003373ffffffffffffffffffffffffffffffffffffffff16476040516113b390614380565b60006040518083038185875af1925050503d80600081146113f0576040519150601f19603f3d011682016040523d82523d6000602084013e6113f5565b606091505b5050905080611439576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611430906143e1565b60405180910390fd5b50565b61145783838360405180602001604052806000815250611fcd565b505050565b600c60169054906101000a900460ff166114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a29061412e565b60405180910390fd5b6114db81336040516020016114c09190614196565b60405160208183030381529060405280519060200120612040565b61151a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611511906141fd565b60405180910390fd5b611522612807565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158790614473565b60405180910390fd5b60006115a261159d612807565b61280f565b905060008167ffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e8906144df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561168357610d056001611633610d29565b61163d9190614020565b111561167e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611675906140c2565b60405180910390fd5b6116e7565b610d056002611690610d29565b61169a9190614020565b11156116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d2906140c2565b60405180910390fd5b6116e68360016127e9565b5b6116f23360016127e9565b6117046116fd612807565b600161285c565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61173a816001612912565b50565b600c60169054906101000a900460ff1681565b600061175b8261257c565b9050919050565b60095481565b600b805461177590613ec1565b80601f01602080910402602001604051908101604052809291908181526020018280546117a190613ec1565b80156117ee5780601f106117c3576101008083540402835291602001916117ee565b820191906000526020600020905b8154815290600101906020018083116117d157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561185e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118b7612714565b6118c16000612bc0565b565b600c60159054906101000a900460ff16611912576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119099061454b565b60405180910390fd5b61191a612807565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197f90614473565b60405180910390fd5b600061199a611995612807565b61280f565b905060008167ffffffffffffffff16146119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e0906144df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a7b57610d056001611a2b610d29565b611a359190614020565b1115611a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6d906140c2565b60405180910390fd5b611adf565b610d056002611a88610d29565b611a929190614020565b1115611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca906140c2565b60405180910390fd5b611ade8260016127e9565b5b611aea3360016127e9565b611afc611af5612807565b600161285c565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611b3c611b37612807565b61280f565b905090565b606060038054611b5090613ec1565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7c90613ec1565b8015611bc95780601f10611b9e57610100808354040283529160200191611bc9565b820191906000526020600020905b815481529060010190602001808311611bac57829003601f168201915b5050505050905090565b611bdb61256b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c40576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c4d61256b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cfa61256b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d3f91906134e6565b60405180910390a35050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d8c612807565b73ffffffffffffffffffffffffffffffffffffffff1614611de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd9906145b7565b60405180910390fd5b6000611ded83612540565b905060008262ffffff161415611ec0576001816060015162ffffff1614611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4090614623565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb2906146b5565b60405180910390fd5b611f7f565b6000816060015162ffffff1614611f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0390613fd1565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614721565b60405180910390fd5b5b611f898383612c86565b5050505050565b611f98612714565b81600b9080519060200190611fae929190613340565b5080600c60176101000a81548160ff0219169083151502179055505050565b611fd8848484610d53565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461203a5761200384848484612d23565b612039576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600061204f83600a5484612e83565b905092915050565b6060612062826124e1565b612098576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120a2612e9a565b9050600c60179054906101000a900460ff166120dd57806040516020016120c9919061477d565b604051602081830303815290604052612108565b806120e784612f2c565b6040516020016120f89291906147e0565b6040516020818303038152906040525b915050919050565b612118612714565b80600a8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a5481565b600c60179054906101000a900460ff1681565b6121d7612714565b600c60149054906101000a900460ff1615612227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221e9061485b565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c60146101000a81548160ff02191690831515021790555050565b600c60159054906101000a900460ff166122d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cc9061454b565b60405180910390fd5b6005811115612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231090614269565b60405180910390fd5b610d0581612325610d29565b61232f9190614020565b1115612370576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612367906140c2565b60405180910390fd5b60058114156123c85766470de4df8200003410156123c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ba906142d5565b60405180910390fd5b612419565b806009546123d691906142f5565b341015612418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240f906142d5565b60405180910390fd5b5b61242333826127e9565b50565b61242e612714565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561249e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612495906148ed565b60405180910390fd5b6124a781612bc0565b50565b6124b2612714565b8060098190555050565b6124c4612714565b80600c60166101000a81548160ff02191690831515021790555050565b6000816124ec612573565b111580156124fb575060005482105b8015612539575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6125486133c6565b6125646004600084815260200190815260200160002054612f7c565b9050919050565b600033905090565b60006001905090565b6000808290508061258b612573565b11612613576000548110156126125760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612610575b60008114156126065760046000836001900393508381526020019081526020016000205490506125db565b8092505050612645565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86126d2868684613032565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61271c612807565b73ffffffffffffffffffffffffffffffffffffffff1661273a611b00565b73ffffffffffffffffffffffffffffffffffffffff1614612790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278790614959565b60405180910390fd5b565b600067ffffffffffffffff6080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b61280382826040518060200160405280600081525061303e565b5050565b600033905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b600061291d83612540565b90506000816060015162ffffff161461296b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296290613fd1565b60405180910390fd5b60006129768461257c565b905060008190506000806129898761264a565b9150915085156129f2576129a581846129a061256b565b612671565b6129f1576129ba836129b561256b565b612122565b6129f0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612a008360008960016126b5565b8015612a0b57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612ab383612a70856000886126bb565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176126e3565b600460008981526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612b3b576000600188019050600060046000838152602001908152602001600020541415612b39576000548114612b38578460046000838152602001908152602001600020819055505b5b505b86600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ba583600089600161270e565b60016000815480929190600101919050555050505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600460008481526020019081526020016000205490506000811415612cd8576040517ed5815300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082905060e881901b7cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831617915081600460008681526020019081526020016000208190555050505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d4961256b565b8786866040518563ffffffff1660e01b8152600401612d6b94939291906149ce565b602060405180830381600087803b158015612d8557600080fd5b505af1925050508015612db657506040513d601f19601f82011682018060405250810190612db39190614a2f565b60015b612e30573d8060008114612de6576040519150601f19603f3d011682016040523d82523d6000602084013e612deb565b606091505b50600081511415612e28576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600082612e9085846130db565b1490509392505050565b6060600b8054612ea990613ec1565b80601f0160208091040260200160405190810160405280929190818152602001828054612ed590613ec1565b8015612f225780601f10612ef757610100808354040283529160200191612f22565b820191906000526020600020905b815481529060010190602001808311612f0557829003601f168201915b5050505050905090565b606060806040510190508060405280825b600115612f6857600183039250600a81066030018353600a8104905080612f6357612f68565b612f3d565b508181036020830392508083525050919050565b612f846133c6565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008190509392505050565b6130488383613131565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130d657600080549050600083820390505b6130886000868380600101945086612d23565b6130be576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106130755781600054146130d357600080fd5b50505b505050565b60008082905060005b8451811015613126576131118286838151811061310457613103614a5c565b5b60200260200101516132ee565b9150808061311e90614a8b565b9150506130e4565b508091505092915050565b6000805490506000821415613172576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61317f60008483856126b5565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131f6836131e760008660006126bb565b6131f085613319565b176126e3565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461329757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061325c565b5060008214156132d3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506132e9600084838561270e565b505050565b6000818310613306576133018284613329565b613311565b6133108383613329565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b82805461334c90613ec1565b90600052602060002090601f01602090048101928261336e57600085556133b5565b82601f1061338757805160ff19168380011785556133b5565b828001600101855582156133b5579182015b828111156133b4578251825591602001919060010190613399565b5b5090506133c29190613415565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561342e576000816000905550600101613416565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61347b81613446565b811461348657600080fd5b50565b60008135905061349881613472565b92915050565b6000602082840312156134b4576134b361343c565b5b60006134c284828501613489565b91505092915050565b60008115159050919050565b6134e0816134cb565b82525050565b60006020820190506134fb60008301846134d7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561353b578082015181840152602081019050613520565b8381111561354a576000848401525b50505050565b6000601f19601f8301169050919050565b600061356c82613501565b613576818561350c565b935061358681856020860161351d565b61358f81613550565b840191505092915050565b600060208201905081810360008301526135b48184613561565b905092915050565b6000819050919050565b6135cf816135bc565b81146135da57600080fd5b50565b6000813590506135ec816135c6565b92915050565b6000602082840312156136085761360761343c565b5b6000613616848285016135dd565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061364a8261361f565b9050919050565b61365a8161363f565b82525050565b60006020820190506136756000830184613651565b92915050565b600062ffffff82169050919050565b6136938161367b565b82525050565b60006020820190506136ae600083018461368a565b92915050565b6136bd8161363f565b81146136c857600080fd5b50565b6000813590506136da816136b4565b92915050565b600080604083850312156136f7576136f661343c565b5b6000613705858286016136cb565b9250506020613716858286016135dd565b9150509250929050565b613729816135bc565b82525050565b60006020820190506137446000830184613720565b92915050565b6000806000606084860312156137635761376261343c565b5b6000613771868287016136cb565b9350506020613782868287016136cb565b9250506040613793868287016135dd565b9150509250925092565b6137a6816134cb565b81146137b157600080fd5b50565b6000813590506137c38161379d565b92915050565b6000602082840312156137df576137de61343c565b5b60006137ed848285016137b4565b91505092915050565b60006020828403121561380c5761380b61343c565b5b600061381a848285016136cb565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61386082613550565b810181811067ffffffffffffffff8211171561387f5761387e613828565b5b80604052505050565b6000613892613432565b905061389e8282613857565b919050565b600067ffffffffffffffff8211156138be576138bd613828565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6138e7816138d4565b81146138f257600080fd5b50565b600081359050613904816138de565b92915050565b600061391d613918846138a3565b613888565b905080838252602082019050602084028301858111156139405761393f6138cf565b5b835b81811015613969578061395588826138f5565b845260208401935050602081019050613942565b5050509392505050565b600082601f83011261398857613987613823565b5b813561399884826020860161390a565b91505092915050565b600080604083850312156139b8576139b761343c565b5b600083013567ffffffffffffffff8111156139d6576139d5613441565b5b6139e285828601613973565b92505060206139f3858286016135dd565b9150509250929050565b60008060408385031215613a1457613a1361343c565b5b6000613a22858286016136cb565b925050602083013567ffffffffffffffff811115613a4357613a42613441565b5b613a4f85828601613973565b9150509250929050565b600067ffffffffffffffff82169050919050565b613a7681613a59565b82525050565b6000602082019050613a916000830184613a6d565b92915050565b60008060408385031215613aae57613aad61343c565b5b6000613abc858286016136cb565b9250506020613acd858286016137b4565b9150509250929050565b613ae08161367b565b8114613aeb57600080fd5b50565b600081359050613afd81613ad7565b92915050565b60008060008060808587031215613b1d57613b1c61343c565b5b6000613b2b878288016136cb565b9450506020613b3c878288016136cb565b9350506040613b4d878288016135dd565b9250506060613b5e87828801613aee565b91505092959194509250565b600080fd5b600067ffffffffffffffff821115613b8a57613b89613828565b5b613b9382613550565b9050602081019050919050565b82818337600083830152505050565b6000613bc2613bbd84613b6f565b613888565b905082815260208101848484011115613bde57613bdd613b6a565b5b613be9848285613ba0565b509392505050565b600082601f830112613c0657613c05613823565b5b8135613c16848260208601613baf565b91505092915050565b60008060408385031215613c3657613c3561343c565b5b600083013567ffffffffffffffff811115613c5457613c53613441565b5b613c6085828601613bf1565b9250506020613c71858286016137b4565b9150509250929050565b600067ffffffffffffffff821115613c9657613c95613828565b5b613c9f82613550565b9050602081019050919050565b6000613cbf613cba84613c7b565b613888565b905082815260208101848484011115613cdb57613cda613b6a565b5b613ce6848285613ba0565b509392505050565b600082601f830112613d0357613d02613823565b5b8135613d13848260208601613cac565b91505092915050565b60008060008060808587031215613d3657613d3561343c565b5b6000613d44878288016136cb565b9450506020613d55878288016136cb565b9350506040613d66878288016135dd565b925050606085013567ffffffffffffffff811115613d8757613d86613441565b5b613d9387828801613cee565b91505092959194509250565b60008060408385031215613db657613db561343c565b5b600083013567ffffffffffffffff811115613dd457613dd3613441565b5b613de085828601613973565b9250506020613df1858286016138f5565b9150509250929050565b600060208284031215613e1157613e1061343c565b5b6000613e1f848285016138f5565b91505092915050565b60008060408385031215613e3f57613e3e61343c565b5b6000613e4d858286016136cb565b9250506020613e5e858286016136cb565b9150509250929050565b613e71816138d4565b82525050565b6000602082019050613e8c6000830184613e68565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ed957607f821691505b60208210811415613eed57613eec613e92565b5b50919050565b7f54686973207365617420646f6573206e6f742065786973740000000000000000600082015250565b6000613f2960188361350c565b9150613f3482613ef3565b602082019050919050565b60006020820190508181036000830152613f5881613f1c565b9050919050565b7f54686973204e46542068617320616c7265616479206265656e20706c6564676560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fbb60218361350c565b9150613fc682613f5f565b604082019050919050565b60006020820190508181036000830152613fea81613fae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061402b826135bc565b9150614036836135bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561406b5761406a613ff1565b5b828201905092915050565b7f4e6f7420656e6f756768205365617462656c7473206c65667400000000000000600082015250565b60006140ac60198361350c565b91506140b782614076565b602082019050919050565b600060208201905081810360008301526140db8161409f565b9050919050565b7f416c6c6f776c697374206d696e74206973206e6f742061637469766500000000600082015250565b6000614118601c8361350c565b9150614123826140e2565b602082019050919050565b600060208201905081810360008301526141478161410b565b9050919050565b60008160601b9050919050565b60006141668261414e565b9050919050565b60006141788261415b565b9050919050565b61419061418b8261363f565b61416d565b82525050565b60006141a2828461417f565b60148201915081905092915050565b7f4e6f7420612070617274206f6620416c6c6f776c697374000000000000000000600082015250565b60006141e760178361350c565b91506141f2826141b1565b602082019050919050565b60006020820190508181036000830152614216816141da565b9050919050565b7f45786365656465642074686520706572736f6e616c206c696d69740000000000600082015250565b6000614253601b8361350c565b915061425e8261421d565b602082019050919050565b6000602082019050818103600083015261428281614246565b9050919050565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b60006142bf60158361350c565b91506142ca82614289565b602082019050919050565b600060208201905081810360008301526142ee816142b2565b9050919050565b6000614300826135bc565b915061430b836135bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561434457614343613ff1565b5b828202905092915050565b600081905092915050565b50565b600061436a60008361434f565b91506143758261435a565b600082019050919050565b600061438b8261435d565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006143cb60108361350c565b91506143d682614395565b602082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f596f752063616e6e6f742066696c6c20696e20796f7572206f776e206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061445d60238361350c565b915061446882614401565b604082019050919050565b6000602082019050818103600083015261448c81614450565b9050919050565b7f596f75206861766520616c7265616479206d696e742066726565206769766500600082015250565b60006144c9601f8361350c565b91506144d482614493565b602082019050919050565b600060208201905081810360008301526144f8816144bc565b9050919050565b7f5075626c6963206d696e74206973206e6f742061637469766500000000000000600082015250565b600061453560198361350c565b9150614540826144ff565b602082019050919050565b6000602082019050818103600083015261456481614528565b9050919050565b7f596f75277265206e6f74206f757220636f6e7472616374000000000000000000600082015250565b60006145a160178361350c565b91506145ac8261456b565b602082019050919050565b600060208201905081810360008301526145d081614594565b9050919050565b7f54686973204e4654206861736e2774206265656e20706c656467656400000000600082015250565b600061460d601c8361350c565b9150614618826145d7565b602082019050919050565b6000602082019050818103600083015261463c81614600565b9050919050565b7f54686973204e465420646f6573206e6f742062656c6f6e6720746f207468697360008201527f2061646472657373000000000000000000000000000000000000000000000000602082015250565b600061469f60288361350c565b91506146aa82614643565b604082019050919050565b600060208201905081810360008301526146ce81614692565b9050919050565b7f54686973204e4654206973206e6f7420796f7572730000000000000000000000600082015250565b600061470b60158361350c565b9150614716826146d5565b602082019050919050565b6000602082019050818103600083015261473a816146fe565b9050919050565b600081905092915050565b600061475782613501565b6147618185614741565b935061477181856020860161351d565b80840191505092915050565b6000614789828461474c565b915081905092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006147ca600583614741565b91506147d582614794565b600582019050919050565b60006147ec828561474c565b91506147f8828461474c565b9150614803826147bd565b91508190509392505050565b7f546f6b656e323020686173206265656e20616c72656164792073657400000000600082015250565b6000614845601c8361350c565b91506148508261480f565b602082019050919050565b6000602082019050818103600083015261487481614838565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006148d760268361350c565b91506148e28261487b565b604082019050919050565b60006020820190508181036000830152614906816148ca565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061494360208361350c565b915061494e8261490d565b602082019050919050565b6000602082019050818103600083015261497281614936565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149a082614979565b6149aa8185614984565b93506149ba81856020860161351d565b6149c381613550565b840191505092915050565b60006080820190506149e36000830187613651565b6149f06020830186613651565b6149fd6040830185613720565b8181036060830152614a0f8184614995565b905095945050505050565b600081519050614a2981613472565b92915050565b600060208284031215614a4557614a4461343c565b5b6000614a5384828501614a1a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a96826135bc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ac957614ac8613ff1565b5b60018201905091905056fea26469706673582212201081eff21367bd70e7b91f5f47cd2e6efe8b11686b544b86147a9402774d333364736f6c63430008080033

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

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