ETH Price: $3,633.82 (+8.05%)

Contract

0xF76657C0A7A50FEDdCDbf3a1634Ce4855D6bBc8f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Burn168054652023-03-11 14:34:23627 days ago1678545263IN
0xF76657C0...55D6bBc8f
0 ETH0.0050600847.05920262
Set Approval For...166368462023-02-15 21:33:23651 days ago1676496803IN
0xF76657C0...55D6bBc8f
0 ETH0.0014560254.55108932
Set Approval For...166115412023-02-12 8:39:47654 days ago1676191187IN
0xF76657C0...55D6bBc8f
0 ETH0.0004115715.41991384
Set Approval For...166114602023-02-12 8:23:35654 days ago1676190215IN
0xF76657C0...55D6bBc8f
0 ETH0.0004255815.94491046
Set Approval For...166113622023-02-12 8:03:47654 days ago1676189027IN
0xF76657C0...55D6bBc8f
0 ETH0.0007118915.27965837
Set Approval For...166061842023-02-11 14:42:11655 days ago1676126531IN
0xF76657C0...55D6bBc8f
0 ETH0.0004987518.6864316
Set Approval For...166061522023-02-11 14:35:47655 days ago1676126147IN
0xF76657C0...55D6bBc8f
0 ETH0.0010137821.75922093
Set Approval For...165918552023-02-09 14:41:11657 days ago1675953671IN
0xF76657C0...55D6bBc8f
0 ETH0.0014622831.38551895
Set Approval For...165918512023-02-09 14:40:23657 days ago1675953623IN
0xF76657C0...55D6bBc8f
0 ETH0.0015786133.88236547
Withdraw All165910942023-02-09 12:08:11657 days ago1675944491IN
0xF76657C0...55D6bBc8f
0 ETH0.0006766521.33548156
Withdraw165895742023-02-09 7:01:23657 days ago1675926083IN
0xF76657C0...55D6bBc8f
0 ETH0.0006461120.11883618
Set Approval For...165875542023-02-09 0:15:35658 days ago1675901735IN
0xF76657C0...55D6bBc8f
0 ETH0.0007648528.65601319
Set Approval For...165875432023-02-09 0:13:23658 days ago1675901603IN
0xF76657C0...55D6bBc8f
0 ETH0.0013745229.5019509
Set Approval For...165358382023-02-01 18:44:59665 days ago1675277099IN
0xF76657C0...55D6bBc8f
0 ETH0.0005305519.87764669
Toggle Whitelist165356472023-02-01 18:06:35665 days ago1675274795IN
0xF76657C0...55D6bBc8f
0 ETH0.0006644326.06347196
Whitelist Mint165356442023-02-01 18:05:59665 days ago1675274759IN
0xF76657C0...55D6bBc8f
0.05 ETH0.0034024226.29652321
Set Approval For...165355802023-02-01 17:53:11665 days ago1675273991IN
0xF76657C0...55D6bBc8f
0 ETH0.0005877622.02091764
Set Approval For...165353942023-02-01 17:15:59665 days ago1675271759IN
0xF76657C0...55D6bBc8f
0 ETH0.0011364924.39307877
Whitelist Mint165353802023-02-01 17:13:11665 days ago1675271591IN
0xF76657C0...55D6bBc8f
0.025 ETH0.0029169323.40493946
Whitelist Mint165352172023-02-01 16:40:23665 days ago1675269623IN
0xF76657C0...55D6bBc8f
0.025 ETH0.0028423922.30411147
Whitelist Mint165349822023-02-01 15:52:59665 days ago1675266779IN
0xF76657C0...55D6bBc8f
0.025 ETH0.0030418523.86666444
Set Approval For...165348822023-02-01 15:32:59665 days ago1675265579IN
0xF76657C0...55D6bBc8f
0 ETH0.0006694225.08071591
Set Approval For...165348712023-02-01 15:30:47665 days ago1675265447IN
0xF76657C0...55D6bBc8f
0 ETH0.0008034730.10290161
Set Approval For...165348632023-02-01 15:29:11665 days ago1675265351IN
0xF76657C0...55D6bBc8f
0 ETH0.001125124.14852528
Whitelist Mint165348112023-02-01 15:18:47665 days ago1675264727IN
0xF76657C0...55D6bBc8f
0.025 ETH0.0028856322.64057719
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
165910942023-02-09 12:08:11657 days ago1675944491
0xF76657C0...55D6bBc8f
0.85 ETH
165895742023-02-09 7:01:23657 days ago1675926083
0xF76657C0...55D6bBc8f
0.025 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LuckyPunxNFT

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : LuckyPunxNFT.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;

/*

77                           77                                                                             
77                           77                                                                             
77                           77                                                                             
77  77       77   ,adPPYba,  77   ,d7  7b       d7      7b,dPPYba,   77       77  7b,dPPYba,   7b,     ,d7  
77  77       77  a7"     ""  77 ,a7"   `7b     d7'      77P'    "7a  77       77  77P'   `"7a   `Y7, ,7P'   
77  77       77  7b          7777[      `7b   d7'       77       d7  77       77  77       77     )777(     
77  "7a,   ,a77  "7a,   ,aa  77`"Yba,    `7b,d7'        77b,   ,a7"  "7a,   ,a77  77       77   ,d7" "7b,   
77   `"YbbdP'Y7   `"Ybbd7"'  77   `Y7a     Y77'         77`YbbdP"'    `"YbbdP'Y7  77       77  7P'     `Y7  
                                           d7'          77                                                  
                                          d7'           77     

*/

import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "../interfaces/ILPXMetadata.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "hardhat/console.sol";

contract LuckyPunxNFT is ERC721A, ERC721AQueryable, IERC2981, Ownable, ReentrancyGuard { 
    
    using Strings for uint256;
    using SafeERC20 for IERC20;

    uint64 public maxSupply = 7777;
    uint64 public maxPerWallet = 2;
    uint64 public whitelistMaxPerWallet = 3;
    uint64 public constant ROYALTY_FEE = 5;
    uint64 public maxLuckLevel = 5;
    uint256 public constant PUBLIC_SALE_PRICE = 0.04 ether;
    uint256 public constant WHITELIST_SALE_PRICE = 0.025 ether;   
    address public metadataContractAddress;
    string public PROVENANCE_HASH;
    enum MintPhase{ CLOSED, WL, PUBLIC }
    MintPhase public phase = MintPhase.CLOSED;

    string public baseURI;
    bytes32 private whitelistHash;
    address private openSeaRegAdd;
    bool private constant IS_OPENSEA_PROXY_ACTIVE = true;

    mapping (address => uint256) whitelistClaimedCount;
    mapping (uint256 => uint256) luckLevel;

    event MetadataContractAddressUpdated(address _address);
    event ActivePhaseUpdated(MintPhase _phase);
    event PaymentWithdrawalByOwner(uint256 _amount);

    /* Modifiers */

   /// Modifier to limit access to modified calls to real users not contracts
    modifier callerIsUser() {
        require(tx.origin == msg.sender, "Contracts can not call this method.");
        _;
    }

    // Modifier to stop minting if not in public mint phase
    modifier publicMintIsLive() {
        require(phase == MintPhase.PUBLIC, "Public mint is not live.");
        _;
    }

    // Modifier to stop minting if not in public mint phase
    modifier whitelistMintIsLive() {
        require(phase == MintPhase.WL, "Whitelist mint is not live.");
        _;
    }

    // Modifier to check that we have enough supply to mint the requested quantity
    modifier canMintQuantity(uint256 _quantity) {
        require(totalSupply() + _quantity <= maxSupply, "Sold out!");
        _;
    }

    // Modifier to check the correct amount has been transfered for the quantity and price
    modifier correctPricePaid(uint256 _price, uint256 _quantity) {
        require(msg.value == _quantity * _price, "Please send the correct amount in order to mint.");
        _;
    }

    // Modifier to check if token is a valid token
    modifier isIssuedToken(uint256 _tokenId) {
        require(_tokenId <= totalSupply(), "Invalid tokenId");
        _;
    }

    /* Intialise and Minting */

    /// @param _openSeaRegAdd The correct Opensea proxy for the network
    /// @param _maxSupply The maximum supply
    constructor(
        address _openSeaRegAdd,
        uint64 _maxSupply
    ) 
    ERC721A("Lucky Punx", "LPXNFT") {
        require(_maxSupply >= 1, "Max supply must be 1 or higher");
        openSeaRegAdd = _openSeaRegAdd;
        maxSupply = _maxSupply;
    }
    
    /// Mints LPXNFT for public purchases
    /// @param _quantity The amount in ETHER
    function publicMint(uint256 _quantity) 
        external 
        payable 
        publicMintIsLive
        canMintQuantity(_quantity)
        correctPricePaid(PUBLIC_SALE_PRICE, _quantity)
        callerIsUser 
    { 
        require(balanceOf(msg.sender) + _quantity <= maxPerWallet, "You have minted your max allowance.");
        _safeMint(msg.sender, _quantity);
    }

    /// Mints LPXNFT for whiteListAddresses
    /// @param _quantity The amount in ETHER
    function whitelistMint(
        uint256 _quantity,
        bytes32[] calldata _merkleProof
    ) 
        external 
        payable
        whitelistMintIsLive()        
        canMintQuantity(_quantity)
        correctPricePaid(WHITELIST_SALE_PRICE, _quantity)
        callerIsUser
    { 
        require(verifyAddress(_quantity, _merkleProof, whitelistHash), "You are not on the whitelist for this quantity.");
        require(balanceOf(msg.sender) + _quantity <= whitelistMaxPerWallet, "You have minted your max allowance.");
        require(whitelistClaimedCount[msg.sender] + _quantity <= whitelistMaxPerWallet, "You have claimed your max allowance.");
        whitelistClaimedCount[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    /* Public Functions */
    
    /// Return the base URI
    function getBaseURI() external view returns (string memory) {
        return baseURI;
    }

    // Allows the token owner to agree to burning their token. Implements ERC721 underlying protected _burn
    // This may be used to combine the lucky7 club amulet and NFT in the future.
    function burn(uint256 tokenId) public virtual {
        _burn(tokenId, true);
    }

    /* Private Functions */

    /// verifies whitelist address agaisnt merkel root hash
    /// @param _merkleProof the proof of the hashed address
    function verifyAddress(uint256 _quantity, bytes32[] calldata _merkleProof, bytes32 _merkleRoot) 
        private 
        view 
        returns (bool) 
    {
        console.log("whitelist check", _quantity);
        console.log("whitelist check", _quantity + whitelistClaimedCount[msg.sender]); 
        bytes32 leaf = keccak256(abi.encode(msg.sender, _quantity + whitelistClaimedCount[msg.sender]));
        return MerkleProof.verify(_merkleProof, _merkleRoot, leaf);
    }

    /* Owner Only Functions for admin */
    /// Reserve 10 NFTs for owners
    function reserveNFTs()
        external 
        canMintQuantity(10)
        onlyOwner 
    {
        _safeMint(msg.sender, 10);
    }
    
    /// withdraw funds from contract
    function withdraw(uint256 _amount) external onlyOwner {
        uint256 balance = address(this).balance;
        require(_amount <= balance, 'not enough funds');
        emit PaymentWithdrawalByOwner(_amount);
        payable(msg.sender).transfer(_amount);
    }

    /// withdraw all funds from contract
    function withdrawAll() external onlyOwner {
        uint256 balance = address(this).balance;
        emit PaymentWithdrawalByOwner(balance);
        payable(msg.sender).transfer(balance);
    }

    /// withdraw funds as other tokens
    /// @param _token the token to transfer into
    function withdrawTokens(IERC20 _token) external onlyOwner nonReentrant {
        uint256 balance = _token.balanceOf(address(this));
        emit PaymentWithdrawalByOwner(balance);
        _token.safeTransfer(msg.sender, balance);
    }

    /// set max supply
    /// @param _maxSupply max number of tokens
    function setMaxSupply(uint64 _maxSupply) external onlyOwner {
        require(_maxSupply >= 1, 'Max supply should be 1 or higher');
        maxSupply = _maxSupply;
    }

    /// sets the merkle root hash for whitelist verification
    /// @param _whitelistHash merkle root
    function setWhitelistHash(bytes32 _whitelistHash) external onlyOwner
    {
        require(_whitelistHash != bytes32(0), "whitelistHash is not set.");
        whitelistHash = _whitelistHash;
    }

    /// toggles publicPhase
    function togglePublic() external onlyOwner {
        phase = phase != MintPhase.PUBLIC ? MintPhase.PUBLIC : MintPhase.CLOSED;
        emit ActivePhaseUpdated(phase);
    }

    /// toggles publicPhase
    function toggleWhitelist() external onlyOwner {
        phase = phase != MintPhase.WL ? MintPhase.WL : MintPhase.CLOSED;
        emit ActivePhaseUpdated(phase);
    }

    /// sets the max per wallet
    /// @param _number Number to set as max per waller
    function setMaxPerWallet(uint64 _number) external onlyOwner {
        require(_number < 5, "Can't set to more than 5 per wallet");
        maxPerWallet = _number;
    }

    /// Set the base URI for metadata
    /// @param _uri the URI for the metadata store
    function setBaseURI(string memory _uri) external onlyOwner {
        baseURI = _uri;
    }  

    /// Set the contract address for the contract handling rendering metadata
    /// so we can update the metadata when holders level up and hopefully to swap to
    /// an onchain implementation in the future
    /// @param _address contract address
    function setMetadataAddress(address _address) external onlyOwner {
        require(_address != address(0), "Invalid contract address");
        metadataContractAddress = _address;
        emit MetadataContractAddressUpdated(_address);
    }

    // Set the Luck Level for a given NFT owner address: @todo should use erc721a _setAux?
    // @param _tokenId
    // @param _level Luck level
    function setLuckLevel(uint256 _tokenId, uint256 _level) 
        external 
        isIssuedToken(_tokenId)
        onlyOwner
    {
        luckLevel[_tokenId] = _level;
    }

    // Sets the OpenSeaProxyAddress
    function setOSProxy(address _addr) external onlyOwner {
        require(_addr != address(0), "Invalid address");
        openSeaRegAdd = _addr;
    }

    // Get the lucklevel for a token
    function getLuckLevel(uint256 _tokenId) 
        public
        view
        isIssuedToken(_tokenId)
        returns (uint256)
    {
        return luckLevel[_tokenId];
    }

    // Set the provenance hash for the collection
    function setProvenance(string memory _hash) external onlyOwner {
        PROVENANCE_HASH = _hash;
    }

    /// Routes to the metadataContract as set by owner
    /// @param _tokenId The token to get the metadata for
    function tokenURI(uint256 _tokenId) 
        public 
        view
        override(ERC721A, IERC721A) 
        returns (string memory) 
    {
        require(_exists(_tokenId), "Token does not exist.");
        string memory json = ILPXMetadata(metadataContractAddress).tokenURI(_tokenId);
        return json;
    }

    /// @param interfaceId the interface to check
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721A, IERC721A, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }   

    /* Overrides */

    /// Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings.
    /// @param _curOwner Address of the current owner
    /// @param _operator Address of the operator (opensea)
    function isApprovedForAll(address _curOwner, address _operator)
        public
        view
        override(ERC721A, IERC721A)
        returns (bool)
    {
        // Get a reference to OpenSea's proxy registry contract by instantiating
        // the contract using the already existing address.
        ProxyRegistry proxyRegistry = ProxyRegistry(
            openSeaRegAdd
        );
        if (
            IS_OPENSEA_PROXY_ACTIVE &&
            address(proxyRegistry.proxies(_curOwner)) == _operator
        ) {
            return true;
        }

        return super.isApprovedForAll(_curOwner, _operator);
    }

    /// See {IERC165-royaltyInfo}.
    /// @param tokenId The token ID
    /// @param salePrice The sale price
    /// @return receiver Address of the royalty receiver
    /// @return royaltyAmount The total royalty fee for this token sale
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(tokenId), "Nonexistent token");

        return (address(this), ((salePrice * ROYALTY_FEE)/100));
    }
}

