ETH Price: $3,434.00 (+4.51%)

Token

LOREMNFT (LOREM)
 

Overview

Max Total Supply

10,000 LOREM

Holders

3,422

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
udp.eth
Balance
1 LOREM
0x2ec31068d6451510841578981081124a0f75cc64
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Hand-Drawn + Interactive + 100 CC0 Treasury Pieces [The LOREM Project](https://loremnft.com/) includes : Gallery + Comic + Ipsum Ipsum coming postREVEAL Each Lore chases greatness by releasing their innate potential. Join us. We invite you to [#beLOREM](https://twitter.com/LOREMNFT).

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LOREMNFT

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract LOREMNFT is ERC721AQueryable, ReentrancyGuard, ERC2981, Ownable {
    using ECDSA for bytes32;

    uint public tokenPrice; 
    uint public maxcollectionSize = 10000;
    uint8 public maxPerAddress = 1;
    uint public quantityForMint = 9900;
    uint8 public salesStage = 0;


    mapping(address => uint) public alMinted;
    mapping(address => uint) public publicMinted;
    mapping(uint => mapping(address => uint)) public authorizedMinteds;
  
    string public _baseTokenURI;
    address public _adminSigner;

    constructor() ERC721A("LOREMNFT", "LOREM") {}
         
    // allow list signature
    function alMint(uint quantity, uint allowquantity, bytes calldata signature ) public payable callerIsUser {
        require(salesStage == 1, "Mint not active");
        require(isAllowListAuthorized(msg.sender,  allowquantity, signature), "Auth failed");
        require(totalSupply() + quantity <= quantityForMint, "Minted Out");
        require(alMinted[msg.sender] + quantity <= allowquantity, "Wallet Max Reached");
        require(tokenPrice * quantity <= msg.value, "Insufficient Eth");

        _minttokens(msg.sender, quantity);
        alMinted[msg.sender] += quantity;
    }

    // public mint with signature
    function authorizedMint(uint quantity, uint allowquantity, bytes calldata signature ) public payable callerIsUser{
        require(salesStage > 1 && salesStage < 9, "Mint not active");
        require(isAllowListAuthorized(msg.sender,  allowquantity, signature), "Auth failed");
        require(totalSupply() + quantity <= quantityForMint, "Minted Out");
        require(authorizedMinteds[salesStage][msg.sender] + quantity <= maxPerAddress, "Wallet Max Reached");
        require(tokenPrice * quantity <= msg.value, "Insufficient Eth");

        _minttokens(msg.sender, quantity);
        authorizedMinteds[salesStage][msg.sender] += quantity;
    }

    // public mint without signature
    function publicMint(uint quantity) public payable callerIsUser{
        require(salesStage == 9, "Mint not active");
        require(publicMinted[msg.sender] + quantity <= maxPerAddress, "Wallet Max Reached");
        require(totalSupply() + quantity <= quantityForMint, "Minted Out");
        require(tokenPrice * quantity <= msg.value, "Insufficient Eth");
        
        _minttokens(msg.sender, quantity);
        publicMinted[msg.sender] += quantity;
        
    }
    
    function isAllowListAuthorized(
        address sender, 
        uint allowAmount,
        bytes calldata signature
    ) private view returns (bool) {
        bytes32 messageDigest = keccak256(abi.encodePacked(allowAmount, sender));
        bytes32 ethHashMessage = ECDSA.toEthSignedMessageHash(messageDigest);
        return ECDSA.recover(ethHashMessage, signature) == _adminSigner;

    }
     
    function _minttokens(address _to, uint _quantity ) internal {
          _safeMint(_to, _quantity);
    }


    // override ERC721A
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    //only owner
    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function teamMint(address[] calldata to_, uint256 quantity_ ) public onlyOwner {        
      require( totalSupply() + to_.length*quantity_ <= maxcollectionSize, "Minted out");
      for (uint256 i = 0; i < to_.length; i++) {
      _minttokens(to_[i], quantity_);
      }
    }

    function setQuantityForMint(uint256 newquantityForMint) public onlyOwner {
      require( newquantityForMint <= maxcollectionSize, "Exceed");
      quantityForMint = newquantityForMint;
    }

    function setPrice(uint256 newPrice) public onlyOwner {
      tokenPrice = newPrice;
    }

    function setMaxPerAddress(uint8 newmaxPerAddress) public onlyOwner {
      maxPerAddress = newmaxPerAddress;
    }

    function setSigner(address newSigner) external onlyOwner {
       _adminSigner = newSigner;
    }
    
    function setBaseURI(string memory newURI) external onlyOwner {
      _baseTokenURI = newURI;
    }
  
    function setSalesStage(uint8 newSalesStage) public onlyOwner {
        salesStage = newSalesStage;
    }
    
    //@dev Update the royalty percentage (1000 = 10%)
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

   function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981, IERC721A) returns (bool) {
        // - IERC165: 0x01ffc9a7
        // - IERC721: 0x80ac58cd
        // - IERC721Metadata: 0x5b5e139f
        // - IERC2981: 0x2a55205a
        return 
            ERC721A.supportsInterface(interfaceId) || 
            ERC2981.supportsInterface(interfaceId);
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }


}

