ETH Price: $3,490.30 (+4.32%)

WearX (WRX)
 

Overview

TokenID

1756

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

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

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

Contract Source Code Verified (Exact Match)

Contract Name:
WearX

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : WearX.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

///@dev
// Dependencies:
// npm i --save-dev erc721a
// npm i @openzeppelin/contracts
// import "erc721a/contracts/ERC721A.sol";
// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// created by: Xaikyō <> Mpdigitald
// copyright: PUML Better Health 2022

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";


contract WearX is ERC721A, Ownable, ReentrancyGuard, Pausable{

    // public mint variables
    uint256 public maxSupply = 5000;
    uint256 public maxMint = 5;
    uint256 public mintPrice = 0.05 ether; /// @dev 10 finney = 0.01 ether

    // pre-sale mint variables
    uint256 public wlMaxMint = 5;
    uint256 public wlMintPrice = 0.05 ether;

    // token-sale mint variables
    uint256 public pumlxMaxMint = 5;
    uint256 public pumlPrice = 1535 * (10**18);
    IERC20 public tokenAddress;


    //base uri, baseextension and pre-revealUri
    string private baseURI;
    string public baseExtension = ".json";
    string public notRevealedUri;

    // booleans for reveal/all mint toggles
    bool public revealed = false;
    bool public publicMintEnabled = false;
    bool public wlMintEnabled = false;
    bool public pumlxEnabled = false;

    // keep track of # of minted tokens per user
    mapping(address => uint256) totalPublicMint;
    mapping(address => uint256) totalWlMint;
    mapping(address => uint256) totalTokenMint;


    // declare merkle root
    bytes32 public wlRoot;

    // Constructor
    // https://filesite/CID/
    // initialize cid(Pinata, ipfs etc) for baseUri and contractUri, make sure / is at end and metadata files named as "x.png" "x.json" not "name x.png" etc
    // https://gateway.pinata.cloud/ipfs/CID/
    // initialize pre-reveal cid, baseExtension has to be name.json
    // https://gateway.pinata.cloud/ipfs/CID/hidden.json

    constructor (
        address _tokenAddress,
        bytes32 _wlRoot,
        string memory _initBaseURI,
        string memory _initNotRevealedUri
        ) ERC721A("WearX", "WRX") {
            tokenAddress = IERC20(_tokenAddress);
            wlRoot = _wlRoot;
            setBaseURI(_initBaseURI); 
            setNotRevealedURI(_initNotRevealedUri); 
    }

    // only allows msg.sender(metamask wallet) to be external tx origin 
    modifier userOnly {
        require(tx.origin == msg.sender,"Error: Cannot be called by another contract");
        _;
    }

    
    function teamMint(address _address, uint256 _amount) external userOnly onlyOwner nonReentrant {
        
        _safeMint(_address, _amount);
    }

    // PUMLx token mint 
    function pumlxMint(uint256 _quantity) external payable whenNotPaused nonReentrant {
    
        require(pumlxEnabled, "token mint is currently paused");
        require(msg.value >= 0, "Not enough ether sent");
        require(totalSupply() + _quantity <= maxSupply, "Error: max supply reached");
        require((totalTokenMint[msg.sender] + _quantity) <= pumlxMaxMint, "Error: Max per wallet reached");
        
        tokenAddress.transferFrom(msg.sender, address(this), (_quantity * pumlPrice));
        totalTokenMint[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    // Whitelist mint that requires merkle proof
    function whitelistMint(uint256 _quantity, bytes32[] memory proof) external payable whenNotPaused nonReentrant {
        require(isValid(proof, keccak256(abi.encodePacked(msg.sender))), "Not a part of whitelist");
        require(wlMintEnabled, "Whitelist mint is currently paused");
        require(msg.value >= (_quantity * wlMintPrice), "Not enough ether sent");
        require(totalSupply() + _quantity <= maxSupply, "Error: max supply reached");
        require((totalWlMint[msg.sender] + _quantity) <= wlMaxMint, "Error: Max per wallet reached");

        totalWlMint[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    // Public mint

    function publicMint(uint256 _quantity) external payable whenNotPaused nonReentrant {
        require(publicMintEnabled, "Public mint is currently paused");
        require(msg.value >= (_quantity * mintPrice), "Not enough ether sent");
        require(totalSupply() + _quantity <= maxSupply, "Error: max supply reached");
        require((totalPublicMint[msg.sender] + _quantity) <= maxMint, "Error: Max per wallet reached");

        totalPublicMint[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    

    // verify merkle proof with a buf2hex(keccak256(address)) or keccak256(abi.encodePacked(address))
    function isValid(bytes32[] memory proof, bytes32 leaf) public view returns(bool) {
        return MerkleProof.verify(proof, wlRoot, leaf);
    }

    // returns the baseuri of collection, private
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    // override _statTokenId() from erc721a to start tokenId at 1
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    

    // return tokenUri given the tokenId
    function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
    {
    require(_exists(tokenId),"ERC721Metadata: URI query for nonexistent token");
    
    if(revealed == false) {
        return notRevealedUri;
    } else {
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _toString(tokenId), baseExtension))
        : "";
        }
    }

    // owner updates and functions

    // turn on/off mint phases
    function toggleWlMint() external onlyOwner {
        wlMintEnabled = !wlMintEnabled;
    }

    function togglePublicMint() external onlyOwner {
        publicMintEnabled = !publicMintEnabled;
    }

    function togglePumlxMint() external onlyOwner {
        pumlxEnabled = !pumlxEnabled;
    }
    // reveal metadata + NFT images
    function reveal() external onlyOwner {
      revealed = !revealed;
    }

    // set prices and max
    function setPrice(uint256 _mintPrice) external onlyOwner {
    mintPrice = _mintPrice;
    }

    function setWlPrice(uint256 _mintPrice) external onlyOwner {
    wlMintPrice = _mintPrice;
    }

    function setPumlPrice(uint256 _mintPrice) external onlyOwner {
        pumlPrice = _mintPrice;
    }

    function setmaxMintAmount(uint256 _maxMint) external onlyOwner {
    maxMint = _maxMint;
    }

    function setWlMax(uint256 _wlMaxMint) external onlyOwner {
        wlMaxMint = _wlMaxMint;
    }

    function setPumlMax(uint256 _pumlxMaxMint) external onlyOwner {
        pumlxMaxMint = _pumlxMaxMint;
    }
  
    function pause() public onlyOwner { 
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }


    // metadata set functions
    function setBaseExtension(string memory _newBaseExtension) external onlyOwner {
        baseExtension = _newBaseExtension;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

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

    function setTokenAddress(IERC20 _tokenAddress) external onlyOwner nonReentrant {
        tokenAddress = IERC20(_tokenAddress);
    }

    // withdraw to owner(), i.e only if msg.sender is owner
    function withdraw(address _to) external onlyOwner nonReentrant userOnly{
        payable(_to).transfer(address(this).balance);
    }

    // withdraw ERC20 using tokenAddress 
    function withdrawToken(address _to) external onlyOwner nonReentrant userOnly{
        tokenAddress.transfer(_to, tokenAddress.balanceOf(address(this)));
    }

}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 5 of 11 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 10 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 11 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","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":"notRevealedUri","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":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pumlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pumlxEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pumlxMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"pumlxMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pumlxMaxMint","type":"uint256"}],"name":"setPumlMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setPumlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_tokenAddress","type":"address"}],"name":"setTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlMaxMint","type":"uint256"}],"name":"setWlMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setWlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePumlxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWlMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenAddress","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

6080604052611388600b556005600c5566b1a2bc2ec50000600d556005600e5566b1a2bc2ec50000600f556005601055685336677f38b09c00006011556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601490805190602001906200008992919062000480565b506000601660006101000a81548160ff0219169083151502179055506000601660016101000a81548160ff0219169083151502179055506000601660026101000a81548160ff0219169083151502179055506000601660036101000a81548160ff0219169083151502179055503480156200010357600080fd5b5060405162005223380380620052238339818101604052810190620001299190620005dc565b6040518060400160405280600581526020017f57656172580000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f57525800000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001ad92919062000480565b508060039080519060200190620001c692919062000480565b50620001d76200029660201b60201c565b6000819055505050620001ff620001f36200029f60201b60201c565b620002a760201b60201c565b60016009819055506000600a60006101000a81548160ff02191690831515021790555083601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601a819055506200027b826200036d60201b60201c565b6200028c816200039960201b60201c565b5050505062000905565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200037d620003c560201b60201c565b80601390805190602001906200039592919062000480565b5050565b620003a9620003c560201b60201c565b8060159080519060200190620003c192919062000480565b5050565b620003d56200029f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003fb6200045660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000454576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044b90620006b3565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200048e90620007b9565b90600052602060002090601f016020900481019282620004b25760008555620004fe565b82601f10620004cd57805160ff1916838001178555620004fe565b82800160010185558215620004fe579182015b82811115620004fd578251825591602001919060010190620004e0565b5b5090506200050d919062000511565b5090565b5b808211156200052c57600081600090555060010162000512565b5090565b6000620005476200054184620006fe565b620006d5565b90508281526020810184848401111562000566576200056562000888565b5b6200057384828562000783565b509392505050565b6000815190506200058c81620008d1565b92915050565b600081519050620005a381620008eb565b92915050565b600082601f830112620005c157620005c062000883565b5b8151620005d384826020860162000530565b91505092915050565b60008060008060808587031215620005f957620005f862000892565b5b600062000609878288016200057b565b94505060206200061c8782880162000592565b935050604085015167ffffffffffffffff81111562000640576200063f6200088d565b5b6200064e87828801620005a9565b925050606085015167ffffffffffffffff8111156200067257620006716200088d565b5b6200068087828801620005a9565b91505092959194509250565b60006200069b60208362000734565b9150620006a882620008a8565b602082019050919050565b60006020820190508181036000830152620006ce816200068c565b9050919050565b6000620006e1620006f4565b9050620006ef8282620007ef565b919050565b6000604051905090565b600067ffffffffffffffff8211156200071c576200071b62000854565b5b620007278262000897565b9050602081019050919050565b600082825260208201905092915050565b6000620007528262000763565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620007a357808201518184015260208101905062000786565b83811115620007b3576000848401525b50505050565b60006002820490506001821680620007d257607f821691505b60208210811415620007e957620007e862000825565b5b50919050565b620007fa8262000897565b810181811067ffffffffffffffff821117156200081c576200081b62000854565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620008dc8162000745565b8114620008e857600080fd5b50565b620008f68162000759565b81146200090257600080fd5b50565b61490e80620009156000396000f3fe6080604052600436106103765760003560e01c80637501f741116101d1578063ac90122511610102578063d2cab056116100a0578063e4b356831161006f578063e4b3568314610bbd578063e985e9c514610be8578063f2c4ce1e14610c25578063f2fde38b14610c4e57610376565b8063d2cab05614610b24578063d5abeb0114610b40578063da3ef23f14610b6b578063dab5f34014610b9457610376565b8063b88d4fde116100dc578063b88d4fde14610a63578063b8a20ed014610a7f578063c668286214610abc578063c87b56dd14610ae757610376565b8063ac901225146109f5578063add5a4fa14610a11578063af2c1aeb14610a3a57610376565b80638dd07d0f1161016f5780639c08feb2116101495780639c08feb2146109735780639d76ea581461098a578063a22cb465146109b5578063a475b5dd146109de57610376565b80638dd07d0f146108f657806391b7f5ed1461091f57806395d89b411461094857610376565b806383f01d21116101ab57806383f01d21146108625780638456cb591461088b57806389476069146108a25780638da5cb5b146108cb57610376565b80637501f741146107e35780637f00c7a61461080e57806382c309871461083757610376565b80634047638d116102ab5780635c39d469116102495780636817c76c116102235780636817c76c146107395780636d8e4d4c1461076457806370a082311461078f578063715018a6146107cc57610376565b80635c39d469146106a65780635c975abb146106d15780636352211e146106fc57610376565b80635183022711610285578063518302271461061257806351cff8d91461063d57806355f804b3146106665780635812029e1461068f57610376565b80634047638d146105b457806342842e0e146105cb5780634d3e8f39146105e757610376565b806313fd52fb1161031857806326a4e8d2116102f257806326a4e8d21461052d5780632c4e9fc6146105565780632db11544146105815780633f4ba83a1461059d57610376565b806313fd52fb146104bd57806318160ddd146104e657806323b872dd1461051157610376565b8063081c8c4411610354578063081c8c4414610420578063095ea7b31461044b5780630f4161aa1461046757806311f95ac31461049257610376565b806301ffc9a71461037b57806306fdde03146103b8578063081812fc146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d919061389d565b610c77565b6040516103af9190613ea4565b60405180910390f35b3480156103c457600080fd5b506103cd610d09565b6040516103da9190613ef5565b60405180910390f35b3480156103ef57600080fd5b5061040a6004803603810190610405919061396d565b610d9b565b6040516104179190613ddd565b60405180910390f35b34801561042c57600080fd5b50610435610e1a565b6040516104429190613ef5565b60405180910390f35b610465600480360381019061046091906137a7565b610ea8565b005b34801561047357600080fd5b5061047c610fec565b6040516104899190613ea4565b60405180910390f35b34801561049e57600080fd5b506104a7610fff565b6040516104b49190613ea4565b60405180910390f35b3480156104c957600080fd5b506104e460048036038101906104df919061396d565b611012565b005b3480156104f257600080fd5b506104fb611024565b60405161050891906140d7565b60405180910390f35b61052b60048036038101906105269190613691565b61103b565b005b34801561053957600080fd5b50610554600480360381019061054f91906138f7565b611360565b005b34801561056257600080fd5b5061056b611402565b60405161057891906140d7565b60405180910390f35b61059b6004803603810190610596919061396d565b611408565b005b3480156105a957600080fd5b506105b261164e565b005b3480156105c057600080fd5b506105c9611660565b005b6105e560048036038101906105e09190613691565b611694565b005b3480156105f357600080fd5b506105fc6116b4565b60405161060991906140d7565b60405180910390f35b34801561061e57600080fd5b506106276116ba565b6040516106349190613ea4565b60405180910390f35b34801561064957600080fd5b50610664600480360381019061065f9190613624565b6116cd565b005b34801561067257600080fd5b5061068d60048036038101906106889190613924565b6117e3565b005b34801561069b57600080fd5b506106a4611805565b005b3480156106b257600080fd5b506106bb611839565b6040516106c89190613ea4565b60405180910390f35b3480156106dd57600080fd5b506106e661184c565b6040516106f39190613ea4565b60405180910390f35b34801561070857600080fd5b50610723600480360381019061071e919061396d565b611863565b6040516107309190613ddd565b60405180910390f35b34801561074557600080fd5b5061074e611875565b60405161075b91906140d7565b60405180910390f35b34801561077057600080fd5b5061077961187b565b60405161078691906140d7565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b19190613624565b611881565b6040516107c391906140d7565b60405180910390f35b3480156107d857600080fd5b506107e161193a565b005b3480156107ef57600080fd5b506107f861194e565b60405161080591906140d7565b60405180910390f35b34801561081a57600080fd5b506108356004803603810190610830919061396d565b611954565b005b34801561084357600080fd5b5061084c611966565b6040516108599190613ebf565b60405180910390f35b34801561086e57600080fd5b506108896004803603810190610884919061396d565b61196c565b005b34801561089757600080fd5b506108a061197e565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190613624565b611990565b005b3480156108d757600080fd5b506108e0611bb9565b6040516108ed9190613ddd565b60405180910390f35b34801561090257600080fd5b5061091d6004803603810190610918919061396d565b611be3565b005b34801561092b57600080fd5b506109466004803603810190610941919061396d565b611bf5565b005b34801561095457600080fd5b5061095d611c07565b60405161096a9190613ef5565b60405180910390f35b34801561097f57600080fd5b50610988611c99565b005b34801561099657600080fd5b5061099f611ccd565b6040516109ac9190613eda565b60405180910390f35b3480156109c157600080fd5b506109dc60048036038101906109d79190613767565b611cf3565b005b3480156109ea57600080fd5b506109f3611dfe565b005b610a0f6004803603810190610a0a919061396d565b611e32565b005b348015610a1d57600080fd5b50610a386004803603810190610a3391906137a7565b61212b565b005b348015610a4657600080fd5b50610a616004803603810190610a5c919061396d565b612205565b005b610a7d6004803603810190610a7891906136e4565b612217565b005b348015610a8b57600080fd5b50610aa66004803603810190610aa191906137e7565b61228a565b604051610ab39190613ea4565b60405180910390f35b348015610ac857600080fd5b50610ad16122a1565b604051610ade9190613ef5565b60405180910390f35b348015610af357600080fd5b50610b0e6004803603810190610b09919061396d565b61232f565b604051610b1b9190613ef5565b60405180910390f35b610b3e6004803603810190610b3991906139c7565b612488565b005b348015610b4c57600080fd5b50610b5561273e565b604051610b6291906140d7565b60405180910390f35b348015610b7757600080fd5b50610b926004803603810190610b8d9190613924565b612744565b005b348015610ba057600080fd5b50610bbb6004803603810190610bb69190613870565b612766565b005b348015610bc957600080fd5b50610bd26127ce565b604051610bdf91906140d7565b60405180910390f35b348015610bf457600080fd5b50610c0f6004803603810190610c0a9190613651565b6127d4565b604051610c1c9190613ea4565b60405180910390f35b348015610c3157600080fd5b50610c4c6004803603810190610c479190613924565b612868565b005b348015610c5a57600080fd5b50610c756004803603810190610c709190613624565b61288a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cd257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d025750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610d18906143b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d44906143b5565b8015610d915780601f10610d6657610100808354040283529160200191610d91565b820191906000526020600020905b815481529060010190602001808311610d7457829003601f168201915b5050505050905090565b6000610da68261290e565b610ddc576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60158054610e27906143b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e53906143b5565b8015610ea05780601f10610e7557610100808354040283529160200191610ea0565b820191906000526020600020905b815481529060010190602001808311610e8357829003601f168201915b505050505081565b6000610eb382611863565b90508073ffffffffffffffffffffffffffffffffffffffff16610ed461296d565b73ffffffffffffffffffffffffffffffffffffffff1614610f3757610f0081610efb61296d565b6127d4565b610f36576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601660019054906101000a900460ff1681565b601660029054906101000a900460ff1681565b61101a612975565b8060118190555050565b600061102e6129f3565b6001546000540303905090565b6000611046826129fc565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110ad576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110b984612aca565b915091506110cf81876110ca61296d565b612af1565b61111b576110e4866110df61296d565b6127d4565b61111a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611182576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61118f8686866001612b35565b801561119a57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061126885611244888887612b3b565b7c020000000000000000000000000000000000000000000000000000000017612b63565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156112f05760006001850190506000600460008381526020019081526020016000205414156112ee5760005481146112ed578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113588686866001612b8e565b505050505050565b611368612975565b600260095414156113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a590614097565b60405180910390fd5b600260098190555080601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160098190555050565b600f5481565b611410612b94565b60026009541415611456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144d90614097565b60405180910390fd5b6002600981905550601660019054906101000a900460ff166114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490614077565b60405180910390fd5b600d54816114bb9190614253565b3410156114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f490614057565b60405180910390fd5b600b5481611509611024565b61151391906141fd565b1115611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90614037565b60405180910390fd5b600c5481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115a291906141fd565b11156115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da906140b7565b60405180910390fd5b80601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461163291906141fd565b925050819055506116433382612bde565b600160098190555050565b611656612975565b61165e612bfc565b565b611668612975565b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b6116af83838360405180602001604052806000815250612217565b505050565b60105481565b601660009054906101000a900460ff1681565b6116d5612975565b6002600954141561171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290614097565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611791576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178890613ff7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156117d7573d6000803e3d6000fd5b50600160098190555050565b6117eb612975565b8060139080519060200190611801929190613346565b5050565b61180d612975565b601660039054906101000a900460ff1615601660036101000a81548160ff021916908315150217905550565b601660039054906101000a900460ff1681565b6000600a60009054906101000a900460ff16905090565b600061186e826129fc565b9050919050565b600d5481565b60115481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118e9576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611942612975565b61194c6000612c5f565b565b600c5481565b61195c612975565b80600c8190555050565b601a5481565b611974612975565b80600e8190555050565b611986612975565b61198e612d25565b565b611998612975565b600260095414156119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d590614097565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4b90613ff7565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611aee9190613ddd565b60206040518083038186803b158015611b0657600080fd5b505afa158015611b1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3e919061399a565b6040518363ffffffff1660e01b8152600401611b5b929190613e7b565b602060405180830381600087803b158015611b7557600080fd5b505af1158015611b89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bad9190613843565b50600160098190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611beb612975565b80600f8190555050565b611bfd612975565b80600d8190555050565b606060038054611c16906143b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611c42906143b5565b8015611c8f5780601f10611c6457610100808354040283529160200191611c8f565b820191906000526020600020905b815481529060010190602001808311611c7257829003601f168201915b5050505050905090565b611ca1612975565b601660029054906101000a900460ff1615601660026101000a81548160ff021916908315150217905550565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8060076000611d0061296d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dad61296d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611df29190613ea4565b60405180910390a35050565b611e06612975565b601660009054906101000a900460ff1615601660006101000a81548160ff021916908315150217905550565b611e3a612b94565b60026009541415611e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7790614097565b60405180910390fd5b6002600981905550601660039054906101000a900460ff16611ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ece90613f97565b60405180910390fd5b6000341015611f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1290614057565b60405180910390fd5b600b5481611f27611024565b611f3191906141fd565b1115611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990614037565b60405180910390fd5b60105481601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fc091906141fd565b1115612001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff8906140b7565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306011548561204f9190614253565b6040518463ffffffff1660e01b815260040161206d93929190613df8565b602060405180830381600087803b15801561208757600080fd5b505af115801561209b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bf9190613843565b5080601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461210f91906141fd565b925050819055506121203382612bde565b600160098190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219090613ff7565b60405180910390fd5b6121a1612975565b600260095414156121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121de90614097565b60405180910390fd5b60026009819055506121f98282612bde565b60016009819055505050565b61220d612975565b8060108190555050565b61222284848461103b565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122845761224d84848484612d88565b612283576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600061229983601a5484612ee8565b905092915050565b601480546122ae906143b5565b80601f01602080910402602001604051908101604052809291908181526020018280546122da906143b5565b80156123275780601f106122fc57610100808354040283529160200191612327565b820191906000526020600020905b81548152906001019060200180831161230a57829003601f168201915b505050505081565b606061233a8261290e565b612379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237090613fd7565b60405180910390fd5b60001515601660009054906101000a900460ff161515141561242757601580546123a2906143b5565b80601f01602080910402602001604051908101604052809291908181526020018280546123ce906143b5565b801561241b5780601f106123f05761010080835404028352916020019161241b565b820191906000526020600020905b8154815290600101906020018083116123fe57829003601f168201915b50505050509050612483565b6000612431612eff565b90506000815111612451576040518060200160405280600081525061247f565b8061245b84612f91565b601460405160200161246f93929190613dac565b6040516020818303038152906040525b9150505b919050565b612490612b94565b600260095414156124d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cd90614097565b60405180910390fd5b600260098190555061250e81336040516020016124f39190613d91565b6040516020818303038152906040528051906020012061228a565b61254d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254490613f77565b60405180910390fd5b601660029054906101000a900460ff1661259c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259390614017565b60405180910390fd5b600f54826125aa9190614253565b3410156125ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e390614057565b60405180910390fd5b600b54826125f8611024565b61260291906141fd565b1115612643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263a90614037565b60405180910390fd5b600e5482601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461269191906141fd565b11156126d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c9906140b7565b60405180910390fd5b81601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272191906141fd565b925050819055506127323383612bde565b60016009819055505050565b600b5481565b61274c612975565b8060149080519060200190612762929190613346565b5050565b61276e612975565b600260095414156127b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ab90614097565b60405180910390fd5b600260098190555080601a81905550600160098190555050565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612870612975565b8060159080519060200190612886929190613346565b5050565b612892612975565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f990613f37565b60405180910390fd5b61290b81612c5f565b50565b6000816129196129f3565b11158015612928575060005482105b8015612966575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61297d612fea565b73ffffffffffffffffffffffffffffffffffffffff1661299b611bb9565b73ffffffffffffffffffffffffffffffffffffffff16146129f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e890613fb7565b60405180910390fd5b565b60006001905090565b60008082905080612a0b6129f3565b11612a9357600054811015612a925760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612a90575b6000811415612a86576004600083600190039350838152602001908152602001600020549050612a5b565b8092505050612ac5565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612b52868684612ff2565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612b9c61184c565b15612bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd390613f57565b60405180910390fd5b565b612bf8828260405180602001604052806000815250612ffb565b5050565b612c04613098565b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612c48612fea565b604051612c559190613ddd565b60405180910390a1565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d2d612b94565b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d71612fea565b604051612d7e9190613ddd565b60405180910390a1565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dae61296d565b8786866040518563ffffffff1660e01b8152600401612dd09493929190613e2f565b602060405180830381600087803b158015612dea57600080fd5b505af1925050508015612e1b57506040513d601f19601f82011682018060405250810190612e1891906138ca565b60015b612e95573d8060008114612e4b576040519150601f19603f3d011682016040523d82523d6000602084013e612e50565b606091505b50600081511415612e8d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600082612ef585846130e1565b1490509392505050565b606060138054612f0e906143b5565b80601f0160208091040260200160405190810160405280929190818152602001828054612f3a906143b5565b8015612f875780601f10612f5c57610100808354040283529160200191612f87565b820191906000526020600020905b815481529060010190602001808311612f6a57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612fd557600184039350600a81066030018453600a8104905080612fd057612fd5565b612faa565b50828103602084039350808452505050919050565b600033905090565b60009392505050565b6130058383613137565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461309357600080549050600083820390505b6130456000868380600101945086612d88565b61307b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061303257816000541461309057600080fd5b50505b505050565b6130a061184c565b6130df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d690613f17565b60405180910390fd5b565b60008082905060005b845181101561312c576131178286838151811061310a576131096144e3565b5b60200260200101516132f4565b9150808061312490614418565b9150506130ea565b508091505092915050565b6000805490506000821415613178576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131856000848385612b35565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131fc836131ed6000866000612b3b565b6131f68561331f565b17612b63565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461329d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613262565b5060008214156132d9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506132ef6000848385612b8e565b505050565b600081831061330c57613307828461332f565b613317565b613316838361332f565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b828054613352906143b5565b90600052602060002090601f01602090048101928261337457600085556133bb565b82601f1061338d57805160ff19168380011785556133bb565b828001600101855582156133bb579182015b828111156133ba57825182559160200191906001019061339f565b5b5090506133c891906133cc565b5090565b5b808211156133e55760008160009055506001016133cd565b5090565b60006133fc6133f784614117565b6140f2565b9050808382526020820190508285602086028201111561341f5761341e614546565b5b60005b8581101561344f5781613435888261354a565b845260208401935060208301925050600181019050613422565b5050509392505050565b600061346c61346784614143565b6140f2565b9050828152602081018484840111156134885761348761454b565b5b613493848285614373565b509392505050565b60006134ae6134a984614174565b6140f2565b9050828152602081018484840111156134ca576134c961454b565b5b6134d5848285614373565b509392505050565b6000813590506134ec8161484e565b92915050565b600082601f83011261350757613506614541565b5b81356135178482602086016133e9565b91505092915050565b60008135905061352f81614865565b92915050565b60008151905061354481614865565b92915050565b6000813590506135598161487c565b92915050565b60008135905061356e81614893565b92915050565b60008151905061358381614893565b92915050565b600082601f83011261359e5761359d614541565b5b81356135ae848260208601613459565b91505092915050565b6000813590506135c6816148aa565b92915050565b600082601f8301126135e1576135e0614541565b5b81356135f184826020860161349b565b91505092915050565b600081359050613609816148c1565b92915050565b60008151905061361e816148c1565b92915050565b60006020828403121561363a57613639614555565b5b6000613648848285016134dd565b91505092915050565b6000806040838503121561366857613667614555565b5b6000613676858286016134dd565b9250506020613687858286016134dd565b9150509250929050565b6000806000606084860312156136aa576136a9614555565b5b60006136b8868287016134dd565b93505060206136c9868287016134dd565b92505060406136da868287016135fa565b9150509250925092565b600080600080608085870312156136fe576136fd614555565b5b600061370c878288016134dd565b945050602061371d878288016134dd565b935050604061372e878288016135fa565b925050606085013567ffffffffffffffff81111561374f5761374e614550565b5b61375b87828801613589565b91505092959194509250565b6000806040838503121561377e5761377d614555565b5b600061378c858286016134dd565b925050602061379d85828601613520565b9150509250929050565b600080604083850312156137be576137bd614555565b5b60006137cc858286016134dd565b92505060206137dd858286016135fa565b9150509250929050565b600080604083850312156137fe576137fd614555565b5b600083013567ffffffffffffffff81111561381c5761381b614550565b5b613828858286016134f2565b92505060206138398582860161354a565b9150509250929050565b60006020828403121561385957613858614555565b5b600061386784828501613535565b91505092915050565b60006020828403121561388657613885614555565b5b60006138948482850161354a565b91505092915050565b6000602082840312156138b3576138b2614555565b5b60006138c18482850161355f565b91505092915050565b6000602082840312156138e0576138df614555565b5b60006138ee84828501613574565b91505092915050565b60006020828403121561390d5761390c614555565b5b600061391b848285016135b7565b91505092915050565b60006020828403121561393a57613939614555565b5b600082013567ffffffffffffffff81111561395857613957614550565b5b613964848285016135cc565b91505092915050565b60006020828403121561398357613982614555565b5b6000613991848285016135fa565b91505092915050565b6000602082840312156139b0576139af614555565b5b60006139be8482850161360f565b91505092915050565b600080604083850312156139de576139dd614555565b5b60006139ec858286016135fa565b925050602083013567ffffffffffffffff811115613a0d57613a0c614550565b5b613a19858286016134f2565b9150509250929050565b613a2c816142ad565b82525050565b613a43613a3e826142ad565b614461565b82525050565b613a52816142bf565b82525050565b613a61816142cb565b82525050565b6000613a72826141ba565b613a7c81856141d0565b9350613a8c818560208601614382565b613a958161455a565b840191505092915050565b613aa98161433d565b82525050565b6000613aba826141c5565b613ac481856141e1565b9350613ad4818560208601614382565b613add8161455a565b840191505092915050565b6000613af3826141c5565b613afd81856141f2565b9350613b0d818560208601614382565b80840191505092915050565b60008154613b26816143b5565b613b3081866141f2565b94506001821660008114613b4b5760018114613b5c57613b8f565b60ff19831686528186019350613b8f565b613b65856141a5565b60005b83811015613b8757815481890152600182019150602081019050613b68565b838801955050505b50505092915050565b6000613ba56014836141e1565b9150613bb082614578565b602082019050919050565b6000613bc86026836141e1565b9150613bd3826145a1565b604082019050919050565b6000613beb6010836141e1565b9150613bf6826145f0565b602082019050919050565b6000613c0e6017836141e1565b9150613c1982614619565b602082019050919050565b6000613c31601e836141e1565b9150613c3c82614642565b602082019050919050565b6000613c546020836141e1565b9150613c5f8261466b565b602082019050919050565b6000613c77602f836141e1565b9150613c8282614694565b604082019050919050565b6000613c9a602b836141e1565b9150613ca5826146e3565b604082019050919050565b6000613cbd6022836141e1565b9150613cc882614732565b604082019050919050565b6000613ce06019836141e1565b9150613ceb82614781565b602082019050919050565b6000613d036015836141e1565b9150613d0e826147aa565b602082019050919050565b6000613d26601f836141e1565b9150613d31826147d3565b602082019050919050565b6000613d49601f836141e1565b9150613d54826147fc565b602082019050919050565b6000613d6c601d836141e1565b9150613d7782614825565b602082019050919050565b613d8b81614333565b82525050565b6000613d9d8284613a32565b60148201915081905092915050565b6000613db88286613ae8565b9150613dc48285613ae8565b9150613dd08284613b19565b9150819050949350505050565b6000602082019050613df26000830184613a23565b92915050565b6000606082019050613e0d6000830186613a23565b613e1a6020830185613a23565b613e276040830184613d82565b949350505050565b6000608082019050613e446000830187613a23565b613e516020830186613a23565b613e5e6040830185613d82565b8181036060830152613e708184613a67565b905095945050505050565b6000604082019050613e906000830185613a23565b613e9d6020830184613d82565b9392505050565b6000602082019050613eb96000830184613a49565b92915050565b6000602082019050613ed46000830184613a58565b92915050565b6000602082019050613eef6000830184613aa0565b92915050565b60006020820190508181036000830152613f0f8184613aaf565b905092915050565b60006020820190508181036000830152613f3081613b98565b9050919050565b60006020820190508181036000830152613f5081613bbb565b9050919050565b60006020820190508181036000830152613f7081613bde565b9050919050565b60006020820190508181036000830152613f9081613c01565b9050919050565b60006020820190508181036000830152613fb081613c24565b9050919050565b60006020820190508181036000830152613fd081613c47565b9050919050565b60006020820190508181036000830152613ff081613c6a565b9050919050565b6000602082019050818103600083015261401081613c8d565b9050919050565b6000602082019050818103600083015261403081613cb0565b9050919050565b6000602082019050818103600083015261405081613cd3565b9050919050565b6000602082019050818103600083015261407081613cf6565b9050919050565b6000602082019050818103600083015261409081613d19565b9050919050565b600060208201905081810360008301526140b081613d3c565b9050919050565b600060208201905081810360008301526140d081613d5f565b9050919050565b60006020820190506140ec6000830184613d82565b92915050565b60006140fc61410d565b905061410882826143e7565b919050565b6000604051905090565b600067ffffffffffffffff82111561413257614131614512565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561415e5761415d614512565b5b6141678261455a565b9050602081019050919050565b600067ffffffffffffffff82111561418f5761418e614512565b5b6141988261455a565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061420882614333565b915061421383614333565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561424857614247614485565b5b828201905092915050565b600061425e82614333565b915061426983614333565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142a2576142a1614485565b5b828202905092915050565b60006142b882614313565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061430c826142ad565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006143488261434f565b9050919050565b600061435a82614361565b9050919050565b600061436c82614313565b9050919050565b82818337600083830152505050565b60005b838110156143a0578082015181840152602081019050614385565b838111156143af576000848401525b50505050565b600060028204905060018216806143cd57607f821691505b602082108114156143e1576143e06144b4565b5b50919050565b6143f08261455a565b810181811067ffffffffffffffff8211171561440f5761440e614512565b5b80604052505050565b600061442382614333565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561445657614455614485565b5b600182019050919050565b600061446c82614473565b9050919050565b600061447e8261456b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4e6f7420612070617274206f662077686974656c697374000000000000000000600082015250565b7f746f6b656e206d696e742069732063757272656e746c79207061757365640000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4572726f723a2043616e6e6f742062652063616c6c656420627920616e6f746860008201527f657220636f6e7472616374000000000000000000000000000000000000000000602082015250565b7f57686974656c697374206d696e742069732063757272656e746c79207061757360008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f723a206d617820737570706c79207265616368656400000000000000600082015250565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b7f5075626c6963206d696e742069732063757272656e746c792070617573656400600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4572726f723a204d6178207065722077616c6c65742072656163686564000000600082015250565b614857816142ad565b811461486257600080fd5b50565b61486e816142bf565b811461487957600080fd5b50565b614885816142cb565b811461489057600080fd5b50565b61489c816142d5565b81146148a757600080fd5b50565b6148b381614301565b81146148be57600080fd5b50565b6148ca81614333565b81146148d557600080fd5b5056fea2646970667358221220036eadb43e5795924645c4754291d89a8a72d08625c46a0a012cbf9e0b71a33864736f6c634300080700330000000000000000000000008c088775e4139af116ac1fa6f281bbf71e8c1c7389b5c0e9b73168bd71c0a5a5e97e534fcb41329175debd525d08ec4b0cf726f100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5a4c56546b686447615641594635634c773355566b536771374d78755a384d7479594450313731627847425a2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6446743771467a5256534169767638486f4c67776a6342325a786e394d394a6d56457254517153516433517a2f68696464656e2e6a736f6e00000000

Deployed Bytecode

0x6080604052600436106103765760003560e01c80637501f741116101d1578063ac90122511610102578063d2cab056116100a0578063e4b356831161006f578063e4b3568314610bbd578063e985e9c514610be8578063f2c4ce1e14610c25578063f2fde38b14610c4e57610376565b8063d2cab05614610b24578063d5abeb0114610b40578063da3ef23f14610b6b578063dab5f34014610b9457610376565b8063b88d4fde116100dc578063b88d4fde14610a63578063b8a20ed014610a7f578063c668286214610abc578063c87b56dd14610ae757610376565b8063ac901225146109f5578063add5a4fa14610a11578063af2c1aeb14610a3a57610376565b80638dd07d0f1161016f5780639c08feb2116101495780639c08feb2146109735780639d76ea581461098a578063a22cb465146109b5578063a475b5dd146109de57610376565b80638dd07d0f146108f657806391b7f5ed1461091f57806395d89b411461094857610376565b806383f01d21116101ab57806383f01d21146108625780638456cb591461088b57806389476069146108a25780638da5cb5b146108cb57610376565b80637501f741146107e35780637f00c7a61461080e57806382c309871461083757610376565b80634047638d116102ab5780635c39d469116102495780636817c76c116102235780636817c76c146107395780636d8e4d4c1461076457806370a082311461078f578063715018a6146107cc57610376565b80635c39d469146106a65780635c975abb146106d15780636352211e146106fc57610376565b80635183022711610285578063518302271461061257806351cff8d91461063d57806355f804b3146106665780635812029e1461068f57610376565b80634047638d146105b457806342842e0e146105cb5780634d3e8f39146105e757610376565b806313fd52fb1161031857806326a4e8d2116102f257806326a4e8d21461052d5780632c4e9fc6146105565780632db11544146105815780633f4ba83a1461059d57610376565b806313fd52fb146104bd57806318160ddd146104e657806323b872dd1461051157610376565b8063081c8c4411610354578063081c8c4414610420578063095ea7b31461044b5780630f4161aa1461046757806311f95ac31461049257610376565b806301ffc9a71461037b57806306fdde03146103b8578063081812fc146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d919061389d565b610c77565b6040516103af9190613ea4565b60405180910390f35b3480156103c457600080fd5b506103cd610d09565b6040516103da9190613ef5565b60405180910390f35b3480156103ef57600080fd5b5061040a6004803603810190610405919061396d565b610d9b565b6040516104179190613ddd565b60405180910390f35b34801561042c57600080fd5b50610435610e1a565b6040516104429190613ef5565b60405180910390f35b610465600480360381019061046091906137a7565b610ea8565b005b34801561047357600080fd5b5061047c610fec565b6040516104899190613ea4565b60405180910390f35b34801561049e57600080fd5b506104a7610fff565b6040516104b49190613ea4565b60405180910390f35b3480156104c957600080fd5b506104e460048036038101906104df919061396d565b611012565b005b3480156104f257600080fd5b506104fb611024565b60405161050891906140d7565b60405180910390f35b61052b60048036038101906105269190613691565b61103b565b005b34801561053957600080fd5b50610554600480360381019061054f91906138f7565b611360565b005b34801561056257600080fd5b5061056b611402565b60405161057891906140d7565b60405180910390f35b61059b6004803603810190610596919061396d565b611408565b005b3480156105a957600080fd5b506105b261164e565b005b3480156105c057600080fd5b506105c9611660565b005b6105e560048036038101906105e09190613691565b611694565b005b3480156105f357600080fd5b506105fc6116b4565b60405161060991906140d7565b60405180910390f35b34801561061e57600080fd5b506106276116ba565b6040516106349190613ea4565b60405180910390f35b34801561064957600080fd5b50610664600480360381019061065f9190613624565b6116cd565b005b34801561067257600080fd5b5061068d60048036038101906106889190613924565b6117e3565b005b34801561069b57600080fd5b506106a4611805565b005b3480156106b257600080fd5b506106bb611839565b6040516106c89190613ea4565b60405180910390f35b3480156106dd57600080fd5b506106e661184c565b6040516106f39190613ea4565b60405180910390f35b34801561070857600080fd5b50610723600480360381019061071e919061396d565b611863565b6040516107309190613ddd565b60405180910390f35b34801561074557600080fd5b5061074e611875565b60405161075b91906140d7565b60405180910390f35b34801561077057600080fd5b5061077961187b565b60405161078691906140d7565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b19190613624565b611881565b6040516107c391906140d7565b60405180910390f35b3480156107d857600080fd5b506107e161193a565b005b3480156107ef57600080fd5b506107f861194e565b60405161080591906140d7565b60405180910390f35b34801561081a57600080fd5b506108356004803603810190610830919061396d565b611954565b005b34801561084357600080fd5b5061084c611966565b6040516108599190613ebf565b60405180910390f35b34801561086e57600080fd5b506108896004803603810190610884919061396d565b61196c565b005b34801561089757600080fd5b506108a061197e565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190613624565b611990565b005b3480156108d757600080fd5b506108e0611bb9565b6040516108ed9190613ddd565b60405180910390f35b34801561090257600080fd5b5061091d6004803603810190610918919061396d565b611be3565b005b34801561092b57600080fd5b506109466004803603810190610941919061396d565b611bf5565b005b34801561095457600080fd5b5061095d611c07565b60405161096a9190613ef5565b60405180910390f35b34801561097f57600080fd5b50610988611c99565b005b34801561099657600080fd5b5061099f611ccd565b6040516109ac9190613eda565b60405180910390f35b3480156109c157600080fd5b506109dc60048036038101906109d79190613767565b611cf3565b005b3480156109ea57600080fd5b506109f3611dfe565b005b610a0f6004803603810190610a0a919061396d565b611e32565b005b348015610a1d57600080fd5b50610a386004803603810190610a3391906137a7565b61212b565b005b348015610a4657600080fd5b50610a616004803603810190610a5c919061396d565b612205565b005b610a7d6004803603810190610a7891906136e4565b612217565b005b348015610a8b57600080fd5b50610aa66004803603810190610aa191906137e7565b61228a565b604051610ab39190613ea4565b60405180910390f35b348015610ac857600080fd5b50610ad16122a1565b604051610ade9190613ef5565b60405180910390f35b348015610af357600080fd5b50610b0e6004803603810190610b09919061396d565b61232f565b604051610b1b9190613ef5565b60405180910390f35b610b3e6004803603810190610b3991906139c7565b612488565b005b348015610b4c57600080fd5b50610b5561273e565b604051610b6291906140d7565b60405180910390f35b348015610b7757600080fd5b50610b926004803603810190610b8d9190613924565b612744565b005b348015610ba057600080fd5b50610bbb6004803603810190610bb69190613870565b612766565b005b348015610bc957600080fd5b50610bd26127ce565b604051610bdf91906140d7565b60405180910390f35b348015610bf457600080fd5b50610c0f6004803603810190610c0a9190613651565b6127d4565b604051610c1c9190613ea4565b60405180910390f35b348015610c3157600080fd5b50610c4c6004803603810190610c479190613924565b612868565b005b348015610c5a57600080fd5b50610c756004803603810190610c709190613624565b61288a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cd257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d025750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610d18906143b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d44906143b5565b8015610d915780601f10610d6657610100808354040283529160200191610d91565b820191906000526020600020905b815481529060010190602001808311610d7457829003601f168201915b5050505050905090565b6000610da68261290e565b610ddc576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60158054610e27906143b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e53906143b5565b8015610ea05780601f10610e7557610100808354040283529160200191610ea0565b820191906000526020600020905b815481529060010190602001808311610e8357829003601f168201915b505050505081565b6000610eb382611863565b90508073ffffffffffffffffffffffffffffffffffffffff16610ed461296d565b73ffffffffffffffffffffffffffffffffffffffff1614610f3757610f0081610efb61296d565b6127d4565b610f36576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601660019054906101000a900460ff1681565b601660029054906101000a900460ff1681565b61101a612975565b8060118190555050565b600061102e6129f3565b6001546000540303905090565b6000611046826129fc565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110ad576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110b984612aca565b915091506110cf81876110ca61296d565b612af1565b61111b576110e4866110df61296d565b6127d4565b61111a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611182576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61118f8686866001612b35565b801561119a57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061126885611244888887612b3b565b7c020000000000000000000000000000000000000000000000000000000017612b63565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156112f05760006001850190506000600460008381526020019081526020016000205414156112ee5760005481146112ed578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113588686866001612b8e565b505050505050565b611368612975565b600260095414156113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a590614097565b60405180910390fd5b600260098190555080601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160098190555050565b600f5481565b611410612b94565b60026009541415611456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144d90614097565b60405180910390fd5b6002600981905550601660019054906101000a900460ff166114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490614077565b60405180910390fd5b600d54816114bb9190614253565b3410156114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f490614057565b60405180910390fd5b600b5481611509611024565b61151391906141fd565b1115611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90614037565b60405180910390fd5b600c5481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115a291906141fd565b11156115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da906140b7565b60405180910390fd5b80601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461163291906141fd565b925050819055506116433382612bde565b600160098190555050565b611656612975565b61165e612bfc565b565b611668612975565b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b6116af83838360405180602001604052806000815250612217565b505050565b60105481565b601660009054906101000a900460ff1681565b6116d5612975565b6002600954141561171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290614097565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611791576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178890613ff7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156117d7573d6000803e3d6000fd5b50600160098190555050565b6117eb612975565b8060139080519060200190611801929190613346565b5050565b61180d612975565b601660039054906101000a900460ff1615601660036101000a81548160ff021916908315150217905550565b601660039054906101000a900460ff1681565b6000600a60009054906101000a900460ff16905090565b600061186e826129fc565b9050919050565b600d5481565b60115481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118e9576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611942612975565b61194c6000612c5f565b565b600c5481565b61195c612975565b80600c8190555050565b601a5481565b611974612975565b80600e8190555050565b611986612975565b61198e612d25565b565b611998612975565b600260095414156119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d590614097565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4b90613ff7565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611aee9190613ddd565b60206040518083038186803b158015611b0657600080fd5b505afa158015611b1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3e919061399a565b6040518363ffffffff1660e01b8152600401611b5b929190613e7b565b602060405180830381600087803b158015611b7557600080fd5b505af1158015611b89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bad9190613843565b50600160098190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611beb612975565b80600f8190555050565b611bfd612975565b80600d8190555050565b606060038054611c16906143b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611c42906143b5565b8015611c8f5780601f10611c6457610100808354040283529160200191611c8f565b820191906000526020600020905b815481529060010190602001808311611c7257829003601f168201915b5050505050905090565b611ca1612975565b601660029054906101000a900460ff1615601660026101000a81548160ff021916908315150217905550565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8060076000611d0061296d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dad61296d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611df29190613ea4565b60405180910390a35050565b611e06612975565b601660009054906101000a900460ff1615601660006101000a81548160ff021916908315150217905550565b611e3a612b94565b60026009541415611e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7790614097565b60405180910390fd5b6002600981905550601660039054906101000a900460ff16611ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ece90613f97565b60405180910390fd5b6000341015611f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1290614057565b60405180910390fd5b600b5481611f27611024565b611f3191906141fd565b1115611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990614037565b60405180910390fd5b60105481601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fc091906141fd565b1115612001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff8906140b7565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306011548561204f9190614253565b6040518463ffffffff1660e01b815260040161206d93929190613df8565b602060405180830381600087803b15801561208757600080fd5b505af115801561209b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bf9190613843565b5080601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461210f91906141fd565b925050819055506121203382612bde565b600160098190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219090613ff7565b60405180910390fd5b6121a1612975565b600260095414156121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121de90614097565b60405180910390fd5b60026009819055506121f98282612bde565b60016009819055505050565b61220d612975565b8060108190555050565b61222284848461103b565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122845761224d84848484612d88565b612283576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600061229983601a5484612ee8565b905092915050565b601480546122ae906143b5565b80601f01602080910402602001604051908101604052809291908181526020018280546122da906143b5565b80156123275780601f106122fc57610100808354040283529160200191612327565b820191906000526020600020905b81548152906001019060200180831161230a57829003601f168201915b505050505081565b606061233a8261290e565b612379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237090613fd7565b60405180910390fd5b60001515601660009054906101000a900460ff161515141561242757601580546123a2906143b5565b80601f01602080910402602001604051908101604052809291908181526020018280546123ce906143b5565b801561241b5780601f106123f05761010080835404028352916020019161241b565b820191906000526020600020905b8154815290600101906020018083116123fe57829003601f168201915b50505050509050612483565b6000612431612eff565b90506000815111612451576040518060200160405280600081525061247f565b8061245b84612f91565b601460405160200161246f93929190613dac565b6040516020818303038152906040525b9150505b919050565b612490612b94565b600260095414156124d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cd90614097565b60405180910390fd5b600260098190555061250e81336040516020016124f39190613d91565b6040516020818303038152906040528051906020012061228a565b61254d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254490613f77565b60405180910390fd5b601660029054906101000a900460ff1661259c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259390614017565b60405180910390fd5b600f54826125aa9190614253565b3410156125ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e390614057565b60405180910390fd5b600b54826125f8611024565b61260291906141fd565b1115612643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263a90614037565b60405180910390fd5b600e5482601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461269191906141fd565b11156126d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c9906140b7565b60405180910390fd5b81601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272191906141fd565b925050819055506127323383612bde565b60016009819055505050565b600b5481565b61274c612975565b8060149080519060200190612762929190613346565b5050565b61276e612975565b600260095414156127b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ab90614097565b60405180910390fd5b600260098190555080601a81905550600160098190555050565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612870612975565b8060159080519060200190612886929190613346565b5050565b612892612975565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f990613f37565b60405180910390fd5b61290b81612c5f565b50565b6000816129196129f3565b11158015612928575060005482105b8015612966575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61297d612fea565b73ffffffffffffffffffffffffffffffffffffffff1661299b611bb9565b73ffffffffffffffffffffffffffffffffffffffff16146129f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e890613fb7565b60405180910390fd5b565b60006001905090565b60008082905080612a0b6129f3565b11612a9357600054811015612a925760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612a90575b6000811415612a86576004600083600190039350838152602001908152602001600020549050612a5b565b8092505050612ac5565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612b52868684612ff2565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612b9c61184c565b15612bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd390613f57565b60405180910390fd5b565b612bf8828260405180602001604052806000815250612ffb565b5050565b612c04613098565b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612c48612fea565b604051612c559190613ddd565b60405180910390a1565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d2d612b94565b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d71612fea565b604051612d7e9190613ddd565b60405180910390a1565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dae61296d565b8786866040518563ffffffff1660e01b8152600401612dd09493929190613e2f565b602060405180830381600087803b158015612dea57600080fd5b505af1925050508015612e1b57506040513d601f19601f82011682018060405250810190612e1891906138ca565b60015b612e95573d8060008114612e4b576040519150601f19603f3d011682016040523d82523d6000602084013e612e50565b606091505b50600081511415612e8d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600082612ef585846130e1565b1490509392505050565b606060138054612f0e906143b5565b80601f0160208091040260200160405190810160405280929190818152602001828054612f3a906143b5565b8015612f875780601f10612f5c57610100808354040283529160200191612f87565b820191906000526020600020905b815481529060010190602001808311612f6a57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612fd557600184039350600a81066030018453600a8104905080612fd057612fd5565b612faa565b50828103602084039350808452505050919050565b600033905090565b60009392505050565b6130058383613137565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461309357600080549050600083820390505b6130456000868380600101945086612d88565b61307b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061303257816000541461309057600080fd5b50505b505050565b6130a061184c565b6130df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d690613f17565b60405180910390fd5b565b60008082905060005b845181101561312c576131178286838151811061310a576131096144e3565b5b60200260200101516132f4565b9150808061312490614418565b9150506130ea565b508091505092915050565b6000805490506000821415613178576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131856000848385612b35565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131fc836131ed6000866000612b3b565b6131f68561331f565b17612b63565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461329d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613262565b5060008214156132d9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506132ef6000848385612b8e565b505050565b600081831061330c57613307828461332f565b613317565b613316838361332f565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b828054613352906143b5565b90600052602060002090601f01602090048101928261337457600085556133bb565b82601f1061338d57805160ff19168380011785556133bb565b828001600101855582156133bb579182015b828111156133ba57825182559160200191906001019061339f565b5b5090506133c891906133cc565b5090565b5b808211156133e55760008160009055506001016133cd565b5090565b60006133fc6133f784614117565b6140f2565b9050808382526020820190508285602086028201111561341f5761341e614546565b5b60005b8581101561344f5781613435888261354a565b845260208401935060208301925050600181019050613422565b5050509392505050565b600061346c61346784614143565b6140f2565b9050828152602081018484840111156134885761348761454b565b5b613493848285614373565b509392505050565b60006134ae6134a984614174565b6140f2565b9050828152602081018484840111156134ca576134c961454b565b5b6134d5848285614373565b509392505050565b6000813590506134ec8161484e565b92915050565b600082601f83011261350757613506614541565b5b81356135178482602086016133e9565b91505092915050565b60008135905061352f81614865565b92915050565b60008151905061354481614865565b92915050565b6000813590506135598161487c565b92915050565b60008135905061356e81614893565b92915050565b60008151905061358381614893565b92915050565b600082601f83011261359e5761359d614541565b5b81356135ae848260208601613459565b91505092915050565b6000813590506135c6816148aa565b92915050565b600082601f8301126135e1576135e0614541565b5b81356135f184826020860161349b565b91505092915050565b600081359050613609816148c1565b92915050565b60008151905061361e816148c1565b92915050565b60006020828403121561363a57613639614555565b5b6000613648848285016134dd565b91505092915050565b6000806040838503121561366857613667614555565b5b6000613676858286016134dd565b9250506020613687858286016134dd565b9150509250929050565b6000806000606084860312156136aa576136a9614555565b5b60006136b8868287016134dd565b93505060206136c9868287016134dd565b92505060406136da868287016135fa565b9150509250925092565b600080600080608085870312156136fe576136fd614555565b5b600061370c878288016134dd565b945050602061371d878288016134dd565b935050604061372e878288016135fa565b925050606085013567ffffffffffffffff81111561374f5761374e614550565b5b61375b87828801613589565b91505092959194509250565b6000806040838503121561377e5761377d614555565b5b600061378c858286016134dd565b925050602061379d85828601613520565b9150509250929050565b600080604083850312156137be576137bd614555565b5b60006137cc858286016134dd565b92505060206137dd858286016135fa565b9150509250929050565b600080604083850312156137fe576137fd614555565b5b600083013567ffffffffffffffff81111561381c5761381b614550565b5b613828858286016134f2565b92505060206138398582860161354a565b9150509250929050565b60006020828403121561385957613858614555565b5b600061386784828501613535565b91505092915050565b60006020828403121561388657613885614555565b5b60006138948482850161354a565b91505092915050565b6000602082840312156138b3576138b2614555565b5b60006138c18482850161355f565b91505092915050565b6000602082840312156138e0576138df614555565b5b60006138ee84828501613574565b91505092915050565b60006020828403121561390d5761390c614555565b5b600061391b848285016135b7565b91505092915050565b60006020828403121561393a57613939614555565b5b600082013567ffffffffffffffff81111561395857613957614550565b5b613964848285016135cc565b91505092915050565b60006020828403121561398357613982614555565b5b6000613991848285016135fa565b91505092915050565b6000602082840312156139b0576139af614555565b5b60006139be8482850161360f565b91505092915050565b600080604083850312156139de576139dd614555565b5b60006139ec858286016135fa565b925050602083013567ffffffffffffffff811115613a0d57613a0c614550565b5b613a19858286016134f2565b9150509250929050565b613a2c816142ad565b82525050565b613a43613a3e826142ad565b614461565b82525050565b613a52816142bf565b82525050565b613a61816142cb565b82525050565b6000613a72826141ba565b613a7c81856141d0565b9350613a8c818560208601614382565b613a958161455a565b840191505092915050565b613aa98161433d565b82525050565b6000613aba826141c5565b613ac481856141e1565b9350613ad4818560208601614382565b613add8161455a565b840191505092915050565b6000613af3826141c5565b613afd81856141f2565b9350613b0d818560208601614382565b80840191505092915050565b60008154613b26816143b5565b613b3081866141f2565b94506001821660008114613b4b5760018114613b5c57613b8f565b60ff19831686528186019350613b8f565b613b65856141a5565b60005b83811015613b8757815481890152600182019150602081019050613b68565b838801955050505b50505092915050565b6000613ba56014836141e1565b9150613bb082614578565b602082019050919050565b6000613bc86026836141e1565b9150613bd3826145a1565b604082019050919050565b6000613beb6010836141e1565b9150613bf6826145f0565b602082019050919050565b6000613c0e6017836141e1565b9150613c1982614619565b602082019050919050565b6000613c31601e836141e1565b9150613c3c82614642565b602082019050919050565b6000613c546020836141e1565b9150613c5f8261466b565b602082019050919050565b6000613c77602f836141e1565b9150613c8282614694565b604082019050919050565b6000613c9a602b836141e1565b9150613ca5826146e3565b604082019050919050565b6000613cbd6022836141e1565b9150613cc882614732565b604082019050919050565b6000613ce06019836141e1565b9150613ceb82614781565b602082019050919050565b6000613d036015836141e1565b9150613d0e826147aa565b602082019050919050565b6000613d26601f836141e1565b9150613d31826147d3565b602082019050919050565b6000613d49601f836141e1565b9150613d54826147fc565b602082019050919050565b6000613d6c601d836141e1565b9150613d7782614825565b602082019050919050565b613d8b81614333565b82525050565b6000613d9d8284613a32565b60148201915081905092915050565b6000613db88286613ae8565b9150613dc48285613ae8565b9150613dd08284613b19565b9150819050949350505050565b6000602082019050613df26000830184613a23565b92915050565b6000606082019050613e0d6000830186613a23565b613e1a6020830185613a23565b613e276040830184613d82565b949350505050565b6000608082019050613e446000830187613a23565b613e516020830186613a23565b613e5e6040830185613d82565b8181036060830152613e708184613a67565b905095945050505050565b6000604082019050613e906000830185613a23565b613e9d6020830184613d82565b9392505050565b6000602082019050613eb96000830184613a49565b92915050565b6000602082019050613ed46000830184613a58565b92915050565b6000602082019050613eef6000830184613aa0565b92915050565b60006020820190508181036000830152613f0f8184613aaf565b905092915050565b60006020820190508181036000830152613f3081613b98565b9050919050565b60006020820190508181036000830152613f5081613bbb565b9050919050565b60006020820190508181036000830152613f7081613bde565b9050919050565b60006020820190508181036000830152613f9081613c01565b9050919050565b60006020820190508181036000830152613fb081613c24565b9050919050565b60006020820190508181036000830152613fd081613c47565b9050919050565b60006020820190508181036000830152613ff081613c6a565b9050919050565b6000602082019050818103600083015261401081613c8d565b9050919050565b6000602082019050818103600083015261403081613cb0565b9050919050565b6000602082019050818103600083015261405081613cd3565b9050919050565b6000602082019050818103600083015261407081613cf6565b9050919050565b6000602082019050818103600083015261409081613d19565b9050919050565b600060208201905081810360008301526140b081613d3c565b9050919050565b600060208201905081810360008301526140d081613d5f565b9050919050565b60006020820190506140ec6000830184613d82565b92915050565b60006140fc61410d565b905061410882826143e7565b919050565b6000604051905090565b600067ffffffffffffffff82111561413257614131614512565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561415e5761415d614512565b5b6141678261455a565b9050602081019050919050565b600067ffffffffffffffff82111561418f5761418e614512565b5b6141988261455a565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061420882614333565b915061421383614333565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561424857614247614485565b5b828201905092915050565b600061425e82614333565b915061426983614333565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142a2576142a1614485565b5b828202905092915050565b60006142b882614313565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061430c826142ad565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006143488261434f565b9050919050565b600061435a82614361565b9050919050565b600061436c82614313565b9050919050565b82818337600083830152505050565b60005b838110156143a0578082015181840152602081019050614385565b838111156143af576000848401525b50505050565b600060028204905060018216806143cd57607f821691505b602082108114156143e1576143e06144b4565b5b50919050565b6143f08261455a565b810181811067ffffffffffffffff8211171561440f5761440e614512565b5b80604052505050565b600061442382614333565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561445657614455614485565b5b600182019050919050565b600061446c82614473565b9050919050565b600061447e8261456b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4e6f7420612070617274206f662077686974656c697374000000000000000000600082015250565b7f746f6b656e206d696e742069732063757272656e746c79207061757365640000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4572726f723a2043616e6e6f742062652063616c6c656420627920616e6f746860008201527f657220636f6e7472616374000000000000000000000000000000000000000000602082015250565b7f57686974656c697374206d696e742069732063757272656e746c79207061757360008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f723a206d617820737570706c79207265616368656400000000000000600082015250565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b7f5075626c6963206d696e742069732063757272656e746c792070617573656400600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4572726f723a204d6178207065722077616c6c65742072656163686564000000600082015250565b614857816142ad565b811461486257600080fd5b50565b61486e816142bf565b811461487957600080fd5b50565b614885816142cb565b811461489057600080fd5b50565b61489c816142d5565b81146148a757600080fd5b50565b6148b381614301565b81146148be57600080fd5b50565b6148ca81614333565b81146148d557600080fd5b5056fea2646970667358221220036eadb43e5795924645c4754291d89a8a72d08625c46a0a012cbf9e0b71a33864736f6c63430008070033

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

0000000000000000000000008c088775e4139af116ac1fa6f281bbf71e8c1c7389b5c0e9b73168bd71c0a5a5e97e534fcb41329175debd525d08ec4b0cf726f100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5a4c56546b686447615641594635634c773355566b536771374d78755a384d7479594450313731627847425a2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6446743771467a5256534169767638486f4c67776a6342325a786e394d394a6d56457254517153516433517a2f68696464656e2e6a736f6e00000000

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x8c088775e4139af116Ac1FA6f281Bbf71E8c1c73
Arg [1] : _wlRoot (bytes32): 0x89b5c0e9b73168bd71c0a5a5e97e534fcb41329175debd525d08ec4b0cf726f1
Arg [2] : _initBaseURI (string): https://gateway.pinata.cloud/ipfs/QmZLVTkhdGaVAYF5cLw3UVkSgq7MxuZ8MtyYDP171bxGBZ/
Arg [3] : _initNotRevealedUri (string): https://gateway.pinata.cloud/ipfs/QmdFt7qFzRVSAivv8HoLgwjcB2Zxn9M9JmVErTQqSQd3Qz/hidden.json

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000008c088775e4139af116ac1fa6f281bbf71e8c1c73
Arg [1] : 89b5c0e9b73168bd71c0a5a5e97e534fcb41329175debd525d08ec4b0cf726f1
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [5] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [6] : 732f516d5a4c56546b686447615641594635634c773355566b536771374d7875
Arg [7] : 5a384d7479594450313731627847425a2f000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000005c
Arg [9] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [10] : 732f516d6446743771467a5256534169767638486f4c67776a6342325a786e39
Arg [11] : 4d394a6d56457254517153516433517a2f68696464656e2e6a736f6e00000000


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

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