// Create a reference to the OpenSea ProxyRegistry contract 
// by using the registry's address (see isApprovedForAll).
contract OwnableDelegateProxy {

}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 21 : 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 3 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 21 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 7 of 21 : 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 8 of 21 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 21 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 21 : 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 14 of 21 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 16 of 21 : 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 17 of 21 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

File 18 of 21 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

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

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

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

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

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

File 19 of 21 : 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 20 of 21 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int256 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int256)", p0));
	}

	function logUint(uint256 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint256 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint256 p0, uint256 p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1));
	}

	function log(uint256 p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1));
	}

	function log(uint256 p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1));
	}

	function log(uint256 p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1));
	}

	function log(string memory p0, uint256 p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint256 p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint256 p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint256 p0, uint256 p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2));
	}

	function log(uint256 p0, uint256 p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2));
	}

	function log(uint256 p0, uint256 p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2));
	}

	function log(uint256 p0, uint256 p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2));
	}

	function log(uint256 p0, string memory p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2));
	}

	function log(uint256 p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2));
	}

	function log(uint256 p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2));
	}

	function log(uint256 p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2));
	}

	function log(uint256 p0, bool p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2));
	}

	function log(uint256 p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2));
	}

	function log(uint256 p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2));
	}

	function log(uint256 p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2));
	}

	function log(uint256 p0, address p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2));
	}

	function log(uint256 p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2));
	}

	function log(uint256 p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2));
	}

	function log(uint256 p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint256 p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2));
	}

	function log(string memory p0, uint256 p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2));
	}

	function log(string memory p0, uint256 p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint256 p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint256 p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2));
	}

	function log(bool p0, uint256 p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2));
	}

	function log(bool p0, uint256 p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2));
	}

	function log(bool p0, uint256 p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint256 p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2));
	}

	function log(address p0, uint256 p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2));
	}

	function log(address p0, uint256 p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2));
	}

	function log(address p0, uint256 p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}

File 21 of 21 : ILPXMetadata.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;

/*

77                           77                                                                             
77                           77                                                                             
77                           77                                                                             
77  77       77   ,adPPYba,  77   ,d7  7b       d7      7b,dPPYba,   77       77  7b,dPPYba,   7b,     ,d7  
77  77       77  a7"     ""  77 ,a7"   `7b     d7'      77P'    "7a  77       77  77P'   `"7a   `Y7, ,7P'   
77  77       77  7b          7777[      `7b   d7'       77       d7  77       77  77       77     )777(     
77  "7a,   ,a77  "7a,   ,aa  77`"Yba,    `7b,d7'        77b,   ,a7"  "7a,   ,a77  77       77   ,d7" "7b,   
77   `"YbbdP'Y7   `"Ybbd7"'  77   `Y7a     Y77'         77`YbbdP"'    `"YbbdP'Y7  77       77  7P'     `Y7  
                                           d7'          77                                                  
                                          d7'           77     
*/