File 2 of 14 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of an ERC721AQueryable compliant contract.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 3 of 14 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *   - `extraData` = `0`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *   - `extraData` = `<Extra data when token was burned>`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     *   - `extraData` = `<Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

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

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
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();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of 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 through `_extraData`.
        uint24 extraData;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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
    ) external;

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

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

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

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

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

    // ==============================
    //        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 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // 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 tokenId of the next token 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 => address) private _tokenApprovals;

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

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view 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 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 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 returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    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: 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.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view 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 {
        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;
    }

    /**
     * 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 ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @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 See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        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 '';
    }

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

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

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, 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 {
        _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 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 {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        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 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _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 {
        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 Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(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 `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

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

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(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++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _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))
                }
            }
        }
    }

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        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 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;
    }

    /**
     * @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 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 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 returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 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: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 7 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 8 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 13 of 14 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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":"InvalidQueryRange","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":"_adminSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"allowquantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"alMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"allowquantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"authorizedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"authorizedMinteds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddress","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxcollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quantityForMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salesStage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newmaxPerAddress","type":"uint8"}],"name":"setMaxPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newquantityForMint","type":"uint256"}],"name":"setQuantityForMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newSalesStage","type":"uint8"}],"name":"setSalesStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","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":"address[]","name":"to_","type":"address[]"},{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052612710600d556001600e60006101000a81548160ff021916908360ff1602179055506126ac600f556000601060006101000a81548160ff021916908360ff1602179055503480156200005557600080fd5b506040518060400160405280600881526020017f4c4f52454d4e46540000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4c4f52454d0000000000000000000000000000000000000000000000000000008152508160029080519060200190620000da9291906200020d565b508060039080519060200190620000f39291906200020d565b50620001046200013a60201b60201c565b6000819055505050600160088190555062000134620001286200013f60201b60201c565b6200014760201b60201c565b62000321565b600090565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021b90620002ec565b90600052602060002090601f0160209004810192826200023f57600085556200028b565b82601f106200025a57805160ff19168380011785556200028b565b828001600101855582156200028b579182015b828111156200028a5782518255916020019190600101906200026d565b5b5090506200029a91906200029e565b5090565b5b80821115620002b95760008160009055506001016200029f565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200030557607f821691505b6020821081036200031b576200031a620002bd565b5b50919050565b61548d80620003316000396000f3fe6080604052600436106102675760003560e01c80636583c2d61161014457806399a2557a116100b6578063c87b56dd1161007a578063c87b56dd1461093a578063cfc86f7b14610977578063d1eae803146109a2578063e985e9c5146109cd578063f2dc824c14610a0a578063f2fde38b14610a3357610267565b806399a2557a14610852578063a22cb4651461088f578063b88d4fde146108b8578063c052f79e146108e1578063c23dc68f146108fd57610267565b80638343bce5116101085780638343bce51461072e5780638462151c1461076b578063864b77b6146107a85780638da5cb5b146107d357806391b7f5ed146107fe57806395d89b411461082757610267565b80636583c2d61461065d5780636c19e7831461068657806370a08231146106af578063715018a6146106ec5780637ff9b5961461070357610267565b80632a55205a116101dd57806342842e0e116101a157806342842e0e1461053d5780635168e54f1461056657806355f804b31461058f5780635bbb2177146105b85780636352211e146105f5578063639814e01461063257610267565b80632a55205a146104785780632aed990a146104b65780632db11544146104df5780633ccfd60b146104fb578063405a2fb91461051257610267565b80630cd1635d1161022f5780630cd1635d146103635780631015805b1461038e57806318160ddd146103cb57806321434421146103f657806323b872dd1461043357806327bbb9cb1461045c57610267565b806301ffc9a71461026c57806304634d8d146102a957806306fdde03146102d2578063081812fc146102fd578063095ea7b31461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613a35565b610a5c565b6040516102a09190613a7d565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190613b3a565b610a7e565b005b3480156102de57600080fd5b506102e7610a94565b6040516102f49190613c13565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f9190613c6b565b610b26565b6040516103319190613ca7565b60405180910390f35b34801561034657600080fd5b50610361600480360381019061035c9190613cc2565b610ba2565b005b34801561036f57600080fd5b50610378610ce3565b6040516103859190613d1e565b60405180910390f35b34801561039a57600080fd5b506103b560048036038101906103b09190613d39565b610cf6565b6040516103c29190613d75565b60405180910390f35b3480156103d757600080fd5b506103e0610d0e565b6040516103ed9190613d75565b60405180910390f35b34801561040257600080fd5b5061041d60048036038101906104189190613d39565b610d25565b60405161042a9190613d75565b60405180910390f35b34801561043f57600080fd5b5061045a60048036038101906104559190613d90565b610d3d565b005b61047660048036038101906104719190613e48565b61105f565b005b34801561048457600080fd5b5061049f600480360381019061049a9190613ebc565b61137d565b6040516104ad929190613efc565b60405180910390f35b3480156104c257600080fd5b506104dd60048036038101906104d89190613f51565b611567565b005b6104f960048036038101906104f49190613c6b565b61158d565b005b34801561050757600080fd5b506105106117f9565b005b34801561051e57600080fd5b50610527611850565b6040516105349190613ca7565b60405180910390f35b34801561054957600080fd5b50610564600480360381019061055f9190613d90565b611876565b005b34801561057257600080fd5b5061058d60048036038101906105889190613f51565b611896565b005b34801561059b57600080fd5b506105b660048036038101906105b191906140ae565b6118bc565b005b3480156105c457600080fd5b506105df60048036038101906105da91906141ba565b6118de565b6040516105ec9190614366565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190613c6b565b61199f565b6040516106299190613ca7565b60405180910390f35b34801561063e57600080fd5b506106476119b1565b6040516106549190613d1e565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f9190613c6b565b6119c4565b005b34801561069257600080fd5b506106ad60048036038101906106a89190613d39565b611a1b565b005b3480156106bb57600080fd5b506106d660048036038101906106d19190613d39565b611a67565b6040516106e39190613d75565b60405180910390f35b3480156106f857600080fd5b50610701611b1f565b005b34801561070f57600080fd5b50610718611b33565b6040516107259190613d75565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190614388565b611b39565b6040516107629190613d75565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613d39565b611b5e565b60405161079f9190614486565b60405180910390f35b3480156107b457600080fd5b506107bd611ca1565b6040516107ca9190613d75565b60405180910390f35b3480156107df57600080fd5b506107e8611ca7565b6040516107f59190613ca7565b60405180910390f35b34801561080a57600080fd5b5061082560048036038101906108209190613c6b565b611cd1565b005b34801561083357600080fd5b5061083c611ce3565b6040516108499190613c13565b60405180910390f35b34801561085e57600080fd5b50610879600480360381019061087491906144a8565b611d75565b6040516108869190614486565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b19190614527565b611f81565b005b3480156108c457600080fd5b506108df60048036038101906108da9190614608565b6120f8565b005b6108fb60048036038101906108f69190613e48565b61216b565b005b34801561090957600080fd5b50610924600480360381019061091f9190613c6b565b612413565b60405161093191906146e0565b60405180910390f35b34801561094657600080fd5b50610961600480360381019061095c9190613c6b565b61247d565b60405161096e9190613c13565b60405180910390f35b34801561098357600080fd5b5061098c61251b565b6040516109999190613c13565b60405180910390f35b3480156109ae57600080fd5b506109b76125a9565b6040516109c49190613d75565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef91906146fb565b6125af565b604051610a019190613a7d565b60405180910390f35b348015610a1657600080fd5b50610a316004803603810190610a2c9190614791565b612643565b005b348015610a3f57600080fd5b50610a5a6004803603810190610a559190613d39565b612708565b005b6000610a678261278b565b80610a775750610a768261281d565b5b9050919050565b610a86612897565b610a908282612915565b5050565b606060028054610aa390614820565b80601f0160208091040260200160405190810160405280929190818152602001828054610acf90614820565b8015610b1c5780601f10610af157610100808354040283529160200191610b1c565b820191906000526020600020905b815481529060010190602001808311610aff57829003601f168201915b5050505050905090565b6000610b3182612aaa565b610b67576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bad8261199f565b90508073ffffffffffffffffffffffffffffffffffffffff16610bce612b09565b73ffffffffffffffffffffffffffffffffffffffff1614610c3157610bfa81610bf5612b09565b6125af565b610c30576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601060009054906101000a900460ff1681565b60126020528060005260406000206000915090505481565b6000610d18612b11565b6001546000540303905090565b60116020528060005260406000206000915090505481565b6000610d4882612b16565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610daf576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610dbb84612be2565b91509150610dd18187610dcc612b09565b612c04565b610e1d57610de686610de1612b09565b6125af565b610e1c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610e83576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e908686866001612c48565b8015610e9b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610f6985610f45888887612c4e565b7c020000000000000000000000000000000000000000000000000000000017612c76565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610fef5760006001850190506000600460008381526020019081526020016000205403610fed576000548114610fec578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110578686866001612ca1565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c49061489d565b60405180910390fd5b6001601060009054906101000a900460ff1660ff1611801561110157506009601060009054906101000a900460ff1660ff16105b611140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113790614909565b60405180910390fd5b61114c33848484612ca7565b61118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290614975565b60405180910390fd5b600f5484611197610d0e565b6111a191906149c4565b11156111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d990614a66565b60405180910390fd5b600e60009054906101000a900460ff1660ff168460136000601060009054906101000a900460ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461126391906149c4565b11156112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b90614ad2565b60405180910390fd5b3484600c546112b39190614af2565b11156112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90614b98565b60405180910390fd5b6112fe3385612d8c565b8360136000601060009054906101000a900460ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461137091906149c4565b9250508190555050505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036115125760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061151c612d9a565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866115489190614af2565b6115529190614be7565b90508160000151819350935050509250929050565b61156f612897565b80601060006101000a81548160ff021916908360ff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f29061489d565b60405180910390fd5b6009601060009054906101000a900460ff1660ff1614611650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164790614909565b60405180910390fd5b600e60009054906101000a900460ff1660ff1681601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116ae91906149c4565b11156116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e690614ad2565b60405180910390fd5b600f54816116fb610d0e565b61170591906149c4565b1115611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614a66565b60405180910390fd5b3481600c546117559190614af2565b1115611796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178d90614b98565b60405180910390fd5b6117a03382612d8c565b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117ef91906149c4565b9250508190555050565b611801612897565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561184c573d6000803e3d6000fd5b5050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611891838383604051806020016040528060008152506120f8565b505050565b61189e612897565b80600e60006101000a81548160ff021916908360ff16021790555050565b6118c4612897565b80601490805190602001906118da9291906138d7565b5050565b606060008251905060008167ffffffffffffffff81111561190257611901613f83565b5b60405190808252806020026020018201604052801561193b57816020015b61192861395d565b8152602001906001900390816119205790505b50905060005b8281146119945761196b85828151811061195e5761195d614c18565b5b6020026020010151612413565b82828151811061197e5761197d614c18565b5b6020026020010181905250806001019050611941565b508092505050919050565b60006119aa82612b16565b9050919050565b600e60009054906101000a900460ff1681565b6119cc612897565b600d54811115611a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0890614c93565b60405180910390fd5b80600f8190555050565b611a23612897565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ace576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611b27612897565b611b316000612da4565b565b600c5481565b6013602052816000526040600020602052806000526040600020600091509150505481565b60606000806000611b6e85611a67565b905060008167ffffffffffffffff811115611b8c57611b8b613f83565b5b604051908082528060200260200182016040528015611bba5781602001602082028036833780820191505090505b509050611bc561395d565b6000611bcf612b11565b90505b838614611c9357611be281612e6a565b91508160400151611c8857600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c2d57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611c875780838780600101985081518110611c7a57611c79614c18565b5b6020026020010181815250505b5b806001019050611bd2565b508195505050505050919050565b600d5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611cd9612897565b80600c8190555050565b606060038054611cf290614820565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1e90614820565b8015611d6b5780601f10611d4057610100808354040283529160200191611d6b565b820191906000526020600020905b815481529060010190602001808311611d4e57829003601f168201915b5050505050905090565b6060818310611db0576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611dbb612e95565b9050611dc5612b11565b851015611dd757611dd4612b11565b94505b80841115611de3578093505b6000611dee87611a67565b905084861015611e11576000868603905081811015611e0b578091505b50611e16565b600090505b60008167ffffffffffffffff811115611e3257611e31613f83565b5b604051908082528060200260200182016040528015611e605781602001602082028036833780820191505090505b50905060008203611e775780945050505050611f7a565b6000611e8288612413565b905060008160400151611e9757816000015190505b60008990505b888114158015611ead5750848714155b15611f6c57611ebb81612e6a565b92508260400151611f6157600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611f0657826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f605780848880600101995081518110611f5357611f52614c18565b5b6020026020010181815250505b5b806001019050611e9d565b508583528296505050505050505b9392505050565b611f89612b09565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fed576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ffa612b09565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120a7612b09565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120ec9190613a7d565b60405180910390a35050565b612103848484610d3d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146121655761212e84848484612e9e565b612164576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146121d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d09061489d565b60405180910390fd5b6001601060009054906101000a900460ff1660ff161461222e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222590614909565b60405180910390fd5b61223a33848484612ca7565b612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227090614975565b60405180910390fd5b600f5484612285610d0e565b61228f91906149c4565b11156122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c790614a66565b60405180910390fd5b8284601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461231c91906149c4565b111561235d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235490614ad2565b60405180910390fd5b3484600c5461236c9190614af2565b11156123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a490614b98565b60405180910390fd5b6123b73385612d8c565b83601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461240691906149c4565b9250508190555050505050565b61241b61395d565b61242361395d565b61242b612b11565b83108061243f575061243b612e95565b8310155b1561244d5780915050612478565b61245683612e6a565b905080604001511561246b5780915050612478565b61247483612fee565b9150505b919050565b606061248882612aaa565b6124be576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006124c861300e565b905060008151036124e85760405180602001604052806000815250612513565b806124f2846130a0565b604051602001612503929190614cef565b6040516020818303038152906040525b915050919050565b6014805461252890614820565b80601f016020809104026020016040519081016040528092919081815260200182805461255490614820565b80156125a15780601f10612576576101008083540402835291602001916125a1565b820191906000526020600020905b81548152906001019060200180831161258457829003601f168201915b505050505081565b600f5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61264b612897565b600d54818484905061265d9190614af2565b612665610d0e565b61266f91906149c4565b11156126b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a790614d5f565b60405180910390fd5b60005b83839050811015612702576126ef8484838181106126d4576126d3614c18565b5b90506020020160208101906126e99190613d39565b83612d8c565b80806126fa90614d7f565b9150506126b3565b50505050565b612710612897565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361277f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277690614e39565b60405180910390fd5b61278881612da4565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127e657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128165750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612890575061288f826130fa565b5b9050919050565b61289f613164565b73ffffffffffffffffffffffffffffffffffffffff166128bd611ca7565b73ffffffffffffffffffffffffffffffffffffffff1614612913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290a90614ea5565b60405180910390fd5b565b61291d612d9a565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561297b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297290614f37565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e190614fa3565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612ab5612b11565b11158015612ac4575060005482105b8015612b02575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612b25612b11565b11612bab57600054811015612baa5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612ba8575b60008103612b9e576004600083600190039350838152602001908152602001600020549050612b74565b8092505050612bdd565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612c6586868461316c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000808486604051602001612cbd92919061502c565b6040516020818303038152906040528051906020012090506000612ce082613175565b9050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d698287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506131a5565b73ffffffffffffffffffffffffffffffffffffffff161492505050949350505050565b612d9682826131cc565b5050565b6000612710905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e7261395d565b612e8e60046000848152602001908152602001600020546131ea565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ec4612b09565b8786866040518563ffffffff1660e01b8152600401612ee694939291906150ad565b6020604051808303816000875af1925050508015612f2257506040513d601f19601f82011682018060405250810190612f1f919061510e565b60015b612f9b573d8060008114612f52576040519150601f19603f3d011682016040523d82523d6000602084013e612f57565b606091505b506000815103612f93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612ff661395d565b61300761300283612b16565b6131ea565b9050919050565b60606014805461301d90614820565b80601f016020809104026020016040519081016040528092919081815260200182805461304990614820565b80156130965780601f1061306b57610100808354040283529160200191613096565b820191906000526020600020905b81548152906001019060200180831161307957829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156130e657600183039250600a81066030018353600a810490506130c6565b508181036020830392508083525050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b60008160405160200161318891906151b2565b604051602081830303815290604052805190602001209050919050565b60008060006131b485856132a0565b915091506131c181613321565b819250505092915050565b6131e68282604051806020016040528060008152506134ed565b5050565b6131f261395d565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008060418351036132e15760008060006020860151925060408601519150606086015160001a90506132d58782858561358a565b9450945050505061331a565b6040835103613311576000806020850151915060408501519050613306868383613696565b93509350505061331a565b60006002915091505b9250929050565b60006004811115613335576133346151d8565b5b816004811115613348576133476151d8565b5b03156134ea5760016004811115613362576133616151d8565b5b816004811115613375576133746151d8565b5b036133b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ac90615253565b60405180910390fd5b600260048111156133c9576133c86151d8565b5b8160048111156133dc576133db6151d8565b5b0361341c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613413906152bf565b60405180910390fd5b600360048111156134305761342f6151d8565b5b816004811115613443576134426151d8565b5b03613483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347a90615351565b60405180910390fd5b600480811115613496576134956151d8565b5b8160048111156134a9576134a86151d8565b5b036134e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e0906153e3565b60405180910390fd5b5b50565b6134f783836136f5565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461358557600080549050600083820390505b6135376000868380600101945086612e9e565b61356d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061352457816000541461358257600080fd5b50505b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156135c557600060039150915061368d565b601b8560ff16141580156135dd5750601c8560ff1614155b156135ef57600060049150915061368d565b6000600187878787604051600081526020016040526040516136149493929190615412565b6020604051602081039080840390855afa158015613636573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036136845760006001925092505061368d565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6136d991906149c4565b90506136e78782888561358a565b935093505050935093915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613761576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000820361379b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6137a86000848385612c48565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061381f836138106000866000612c4e565b613819856138c7565b17612c76565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613843578060008190555050506138c26000848385612ca1565b505050565b60006001821460e11b9050919050565b8280546138e390614820565b90600052602060002090601f016020900481019282613905576000855561394c565b82601f1061391e57805160ff191683800117855561394c565b8280016001018555821561394c579182015b8281111561394b578251825591602001919060010190613930565b5b50905061395991906139ac565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b808211156139c55760008160009055506001016139ad565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a12816139dd565b8114613a1d57600080fd5b50565b600081359050613a2f81613a09565b92915050565b600060208284031215613a4b57613a4a6139d3565b5b6000613a5984828501613a20565b91505092915050565b60008115159050919050565b613a7781613a62565b82525050565b6000602082019050613a926000830184613a6e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ac382613a98565b9050919050565b613ad381613ab8565b8114613ade57600080fd5b50565b600081359050613af081613aca565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613b1781613af6565b8114613b2257600080fd5b50565b600081359050613b3481613b0e565b92915050565b60008060408385031215613b5157613b506139d3565b5b6000613b5f85828601613ae1565b9250506020613b7085828601613b25565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bb4578082015181840152602081019050613b99565b83811115613bc3576000848401525b50505050565b6000601f19601f8301169050919050565b6000613be582613b7a565b613bef8185613b85565b9350613bff818560208601613b96565b613c0881613bc9565b840191505092915050565b60006020820190508181036000830152613c2d8184613bda565b905092915050565b6000819050919050565b613c4881613c35565b8114613c5357600080fd5b50565b600081359050613c6581613c3f565b92915050565b600060208284031215613c8157613c806139d3565b5b6000613c8f84828501613c56565b91505092915050565b613ca181613ab8565b82525050565b6000602082019050613cbc6000830184613c98565b92915050565b60008060408385031215613cd957613cd86139d3565b5b6000613ce785828601613ae1565b9250506020613cf885828601613c56565b9150509250929050565b600060ff82169050919050565b613d1881613d02565b82525050565b6000602082019050613d336000830184613d0f565b92915050565b600060208284031215613d4f57613d4e6139d3565b5b6000613d5d84828501613ae1565b91505092915050565b613d6f81613c35565b82525050565b6000602082019050613d8a6000830184613d66565b92915050565b600080600060608486031215613da957613da86139d3565b5b6000613db786828701613ae1565b9350506020613dc886828701613ae1565b9250506040613dd986828701613c56565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613e0857613e07613de3565b5b8235905067ffffffffffffffff811115613e2557613e24613de8565b5b602083019150836001820283011115613e4157613e40613ded565b5b9250929050565b60008060008060608587031215613e6257613e616139d3565b5b6000613e7087828801613c56565b9450506020613e8187828801613c56565b935050604085013567ffffffffffffffff811115613ea257613ea16139d8565b5b613eae87828801613df2565b925092505092959194509250565b60008060408385031215613ed357613ed26139d3565b5b6000613ee185828601613c56565b9250506020613ef285828601613c56565b9150509250929050565b6000604082019050613f116000830185613c98565b613f1e6020830184613d66565b9392505050565b613f2e81613d02565b8114613f3957600080fd5b50565b600081359050613f4b81613f25565b92915050565b600060208284031215613f6757613f666139d3565b5b6000613f7584828501613f3c565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fbb82613bc9565b810181811067ffffffffffffffff82111715613fda57613fd9613f83565b5b80604052505050565b6000613fed6139c9565b9050613ff98282613fb2565b919050565b600067ffffffffffffffff82111561401957614018613f83565b5b61402282613bc9565b9050602081019050919050565b82818337600083830152505050565b600061405161404c84613ffe565b613fe3565b90508281526020810184848401111561406d5761406c613f7e565b5b61407884828561402f565b509392505050565b600082601f83011261409557614094613de3565b5b81356140a584826020860161403e565b91505092915050565b6000602082840312156140c4576140c36139d3565b5b600082013567ffffffffffffffff8111156140e2576140e16139d8565b5b6140ee84828501614080565b91505092915050565b600067ffffffffffffffff82111561411257614111613f83565b5b602082029050602081019050919050565b6000614136614131846140f7565b613fe3565b9050808382526020820190506020840283018581111561415957614158613ded565b5b835b81811015614182578061416e8882613c56565b84526020840193505060208101905061415b565b5050509392505050565b600082601f8301126141a1576141a0613de3565b5b81356141b1848260208601614123565b91505092915050565b6000602082840312156141d0576141cf6139d3565b5b600082013567ffffffffffffffff8111156141ee576141ed6139d8565b5b6141fa8482850161418c565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61423881613ab8565b82525050565b600067ffffffffffffffff82169050919050565b61425b8161423e565b82525050565b61426a81613a62565b82525050565b600062ffffff82169050919050565b61428881614270565b82525050565b6080820160008201516142a4600085018261422f565b5060208201516142b76020850182614252565b5060408201516142ca6040850182614261565b5060608201516142dd606085018261427f565b50505050565b60006142ef838361428e565b60808301905092915050565b6000602082019050919050565b600061431382614203565b61431d818561420e565b93506143288361421f565b8060005b8381101561435957815161434088826142e3565b975061434b836142fb565b92505060018101905061432c565b5085935050505092915050565b600060208201905081810360008301526143808184614308565b905092915050565b6000806040838503121561439f5761439e6139d3565b5b60006143ad85828601613c56565b92505060206143be85828601613ae1565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6143fd81613c35565b82525050565b600061440f83836143f4565b60208301905092915050565b6000602082019050919050565b6000614433826143c8565b61443d81856143d3565b9350614448836143e4565b8060005b838110156144795781516144608882614403565b975061446b8361441b565b92505060018101905061444c565b5085935050505092915050565b600060208201905081810360008301526144a08184614428565b905092915050565b6000806000606084860312156144c1576144c06139d3565b5b60006144cf86828701613ae1565b93505060206144e086828701613c56565b92505060406144f186828701613c56565b9150509250925092565b61450481613a62565b811461450f57600080fd5b50565b600081359050614521816144fb565b92915050565b6000806040838503121561453e5761453d6139d3565b5b600061454c85828601613ae1565b925050602061455d85828601614512565b9150509250929050565b600067ffffffffffffffff82111561458257614581613f83565b5b61458b82613bc9565b9050602081019050919050565b60006145ab6145a684614567565b613fe3565b9050828152602081018484840111156145c7576145c6613f7e565b5b6145d284828561402f565b509392505050565b600082601f8301126145ef576145ee613de3565b5b81356145ff848260208601614598565b91505092915050565b60008060008060808587031215614622576146216139d3565b5b600061463087828801613ae1565b945050602061464187828801613ae1565b935050604061465287828801613c56565b925050606085013567ffffffffffffffff811115614673576146726139d8565b5b61467f878288016145da565b91505092959194509250565b6080820160008201516146a1600085018261422f565b5060208201516146b46020850182614252565b5060408201516146c76040850182614261565b5060608201516146da606085018261427f565b50505050565b60006080820190506146f5600083018461468b565b92915050565b60008060408385031215614712576147116139d3565b5b600061472085828601613ae1565b925050602061473185828601613ae1565b9150509250929050565b60008083601f84011261475157614750613de3565b5b8235905067ffffffffffffffff81111561476e5761476d613de8565b5b60208301915083602082028301111561478a57614789613ded565b5b9250929050565b6000806000604084860312156147aa576147a96139d3565b5b600084013567ffffffffffffffff8111156147c8576147c76139d8565b5b6147d48682870161473b565b935093505060206147e786828701613c56565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061483857607f821691505b60208210810361484b5761484a6147f1565b5b50919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000614887601e83613b85565b915061489282614851565b602082019050919050565b600060208201905081810360008301526148b68161487a565b9050919050565b7f4d696e74206e6f74206163746976650000000000000000000000000000000000600082015250565b60006148f3600f83613b85565b91506148fe826148bd565b602082019050919050565b60006020820190508181036000830152614922816148e6565b9050919050565b7f41757468206661696c6564000000000000000000000000000000000000000000600082015250565b600061495f600b83613b85565b915061496a82614929565b602082019050919050565b6000602082019050818103600083015261498e81614952565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149cf82613c35565b91506149da83613c35565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a0f57614a0e614995565b5b828201905092915050565b7f4d696e746564204f757400000000000000000000000000000000000000000000600082015250565b6000614a50600a83613b85565b9150614a5b82614a1a565b602082019050919050565b60006020820190508181036000830152614a7f81614a43565b9050919050565b7f57616c6c6574204d617820526561636865640000000000000000000000000000600082015250565b6000614abc601283613b85565b9150614ac782614a86565b602082019050919050565b60006020820190508181036000830152614aeb81614aaf565b9050919050565b6000614afd82613c35565b9150614b0883613c35565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b4157614b40614995565b5b828202905092915050565b7f496e73756666696369656e742045746800000000000000000000000000000000600082015250565b6000614b82601083613b85565b9150614b8d82614b4c565b602082019050919050565b60006020820190508181036000830152614bb181614b75565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bf282613c35565b9150614bfd83613c35565b925082614c0d57614c0c614bb8565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4578636565640000000000000000000000000000000000000000000000000000600082015250565b6000614c7d600683613b85565b9150614c8882614c47565b602082019050919050565b60006020820190508181036000830152614cac81614c70565b9050919050565b600081905092915050565b6000614cc982613b7a565b614cd38185614cb3565b9350614ce3818560208601613b96565b80840191505092915050565b6000614cfb8285614cbe565b9150614d078284614cbe565b91508190509392505050565b7f4d696e746564206f757400000000000000000000000000000000000000000000600082015250565b6000614d49600a83613b85565b9150614d5482614d13565b602082019050919050565b60006020820190508181036000830152614d7881614d3c565b9050919050565b6000614d8a82613c35565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614dbc57614dbb614995565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e23602683613b85565b9150614e2e82614dc7565b604082019050919050565b60006020820190508181036000830152614e5281614e16565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e8f602083613b85565b9150614e9a82614e59565b602082019050919050565b60006020820190508181036000830152614ebe81614e82565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614f21602a83613b85565b9150614f2c82614ec5565b604082019050919050565b60006020820190508181036000830152614f5081614f14565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614f8d601983613b85565b9150614f9882614f57565b602082019050919050565b60006020820190508181036000830152614fbc81614f80565b9050919050565b6000819050919050565b614fde614fd982613c35565b614fc3565b82525050565b60008160601b9050919050565b6000614ffc82614fe4565b9050919050565b600061500e82614ff1565b9050919050565b61502661502182613ab8565b615003565b82525050565b60006150388285614fcd565b6020820191506150488284615015565b6014820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061507f82615058565b6150898185615063565b9350615099818560208601613b96565b6150a281613bc9565b840191505092915050565b60006080820190506150c26000830187613c98565b6150cf6020830186613c98565b6150dc6040830185613d66565b81810360608301526150ee8184615074565b905095945050505050565b60008151905061510881613a09565b92915050565b600060208284031215615124576151236139d3565b5b6000615132848285016150f9565b91505092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615171601c83614cb3565b915061517c8261513b565b601c82019050919050565b6000819050919050565b6000819050919050565b6151ac6151a782615187565b615191565b82525050565b60006151bd82615164565b91506151c9828461519b565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061523d601883613b85565b915061524882615207565b602082019050919050565b6000602082019050818103600083015261526c81615230565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006152a9601f83613b85565b91506152b482615273565b602082019050919050565b600060208201905081810360008301526152d88161529c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061533b602283613b85565b9150615346826152df565b604082019050919050565b6000602082019050818103600083015261536a8161532e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006153cd602283613b85565b91506153d882615371565b604082019050919050565b600060208201905081810360008301526153fc816153c0565b9050919050565b61540c81615187565b82525050565b60006080820190506154276000830187615403565b6154346020830186613d0f565b6154416040830185615403565b61544e6060830184615403565b9594505050505056fea26469706673582212207958551caffa98e10eb7571416e06ec4754ef8cfa9660a0a0b3a3ba5b4cd0cf764736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102675760003560e01c80636583c2d61161014457806399a2557a116100b6578063c87b56dd1161007a578063c87b56dd1461093a578063cfc86f7b14610977578063d1eae803146109a2578063e985e9c5146109cd578063f2dc824c14610a0a578063f2fde38b14610a3357610267565b806399a2557a14610852578063a22cb4651461088f578063b88d4fde146108b8578063c052f79e146108e1578063c23dc68f146108fd57610267565b80638343bce5116101085780638343bce51461072e5780638462151c1461076b578063864b77b6146107a85780638da5cb5b146107d357806391b7f5ed146107fe57806395d89b411461082757610267565b80636583c2d61461065d5780636c19e7831461068657806370a08231146106af578063715018a6146106ec5780637ff9b5961461070357610267565b80632a55205a116101dd57806342842e0e116101a157806342842e0e1461053d5780635168e54f1461056657806355f804b31461058f5780635bbb2177146105b85780636352211e146105f5578063639814e01461063257610267565b80632a55205a146104785780632aed990a146104b65780632db11544146104df5780633ccfd60b146104fb578063405a2fb91461051257610267565b80630cd1635d1161022f5780630cd1635d146103635780631015805b1461038e57806318160ddd146103cb57806321434421146103f657806323b872dd1461043357806327bbb9cb1461045c57610267565b806301ffc9a71461026c57806304634d8d146102a957806306fdde03146102d2578063081812fc146102fd578063095ea7b31461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613a35565b610a5c565b6040516102a09190613a7d565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190613b3a565b610a7e565b005b3480156102de57600080fd5b506102e7610a94565b6040516102f49190613c13565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f9190613c6b565b610b26565b6040516103319190613ca7565b60405180910390f35b34801561034657600080fd5b50610361600480360381019061035c9190613cc2565b610ba2565b005b34801561036f57600080fd5b50610378610ce3565b6040516103859190613d1e565b60405180910390f35b34801561039a57600080fd5b506103b560048036038101906103b09190613d39565b610cf6565b6040516103c29190613d75565b60405180910390f35b3480156103d757600080fd5b506103e0610d0e565b6040516103ed9190613d75565b60405180910390f35b34801561040257600080fd5b5061041d60048036038101906104189190613d39565b610d25565b60405161042a9190613d75565b60405180910390f35b34801561043f57600080fd5b5061045a60048036038101906104559190613d90565b610d3d565b005b61047660048036038101906104719190613e48565b61105f565b005b34801561048457600080fd5b5061049f600480360381019061049a9190613ebc565b61137d565b6040516104ad929190613efc565b60405180910390f35b3480156104c257600080fd5b506104dd60048036038101906104d89190613f51565b611567565b005b6104f960048036038101906104f49190613c6b565b61158d565b005b34801561050757600080fd5b506105106117f9565b005b34801561051e57600080fd5b50610527611850565b6040516105349190613ca7565b60405180910390f35b34801561054957600080fd5b50610564600480360381019061055f9190613d90565b611876565b005b34801561057257600080fd5b5061058d60048036038101906105889190613f51565b611896565b005b34801561059b57600080fd5b506105b660048036038101906105b191906140ae565b6118bc565b005b3480156105c457600080fd5b506105df60048036038101906105da91906141ba565b6118de565b6040516105ec9190614366565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190613c6b565b61199f565b6040516106299190613ca7565b60405180910390f35b34801561063e57600080fd5b506106476119b1565b6040516106549190613d1e565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f9190613c6b565b6119c4565b005b34801561069257600080fd5b506106ad60048036038101906106a89190613d39565b611a1b565b005b3480156106bb57600080fd5b506106d660048036038101906106d19190613d39565b611a67565b6040516106e39190613d75565b60405180910390f35b3480156106f857600080fd5b50610701611b1f565b005b34801561070f57600080fd5b50610718611b33565b6040516107259190613d75565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190614388565b611b39565b6040516107629190613d75565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613d39565b611b5e565b60405161079f9190614486565b60405180910390f35b3480156107b457600080fd5b506107bd611ca1565b6040516107ca9190613d75565b60405180910390f35b3480156107df57600080fd5b506107e8611ca7565b6040516107f59190613ca7565b60405180910390f35b34801561080a57600080fd5b5061082560048036038101906108209190613c6b565b611cd1565b005b34801561083357600080fd5b5061083c611ce3565b6040516108499190613c13565b60405180910390f35b34801561085e57600080fd5b50610879600480360381019061087491906144a8565b611d75565b6040516108869190614486565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b19190614527565b611f81565b005b3480156108c457600080fd5b506108df60048036038101906108da9190614608565b6120f8565b005b6108fb60048036038101906108f69190613e48565b61216b565b005b34801561090957600080fd5b50610924600480360381019061091f9190613c6b565b612413565b60405161093191906146e0565b60405180910390f35b34801561094657600080fd5b50610961600480360381019061095c9190613c6b565b61247d565b60405161096e9190613c13565b60405180910390f35b34801561098357600080fd5b5061098c61251b565b6040516109999190613c13565b60405180910390f35b3480156109ae57600080fd5b506109b76125a9565b6040516109c49190613d75565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef91906146fb565b6125af565b604051610a019190613a7d565b60405180910390f35b348015610a1657600080fd5b50610a316004803603810190610a2c9190614791565b612643565b005b348015610a3f57600080fd5b50610a5a6004803603810190610a559190613d39565b612708565b005b6000610a678261278b565b80610a775750610a768261281d565b5b9050919050565b610a86612897565b610a908282612915565b5050565b606060028054610aa390614820565b80601f0160208091040260200160405190810160405280929190818152602001828054610acf90614820565b8015610b1c5780601f10610af157610100808354040283529160200191610b1c565b820191906000526020600020905b815481529060010190602001808311610aff57829003601f168201915b5050505050905090565b6000610b3182612aaa565b610b67576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bad8261199f565b90508073ffffffffffffffffffffffffffffffffffffffff16610bce612b09565b73ffffffffffffffffffffffffffffffffffffffff1614610c3157610bfa81610bf5612b09565b6125af565b610c30576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601060009054906101000a900460ff1681565b60126020528060005260406000206000915090505481565b6000610d18612b11565b6001546000540303905090565b60116020528060005260406000206000915090505481565b6000610d4882612b16565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610daf576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610dbb84612be2565b91509150610dd18187610dcc612b09565b612c04565b610e1d57610de686610de1612b09565b6125af565b610e1c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610e83576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e908686866001612c48565b8015610e9b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610f6985610f45888887612c4e565b7c020000000000000000000000000000000000000000000000000000000017612c76565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610fef5760006001850190506000600460008381526020019081526020016000205403610fed576000548114610fec578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110578686866001612ca1565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c49061489d565b60405180910390fd5b6001601060009054906101000a900460ff1660ff1611801561110157506009601060009054906101000a900460ff1660ff16105b611140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113790614909565b60405180910390fd5b61114c33848484612ca7565b61118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290614975565b60405180910390fd5b600f5484611197610d0e565b6111a191906149c4565b11156111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d990614a66565b60405180910390fd5b600e60009054906101000a900460ff1660ff168460136000601060009054906101000a900460ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461126391906149c4565b11156112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b90614ad2565b60405180910390fd5b3484600c546112b39190614af2565b11156112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90614b98565b60405180910390fd5b6112fe3385612d8c565b8360136000601060009054906101000a900460ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461137091906149c4565b9250508190555050505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036115125760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061151c612d9a565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866115489190614af2565b6115529190614be7565b90508160000151819350935050509250929050565b61156f612897565b80601060006101000a81548160ff021916908360ff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f29061489d565b60405180910390fd5b6009601060009054906101000a900460ff1660ff1614611650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164790614909565b60405180910390fd5b600e60009054906101000a900460ff1660ff1681601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116ae91906149c4565b11156116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e690614ad2565b60405180910390fd5b600f54816116fb610d0e565b61170591906149c4565b1115611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614a66565b60405180910390fd5b3481600c546117559190614af2565b1115611796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178d90614b98565b60405180910390fd5b6117a03382612d8c565b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117ef91906149c4565b9250508190555050565b611801612897565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561184c573d6000803e3d6000fd5b5050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611891838383604051806020016040528060008152506120f8565b505050565b61189e612897565b80600e60006101000a81548160ff021916908360ff16021790555050565b6118c4612897565b80601490805190602001906118da9291906138d7565b5050565b606060008251905060008167ffffffffffffffff81111561190257611901613f83565b5b60405190808252806020026020018201604052801561193b57816020015b61192861395d565b8152602001906001900390816119205790505b50905060005b8281146119945761196b85828151811061195e5761195d614c18565b5b6020026020010151612413565b82828151811061197e5761197d614c18565b5b6020026020010181905250806001019050611941565b508092505050919050565b60006119aa82612b16565b9050919050565b600e60009054906101000a900460ff1681565b6119cc612897565b600d54811115611a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0890614c93565b60405180910390fd5b80600f8190555050565b611a23612897565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ace576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611b27612897565b611b316000612da4565b565b600c5481565b6013602052816000526040600020602052806000526040600020600091509150505481565b60606000806000611b6e85611a67565b905060008167ffffffffffffffff811115611b8c57611b8b613f83565b5b604051908082528060200260200182016040528015611bba5781602001602082028036833780820191505090505b509050611bc561395d565b6000611bcf612b11565b90505b838614611c9357611be281612e6a565b91508160400151611c8857600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c2d57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611c875780838780600101985081518110611c7a57611c79614c18565b5b6020026020010181815250505b5b806001019050611bd2565b508195505050505050919050565b600d5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611cd9612897565b80600c8190555050565b606060038054611cf290614820565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1e90614820565b8015611d6b5780601f10611d4057610100808354040283529160200191611d6b565b820191906000526020600020905b815481529060010190602001808311611d4e57829003601f168201915b5050505050905090565b6060818310611db0576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611dbb612e95565b9050611dc5612b11565b851015611dd757611dd4612b11565b94505b80841115611de3578093505b6000611dee87611a67565b905084861015611e11576000868603905081811015611e0b578091505b50611e16565b600090505b60008167ffffffffffffffff811115611e3257611e31613f83565b5b604051908082528060200260200182016040528015611e605781602001602082028036833780820191505090505b50905060008203611e775780945050505050611f7a565b6000611e8288612413565b905060008160400151611e9757816000015190505b60008990505b888114158015611ead5750848714155b15611f6c57611ebb81612e6a565b92508260400151611f6157600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611f0657826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f605780848880600101995081518110611f5357611f52614c18565b5b6020026020010181815250505b5b806001019050611e9d565b508583528296505050505050505b9392505050565b611f89612b09565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fed576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ffa612b09565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120a7612b09565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120ec9190613a7d565b60405180910390a35050565b612103848484610d3d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146121655761212e84848484612e9e565b612164576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146121d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d09061489d565b60405180910390fd5b6001601060009054906101000a900460ff1660ff161461222e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222590614909565b60405180910390fd5b61223a33848484612ca7565b612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227090614975565b60405180910390fd5b600f5484612285610d0e565b61228f91906149c4565b11156122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c790614a66565b60405180910390fd5b8284601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461231c91906149c4565b111561235d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235490614ad2565b60405180910390fd5b3484600c5461236c9190614af2565b11156123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a490614b98565b60405180910390fd5b6123b73385612d8c565b83601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461240691906149c4565b9250508190555050505050565b61241b61395d565b61242361395d565b61242b612b11565b83108061243f575061243b612e95565b8310155b1561244d5780915050612478565b61245683612e6a565b905080604001511561246b5780915050612478565b61247483612fee565b9150505b919050565b606061248882612aaa565b6124be576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006124c861300e565b905060008151036124e85760405180602001604052806000815250612513565b806124f2846130a0565b604051602001612503929190614cef565b6040516020818303038152906040525b915050919050565b6014805461252890614820565b80601f016020809104026020016040519081016040528092919081815260200182805461255490614820565b80156125a15780601f10612576576101008083540402835291602001916125a1565b820191906000526020600020905b81548152906001019060200180831161258457829003601f168201915b505050505081565b600f5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61264b612897565b600d54818484905061265d9190614af2565b612665610d0e565b61266f91906149c4565b11156126b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a790614d5f565b60405180910390fd5b60005b83839050811015612702576126ef8484838181106126d4576126d3614c18565b5b90506020020160208101906126e99190613d39565b83612d8c565b80806126fa90614d7f565b9150506126b3565b50505050565b612710612897565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361277f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277690614e39565b60405180910390fd5b61278881612da4565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127e657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128165750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612890575061288f826130fa565b5b9050919050565b61289f613164565b73ffffffffffffffffffffffffffffffffffffffff166128bd611ca7565b73ffffffffffffffffffffffffffffffffffffffff1614612913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290a90614ea5565b60405180910390fd5b565b61291d612d9a565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561297b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297290614f37565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e190614fa3565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612ab5612b11565b11158015612ac4575060005482105b8015612b02575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612b25612b11565b11612bab57600054811015612baa5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612ba8575b60008103612b9e576004600083600190039350838152602001908152602001600020549050612b74565b8092505050612bdd565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612c6586868461316c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000808486604051602001612cbd92919061502c565b6040516020818303038152906040528051906020012090506000612ce082613175565b9050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d698287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506131a5565b73ffffffffffffffffffffffffffffffffffffffff161492505050949350505050565b612d9682826131cc565b5050565b6000612710905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e7261395d565b612e8e60046000848152602001908152602001600020546131ea565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ec4612b09565b8786866040518563ffffffff1660e01b8152600401612ee694939291906150ad565b6020604051808303816000875af1925050508015612f2257506040513d601f19601f82011682018060405250810190612f1f919061510e565b60015b612f9b573d8060008114612f52576040519150601f19603f3d011682016040523d82523d6000602084013e612f57565b606091505b506000815103612f93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612ff661395d565b61300761300283612b16565b6131ea565b9050919050565b60606014805461301d90614820565b80601f016020809104026020016040519081016040528092919081815260200182805461304990614820565b80156130965780601f1061306b57610100808354040283529160200191613096565b820191906000526020600020905b81548152906001019060200180831161307957829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156130e657600183039250600a81066030018353600a810490506130c6565b508181036020830392508083525050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b60008160405160200161318891906151b2565b604051602081830303815290604052805190602001209050919050565b60008060006131b485856132a0565b915091506131c181613321565b819250505092915050565b6131e68282604051806020016040528060008152506134ed565b5050565b6131f261395d565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008060418351036132e15760008060006020860151925060408601519150606086015160001a90506132d58782858561358a565b9450945050505061331a565b6040835103613311576000806020850151915060408501519050613306868383613696565b93509350505061331a565b60006002915091505b9250929050565b60006004811115613335576133346151d8565b5b816004811115613348576133476151d8565b5b03156134ea5760016004811115613362576133616151d8565b5b816004811115613375576133746151d8565b5b036133b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ac90615253565b60405180910390fd5b600260048111156133c9576133c86151d8565b5b8160048111156133dc576133db6151d8565b5b0361341c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613413906152bf565b60405180910390fd5b600360048111156134305761342f6151d8565b5b816004811115613443576134426151d8565b5b03613483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347a90615351565b60405180910390fd5b600480811115613496576134956151d8565b5b8160048111156134a9576134a86151d8565b5b036134e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e0906153e3565b60405180910390fd5b5b50565b6134f783836136f5565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461358557600080549050600083820390505b6135376000868380600101945086612e9e565b61356d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061352457816000541461358257600080fd5b50505b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156135c557600060039150915061368d565b601b8560ff16141580156135dd5750601c8560ff1614155b156135ef57600060049150915061368d565b6000600187878787604051600081526020016040526040516136149493929190615412565b6020604051602081039080840390855afa158015613636573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036136845760006001925092505061368d565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6136d991906149c4565b90506136e78782888561358a565b935093505050935093915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613761576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000820361379b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6137a86000848385612c48565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061381f836138106000866000612c4e565b613819856138c7565b17612c76565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613843578060008190555050506138c26000848385612ca1565b505050565b60006001821460e11b9050919050565b8280546138e390614820565b90600052602060002090601f016020900481019282613905576000855561394c565b82601f1061391e57805160ff191683800117855561394c565b8280016001018555821561394c579182015b8281111561394b578251825591602001919060010190613930565b5b50905061395991906139ac565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b808211156139c55760008160009055506001016139ad565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a12816139dd565b8114613a1d57600080fd5b50565b600081359050613a2f81613a09565b92915050565b600060208284031215613a4b57613a4a6139d3565b5b6000613a5984828501613a20565b91505092915050565b60008115159050919050565b613a7781613a62565b82525050565b6000602082019050613a926000830184613a6e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ac382613a98565b9050919050565b613ad381613ab8565b8114613ade57600080fd5b50565b600081359050613af081613aca565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613b1781613af6565b8114613b2257600080fd5b50565b600081359050613b3481613b0e565b92915050565b60008060408385031215613b5157613b506139d3565b5b6000613b5f85828601613ae1565b9250506020613b7085828601613b25565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bb4578082015181840152602081019050613b99565b83811115613bc3576000848401525b50505050565b6000601f19601f8301169050919050565b6000613be582613b7a565b613bef8185613b85565b9350613bff818560208601613b96565b613c0881613bc9565b840191505092915050565b60006020820190508181036000830152613c2d8184613bda565b905092915050565b6000819050919050565b613c4881613c35565b8114613c5357600080fd5b50565b600081359050613c6581613c3f565b92915050565b600060208284031215613c8157613c806139d3565b5b6000613c8f84828501613c56565b91505092915050565b613ca181613ab8565b82525050565b6000602082019050613cbc6000830184613c98565b92915050565b60008060408385031215613cd957613cd86139d3565b5b6000613ce785828601613ae1565b9250506020613cf885828601613c56565b9150509250929050565b600060ff82169050919050565b613d1881613d02565b82525050565b6000602082019050613d336000830184613d0f565b92915050565b600060208284031215613d4f57613d4e6139d3565b5b6000613d5d84828501613ae1565b91505092915050565b613d6f81613c35565b82525050565b6000602082019050613d8a6000830184613d66565b92915050565b600080600060608486031215613da957613da86139d3565b5b6000613db786828701613ae1565b9350506020613dc886828701613ae1565b9250506040613dd986828701613c56565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613e0857613e07613de3565b5b8235905067ffffffffffffffff811115613e2557613e24613de8565b5b602083019150836001820283011115613e4157613e40613ded565b5b9250929050565b60008060008060608587031215613e6257613e616139d3565b5b6000613e7087828801613c56565b9450506020613e8187828801613c56565b935050604085013567ffffffffffffffff811115613ea257613ea16139d8565b5b613eae87828801613df2565b925092505092959194509250565b60008060408385031215613ed357613ed26139d3565b5b6000613ee185828601613c56565b9250506020613ef285828601613c56565b9150509250929050565b6000604082019050613f116000830185613c98565b613f1e6020830184613d66565b9392505050565b613f2e81613d02565b8114613f3957600080fd5b50565b600081359050613f4b81613f25565b92915050565b600060208284031215613f6757613f666139d3565b5b6000613f7584828501613f3c565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fbb82613bc9565b810181811067ffffffffffffffff82111715613fda57613fd9613f83565b5b80604052505050565b6000613fed6139c9565b9050613ff98282613fb2565b919050565b600067ffffffffffffffff82111561401957614018613f83565b5b61402282613bc9565b9050602081019050919050565b82818337600083830152505050565b600061405161404c84613ffe565b613fe3565b90508281526020810184848401111561406d5761406c613f7e565b5b61407884828561402f565b509392505050565b600082601f83011261409557614094613de3565b5b81356140a584826020860161403e565b91505092915050565b6000602082840312156140c4576140c36139d3565b5b600082013567ffffffffffffffff8111156140e2576140e16139d8565b5b6140ee84828501614080565b91505092915050565b600067ffffffffffffffff82111561411257614111613f83565b5b602082029050602081019050919050565b6000614136614131846140f7565b613fe3565b9050808382526020820190506020840283018581111561415957614158613ded565b5b835b81811015614182578061416e8882613c56565b84526020840193505060208101905061415b565b5050509392505050565b600082601f8301126141a1576141a0613de3565b5b81356141b1848260208601614123565b91505092915050565b6000602082840312156141d0576141cf6139d3565b5b600082013567ffffffffffffffff8111156141ee576141ed6139d8565b5b6141fa8482850161418c565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61423881613ab8565b82525050565b600067ffffffffffffffff82169050919050565b61425b8161423e565b82525050565b61426a81613a62565b82525050565b600062ffffff82169050919050565b61428881614270565b82525050565b6080820160008201516142a4600085018261422f565b5060208201516142b76020850182614252565b5060408201516142ca6040850182614261565b5060608201516142dd606085018261427f565b50505050565b60006142ef838361428e565b60808301905092915050565b6000602082019050919050565b600061431382614203565b61431d818561420e565b93506143288361421f565b8060005b8381101561435957815161434088826142e3565b975061434b836142fb565b92505060018101905061432c565b5085935050505092915050565b600060208201905081810360008301526143808184614308565b905092915050565b6000806040838503121561439f5761439e6139d3565b5b60006143ad85828601613c56565b92505060206143be85828601613ae1565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6143fd81613c35565b82525050565b600061440f83836143f4565b60208301905092915050565b6000602082019050919050565b6000614433826143c8565b61443d81856143d3565b9350614448836143e4565b8060005b838110156144795781516144608882614403565b975061446b8361441b565b92505060018101905061444c565b5085935050505092915050565b600060208201905081810360008301526144a08184614428565b905092915050565b6000806000606084860312156144c1576144c06139d3565b5b60006144cf86828701613ae1565b93505060206144e086828701613c56565b92505060406144f186828701613c56565b9150509250925092565b61450481613a62565b811461450f57600080fd5b50565b600081359050614521816144fb565b92915050565b6000806040838503121561453e5761453d6139d3565b5b600061454c85828601613ae1565b925050602061455d85828601614512565b9150509250929050565b600067ffffffffffffffff82111561458257614581613f83565b5b61458b82613bc9565b9050602081019050919050565b60006145ab6145a684614567565b613fe3565b9050828152602081018484840111156145c7576145c6613f7e565b5b6145d284828561402f565b509392505050565b600082601f8301126145ef576145ee613de3565b5b81356145ff848260208601614598565b91505092915050565b60008060008060808587031215614622576146216139d3565b5b600061463087828801613ae1565b945050602061464187828801613ae1565b935050604061465287828801613c56565b925050606085013567ffffffffffffffff811115614673576146726139d8565b5b61467f878288016145da565b91505092959194509250565b6080820160008201516146a1600085018261422f565b5060208201516146b46020850182614252565b5060408201516146c76040850182614261565b5060608201516146da606085018261427f565b50505050565b60006080820190506146f5600083018461468b565b92915050565b60008060408385031215614712576147116139d3565b5b600061472085828601613ae1565b925050602061473185828601613ae1565b9150509250929050565b60008083601f84011261475157614750613de3565b5b8235905067ffffffffffffffff81111561476e5761476d613de8565b5b60208301915083602082028301111561478a57614789613ded565b5b9250929050565b6000806000604084860312156147aa576147a96139d3565b5b600084013567ffffffffffffffff8111156147c8576147c76139d8565b5b6147d48682870161473b565b935093505060206147e786828701613c56565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061483857607f821691505b60208210810361484b5761484a6147f1565b5b50919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000614887601e83613b85565b915061489282614851565b602082019050919050565b600060208201905081810360008301526148b68161487a565b9050919050565b7f4d696e74206e6f74206163746976650000000000000000000000000000000000600082015250565b60006148f3600f83613b85565b91506148fe826148bd565b602082019050919050565b60006020820190508181036000830152614922816148e6565b9050919050565b7f41757468206661696c6564000000000000000000000000000000000000000000600082015250565b600061495f600b83613b85565b915061496a82614929565b602082019050919050565b6000602082019050818103600083015261498e81614952565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149cf82613c35565b91506149da83613c35565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a0f57614a0e614995565b5b828201905092915050565b7f4d696e746564204f757400000000000000000000000000000000000000000000600082015250565b6000614a50600a83613b85565b9150614a5b82614a1a565b602082019050919050565b60006020820190508181036000830152614a7f81614a43565b9050919050565b7f57616c6c6574204d617820526561636865640000000000000000000000000000600082015250565b6000614abc601283613b85565b9150614ac782614a86565b602082019050919050565b60006020820190508181036000830152614aeb81614aaf565b9050919050565b6000614afd82613c35565b9150614b0883613c35565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b4157614b40614995565b5b828202905092915050565b7f496e73756666696369656e742045746800000000000000000000000000000000600082015250565b6000614b82601083613b85565b9150614b8d82614b4c565b602082019050919050565b60006020820190508181036000830152614bb181614b75565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bf282613c35565b9150614bfd83613c35565b925082614c0d57614c0c614bb8565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4578636565640000000000000000000000000000000000000000000000000000600082015250565b6000614c7d600683613b85565b9150614c8882614c47565b602082019050919050565b60006020820190508181036000830152614cac81614c70565b9050919050565b600081905092915050565b6000614cc982613b7a565b614cd38185614cb3565b9350614ce3818560208601613b96565b80840191505092915050565b6000614cfb8285614cbe565b9150614d078284614cbe565b91508190509392505050565b7f4d696e746564206f757400000000000000000000000000000000000000000000600082015250565b6000614d49600a83613b85565b9150614d5482614d13565b602082019050919050565b60006020820190508181036000830152614d7881614d3c565b9050919050565b6000614d8a82613c35565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614dbc57614dbb614995565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e23602683613b85565b9150614e2e82614dc7565b604082019050919050565b60006020820190508181036000830152614e5281614e16565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e8f602083613b85565b9150614e9a82614e59565b602082019050919050565b60006020820190508181036000830152614ebe81614e82565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614f21602a83613b85565b9150614f2c82614ec5565b604082019050919050565b60006020820190508181036000830152614f5081614f14565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614f8d601983613b85565b9150614f9882614f57565b602082019050919050565b60006020820190508181036000830152614fbc81614f80565b9050919050565b6000819050919050565b614fde614fd982613c35565b614fc3565b82525050565b60008160601b9050919050565b6000614ffc82614fe4565b9050919050565b600061500e82614ff1565b9050919050565b61502661502182613ab8565b615003565b82525050565b60006150388285614fcd565b6020820191506150488284615015565b6014820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061507f82615058565b6150898185615063565b9350615099818560208601613b96565b6150a281613bc9565b840191505092915050565b60006080820190506150c26000830187613c98565b6150cf6020830186613c98565b6150dc6040830185613d66565b81810360608301526150ee8184615074565b905095945050505050565b60008151905061510881613a09565b92915050565b600060208284031215615124576151236139d3565b5b6000615132848285016150f9565b91505092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615171601c83614cb3565b915061517c8261513b565b601c82019050919050565b6000819050919050565b6000819050919050565b6151ac6151a782615187565b615191565b82525050565b60006151bd82615164565b91506151c9828461519b565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061523d601883613b85565b915061524882615207565b602082019050919050565b6000602082019050818103600083015261526c81615230565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006152a9601f83613b85565b91506152b482615273565b602082019050919050565b600060208201905081810360008301526152d88161529c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061533b602283613b85565b9150615346826152df565b604082019050919050565b6000602082019050818103600083015261536a8161532e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006153cd602283613b85565b91506153d882615371565b604082019050919050565b600060208201905081810360008301526153fc816153c0565b9050919050565b61540c81615187565b82525050565b60006080820190506154276000830187615403565b6154346020830186613d0f565b6154416040830185615403565b61544e6060830184615403565b9594505050505056fea26469706673582212207958551caffa98e10eb7571416e06ec4754ef8cfa9660a0a0b3a3ba5b4cd0cf764736f6c634300080d0033

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.