interface ILPXMetadata {
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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":"_openSeaRegAdd","type":"address"},{"internalType":"uint64","name":"_maxSupply","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum LuckyPunxNFT.MintPhase","name":"_phase","type":"uint8"}],"name":"ActivePhaseUpdated","type":"event"},{"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":false,"internalType":"address","name":"_address","type":"address"}],"name":"MetadataContractAddressUpdated","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":"uint256","name":"_amount","type":"uint256"}],"name":"PaymentWithdrawalByOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_FEE","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getLuckLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_curOwner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLuckLevel","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"enum LuckyPunxNFT.MintPhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_level","type":"uint256"}],"name":"setLuckLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_number","type":"uint64"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_maxSupply","type":"uint64"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setMetadataAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setOSProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistHash","type":"bytes32"}],"name":"setWhitelistHash","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":[],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMaxPerWallet","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611e61600a60006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506002600a60086101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506003600a60106101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506005600a60186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600d60006101000a81548160ff02191690836002811115620000d657620000d562000374565b5b0217905550348015620000e857600080fd5b506040516200681f3803806200681f83398181016040528101906200010e919062000452565b6040518060400160405280600a81526020017f4c75636b792050756e78000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4c50584e4654000000000000000000000000000000000000000000000000000081525081600290816200018b919062000713565b5080600390816200019d919062000713565b50620001ae620002a160201b60201c565b6000819055505050620001d6620001ca620002a660201b60201c565b620002ae60201b60201c565b600160098190555060018167ffffffffffffffff1610156200022f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000226906200085b565b60405180910390fd5b81601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050506200087d565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003d582620003a8565b9050919050565b620003e781620003c8565b8114620003f357600080fd5b50565b6000815190506200040781620003dc565b92915050565b600067ffffffffffffffff82169050919050565b6200042c816200040d565b81146200043857600080fd5b50565b6000815190506200044c8162000421565b92915050565b600080604083850312156200046c576200046b620003a3565b5b60006200047c85828601620003f6565b92505060206200048f858286016200043b565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200051b57607f821691505b602082108103620005315762000530620004d3565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200059b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200055c565b620005a786836200055c565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005f4620005ee620005e884620005bf565b620005c9565b620005bf565b9050919050565b6000819050919050565b6200061083620005d3565b620006286200061f82620005fb565b84845462000569565b825550505050565b600090565b6200063f62000630565b6200064c81848462000605565b505050565b5b8181101562000674576200066860008262000635565b60018101905062000652565b5050565b601f821115620006c3576200068d8162000537565b62000698846200054c565b81016020851015620006a8578190505b620006c0620006b7856200054c565b83018262000651565b50505b505050565b600082821c905092915050565b6000620006e860001984600802620006c8565b1980831691505092915050565b6000620007038383620006d5565b9150826002028217905092915050565b6200071e8262000499565b67ffffffffffffffff8111156200073a5762000739620004a4565b5b62000746825462000502565b6200075382828562000678565b600060209050601f8311600181146200078b576000841562000776578287015190505b620007828582620006f5565b865550620007f2565b601f1984166200079b8662000537565b60005b82811015620007c5578489015182556001820191506020850194506020810190506200079e565b86831015620007e55784890151620007e1601f891682620006d5565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4d617820737570706c79206d7573742062652031206f72206869676865720000600082015250565b600062000843601e83620007fa565b915062000850826200080b565b602082019050919050565b60006020820190508181036000830152620008768162000834565b9050919050565b615f92806200088d6000396000f3fe6080604052600436106102ff5760003560e01c8063714c539811610190578063b88d4fde116100dc578063e17b25af11610095578063f2fde38b1161006f578063f2fde38b14610b19578063f6000c7a14610b42578063ff1b655614610b6d578063ffe630b514610b98576102ff565b8063e17b25af14610a88578063e74772d814610ab1578063e985e9c514610adc576102ff565b8063b88d4fde14610980578063bc912e1a1461099c578063c23dc68f146109c7578063c87b56dd14610a04578063d2cab05614610a41578063d5abeb0114610a5d576102ff565b806395d89b41116101495780639c4f3d0a116101235780639c4f3d0a146108da578063a22cb46514610903578063a67667fe1461092c578063b1c9fe6e14610955576102ff565b806395d89b411461085b578063981d87711461088657806399a2557a1461089d576102ff565b8063714c539814610783578063715018a6146107ae5780637e15144b146107c55780638462151c146107dc578063853828b6146108195780638da5cb5b14610830576102ff565b80632e1a7d4d1161024f57806349df728c116102085780636352211e116101e25780636352211e146106a157806364762817146106de5780636c0360eb1461071b57806370a0823114610746576102ff565b806349df728c1461061257806355f804b31461063b5780635bbb217714610664576102ff565b80632e1a7d4d14610525578063335477fc1461054e5780633e9f610b1461057957806342842e0e146105a257806342966c68146105be578063453c2310146105e7576102ff565b80630da5f0ad116102bc5780631b60a072116102965780631b60a0721461048657806323b872dd146104af5780632a55205a146104cb5780632db1154414610509576102ff565b80630da5f0ad1461041b578063144100c71461044457806318160ddd1461045b576102ff565b806301ffc9a71461030457806306fdde031461034157806307e89ec01461036c578063081812fc14610397578063095ea7b3146103d45780630d2206d0146103f0575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190613fdb565b610bc1565b6040516103389190614023565b60405180910390f35b34801561034d57600080fd5b50610356610c3b565b60405161036391906140ce565b60405180910390f35b34801561037857600080fd5b50610381610ccd565b60405161038e9190614109565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b99190614150565b610cd8565b6040516103cb91906141be565b60405180910390f35b6103ee60048036038101906103e99190614205565b610d57565b005b3480156103fc57600080fd5b50610405610e9b565b6040516104129190614268565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190614283565b610eb5565b005b34801561045057600080fd5b50610459610f25565b005b34801561046757600080fd5b50610470610fb1565b60405161047d9190614109565b60405180910390f35b34801561049257600080fd5b506104ad60048036038101906104a891906142f9565b610fc8565b005b6104c960048036038101906104c49190614326565b61101f565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190614283565b611341565b604051610500929190614379565b60405180910390f35b610523600480360381019061051e9190614150565b6113bb565b005b34801561053157600080fd5b5061054c60048036038101906105479190614150565b6115f0565b005b34801561055a57600080fd5b506105636116c2565b6040516105709190614268565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b91906143ce565b6116c7565b005b6105bc60048036038101906105b79190614326565b611748565b005b3480156105ca57600080fd5b506105e560048036038101906105e09190614150565b611768565b005b3480156105f357600080fd5b506105fc611776565b6040516106099190614268565b60405180910390f35b34801561061e57600080fd5b5061063960048036038101906106349190614439565b611790565b005b34801561064757600080fd5b50610662600480360381019061065d919061459b565b6118d1565b005b34801561067057600080fd5b5061068b60048036038101906106869190614644565b6118ec565b60405161069891906147e0565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c39190614150565b6119af565b6040516106d591906141be565b60405180910390f35b3480156106ea57600080fd5b5061070560048036038101906107009190614150565b6119c1565b6040516107129190614109565b60405180910390f35b34801561072757600080fd5b50610730611a2a565b60405161073d91906140ce565b60405180910390f35b34801561075257600080fd5b5061076d60048036038101906107689190614802565b611ab8565b60405161077a9190614109565b60405180910390f35b34801561078f57600080fd5b50610798611b70565b6040516107a591906140ce565b60405180910390f35b3480156107ba57600080fd5b506107c3611c02565b005b3480156107d157600080fd5b506107da611c16565b005b3480156107e857600080fd5b5061080360048036038101906107fe9190614802565b611cd4565b60405161081091906148ed565b60405180910390f35b34801561082557600080fd5b5061082e611e17565b005b34801561083c57600080fd5b50610845611ea5565b60405161085291906141be565b60405180910390f35b34801561086757600080fd5b50610870611ecf565b60405161087d91906140ce565b60405180910390f35b34801561089257600080fd5b5061089b611f61565b005b3480156108a957600080fd5b506108c460048036038101906108bf919061490f565b61201e565b6040516108d191906148ed565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc91906143ce565b61222a565b005b34801561090f57600080fd5b5061092a6004803603810190610925919061498e565b6122ac565b005b34801561093857600080fd5b50610953600480360381019061094e9190614802565b6123b7565b005b34801561096157600080fd5b5061096a612472565b6040516109779190614a45565b60405180910390f35b61099a60048036038101906109959190614b01565b612485565b005b3480156109a857600080fd5b506109b16124f8565b6040516109be9190614109565b60405180910390f35b3480156109d357600080fd5b506109ee60048036038101906109e99190614150565b612503565b6040516109fb9190614bd9565b60405180910390f35b348015610a1057600080fd5b50610a2b6004803603810190610a269190614150565b61256d565b604051610a3891906140ce565b60405180910390f35b610a5b6004803603810190610a569190614c4a565b612665565b005b348015610a6957600080fd5b50610a726129ed565b604051610a7f9190614268565b60405180910390f35b348015610a9457600080fd5b50610aaf6004803603810190610aaa9190614802565b612a07565b005b348015610abd57600080fd5b50610ac6612af9565b604051610ad391906141be565b60405180910390f35b348015610ae857600080fd5b50610b036004803603810190610afe9190614caa565b612b1f565b604051610b109190614023565b60405180910390f35b348015610b2557600080fd5b50610b406004803603810190610b3b9190614802565b612c1c565b005b348015610b4e57600080fd5b50610b57612c9f565b604051610b649190614268565b60405180910390f35b348015610b7957600080fd5b50610b82612cb9565b604051610b8f91906140ce565b60405180910390f35b348015610ba457600080fd5b50610bbf6004803603810190610bba919061459b565b612d47565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c345750610c3382612d62565b5b9050919050565b606060028054610c4a90614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7690614d19565b8015610cc35780601f10610c9857610100808354040283529160200191610cc3565b820191906000526020600020905b815481529060010190602001808311610ca657829003601f168201915b5050505050905090565b668e1bc9bf04000081565b6000610ce382612df4565b610d19576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d62826119af565b90508073ffffffffffffffffffffffffffffffffffffffff16610d83612e53565b73ffffffffffffffffffffffffffffffffffffffff1614610de657610daf81610daa612e53565b612b1f565b610de5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a60189054906101000a900467ffffffffffffffff1681565b81610ebe610fb1565b811115610f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef790614d96565b60405180910390fd5b610f08612e5b565b816012600085815260200190815260200160002081905550505050565b600a8060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681610f50610fb1565b610f5a9190614de5565b1115610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9290614e65565b60405180910390fd5b610fa3612e5b565b610fae33600a612ed9565b50565b6000610fbb612ef7565b6001546000540303905090565b610fd0612e5b565b6000801b8103611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100c90614ed1565b60405180910390fd5b80600f8190555050565b600061102a82612efc565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611091576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061109d84612fc8565b915091506110b381876110ae612e53565b612fef565b6110ff576110c8866110c3612e53565b612b1f565b6110fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611165576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111728686866001613033565b801561117d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061124b85611227888887613039565b7c020000000000000000000000000000000000000000000000000000000017613061565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036112d157600060018501905060006004600083815260200190815260200160002054036112cf5760005481146112ce578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611339868686600161308c565b505050505050565b60008061134d84612df4565b61138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390614f3d565b60405180910390fd5b306064600567ffffffffffffffff16856113a69190614f5d565b6113b09190614fce565b915091509250929050565b6002808111156113ce576113cd6149ce565b5b600d60009054906101000a900460ff1660028111156113f0576113ef6149ce565b5b14611430576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114279061504b565b60405180910390fd5b80600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff168161145b610fb1565b6114659190614de5565b11156114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d90614e65565b60405180910390fd5b668e1bc9bf0400008281816114bb9190614f5d565b34146114fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f3906150dd565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461156a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115619061516f565b60405180910390fd5b600a60089054906101000a900467ffffffffffffffff1667ffffffffffffffff168461159533611ab8565b61159f9190614de5565b11156115e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d790615201565b60405180910390fd5b6115ea3385612ed9565b50505050565b6115f8612e5b565b600047905080821115611640576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116379061526d565b60405180910390fd5b7fe6995d981a05e2f3d0adaebb01fc440584216e510c59d358ba9dd149bf0b29ab8260405161166f9190614109565b60405180910390a13373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156116bd573d6000803e3d6000fd5b505050565b600581565b6116cf612e5b565b60058167ffffffffffffffff161061171c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611713906152ff565b60405180910390fd5b80600a60086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b61176383838360405180602001604052806000815250612485565b505050565b611773816001613092565b50565b600a60089054906101000a900467ffffffffffffffff1681565b611798612e5b565b6002600954036117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d49061536b565b60405180910390fd5b600260098190555060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161182091906141be565b602060405180830381865afa15801561183d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186191906153a0565b90507fe6995d981a05e2f3d0adaebb01fc440584216e510c59d358ba9dd149bf0b29ab816040516118929190614109565b60405180910390a16118c533828473ffffffffffffffffffffffffffffffffffffffff166132e49092919063ffffffff16565b50600160098190555050565b6118d9612e5b565b80600e90816118e89190615579565b5050565b6060600083839050905060008167ffffffffffffffff81111561191257611911614470565b5b60405190808252806020026020018201604052801561194b57816020015b611938613f20565b8152602001906001900390816119305790505b50905060005b8281146119a35761197a86868381811061196e5761196d61564b565b5b90506020020135612503565b82828151811061198d5761198c61564b565b5b6020026020010181905250806001019050611951565b50809250505092915050565b60006119ba82612efc565b9050919050565b6000816119cc610fb1565b811115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590614d96565b60405180910390fd5b6012600084815260200190815260200160002054915050919050565b600e8054611a3790614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6390614d19565b8015611ab05780601f10611a8557610100808354040283529160200191611ab0565b820191906000526020600020905b815481529060010190602001808311611a9357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b1f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6060600e8054611b7f90614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054611bab90614d19565b8015611bf85780601f10611bcd57610100808354040283529160200191611bf8565b820191906000526020600020905b815481529060010190602001808311611bdb57829003601f168201915b5050505050905090565b611c0a612e5b565b611c14600061336a565b565b611c1e612e5b565b60016002811115611c3257611c316149ce565b5b600d60009054906101000a900460ff166002811115611c5457611c536149ce565b5b03611c60576000611c63565b60015b600d60006101000a81548160ff02191690836002811115611c8757611c866149ce565b5b02179055507f618c43efaa1f48ff78a58f07021c029bd7498dee3b3b7ed7844f7502cb1cad68600d60009054906101000a900460ff16604051611cca9190614a45565b60405180910390a1565b60606000806000611ce485611ab8565b905060008167ffffffffffffffff811115611d0257611d01614470565b5b604051908082528060200260200182016040528015611d305781602001602082028036833780820191505090505b509050611d3b613f20565b6000611d45612ef7565b90505b838614611e0957611d5881613430565b91508160400151611dfe57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611da357816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611dfd5780838780600101985081518110611df057611def61564b565b5b6020026020010181815250505b5b806001019050611d48565b508195505050505050919050565b611e1f612e5b565b60004790507fe6995d981a05e2f3d0adaebb01fc440584216e510c59d358ba9dd149bf0b29ab81604051611e539190614109565b60405180910390a13373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611ea1573d6000803e3d6000fd5b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611ede90614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0a90614d19565b8015611f575780601f10611f2c57610100808354040283529160200191611f57565b820191906000526020600020905b815481529060010190602001808311611f3a57829003601f168201915b5050505050905090565b611f69612e5b565b600280811115611f7c57611f7b6149ce565b5b600d60009054906101000a900460ff166002811115611f9e57611f9d6149ce565b5b03611faa576000611fad565b60025b600d60006101000a81548160ff02191690836002811115611fd157611fd06149ce565b5b02179055507f618c43efaa1f48ff78a58f07021c029bd7498dee3b3b7ed7844f7502cb1cad68600d60009054906101000a900460ff166040516120149190614a45565b60405180910390a1565b6060818310612059576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061206461345b565b905061206e612ef7565b8510156120805761207d612ef7565b94505b8084111561208c578093505b600061209787611ab8565b9050848610156120ba5760008686039050818110156120b4578091505b506120bf565b600090505b60008167ffffffffffffffff8111156120db576120da614470565b5b6040519080825280602002602001820160405280156121095781602001602082028036833780820191505090505b509050600082036121205780945050505050612223565b600061212b88612503565b90506000816040015161214057816000015190505b60008990505b8881141580156121565750848714155b156122155761216481613430565b9250826040015161220a57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146121af57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361220957808488806001019950815181106121fc576121fb61564b565b5b6020026020010181815250505b5b806001019050612146565b508583528296505050505050505b9392505050565b612232612e5b565b60018167ffffffffffffffff161015612280576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612277906156c6565b60405180910390fd5b80600a60006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b80600760006122b9612e53565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612366612e53565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123ab9190614023565b60405180910390a35050565b6123bf612e5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361242e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242590615732565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600d60009054906101000a900460ff1681565b61249084848461101f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146124f2576124bb84848484613464565b6124f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6658d15e1762800081565b61250b613f20565b612513613f20565b61251b612ef7565b83108061252f575061252b61345b565b8310155b1561253d5780915050612568565b61254683613430565b905080604001511561255b5780915050612568565b612564836135b4565b9150505b919050565b606061257882612df4565b6125b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ae9061579e565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd846040518263ffffffff1660e01b81526004016126149190614109565b600060405180830381865afa158015612631573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061265a919061582e565b905080915050919050565b60016002811115612679576126786149ce565b5b600d60009054906101000a900460ff16600281111561269b5761269a6149ce565b5b146126db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d2906158c3565b60405180910390fd5b82600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681612706610fb1565b6127109190614de5565b1115612751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274890614e65565b60405180910390fd5b6658d15e176280008481816127669190614f5d565b34146127a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279e906150dd565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280c9061516f565b60405180910390fd5b612823868686600f546135d4565b612862576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285990615955565b60405180910390fd5b600a60109054906101000a900467ffffffffffffffff1667ffffffffffffffff168661288d33611ab8565b6128979190614de5565b11156128d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cf90615201565b60405180910390fd5b600a60109054906101000a900467ffffffffffffffff1667ffffffffffffffff1686601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129449190614de5565b1115612985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297c906159e7565b60405180910390fd5b85601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129d49190614de5565b925050819055506129e53387612ed9565b505050505050565b600a60009054906101000a900467ffffffffffffffff1681565b612a0f612e5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7590615a53565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fa6375348ec6f00fff8306bb897b0a08eb1a029b5ff13898a15d188f163919b4281604051612aee91906141be565b60405180910390a150565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060018015612bf957508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401612ba091906141be565b602060405180830381865afa158015612bbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612be19190615ab1565b73ffffffffffffffffffffffffffffffffffffffff16145b15612c08576001915050612c16565b612c12848461376c565b9150505b92915050565b612c24612e5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8a90615b50565b60405180910390fd5b612c9c8161336a565b50565b600a60109054906101000a900467ffffffffffffffff1681565b600c8054612cc690614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054612cf290614d19565b8015612d3f5780601f10612d1457610100808354040283529160200191612d3f565b820191906000526020600020905b815481529060010190602001808311612d2257829003601f168201915b505050505081565b612d4f612e5b565b80600c9081612d5e9190615579565b5050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612dbd57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ded5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081612dff612ef7565b11158015612e0e575060005482105b8015612e4c575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b612e63613800565b73ffffffffffffffffffffffffffffffffffffffff16612e81611ea5565b73ffffffffffffffffffffffffffffffffffffffff1614612ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ece90615bbc565b60405180910390fd5b565b612ef3828260405180602001604052806000815250613808565b5050565b600090565b60008082905080612f0b612ef7565b11612f9157600054811015612f905760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612f8e575b60008103612f84576004600083600190039350838152602001908152602001600020549050612f5a565b8092505050612fc3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86130508686846138a5565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061309d83612efc565b905060008190506000806130b086612fc8565b915091508415613119576130cc81846130c7612e53565b612fef565b613118576130e1836130dc612e53565b612b1f565b613117576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613127836000886001613033565b801561313257600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131da8361319785600088613039565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717613061565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603613260576000600187019050600060046000838152602001908152602001600020540361325e57600054811461325d578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132ca83600088600161308c565b600160008154809291906001019190505550505050505050565b6133658363a9059cbb60e01b8484604051602401613303929190614379565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506138ae565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613438613f20565b6134546004600084815260200190815260200160002054613975565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348a612e53565b8786866040518563ffffffff1660e01b81526004016134ac9493929190615c31565b6020604051808303816000875af19250505080156134e857506040513d601f19601f820116820180604052508101906134e59190615c92565b60015b613561573d8060008114613518576040519150601f19603f3d011682016040523d82523d6000602084013e61351d565b606091505b506000815103613559576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6135bc613f20565b6135cd6135c883612efc565b613975565b9050919050565b60006136156040518060400160405280600f81526020017f77686974656c69737420636865636b000000000000000000000000000000000081525086613a2b565b61369e6040518060400160405280600f81526020017f77686974656c69737420636865636b0000000000000000000000000000000000815250601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054876136999190614de5565b613a2b565b600033601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054876136ec9190614de5565b6040516020016136fd929190614379565b604051602081830303815290604052805190602001209050613761858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508483613ac7565b915050949350505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6138128383613ade565b60008373ffffffffffffffffffffffffffffffffffffffff163b146138a057600080549050600083820390505b6138526000868380600101945086613464565b613888576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061383f57816000541461389d57600080fd5b50505b505050565b60009392505050565b6000613910826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613c999092919063ffffffff16565b905060008151111561397057808060200190518101906139309190615cd4565b61396f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396690615d73565b60405180910390fd5b5b505050565b61397d613f20565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b613ac38282604051602401613a41929190615d93565b6040516020818303038152906040527fb60e72cc000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613cb1565b5050565b600082613ad48584613cda565b1490509392505050565b60008054905060008203613b1e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613b2b6000848385613033565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613ba283613b936000866000613039565b613b9c85613d30565b17613061565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613c4357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613c08565b5060008203613c7e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613c94600084838561308c565b505050565b6060613ca88484600085613d40565b90509392505050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b60008082905060005b8451811015613d2557613d1082868381518110613d0357613d0261564b565b5b6020026020010151613e54565b91508080613d1d90615dc3565b915050613ce3565b508091505092915050565b60006001821460e11b9050919050565b606082471015613d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d7c90615e7d565b60405180910390fd5b613d8e85613e7f565b613dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dc490615ee9565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613df69190615f45565b60006040518083038185875af1925050503d8060008114613e33576040519150601f19603f3d011682016040523d82523d6000602084013e613e38565b606091505b5091509150613e48828286613ea2565b92505050949350505050565b6000818310613e6c57613e678284613f09565b613e77565b613e768383613f09565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315613eb257829050613f02565b600083511115613ec55782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ef991906140ce565b60405180910390fd5b9392505050565b600082600052816020526040600020905092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fb881613f83565b8114613fc357600080fd5b50565b600081359050613fd581613faf565b92915050565b600060208284031215613ff157613ff0613f79565b5b6000613fff84828501613fc6565b91505092915050565b60008115159050919050565b61401d81614008565b82525050565b60006020820190506140386000830184614014565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561407857808201518184015260208101905061405d565b60008484015250505050565b6000601f19601f8301169050919050565b60006140a08261403e565b6140aa8185614049565b93506140ba81856020860161405a565b6140c381614084565b840191505092915050565b600060208201905081810360008301526140e88184614095565b905092915050565b6000819050919050565b614103816140f0565b82525050565b600060208201905061411e60008301846140fa565b92915050565b61412d816140f0565b811461413857600080fd5b50565b60008135905061414a81614124565b92915050565b60006020828403121561416657614165613f79565b5b60006141748482850161413b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141a88261417d565b9050919050565b6141b88161419d565b82525050565b60006020820190506141d360008301846141af565b92915050565b6141e28161419d565b81146141ed57600080fd5b50565b6000813590506141ff816141d9565b92915050565b6000806040838503121561421c5761421b613f79565b5b600061422a858286016141f0565b925050602061423b8582860161413b565b9150509250929050565b600067ffffffffffffffff82169050919050565b61426281614245565b82525050565b600060208201905061427d6000830184614259565b92915050565b6000806040838503121561429a57614299613f79565b5b60006142a88582860161413b565b92505060206142b98582860161413b565b9150509250929050565b6000819050919050565b6142d6816142c3565b81146142e157600080fd5b50565b6000813590506142f3816142cd565b92915050565b60006020828403121561430f5761430e613f79565b5b600061431d848285016142e4565b91505092915050565b60008060006060848603121561433f5761433e613f79565b5b600061434d868287016141f0565b935050602061435e868287016141f0565b925050604061436f8682870161413b565b9150509250925092565b600060408201905061438e60008301856141af565b61439b60208301846140fa565b9392505050565b6143ab81614245565b81146143b657600080fd5b50565b6000813590506143c8816143a2565b92915050565b6000602082840312156143e4576143e3613f79565b5b60006143f2848285016143b9565b91505092915050565b60006144068261419d565b9050919050565b614416816143fb565b811461442157600080fd5b50565b6000813590506144338161440d565b92915050565b60006020828403121561444f5761444e613f79565b5b600061445d84828501614424565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144a882614084565b810181811067ffffffffffffffff821117156144c7576144c6614470565b5b80604052505050565b60006144da613f6f565b90506144e6828261449f565b919050565b600067ffffffffffffffff82111561450657614505614470565b5b61450f82614084565b9050602081019050919050565b82818337600083830152505050565b600061453e614539846144eb565b6144d0565b90508281526020810184848401111561455a5761455961446b565b5b61456584828561451c565b509392505050565b600082601f83011261458257614581614466565b5b813561459284826020860161452b565b91505092915050565b6000602082840312156145b1576145b0613f79565b5b600082013567ffffffffffffffff8111156145cf576145ce613f7e565b5b6145db8482850161456d565b91505092915050565b600080fd5b600080fd5b60008083601f84011261460457614603614466565b5b8235905067ffffffffffffffff811115614621576146206145e4565b5b60208301915083602082028301111561463d5761463c6145e9565b5b9250929050565b6000806020838503121561465b5761465a613f79565b5b600083013567ffffffffffffffff81111561467957614678613f7e565b5b614685858286016145ee565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146c68161419d565b82525050565b6146d581614245565b82525050565b6146e481614008565b82525050565b600062ffffff82169050919050565b614702816146ea565b82525050565b60808201600082015161471e60008501826146bd565b50602082015161473160208501826146cc565b50604082015161474460408501826146db565b50606082015161475760608501826146f9565b50505050565b60006147698383614708565b60808301905092915050565b6000602082019050919050565b600061478d82614691565b614797818561469c565b93506147a2836146ad565b8060005b838110156147d35781516147ba888261475d565b97506147c583614775565b9250506001810190506147a6565b5085935050505092915050565b600060208201905081810360008301526147fa8184614782565b905092915050565b60006020828403121561481857614817613f79565b5b6000614826848285016141f0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614864816140f0565b82525050565b6000614876838361485b565b60208301905092915050565b6000602082019050919050565b600061489a8261482f565b6148a4818561483a565b93506148af8361484b565b8060005b838110156148e05781516148c7888261486a565b97506148d283614882565b9250506001810190506148b3565b5085935050505092915050565b60006020820190508181036000830152614907818461488f565b905092915050565b60008060006060848603121561492857614927613f79565b5b6000614936868287016141f0565b93505060206149478682870161413b565b92505060406149588682870161413b565b9150509250925092565b61496b81614008565b811461497657600080fd5b50565b60008135905061498881614962565b92915050565b600080604083850312156149a5576149a4613f79565b5b60006149b3858286016141f0565b92505060206149c485828601614979565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110614a0e57614a0d6149ce565b5b50565b6000819050614a1f826149fd565b919050565b6000614a2f82614a11565b9050919050565b614a3f81614a24565b82525050565b6000602082019050614a5a6000830184614a36565b92915050565b600067ffffffffffffffff821115614a7b57614a7a614470565b5b614a8482614084565b9050602081019050919050565b6000614aa4614a9f84614a60565b6144d0565b905082815260208101848484011115614ac057614abf61446b565b5b614acb84828561451c565b509392505050565b600082601f830112614ae857614ae7614466565b5b8135614af8848260208601614a91565b91505092915050565b60008060008060808587031215614b1b57614b1a613f79565b5b6000614b29878288016141f0565b9450506020614b3a878288016141f0565b9350506040614b4b8782880161413b565b925050606085013567ffffffffffffffff811115614b6c57614b6b613f7e565b5b614b7887828801614ad3565b91505092959194509250565b608082016000820151614b9a60008501826146bd565b506020820151614bad60208501826146cc565b506040820151614bc060408501826146db565b506060820151614bd360608501826146f9565b50505050565b6000608082019050614bee6000830184614b84565b92915050565b60008083601f840112614c0a57614c09614466565b5b8235905067ffffffffffffffff811115614c2757614c266145e4565b5b602083019150836020820283011115614c4357614c426145e9565b5b9250929050565b600080600060408486031215614c6357614c62613f79565b5b6000614c718682870161413b565b935050602084013567ffffffffffffffff811115614c9257614c91613f7e565b5b614c9e86828701614bf4565b92509250509250925092565b60008060408385031215614cc157614cc0613f79565b5b6000614ccf858286016141f0565b9250506020614ce0858286016141f0565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d3157607f821691505b602082108103614d4457614d43614cea565b5b50919050565b7f496e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000614d80600f83614049565b9150614d8b82614d4a565b602082019050919050565b60006020820190508181036000830152614daf81614d73565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614df0826140f0565b9150614dfb836140f0565b9250828201905080821115614e1357614e12614db6565b5b92915050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b6000614e4f600983614049565b9150614e5a82614e19565b602082019050919050565b60006020820190508181036000830152614e7e81614e42565b9050919050565b7f77686974656c69737448617368206973206e6f74207365742e00000000000000600082015250565b6000614ebb601983614049565b9150614ec682614e85565b602082019050919050565b60006020820190508181036000830152614eea81614eae565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614f27601183614049565b9150614f3282614ef1565b602082019050919050565b60006020820190508181036000830152614f5681614f1a565b9050919050565b6000614f68826140f0565b9150614f73836140f0565b9250828202614f81816140f0565b91508282048414831517614f9857614f97614db6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614fd9826140f0565b9150614fe4836140f0565b925082614ff457614ff3614f9f565b5b828204905092915050565b7f5075626c6963206d696e74206973206e6f74206c6976652e0000000000000000600082015250565b6000615035601883614049565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f506c656173652073656e642074686520636f727265637420616d6f756e74206960008201527f6e206f7264657220746f206d696e742e00000000000000000000000000000000602082015250565b60006150c7603083614049565b91506150d28261506b565b604082019050919050565b600060208201905081810360008301526150f6816150ba565b9050919050565b7f436f6e7472616374732063616e206e6f742063616c6c2074686973206d65746860008201527f6f642e0000000000000000000000000000000000000000000000000000000000602082015250565b6000615159602383614049565b9150615164826150fd565b604082019050919050565b600060208201905081810360008301526151888161514c565b9050919050565b7f596f752068617665206d696e74656420796f7572206d617820616c6c6f77616e60008201527f63652e0000000000000000000000000000000000000000000000000000000000602082015250565b60006151eb602383614049565b91506151f68261518f565b604082019050919050565b6000602082019050818103600083015261521a816151de565b9050919050565b7f6e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000615257601083614049565b915061526282615221565b602082019050919050565b600060208201905081810360008301526152868161524a565b9050919050565b7f43616e27742073657420746f206d6f7265207468616e2035207065722077616c60008201527f6c65740000000000000000000000000000000000000000000000000000000000602082015250565b60006152e9602383614049565b91506152f48261528d565b604082019050919050565b60006020820190508181036000830152615318816152dc565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615355601f83614049565b91506153608261531f565b602082019050919050565b6000602082019050818103600083015261538481615348565b9050919050565b60008151905061539a81614124565b92915050565b6000602082840312156153b6576153b5613f79565b5b60006153c48482850161538b565b91505092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261542f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826153f2565b61543986836153f2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061547661547161546c846140f0565b615451565b6140f0565b9050919050565b6000819050919050565b6154908361545b565b6154a461549c8261547d565b8484546153ff565b825550505050565b600090565b6154b96154ac565b6154c4818484615487565b505050565b5b818110156154e8576154dd6000826154b1565b6001810190506154ca565b5050565b601f82111561552d576154fe816153cd565b615507846153e2565b81016020851015615516578190505b61552a615522856153e2565b8301826154c9565b50505b505050565b600082821c905092915050565b600061555060001984600802615532565b1980831691505092915050565b6000615569838361553f565b9150826002028217905092915050565b6155828261403e565b67ffffffffffffffff81111561559b5761559a614470565b5b6155a58254614d19565b6155b08282856154ec565b600060209050601f8311600181146155e357600084156155d1578287015190505b6155db858261555d565b865550615643565b601f1984166155f1866153cd565b60005b82811015615619578489015182556001820191506020850194506020810190506155f4565b868310156156365784890151615632601f89168261553f565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d617820737570706c792073686f756c642062652031206f7220686967686572600082015250565b60006156b0602083614049565b91506156bb8261567a565b602082019050919050565b600060208201905081810360008301526156df816156a3565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b600061571c600f83614049565b9150615727826156e6565b602082019050919050565b6000602082019050818103600083015261574b8161570f565b9050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000615788601583614049565b915061579382615752565b602082019050919050565b600060208201905081810360008301526157b78161577b565b9050919050565b60006157d16157cc846144eb565b6144d0565b9050828152602081018484840111156157ed576157ec61446b565b5b6157f884828561405a565b509392505050565b600082601f83011261581557615814614466565b5b81516158258482602086016157be565b91505092915050565b60006020828403121561584457615843613f79565b5b600082015167ffffffffffffffff81111561586257615861613f7e565b5b61586e84828501615800565b91505092915050565b7f57686974656c697374206d696e74206973206e6f74206c6976652e0000000000600082015250565b60006158ad601b83614049565b91506158b882615877565b602082019050919050565b600060208201905081810360008301526158dc816158a0565b9050919050565b7f596f7520617265206e6f74206f6e207468652077686974656c69737420666f7260008201527f2074686973207175616e746974792e0000000000000000000000000000000000602082015250565b600061593f602f83614049565b915061594a826158e3565b604082019050919050565b6000602082019050818103600083015261596e81615932565b9050919050565b7f596f75206861766520636c61696d656420796f7572206d617820616c6c6f776160008201527f6e63652e00000000000000000000000000000000000000000000000000000000602082015250565b60006159d1602483614049565b91506159dc82615975565b604082019050919050565b60006020820190508181036000830152615a00816159c4565b9050919050565b7f496e76616c696420636f6e747261637420616464726573730000000000000000600082015250565b6000615a3d601883614049565b9150615a4882615a07565b602082019050919050565b60006020820190508181036000830152615a6c81615a30565b9050919050565b6000615a7e8261419d565b9050919050565b615a8e81615a73565b8114615a9957600080fd5b50565b600081519050615aab81615a85565b92915050565b600060208284031215615ac757615ac6613f79565b5b6000615ad584828501615a9c565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615b3a602683614049565b9150615b4582615ade565b604082019050919050565b60006020820190508181036000830152615b6981615b2d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615ba6602083614049565b9150615bb182615b70565b602082019050919050565b60006020820190508181036000830152615bd581615b99565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c0382615bdc565b615c0d8185615be7565b9350615c1d81856020860161405a565b615c2681614084565b840191505092915050565b6000608082019050615c4660008301876141af565b615c5360208301866141af565b615c6060408301856140fa565b8181036060830152615c728184615bf8565b905095945050505050565b600081519050615c8c81613faf565b92915050565b600060208284031215615ca857615ca7613f79565b5b6000615cb684828501615c7d565b91505092915050565b600081519050615cce81614962565b92915050565b600060208284031215615cea57615ce9613f79565b5b6000615cf884828501615cbf565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615d5d602a83614049565b9150615d6882615d01565b604082019050919050565b60006020820190508181036000830152615d8c81615d50565b9050919050565b60006040820190508181036000830152615dad8185614095565b9050615dbc60208301846140fa565b9392505050565b6000615dce826140f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615e0057615dff614db6565b5b600182019050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615e67602683614049565b9150615e7282615e0b565b604082019050919050565b60006020820190508181036000830152615e9681615e5a565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615ed3601d83614049565b9150615ede82615e9d565b602082019050919050565b60006020820190508181036000830152615f0281615ec6565b9050919050565b600081905092915050565b6000615f1f82615bdc565b615f298185615f09565b9350615f3981856020860161405a565b80840191505092915050565b6000615f518284615f14565b91508190509291505056fea2646970667358221220b5c33f7fed718b42179f1d01c1ee98a0576e99555fc9b0795f2f19c69b23a2f864736f6c63430008110033000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000000000000000000000000000000000000000001e61

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c8063714c539811610190578063b88d4fde116100dc578063e17b25af11610095578063f2fde38b1161006f578063f2fde38b14610b19578063f6000c7a14610b42578063ff1b655614610b6d578063ffe630b514610b98576102ff565b8063e17b25af14610a88578063e74772d814610ab1578063e985e9c514610adc576102ff565b8063b88d4fde14610980578063bc912e1a1461099c578063c23dc68f146109c7578063c87b56dd14610a04578063d2cab05614610a41578063d5abeb0114610a5d576102ff565b806395d89b41116101495780639c4f3d0a116101235780639c4f3d0a146108da578063a22cb46514610903578063a67667fe1461092c578063b1c9fe6e14610955576102ff565b806395d89b411461085b578063981d87711461088657806399a2557a1461089d576102ff565b8063714c539814610783578063715018a6146107ae5780637e15144b146107c55780638462151c146107dc578063853828b6146108195780638da5cb5b14610830576102ff565b80632e1a7d4d1161024f57806349df728c116102085780636352211e116101e25780636352211e146106a157806364762817146106de5780636c0360eb1461071b57806370a0823114610746576102ff565b806349df728c1461061257806355f804b31461063b5780635bbb217714610664576102ff565b80632e1a7d4d14610525578063335477fc1461054e5780633e9f610b1461057957806342842e0e146105a257806342966c68146105be578063453c2310146105e7576102ff565b80630da5f0ad116102bc5780631b60a072116102965780631b60a0721461048657806323b872dd146104af5780632a55205a146104cb5780632db1154414610509576102ff565b80630da5f0ad1461041b578063144100c71461044457806318160ddd1461045b576102ff565b806301ffc9a71461030457806306fdde031461034157806307e89ec01461036c578063081812fc14610397578063095ea7b3146103d45780630d2206d0146103f0575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190613fdb565b610bc1565b6040516103389190614023565b60405180910390f35b34801561034d57600080fd5b50610356610c3b565b60405161036391906140ce565b60405180910390f35b34801561037857600080fd5b50610381610ccd565b60405161038e9190614109565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b99190614150565b610cd8565b6040516103cb91906141be565b60405180910390f35b6103ee60048036038101906103e99190614205565b610d57565b005b3480156103fc57600080fd5b50610405610e9b565b6040516104129190614268565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190614283565b610eb5565b005b34801561045057600080fd5b50610459610f25565b005b34801561046757600080fd5b50610470610fb1565b60405161047d9190614109565b60405180910390f35b34801561049257600080fd5b506104ad60048036038101906104a891906142f9565b610fc8565b005b6104c960048036038101906104c49190614326565b61101f565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190614283565b611341565b604051610500929190614379565b60405180910390f35b610523600480360381019061051e9190614150565b6113bb565b005b34801561053157600080fd5b5061054c60048036038101906105479190614150565b6115f0565b005b34801561055a57600080fd5b506105636116c2565b6040516105709190614268565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b91906143ce565b6116c7565b005b6105bc60048036038101906105b79190614326565b611748565b005b3480156105ca57600080fd5b506105e560048036038101906105e09190614150565b611768565b005b3480156105f357600080fd5b506105fc611776565b6040516106099190614268565b60405180910390f35b34801561061e57600080fd5b5061063960048036038101906106349190614439565b611790565b005b34801561064757600080fd5b50610662600480360381019061065d919061459b565b6118d1565b005b34801561067057600080fd5b5061068b60048036038101906106869190614644565b6118ec565b60405161069891906147e0565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c39190614150565b6119af565b6040516106d591906141be565b60405180910390f35b3480156106ea57600080fd5b5061070560048036038101906107009190614150565b6119c1565b6040516107129190614109565b60405180910390f35b34801561072757600080fd5b50610730611a2a565b60405161073d91906140ce565b60405180910390f35b34801561075257600080fd5b5061076d60048036038101906107689190614802565b611ab8565b60405161077a9190614109565b60405180910390f35b34801561078f57600080fd5b50610798611b70565b6040516107a591906140ce565b60405180910390f35b3480156107ba57600080fd5b506107c3611c02565b005b3480156107d157600080fd5b506107da611c16565b005b3480156107e857600080fd5b5061080360048036038101906107fe9190614802565b611cd4565b60405161081091906148ed565b60405180910390f35b34801561082557600080fd5b5061082e611e17565b005b34801561083c57600080fd5b50610845611ea5565b60405161085291906141be565b60405180910390f35b34801561086757600080fd5b50610870611ecf565b60405161087d91906140ce565b60405180910390f35b34801561089257600080fd5b5061089b611f61565b005b3480156108a957600080fd5b506108c460048036038101906108bf919061490f565b61201e565b6040516108d191906148ed565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc91906143ce565b61222a565b005b34801561090f57600080fd5b5061092a6004803603810190610925919061498e565b6122ac565b005b34801561093857600080fd5b50610953600480360381019061094e9190614802565b6123b7565b005b34801561096157600080fd5b5061096a612472565b6040516109779190614a45565b60405180910390f35b61099a60048036038101906109959190614b01565b612485565b005b3480156109a857600080fd5b506109b16124f8565b6040516109be9190614109565b60405180910390f35b3480156109d357600080fd5b506109ee60048036038101906109e99190614150565b612503565b6040516109fb9190614bd9565b60405180910390f35b348015610a1057600080fd5b50610a2b6004803603810190610a269190614150565b61256d565b604051610a3891906140ce565b60405180910390f35b610a5b6004803603810190610a569190614c4a565b612665565b005b348015610a6957600080fd5b50610a726129ed565b604051610a7f9190614268565b60405180910390f35b348015610a9457600080fd5b50610aaf6004803603810190610aaa9190614802565b612a07565b005b348015610abd57600080fd5b50610ac6612af9565b604051610ad391906141be565b60405180910390f35b348015610ae857600080fd5b50610b036004803603810190610afe9190614caa565b612b1f565b604051610b109190614023565b60405180910390f35b348015610b2557600080fd5b50610b406004803603810190610b3b9190614802565b612c1c565b005b348015610b4e57600080fd5b50610b57612c9f565b604051610b649190614268565b60405180910390f35b348015610b7957600080fd5b50610b82612cb9565b604051610b8f91906140ce565b60405180910390f35b348015610ba457600080fd5b50610bbf6004803603810190610bba919061459b565b612d47565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c345750610c3382612d62565b5b9050919050565b606060028054610c4a90614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7690614d19565b8015610cc35780601f10610c9857610100808354040283529160200191610cc3565b820191906000526020600020905b815481529060010190602001808311610ca657829003601f168201915b5050505050905090565b668e1bc9bf04000081565b6000610ce382612df4565b610d19576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d62826119af565b90508073ffffffffffffffffffffffffffffffffffffffff16610d83612e53565b73ffffffffffffffffffffffffffffffffffffffff1614610de657610daf81610daa612e53565b612b1f565b610de5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a60189054906101000a900467ffffffffffffffff1681565b81610ebe610fb1565b811115610f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef790614d96565b60405180910390fd5b610f08612e5b565b816012600085815260200190815260200160002081905550505050565b600a8060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681610f50610fb1565b610f5a9190614de5565b1115610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9290614e65565b60405180910390fd5b610fa3612e5b565b610fae33600a612ed9565b50565b6000610fbb612ef7565b6001546000540303905090565b610fd0612e5b565b6000801b8103611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100c90614ed1565b60405180910390fd5b80600f8190555050565b600061102a82612efc565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611091576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061109d84612fc8565b915091506110b381876110ae612e53565b612fef565b6110ff576110c8866110c3612e53565b612b1f565b6110fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611165576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111728686866001613033565b801561117d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061124b85611227888887613039565b7c020000000000000000000000000000000000000000000000000000000017613061565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036112d157600060018501905060006004600083815260200190815260200160002054036112cf5760005481146112ce578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611339868686600161308c565b505050505050565b60008061134d84612df4565b61138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390614f3d565b60405180910390fd5b306064600567ffffffffffffffff16856113a69190614f5d565b6113b09190614fce565b915091509250929050565b6002808111156113ce576113cd6149ce565b5b600d60009054906101000a900460ff1660028111156113f0576113ef6149ce565b5b14611430576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114279061504b565b60405180910390fd5b80600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff168161145b610fb1565b6114659190614de5565b11156114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d90614e65565b60405180910390fd5b668e1bc9bf0400008281816114bb9190614f5d565b34146114fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f3906150dd565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461156a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115619061516f565b60405180910390fd5b600a60089054906101000a900467ffffffffffffffff1667ffffffffffffffff168461159533611ab8565b61159f9190614de5565b11156115e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d790615201565b60405180910390fd5b6115ea3385612ed9565b50505050565b6115f8612e5b565b600047905080821115611640576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116379061526d565b60405180910390fd5b7fe6995d981a05e2f3d0adaebb01fc440584216e510c59d358ba9dd149bf0b29ab8260405161166f9190614109565b60405180910390a13373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156116bd573d6000803e3d6000fd5b505050565b600581565b6116cf612e5b565b60058167ffffffffffffffff161061171c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611713906152ff565b60405180910390fd5b80600a60086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b61176383838360405180602001604052806000815250612485565b505050565b611773816001613092565b50565b600a60089054906101000a900467ffffffffffffffff1681565b611798612e5b565b6002600954036117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d49061536b565b60405180910390fd5b600260098190555060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161182091906141be565b602060405180830381865afa15801561183d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186191906153a0565b90507fe6995d981a05e2f3d0adaebb01fc440584216e510c59d358ba9dd149bf0b29ab816040516118929190614109565b60405180910390a16118c533828473ffffffffffffffffffffffffffffffffffffffff166132e49092919063ffffffff16565b50600160098190555050565b6118d9612e5b565b80600e90816118e89190615579565b5050565b6060600083839050905060008167ffffffffffffffff81111561191257611911614470565b5b60405190808252806020026020018201604052801561194b57816020015b611938613f20565b8152602001906001900390816119305790505b50905060005b8281146119a35761197a86868381811061196e5761196d61564b565b5b90506020020135612503565b82828151811061198d5761198c61564b565b5b6020026020010181905250806001019050611951565b50809250505092915050565b60006119ba82612efc565b9050919050565b6000816119cc610fb1565b811115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590614d96565b60405180910390fd5b6012600084815260200190815260200160002054915050919050565b600e8054611a3790614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6390614d19565b8015611ab05780601f10611a8557610100808354040283529160200191611ab0565b820191906000526020600020905b815481529060010190602001808311611a9357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b1f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6060600e8054611b7f90614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054611bab90614d19565b8015611bf85780601f10611bcd57610100808354040283529160200191611bf8565b820191906000526020600020905b815481529060010190602001808311611bdb57829003601f168201915b5050505050905090565b611c0a612e5b565b611c14600061336a565b565b611c1e612e5b565b60016002811115611c3257611c316149ce565b5b600d60009054906101000a900460ff166002811115611c5457611c536149ce565b5b03611c60576000611c63565b60015b600d60006101000a81548160ff02191690836002811115611c8757611c866149ce565b5b02179055507f618c43efaa1f48ff78a58f07021c029bd7498dee3b3b7ed7844f7502cb1cad68600d60009054906101000a900460ff16604051611cca9190614a45565b60405180910390a1565b60606000806000611ce485611ab8565b905060008167ffffffffffffffff811115611d0257611d01614470565b5b604051908082528060200260200182016040528015611d305781602001602082028036833780820191505090505b509050611d3b613f20565b6000611d45612ef7565b90505b838614611e0957611d5881613430565b91508160400151611dfe57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611da357816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611dfd5780838780600101985081518110611df057611def61564b565b5b6020026020010181815250505b5b806001019050611d48565b508195505050505050919050565b611e1f612e5b565b60004790507fe6995d981a05e2f3d0adaebb01fc440584216e510c59d358ba9dd149bf0b29ab81604051611e539190614109565b60405180910390a13373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611ea1573d6000803e3d6000fd5b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611ede90614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0a90614d19565b8015611f575780601f10611f2c57610100808354040283529160200191611f57565b820191906000526020600020905b815481529060010190602001808311611f3a57829003601f168201915b5050505050905090565b611f69612e5b565b600280811115611f7c57611f7b6149ce565b5b600d60009054906101000a900460ff166002811115611f9e57611f9d6149ce565b5b03611faa576000611fad565b60025b600d60006101000a81548160ff02191690836002811115611fd157611fd06149ce565b5b02179055507f618c43efaa1f48ff78a58f07021c029bd7498dee3b3b7ed7844f7502cb1cad68600d60009054906101000a900460ff166040516120149190614a45565b60405180910390a1565b6060818310612059576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061206461345b565b905061206e612ef7565b8510156120805761207d612ef7565b94505b8084111561208c578093505b600061209787611ab8565b9050848610156120ba5760008686039050818110156120b4578091505b506120bf565b600090505b60008167ffffffffffffffff8111156120db576120da614470565b5b6040519080825280602002602001820160405280156121095781602001602082028036833780820191505090505b509050600082036121205780945050505050612223565b600061212b88612503565b90506000816040015161214057816000015190505b60008990505b8881141580156121565750848714155b156122155761216481613430565b9250826040015161220a57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146121af57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361220957808488806001019950815181106121fc576121fb61564b565b5b6020026020010181815250505b5b806001019050612146565b508583528296505050505050505b9392505050565b612232612e5b565b60018167ffffffffffffffff161015612280576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612277906156c6565b60405180910390fd5b80600a60006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b80600760006122b9612e53565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612366612e53565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123ab9190614023565b60405180910390a35050565b6123bf612e5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361242e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242590615732565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600d60009054906101000a900460ff1681565b61249084848461101f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146124f2576124bb84848484613464565b6124f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6658d15e1762800081565b61250b613f20565b612513613f20565b61251b612ef7565b83108061252f575061252b61345b565b8310155b1561253d5780915050612568565b61254683613430565b905080604001511561255b5780915050612568565b612564836135b4565b9150505b919050565b606061257882612df4565b6125b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ae9061579e565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd846040518263ffffffff1660e01b81526004016126149190614109565b600060405180830381865afa158015612631573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061265a919061582e565b905080915050919050565b60016002811115612679576126786149ce565b5b600d60009054906101000a900460ff16600281111561269b5761269a6149ce565b5b146126db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d2906158c3565b60405180910390fd5b82600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681612706610fb1565b6127109190614de5565b1115612751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274890614e65565b60405180910390fd5b6658d15e176280008481816127669190614f5d565b34146127a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279e906150dd565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280c9061516f565b60405180910390fd5b612823868686600f546135d4565b612862576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285990615955565b60405180910390fd5b600a60109054906101000a900467ffffffffffffffff1667ffffffffffffffff168661288d33611ab8565b6128979190614de5565b11156128d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cf90615201565b60405180910390fd5b600a60109054906101000a900467ffffffffffffffff1667ffffffffffffffff1686601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129449190614de5565b1115612985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297c906159e7565b60405180910390fd5b85601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129d49190614de5565b925050819055506129e53387612ed9565b505050505050565b600a60009054906101000a900467ffffffffffffffff1681565b612a0f612e5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7590615a53565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fa6375348ec6f00fff8306bb897b0a08eb1a029b5ff13898a15d188f163919b4281604051612aee91906141be565b60405180910390a150565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060018015612bf957508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401612ba091906141be565b602060405180830381865afa158015612bbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612be19190615ab1565b73ffffffffffffffffffffffffffffffffffffffff16145b15612c08576001915050612c16565b612c12848461376c565b9150505b92915050565b612c24612e5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8a90615b50565b60405180910390fd5b612c9c8161336a565b50565b600a60109054906101000a900467ffffffffffffffff1681565b600c8054612cc690614d19565b80601f0160208091040260200160405190810160405280929190818152602001828054612cf290614d19565b8015612d3f5780601f10612d1457610100808354040283529160200191612d3f565b820191906000526020600020905b815481529060010190602001808311612d2257829003601f168201915b505050505081565b612d4f612e5b565b80600c9081612d5e9190615579565b5050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612dbd57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ded5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081612dff612ef7565b11158015612e0e575060005482105b8015612e4c575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b612e63613800565b73ffffffffffffffffffffffffffffffffffffffff16612e81611ea5565b73ffffffffffffffffffffffffffffffffffffffff1614612ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ece90615bbc565b60405180910390fd5b565b612ef3828260405180602001604052806000815250613808565b5050565b600090565b60008082905080612f0b612ef7565b11612f9157600054811015612f905760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612f8e575b60008103612f84576004600083600190039350838152602001908152602001600020549050612f5a565b8092505050612fc3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86130508686846138a5565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061309d83612efc565b905060008190506000806130b086612fc8565b915091508415613119576130cc81846130c7612e53565b612fef565b613118576130e1836130dc612e53565b612b1f565b613117576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613127836000886001613033565b801561313257600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131da8361319785600088613039565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717613061565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603613260576000600187019050600060046000838152602001908152602001600020540361325e57600054811461325d578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132ca83600088600161308c565b600160008154809291906001019190505550505050505050565b6133658363a9059cbb60e01b8484604051602401613303929190614379565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506138ae565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613438613f20565b6134546004600084815260200190815260200160002054613975565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348a612e53565b8786866040518563ffffffff1660e01b81526004016134ac9493929190615c31565b6020604051808303816000875af19250505080156134e857506040513d601f19601f820116820180604052508101906134e59190615c92565b60015b613561573d8060008114613518576040519150601f19603f3d011682016040523d82523d6000602084013e61351d565b606091505b506000815103613559576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6135bc613f20565b6135cd6135c883612efc565b613975565b9050919050565b60006136156040518060400160405280600f81526020017f77686974656c69737420636865636b000000000000000000000000000000000081525086613a2b565b61369e6040518060400160405280600f81526020017f77686974656c69737420636865636b0000000000000000000000000000000000815250601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054876136999190614de5565b613a2b565b600033601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054876136ec9190614de5565b6040516020016136fd929190614379565b604051602081830303815290604052805190602001209050613761858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508483613ac7565b915050949350505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6138128383613ade565b60008373ffffffffffffffffffffffffffffffffffffffff163b146138a057600080549050600083820390505b6138526000868380600101945086613464565b613888576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061383f57816000541461389d57600080fd5b50505b505050565b60009392505050565b6000613910826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613c999092919063ffffffff16565b905060008151111561397057808060200190518101906139309190615cd4565b61396f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396690615d73565b60405180910390fd5b5b505050565b61397d613f20565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b613ac38282604051602401613a41929190615d93565b6040516020818303038152906040527fb60e72cc000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613cb1565b5050565b600082613ad48584613cda565b1490509392505050565b60008054905060008203613b1e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613b2b6000848385613033565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613ba283613b936000866000613039565b613b9c85613d30565b17613061565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613c4357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613c08565b5060008203613c7e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613c94600084838561308c565b505050565b6060613ca88484600085613d40565b90509392505050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b60008082905060005b8451811015613d2557613d1082868381518110613d0357613d0261564b565b5b6020026020010151613e54565b91508080613d1d90615dc3565b915050613ce3565b508091505092915050565b60006001821460e11b9050919050565b606082471015613d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d7c90615e7d565b60405180910390fd5b613d8e85613e7f565b613dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dc490615ee9565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613df69190615f45565b60006040518083038185875af1925050503d8060008114613e33576040519150601f19603f3d011682016040523d82523d6000602084013e613e38565b606091505b5091509150613e48828286613ea2565b92505050949350505050565b6000818310613e6c57613e678284613f09565b613e77565b613e768383613f09565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315613eb257829050613f02565b600083511115613ec55782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ef991906140ce565b60405180910390fd5b9392505050565b600082600052816020526040600020905092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fb881613f83565b8114613fc357600080fd5b50565b600081359050613fd581613faf565b92915050565b600060208284031215613ff157613ff0613f79565b5b6000613fff84828501613fc6565b91505092915050565b60008115159050919050565b61401d81614008565b82525050565b60006020820190506140386000830184614014565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561407857808201518184015260208101905061405d565b60008484015250505050565b6000601f19601f8301169050919050565b60006140a08261403e565b6140aa8185614049565b93506140ba81856020860161405a565b6140c381614084565b840191505092915050565b600060208201905081810360008301526140e88184614095565b905092915050565b6000819050919050565b614103816140f0565b82525050565b600060208201905061411e60008301846140fa565b92915050565b61412d816140f0565b811461413857600080fd5b50565b60008135905061414a81614124565b92915050565b60006020828403121561416657614165613f79565b5b60006141748482850161413b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141a88261417d565b9050919050565b6141b88161419d565b82525050565b60006020820190506141d360008301846141af565b92915050565b6141e28161419d565b81146141ed57600080fd5b50565b6000813590506141ff816141d9565b92915050565b6000806040838503121561421c5761421b613f79565b5b600061422a858286016141f0565b925050602061423b8582860161413b565b9150509250929050565b600067ffffffffffffffff82169050919050565b61426281614245565b82525050565b600060208201905061427d6000830184614259565b92915050565b6000806040838503121561429a57614299613f79565b5b60006142a88582860161413b565b92505060206142b98582860161413b565b9150509250929050565b6000819050919050565b6142d6816142c3565b81146142e157600080fd5b50565b6000813590506142f3816142cd565b92915050565b60006020828403121561430f5761430e613f79565b5b600061431d848285016142e4565b91505092915050565b60008060006060848603121561433f5761433e613f79565b5b600061434d868287016141f0565b935050602061435e868287016141f0565b925050604061436f8682870161413b565b9150509250925092565b600060408201905061438e60008301856141af565b61439b60208301846140fa565b9392505050565b6143ab81614245565b81146143b657600080fd5b50565b6000813590506143c8816143a2565b92915050565b6000602082840312156143e4576143e3613f79565b5b60006143f2848285016143b9565b91505092915050565b60006144068261419d565b9050919050565b614416816143fb565b811461442157600080fd5b50565b6000813590506144338161440d565b92915050565b60006020828403121561444f5761444e613f79565b5b600061445d84828501614424565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144a882614084565b810181811067ffffffffffffffff821117156144c7576144c6614470565b5b80604052505050565b60006144da613f6f565b90506144e6828261449f565b919050565b600067ffffffffffffffff82111561450657614505614470565b5b61450f82614084565b9050602081019050919050565b82818337600083830152505050565b600061453e614539846144eb565b6144d0565b90508281526020810184848401111561455a5761455961446b565b5b61456584828561451c565b509392505050565b600082601f83011261458257614581614466565b5b813561459284826020860161452b565b91505092915050565b6000602082840312156145b1576145b0613f79565b5b600082013567ffffffffffffffff8111156145cf576145ce613f7e565b5b6145db8482850161456d565b91505092915050565b600080fd5b600080fd5b60008083601f84011261460457614603614466565b5b8235905067ffffffffffffffff811115614621576146206145e4565b5b60208301915083602082028301111561463d5761463c6145e9565b5b9250929050565b6000806020838503121561465b5761465a613f79565b5b600083013567ffffffffffffffff81111561467957614678613f7e565b5b614685858286016145ee565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146c68161419d565b82525050565b6146d581614245565b82525050565b6146e481614008565b82525050565b600062ffffff82169050919050565b614702816146ea565b82525050565b60808201600082015161471e60008501826146bd565b50602082015161473160208501826146cc565b50604082015161474460408501826146db565b50606082015161475760608501826146f9565b50505050565b60006147698383614708565b60808301905092915050565b6000602082019050919050565b600061478d82614691565b614797818561469c565b93506147a2836146ad565b8060005b838110156147d35781516147ba888261475d565b97506147c583614775565b9250506001810190506147a6565b5085935050505092915050565b600060208201905081810360008301526147fa8184614782565b905092915050565b60006020828403121561481857614817613f79565b5b6000614826848285016141f0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614864816140f0565b82525050565b6000614876838361485b565b60208301905092915050565b6000602082019050919050565b600061489a8261482f565b6148a4818561483a565b93506148af8361484b565b8060005b838110156148e05781516148c7888261486a565b97506148d283614882565b9250506001810190506148b3565b5085935050505092915050565b60006020820190508181036000830152614907818461488f565b905092915050565b60008060006060848603121561492857614927613f79565b5b6000614936868287016141f0565b93505060206149478682870161413b565b92505060406149588682870161413b565b9150509250925092565b61496b81614008565b811461497657600080fd5b50565b60008135905061498881614962565b92915050565b600080604083850312156149a5576149a4613f79565b5b60006149b3858286016141f0565b92505060206149c485828601614979565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110614a0e57614a0d6149ce565b5b50565b6000819050614a1f826149fd565b919050565b6000614a2f82614a11565b9050919050565b614a3f81614a24565b82525050565b6000602082019050614a5a6000830184614a36565b92915050565b600067ffffffffffffffff821115614a7b57614a7a614470565b5b614a8482614084565b9050602081019050919050565b6000614aa4614a9f84614a60565b6144d0565b905082815260208101848484011115614ac057614abf61446b565b5b614acb84828561451c565b509392505050565b600082601f830112614ae857614ae7614466565b5b8135614af8848260208601614a91565b91505092915050565b60008060008060808587031215614b1b57614b1a613f79565b5b6000614b29878288016141f0565b9450506020614b3a878288016141f0565b9350506040614b4b8782880161413b565b925050606085013567ffffffffffffffff811115614b6c57614b6b613f7e565b5b614b7887828801614ad3565b91505092959194509250565b608082016000820151614b9a60008501826146bd565b506020820151614bad60208501826146cc565b506040820151614bc060408501826146db565b506060820151614bd360608501826146f9565b50505050565b6000608082019050614bee6000830184614b84565b92915050565b60008083601f840112614c0a57614c09614466565b5b8235905067ffffffffffffffff811115614c2757614c266145e4565b5b602083019150836020820283011115614c4357614c426145e9565b5b9250929050565b600080600060408486031215614c6357614c62613f79565b5b6000614c718682870161413b565b935050602084013567ffffffffffffffff811115614c9257614c91613f7e565b5b614c9e86828701614bf4565b92509250509250925092565b60008060408385031215614cc157614cc0613f79565b5b6000614ccf858286016141f0565b9250506020614ce0858286016141f0565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d3157607f821691505b602082108103614d4457614d43614cea565b5b50919050565b7f496e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000614d80600f83614049565b9150614d8b82614d4a565b602082019050919050565b60006020820190508181036000830152614daf81614d73565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614df0826140f0565b9150614dfb836140f0565b9250828201905080821115614e1357614e12614db6565b5b92915050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b6000614e4f600983614049565b9150614e5a82614e19565b602082019050919050565b60006020820190508181036000830152614e7e81614e42565b9050919050565b7f77686974656c69737448617368206973206e6f74207365742e00000000000000600082015250565b6000614ebb601983614049565b9150614ec682614e85565b602082019050919050565b60006020820190508181036000830152614eea81614eae565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614f27601183614049565b9150614f3282614ef1565b602082019050919050565b60006020820190508181036000830152614f5681614f1a565b9050919050565b6000614f68826140f0565b9150614f73836140f0565b9250828202614f81816140f0565b91508282048414831517614f9857614f97614db6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614fd9826140f0565b9150614fe4836140f0565b925082614ff457614ff3614f9f565b5b828204905092915050565b7f5075626c6963206d696e74206973206e6f74206c6976652e0000000000000000600082015250565b6000615035601883614049565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f506c656173652073656e642074686520636f727265637420616d6f756e74206960008201527f6e206f7264657220746f206d696e742e00000000000000000000000000000000602082015250565b60006150c7603083614049565b91506150d28261506b565b604082019050919050565b600060208201905081810360008301526150f6816150ba565b9050919050565b7f436f6e7472616374732063616e206e6f742063616c6c2074686973206d65746860008201527f6f642e0000000000000000000000000000000000000000000000000000000000602082015250565b6000615159602383614049565b9150615164826150fd565b604082019050919050565b600060208201905081810360008301526151888161514c565b9050919050565b7f596f752068617665206d696e74656420796f7572206d617820616c6c6f77616e60008201527f63652e0000000000000000000000000000000000000000000000000000000000602082015250565b60006151eb602383614049565b91506151f68261518f565b604082019050919050565b6000602082019050818103600083015261521a816151de565b9050919050565b7f6e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000615257601083614049565b915061526282615221565b602082019050919050565b600060208201905081810360008301526152868161524a565b9050919050565b7f43616e27742073657420746f206d6f7265207468616e2035207065722077616c60008201527f6c65740000000000000000000000000000000000000000000000000000000000602082015250565b60006152e9602383614049565b91506152f48261528d565b604082019050919050565b60006020820190508181036000830152615318816152dc565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615355601f83614049565b91506153608261531f565b602082019050919050565b6000602082019050818103600083015261538481615348565b9050919050565b60008151905061539a81614124565b92915050565b6000602082840312156153b6576153b5613f79565b5b60006153c48482850161538b565b91505092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261542f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826153f2565b61543986836153f2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061547661547161546c846140f0565b615451565b6140f0565b9050919050565b6000819050919050565b6154908361545b565b6154a461549c8261547d565b8484546153ff565b825550505050565b600090565b6154b96154ac565b6154c4818484615487565b505050565b5b818110156154e8576154dd6000826154b1565b6001810190506154ca565b5050565b601f82111561552d576154fe816153cd565b615507846153e2565b81016020851015615516578190505b61552a615522856153e2565b8301826154c9565b50505b505050565b600082821c905092915050565b600061555060001984600802615532565b1980831691505092915050565b6000615569838361553f565b9150826002028217905092915050565b6155828261403e565b67ffffffffffffffff81111561559b5761559a614470565b5b6155a58254614d19565b6155b08282856154ec565b600060209050601f8311600181146155e357600084156155d1578287015190505b6155db858261555d565b865550615643565b601f1984166155f1866153cd565b60005b82811015615619578489015182556001820191506020850194506020810190506155f4565b868310156156365784890151615632601f89168261553f565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d617820737570706c792073686f756c642062652031206f7220686967686572600082015250565b60006156b0602083614049565b91506156bb8261567a565b602082019050919050565b600060208201905081810360008301526156df816156a3565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b600061571c600f83614049565b9150615727826156e6565b602082019050919050565b6000602082019050818103600083015261574b8161570f565b9050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000615788601583614049565b915061579382615752565b602082019050919050565b600060208201905081810360008301526157b78161577b565b9050919050565b60006157d16157cc846144eb565b6144d0565b9050828152602081018484840111156157ed576157ec61446b565b5b6157f884828561405a565b509392505050565b600082601f83011261581557615814614466565b5b81516158258482602086016157be565b91505092915050565b60006020828403121561584457615843613f79565b5b600082015167ffffffffffffffff81111561586257615861613f7e565b5b61586e84828501615800565b91505092915050565b7f57686974656c697374206d696e74206973206e6f74206c6976652e0000000000600082015250565b60006158ad601b83614049565b91506158b882615877565b602082019050919050565b600060208201905081810360008301526158dc816158a0565b9050919050565b7f596f7520617265206e6f74206f6e207468652077686974656c69737420666f7260008201527f2074686973207175616e746974792e0000000000000000000000000000000000602082015250565b600061593f602f83614049565b915061594a826158e3565b604082019050919050565b6000602082019050818103600083015261596e81615932565b9050919050565b7f596f75206861766520636c61696d656420796f7572206d617820616c6c6f776160008201527f6e63652e00000000000000000000000000000000000000000000000000000000602082015250565b60006159d1602483614049565b91506159dc82615975565b604082019050919050565b60006020820190508181036000830152615a00816159c4565b9050919050565b7f496e76616c696420636f6e747261637420616464726573730000000000000000600082015250565b6000615a3d601883614049565b9150615a4882615a07565b602082019050919050565b60006020820190508181036000830152615a6c81615a30565b9050919050565b6000615a7e8261419d565b9050919050565b615a8e81615a73565b8114615a9957600080fd5b50565b600081519050615aab81615a85565b92915050565b600060208284031215615ac757615ac6613f79565b5b6000615ad584828501615a9c565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615b3a602683614049565b9150615b4582615ade565b604082019050919050565b60006020820190508181036000830152615b6981615b2d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615ba6602083614049565b9150615bb182615b70565b602082019050919050565b60006020820190508181036000830152615bd581615b99565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c0382615bdc565b615c0d8185615be7565b9350615c1d81856020860161405a565b615c2681614084565b840191505092915050565b6000608082019050615c4660008301876141af565b615c5360208301866141af565b615c6060408301856140fa565b8181036060830152615c728184615bf8565b905095945050505050565b600081519050615c8c81613faf565b92915050565b600060208284031215615ca857615ca7613f79565b5b6000615cb684828501615c7d565b91505092915050565b600081519050615cce81614962565b92915050565b600060208284031215615cea57615ce9613f79565b5b6000615cf884828501615cbf565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615d5d602a83614049565b9150615d6882615d01565b604082019050919050565b60006020820190508181036000830152615d8c81615d50565b9050919050565b60006040820190508181036000830152615dad8185614095565b9050615dbc60208301846140fa565b9392505050565b6000615dce826140f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615e0057615dff614db6565b5b600182019050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615e67602683614049565b9150615e7282615e0b565b604082019050919050565b60006020820190508181036000830152615e9681615e5a565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615ed3601d83614049565b9150615ede82615e9d565b602082019050919050565b60006020820190508181036000830152615f0281615ec6565b9050919050565b600081905092915050565b6000615f1f82615bdc565b615f298185615f09565b9350615f3981856020860161405a565b80840191505092915050565b6000615f518284615f14565b91508190509291505056fea2646970667358221220b5c33f7fed718b42179f1d01c1ee98a0576e99555fc9b0795f2f19c69b23a2f864736f6c63430008110033

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

000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000000000000000000000000000000000000000001e61

-----Decoded View---------------
Arg [0] : _openSeaRegAdd (address): 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Arg [1] : _maxSupply (uint64): 7777

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001e61


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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