ETH Price: $2,636.99 (+7.70%)
Gas: 2 Gwei

Token

FiatPunks (fiat)
 

Overview

Max Total Supply

816 fiat

Holders

48

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
*billy’s.eth
Balance
5 fiat
0x6ae7737ffb0e7862de7d6f77f48e72ac693bc363
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
FiatPunks

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : FiatPunks.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Multicall.sol";
import "https://github.com/exo-digital-labs/ERC721R/blob/main/contracts/ERC721A.sol";
import "https://github.com/exo-digital-labs/ERC721R/blob/main/contracts/IERC721R.sol";





contract FiatPunks is ERC721A, IERC721R, Ownable, Multicall {

    uint256 public constant maxTotalSupply = 10000;
    uint256 public constant mintPrice = 0.0029 ether;
    uint256 public constant preSalePrice = 0.0025 ether;
    uint256 public constant refundPeriod = 48 hours ;
    uint256 public constant maxUserMintAmount = 5;
    uint256 public constant maxWLMintAmount = 10;


    // Sale Status
    bool public publicSaleActive;
    bool public presaleActive;
    bool public passmintActive;  


    address public refundAddress;
    bytes32 public merkleRoot;
    uint256 public presaleRefundEndBlockNumber;
    uint256 public refundEndBlockNumber;
 
    mapping(uint256 => uint256) public refundEndBlockNumbers;
    mapping(uint256 => bool) public hasRefunded; // users can search if the NFT has been refunded
    mapping(uint256 => bool) public isOwnerMint; // if the NFT was freely minted by owner
    mapping(uint256 => bool) public isPresaleMint; //if the NFT was minted on an discount
    mapping(uint256 => bool) public isPublicMint; //if it was a public mint
    mapping(uint256 => bool) public isPassMint; //if the NFT was minted on an discount'
    mapping(address => uint256) public holders; //Pass holders
    string private baseURI;


    constructor() ERC721A("FiatPunks", "fiat") {
        refundAddress = address(this);
        refundEndBlockNumber = block.number + refundPeriod;
        presaleRefundEndBlockNumber = refundEndBlockNumber;

        addHolderAddresses();
    }

    function preSaleMint(uint256 quantity, bytes32[] calldata proof)
        external
        payable
    {
        require(presaleActive, "Presale is not active");
        require(msg.value == quantity * preSalePrice, "Value");
        require(
            _isAllowlisted(msg.sender, proof, merkleRoot),
            "Not on allow list" 
        );
        require(
            _numberMinted(msg.sender) + quantity <= maxWLMintAmount,
            "Max amount"
        );
        require(_totalMinted() + quantity <= maxTotalSupply, "Max mint supply");

       
    }


    function publicSaleMint(uint256 quantity) public payable {
        require(publicSaleActive, "Public sale is not active");
        require(msg.value >= quantity * mintPrice, "Not enough eth sent");
        require(
            _numberMinted(msg.sender) + quantity <= maxUserMintAmount,
            "Over mint limit"
        );
        require(
            _totalMinted() + quantity <= maxTotalSupply,
            "Max mint supply reached"
        );

        _safeMint(msg.sender, quantity);
        refundEndBlockNumber = block.number + refundPeriod;
        for (uint256 i = _currentIndex - quantity; i < _currentIndex; i++) {
            refundEndBlockNumbers[i] = refundEndBlockNumber;
            }
        
        for (uint256 i = _currentIndex - quantity; i < _currentIndex; i++) {
        isPublicMint[i] = true;
        }

    }


    function ownerMint(uint256 quantity) external onlyOwner {
        require(
            _totalMinted() + quantity <= maxTotalSupply,
            "Max mint supply reached"
        );
        _safeMint(msg.sender, quantity);

        for (uint256 i = _currentIndex - quantity; i < _currentIndex; i++) {
        isOwnerMint[i] = true;
        } 
    
    }

    function refund(uint256 tokenId) external override {
        require(block.number < refundDeadlineOf(tokenId), "Refund expired");
        require(msg.sender == ownerOf(tokenId), "Not token owner");

        hasRefunded[tokenId] = true;
        _transfer(msg.sender, refundAddress, tokenId);

        uint256 refundAmount = refundOf(tokenId);
        Address.sendValue(payable(msg.sender), refundAmount);
    }

    function refundDeadlineOf(uint256 tokenId) public override view returns (uint256) {
        if (isOwnerMint[tokenId]) {
            return 0;
        }
        if (isPassMint[tokenId]) {
            return 0;
        }
        if (hasRefunded[tokenId]) {
            return 0;
        }
        return refundEndBlockNumbers[tokenId];
    }



    function refundOf(uint256 tokenId) public override view returns (uint256) {
        if (isOwnerMint[tokenId]) {
            return 0;
        }
        if (hasRefunded[tokenId]) {
            return 0;
        }
        if (isPassMint[tokenId]) {
            return 0;
        }
        if (isPresaleMint[tokenId])  {
            return preSalePrice;
        }
        return mintPrice;
    }


    function withdraw() external onlyOwner {
        require(block.timestamp > refundEndBlockNumber, "Refund period not over");
        uint256 balance = address(this).balance;
        Address.sendValue(payable(owner()), balance);
    }

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

    function setMerkleRoot(bytes32 _root) external onlyOwner {
        merkleRoot = _root;
    }


    function setBaseURI(string calldata _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }



    function togglePassMintStatus() external onlyOwner {
        passmintActive = !passmintActive; 
    }

    function togglePresaleStatus() external onlyOwner {
        presaleActive = !presaleActive;
    }


    function togglePublicSaleStatus() external onlyOwner {
        publicSaleActive = !publicSaleActive;
    }

    function _leaf(address _account) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(_account));
    }

    function _isAllowlisted(
        address _account,
        bytes32[] calldata _proof,
        bytes32 _root
    ) internal pure returns (bool) {
        return MerkleProof.verify(_proof, _root, _leaf(_account));
    }


    function PassClaim (uint256 quantity) public {
    require(passmintActive, "Pass mint is not enabled");
    require( quantity <= holders[msg.sender],
      "Exceeds max mint holder limit per wallet");          

    require(  _totalMinted() + quantity <= maxTotalSupply,
            "Max mint supply reached"
        );

      holders[msg.sender] -= quantity;
     _safeMint(msg.sender, quantity);

    for (uint256 i = _currentIndex - quantity; i < _currentIndex; i++) {
     isPassMint[i] = true;

    }

 }

    function addHolderAddresses() internal {

    holders[0x37cC41fF7f1569365216D9E01231dE1B656bBBFD] = 250;
    holders[0x8Ba4c65D4864074B7DF30ccAC98B766e6aa49E67] = 250;
    holders[0x39F906e8f2AF8Be5AA32C85eE4C6E9344e258076] = 130;
    holders[0x3Ca92d91D27Cf725c0FD3C3929e8f5F8C56424eb] = 70;
    holders[0x22A9F4Ea3b0211F0B29E62B3a7F9A0488DDD1E72] = 50;
    holders[0x45f72B3dd5B25E29169a1e283640E42E7afd632f] = 40;
    holders[0x27bC9C6d4c5D068dfd6D44A4add69BDEBe01E038] = 25;
    holders[0x578bc48EC290109940Bf256005757967f7871489] = 25; 
    holders[0x4fc8B211bbc5fF239c59B425229a410fe9351e52] = 25; 
    holders[0x169540c29A1B43e1fB34CD4034959cD5EaCE9915] = 15;
    holders[0x294CD7Db1DA684d6aB241a885fd94dB07129a2CC] = 15;
    holders[0x40F504f3B71048226b6c36D750162c0A0c418f9e] = 15;
    holders[0x5ed6B949554c688b4E6DCE7F974A18da524C131c] = 15;
    holders[0x6748c23CB9D9F40aC75ec2C43106A8BC3197f82E] = 15;
    holders[0x9A1697167Fe03164a551DaEF72755ee8bD87AAe8] = 15;
    holders[0x25f6D2c65678eE72E3d433D2E561cF3E665c30eF] = 15;
    holders[0xF22bb1C67cefcE284ef9A9B86d9376FeB987F72A] = 15;
    holders[0x2C72bc035Ba6242B7f7B7C1bdf0ed171A7c2b945] = 10;
    holders[0x4A9Cd004Fc51482f101328Cb4Cc95cA65D0411AF] = 10;
    holders[0x7C665F07f04E9e9645876312e67A67c5A091f82b] = 10;
    holders[0xB500C39Ceedd505B4176927D09CDce053A1584f3] = 10;
    holders[0xBbFb6911c17d4759d31044b5C09224E6ef28CFcc] = 10;
    holders[0xc803d31d03813fbE31729bB2370AC663C6F2bF70] = 10;
    holders[0xCD53574C6bB590B532c84960619b9df643cf3426] = 10;
    holders[0xf6B93142da083eE16d691AC22e36F21eA30de4c7] = 10;
    holders[0xe192a07C7A66357BA7D659c38182509FDe1BA5E8] = 10;
    holders[0x27bC9C6d4c5D068dfd6D44A4add69BDEBe01E038] = 10;
    holders[0x0407e799B5ec310f37f77E11bb559bA9AaEadf8c] = 5;
    holders[0x05cBA4BC52982e64532B16D75d6Dc19D74dD8f9a] = 5;
    holders[0x0f5881bfCfEAFDfCb489263b6f283f60E6B63694] = 5;
    holders[0x1a3ECe8c0180bE6c58B9cCe74a45bB374b965488] = 5;
    holders[0x1dD0e48457C79A4f74adf9aDEB582760203984D2] = 5;
    holders[0x2077Cdab8aF6bE537560236589e100a3F2F9e3Ee] = 5;
    holders[0x2248bf80865f89ae6d029c080B344D1B66aCD8C8] = 5;
    holders[0x22d9B7690eDE5eeF0Ea93726D746E98b3dF4Dd99] = 5;
    holders[0x550ABc48F6E437e9572e048ea5027c06f29F675C] = 5;
    holders[0x55d9A171Ffc88F39d45FFfD6893A2207493699a2] = 5;
    holders[0x65B5Ce66AeFF50d8893F117F13eb0C5630a7e1C4] = 5;
    holders[0x6AE7737fFB0E7862de7d6F77F48e72Ac693BC363] = 5;
    holders[0x7932CB7ecD74B556D36Ab8FAbc12D44a3C1365d6] = 5;
    holders[0x8AD7d01f3011797c2b7D33D698a3527B16936744] = 5;
    holders[0x8b34f758c93666a709D2368795485c43d4Ea0E81] = 5;
    holders[0xb22ac5e64E4C00a845f46EBDA8B2450B7f07C6f0] = 5;
    holders[0xED16a4011E979352FDDA19Df55a324AF95124149] = 5;
    holders[0xED8E924735F590572361b52657ABd9A3260F35a0] = 5;
    holders[0xffd023547E93bC5A2cC38Eb6F097518Ff8bd7b0a] = 5;
    holders[0x611aA0D6ccFb697DCD699D191359FD4F970a93Ff] = 5;
    holders[0x40E4D03F8fF764B7857D0Da4181F0f31a7130C34] = 5;
    holders[0xa225bCFE6dA37821d2000437BA7434E4fC21a749] = 5;
    holders[0xd764D596Da84934429059b08c904a013C0afb794] = 5;
    holders[0x3F595Aa56C1e27177eACD7eCD70b7F0Da789ccd6] = 5;
    holders[0xb12Ec04633F183D32F9b52aCcc4D1B41e7dcd601] = 5;
    holders[0x51f126208a5e03d546b30889F7F783dC033D1f3C] = 5;
   } 

}

File 2 of 16 : IERC721R.sol
// SPDX-License-Identifier: MIT
// Creator: Exo Digital Labs

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

/// @notice Refundable EIP-721 tokens
interface IERC721R is IERC165, IERC721 {
    /// @notice           Emitted when a token is refunded
    /// @dev              Emitted by `refund`
    /// @param  _sender   The person that requested a refund
    /// @param  _tokenId  The `tokenId` that was refunded
    event Refund(
        address indexed _sender,
        uint256 indexed _tokenId
    );

    /// @notice         As long as the refund is active for the given `tokenId`, refunds the user
    /// @dev            Make sure to check that the user has the token, and be aware of potential re-entrancy vectors
    /// @param  tokenId The `tokenId` to refund
    function refund(uint256 tokenId) external;

    /// @notice         Gets the refund price of the specific `tokenId`
    /// @param  tokenId The `tokenId` to query
    /// @return _wei    The amount of ether (in wei) that would be refunded
    function refundOf(uint256 tokenId) external view returns (uint256 _wei);
 
    /// @notice         Gets the first block for which the refund is not active for a given `tokenId`
    /// @param  tokenId The `tokenId` to query
    /// @return _block   The block beyond which the token cannot be refunded
    function refundDeadlineOf(uint256 tokenId) external view returns (uint256 _block);
}

File 3 of 16 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs
// Forked to make private methods internal instead

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

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

    // Token name
    string internal _name;

    // Token symbol
    string internal _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) internal _addressData;

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

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

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

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

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

    /**
     * Sets the auxillary 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 {
        _addressData[owner].aux = aux;
    }

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

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

    /**
     * @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.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // 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 {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) internal {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

File 4 of 16 : Multicall.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Multicall.sol)

pragma solidity ^0.8.0;

import "./Address.sol";

/**
 * @dev Provides a function to batch together multiple calls in a single external call.
 *
 * _Available since v4.1._
 */
abstract contract Multicall {
    /**
     * @dev Receives and executes a batch of function calls on this contract.
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function multicall(bytes[] calldata data) external virtual returns (bytes[] memory results) {
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            results[i] = Address.functionDelegateCall(address(this), data[i]);
        }
        return results;
    }
}

File 5 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 6 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proofLen - 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 from 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) {
            require(proofPos == proofLen, "MerkleProof: invalid multiproof");
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proofLen - 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 from 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) {
            require(proofPos == proofLen, "MerkleProof: invalid multiproof");
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

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

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

File 7 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

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

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

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

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

File 8 of 16 : 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 9 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 11 of 16 : 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 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

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

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

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

    /**
     * @dev 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

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

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

File 13 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

File 14 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 16 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 16 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Refund","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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"PassClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hasRefunded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isOwnerMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isPassMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isPresaleMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isPublicMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxUserMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWLMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","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":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"passmintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleRefundEndBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"refundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"refundDeadlineOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundEndBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"refundEndBlockNumbers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"refundOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","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":"togglePassMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleStatus","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600981526020017f4669617450756e6b7300000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f666961740000000000000000000000000000000000000000000000000000000081525081600290816200008f91906200170d565b508060039081620000a191906200170d565b50620000b26200015160201b60201c565b6000819055505050620000da620000ce6200015660201b60201c565b6200015e60201b60201c565b30600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506202a300436200012c919062001823565b600c81905550600c54600b819055506200014b6200022460201b60201c565b6200185e565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60fa601360007337cc41ff7f1569365216d9e01231de1b656bbbfd73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060fa60136000738ba4c65d4864074b7df30ccac98b766e6aa49e6773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506082601360007339f906e8f2af8be5aa32c85ee4c6e9344e25807673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550604660136000733ca92d91d27cf725c0fd3c3929e8f5f8c56424eb73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506032601360007322a9f4ea3b0211f0b29e62b3a7f9a0488ddd1e7273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506028601360007345f72b3dd5b25e29169a1e283640e42e7afd632f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506019601360007327bc9c6d4c5d068dfd6d44a4add69bdebe01e03873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060196013600073578bc48ec290109940bf256005757967f787148973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601960136000734fc8b211bbc5ff239c59b425229a410fe9351e5273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f6013600073169540c29a1b43e1fb34cd4034959cd5eace991573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f6013600073294cd7db1da684d6ab241a885fd94db07129a2cc73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f601360007340f504f3b71048226b6c36d750162c0a0c418f9e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f60136000735ed6b949554c688b4e6dce7f974a18da524c131c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f60136000736748c23cb9d9f40ac75ec2c43106a8bc3197f82e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f60136000739a1697167fe03164a551daef72755ee8bd87aae873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f601360007325f6d2c65678ee72e3d433d2e561cf3e665c30ef73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f6013600073f22bb1c67cefce284ef9a9b86d9376feb987f72a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60136000732c72bc035ba6242b7f7b7c1bdf0ed171a7c2b94573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60136000734a9cd004fc51482f101328cb4cc95ca65d0411af73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60136000737c665f07f04e9e9645876312e67a67c5a091f82b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6013600073b500c39ceedd505b4176927d09cdce053a1584f373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6013600073bbfb6911c17d4759d31044b5c09224e6ef28cfcc73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6013600073c803d31d03813fbe31729bb2370ac663c6f2bf7073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6013600073cd53574c6bb590b532c84960619b9df643cf342673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6013600073f6b93142da083ee16d691ac22e36f21ea30de4c773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6013600073e192a07c7a66357ba7d659c38182509fde1ba5e873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a601360007327bc9c6d4c5d068dfd6d44a4add69bdebe01e03873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000730407e799b5ec310f37f77e11bb559ba9aaeadf8c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506005601360007305cba4bc52982e64532b16d75d6dc19d74dd8f9a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000730f5881bfcfeafdfcb489263b6f283f60e6b6369473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000731a3ece8c0180be6c58b9cce74a45bb374b96548873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000731dd0e48457c79a4f74adf9adeb582760203984d273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000732077cdab8af6be537560236589e100a3f2f9e3ee73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000732248bf80865f89ae6d029c080b344d1b66acd8c873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506005601360007322d9b7690ede5eef0ea93726d746e98b3df4dd9973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073550abc48f6e437e9572e048ea5027c06f29f675c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506005601360007355d9a171ffc88f39d45fffd6893a2207493699a273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506005601360007365b5ce66aeff50d8893f117f13eb0c5630a7e1c473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000736ae7737ffb0e7862de7d6f77f48e72ac693bc36373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000737932cb7ecd74b556d36ab8fabc12d44a3c1365d673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000738ad7d01f3011797c2b7d33d698a3527b1693674473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000738b34f758c93666a709d2368795485c43d4ea0e8173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073b22ac5e64e4c00a845f46ebda8b2450b7f07c6f073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073ed16a4011e979352fdda19df55a324af9512414973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073ed8e924735f590572361b52657abd9a3260f35a073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073ffd023547e93bc5a2cc38eb6f097518ff8bd7b0a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073611aa0d6ccfb697dcd699d191359fd4f970a93ff73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506005601360007340e4d03f8ff764b7857d0da4181f0f31a7130c3473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073a225bcfe6da37821d2000437ba7434e4fc21a74973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073d764d596da84934429059b08c904a013c0afb79473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560136000733f595aa56c1e27177eacd7ecd70b7f0da789ccd673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060056013600073b12ec04633f183d32f9b52accc4d1b41e7dcd60173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506005601360007351f126208a5e03d546b30889f7f783dc033d1f3c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200151557607f821691505b6020821081036200152b576200152a620014cd565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620015957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262001556565b620015a1868362001556565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620015ee620015e8620015e284620015b9565b620015c3565b620015b9565b9050919050565b6000819050919050565b6200160a83620015cd565b620016226200161982620015f5565b84845462001563565b825550505050565b600090565b620016396200162a565b62001646818484620015ff565b505050565b5b818110156200166e57620016626000826200162f565b6001810190506200164c565b5050565b601f821115620016bd57620016878162001531565b620016928462001546565b81016020851015620016a2578190505b620016ba620016b18562001546565b8301826200164b565b50505b505050565b600082821c905092915050565b6000620016e260001984600802620016c2565b1980831691505092915050565b6000620016fd8383620016cf565b9150826002028217905092915050565b620017188262001493565b67ffffffffffffffff8111156200173457620017336200149e565b5b620017408254620014fc565b6200174d82828562001672565b600060209050601f83116001811462001785576000841562001770578287015190505b6200177c8582620016ef565b865550620017ec565b601f198416620017958662001531565b60005b82811015620017bf5784890151825560018201915060208501945060208101905062001798565b86831015620017df5784890151620017db601f891682620016cf565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200183082620015b9565b91506200183d83620015b9565b9250828201905080821115620018585762001857620017f4565b5b92915050565b61515d806200186e6000396000f3fe6080604052600436106102e45760003560e01c80636817c76c11610190578063ac9650d8116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610b36578063f19e75d414610b73578063f2fde38b14610b9c578063f7a3031314610bc5576102e4565b8063c87b56dd14610aa3578063dbbc5c1714610ae0578063e757c17d14610b0b576102e4565b8063ac9650d8146109a2578063b3ab66b0146109df578063b88d4fde146109fb578063b9ad9fde14610a24578063bc8893b414610a3b578063c23fcdef14610a66576102e4565b80638960abf511610149578063921d28a911610123578063921d28a9146108f857806395d89b4114610923578063a22cb4651461094e578063a6a3b5b414610977576102e4565b80638960abf5146108775780638b07bbdf146108a25780638da5cb5b146108cd576102e4565b80636817c76c1461077b57806370a08231146107a6578063715018a6146107e35780637bffb4ce146107fa5780637cb647591461081157806381a491741461083a576102e4565b8063278ecde11161024f5780634c220f6e1161020857806355f804b3116101e257806355f804b3146106ad5780635e7b9374146106d65780636352211e1461071357806366f1ae8e14610750576102e4565b80634c220f6e146106295780634f5560161461064557806353135ca014610682576102e4565b8063278ecde1146105415780632ab4d0521461056a5780632eb4a7ab1461059557806331948a9b146105c05780633ccfd60b146105e957806342842e0e14610600576102e4565b806318160ddd116102a157806318160ddd146103f957806318a5bbdc146104245780631aaeac08146104615780631fdf6ecf1461049e578063223e1162146104db57806323b872dd14610518576102e4565b806301ffc9a7146102e957806306269dae1461032657806306fdde031461033d578063081812fc14610368578063095ea7b3146103a55780630cb61f6c146103ce575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b919061386f565b610c02565b60405161031d91906138b7565b60405180910390f35b34801561033257600080fd5b5061033b610ce4565b005b34801561034957600080fd5b50610352610d18565b60405161035f9190613962565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a91906139ba565b610daa565b60405161039c9190613a28565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c79190613a6f565b610e26565b005b3480156103da57600080fd5b506103e3610f30565b6040516103f09190613a28565b60405180910390f35b34801561040557600080fd5b5061040e610f56565b60405161041b9190613abe565b60405180910390f35b34801561043057600080fd5b5061044b60048036038101906104469190613ad9565b610f6d565b6040516104589190613abe565b60405180910390f35b34801561046d57600080fd5b50610488600480360381019061048391906139ba565b610f85565b6040516104959190613abe565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c091906139ba565b610f9d565b6040516104d291906138b7565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd91906139ba565b610fbd565b60405161050f91906138b7565b60405180910390f35b34801561052457600080fd5b5061053f600480360381019061053a9190613b06565b610fdd565b005b34801561054d57600080fd5b50610568600480360381019061056391906139ba565b610fed565b005b34801561057657600080fd5b5061057f611121565b60405161058c9190613abe565b60405180910390f35b3480156105a157600080fd5b506105aa611127565b6040516105b79190613b72565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e291906139ba565b61112d565b005b3480156105f557600080fd5b506105fe611315565b005b34801561060c57600080fd5b5061062760048036038101906106229190613b06565b61137a565b005b610643600480360381019061063e9190613bf2565b61139a565b005b34801561065157600080fd5b5061066c600480360381019061066791906139ba565b61153d565b6040516106799190613abe565b60405180910390f35b34801561068e57600080fd5b506106976115e8565b6040516106a491906138b7565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf9190613ca8565b6115fb565b005b3480156106e257600080fd5b506106fd60048036038101906106f891906139ba565b611619565b60405161070a91906138b7565b60405180910390f35b34801561071f57600080fd5b5061073a600480360381019061073591906139ba565b611639565b6040516107479190613a28565b60405180910390f35b34801561075c57600080fd5b5061076561164f565b6040516107729190613abe565b60405180910390f35b34801561078757600080fd5b50610790611655565b60405161079d9190613abe565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c89190613ad9565b611660565b6040516107da9190613abe565b60405180910390f35b3480156107ef57600080fd5b506107f861172f565b005b34801561080657600080fd5b5061080f611743565b005b34801561081d57600080fd5b5061083860048036038101906108339190613d21565b611777565b005b34801561084657600080fd5b50610861600480360381019061085c91906139ba565b611789565b60405161086e9190613abe565b60405180910390f35b34801561088357600080fd5b5061088c61185d565b60405161089991906138b7565b60405180910390f35b3480156108ae57600080fd5b506108b7611870565b6040516108c49190613abe565b60405180910390f35b3480156108d957600080fd5b506108e2611876565b6040516108ef9190613a28565b60405180910390f35b34801561090457600080fd5b5061090d6118a0565b60405161091a9190613abe565b60405180910390f35b34801561092f57600080fd5b506109386118a5565b6040516109459190613962565b60405180910390f35b34801561095a57600080fd5b5061097560048036038101906109709190613d7a565b611937565b005b34801561098357600080fd5b5061098c611aae565b6040516109999190613abe565b60405180910390f35b3480156109ae57600080fd5b506109c960048036038101906109c49190613e10565b611ab5565b6040516109d69190613f74565b60405180910390f35b6109f960048036038101906109f491906139ba565b611bc1565b005b348015610a0757600080fd5b50610a226004803603810190610a1d91906140c6565b611ddd565b005b348015610a3057600080fd5b50610a39611e59565b005b348015610a4757600080fd5b50610a50611e8d565b604051610a5d91906138b7565b60405180910390f35b348015610a7257600080fd5b50610a8d6004803603810190610a8891906139ba565b611ea0565b604051610a9a91906138b7565b60405180910390f35b348015610aaf57600080fd5b50610aca6004803603810190610ac591906139ba565b611ec0565b604051610ad79190613962565b60405180910390f35b348015610aec57600080fd5b50610af5611f5e565b604051610b029190613abe565b60405180910390f35b348015610b1757600080fd5b50610b20611f63565b604051610b2d9190613abe565b60405180910390f35b348015610b4257600080fd5b50610b5d6004803603810190610b589190614149565b611f6e565b604051610b6a91906138b7565b60405180910390f35b348015610b7f57600080fd5b50610b9a6004803603810190610b9591906139ba565b612002565b005b348015610ba857600080fd5b50610bc36004803603810190610bbe9190613ad9565b6120cb565b005b348015610bd157600080fd5b50610bec6004803603810190610be791906139ba565b61214e565b604051610bf991906138b7565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ccd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cdd5750610cdc8261216e565b5b9050919050565b610cec6121d8565b600860169054906101000a900460ff1615600860166101000a81548160ff021916908315150217905550565b606060028054610d27906141b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d53906141b8565b8015610da05780601f10610d7557610100808354040283529160200191610da0565b820191906000526020600020905b815481529060010190602001808311610d8357829003601f168201915b5050505050905090565b6000610db582612256565b610deb576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e3182611639565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e98576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610eb76122a4565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ee95750610ee781610ee26122a4565b611f6e565b155b15610f20576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f2b8383836122ac565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610f6061235e565b6001546000540303905090565b60136020528060005260406000206000915090505481565b600d6020528060005260406000206000915090505481565b60126020528060005260406000206000915054906101000a900460ff1681565b60106020528060005260406000206000915054906101000a900460ff1681565b610fe8838383612363565b505050565b610ff68161153d565b4310611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e90614235565b60405180910390fd5b61104081611639565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a4906142a1565b60405180910390fd5b6001600e600083815260200190815260200160002060006101000a81548160ff02191690831515021790555061110633600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612363565b600061111182611789565b905061111d3382612817565b5050565b61271081565b600a5481565b600860169054906101000a900460ff1661117c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111739061430d565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f59061439f565b60405180910390fd5b6127108161120a61290b565b61121491906143ee565b1115611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c9061446e565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112a4919061448e565b925050819055506112b5338261291e565b6000816000546112c5919061448e565b90505b6000548110156113115760016012600083815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611309906144c2565b9150506112c8565b5050565b61131d6121d8565b600c544211611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890614556565b60405180910390fd5b6000479050611377611371611876565b82612817565b50565b61139583838360405180602001604052806000815250611ddd565b505050565b600860159054906101000a900460ff166113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e0906145c2565b60405180910390fd5b6608e1bc9bf04000836113fc91906145e2565b341461143d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143490614670565b60405180910390fd5b61144b338383600a5461293c565b61148a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611481906146dc565b60405180910390fd5b600a836114963361299c565b6114a091906143ee565b11156114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d890614748565b60405180910390fd5b612710836114ed61290b565b6114f791906143ee565b1115611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f906147b4565b60405180910390fd5b505050565b6000600f600083815260200190815260200160002060009054906101000a900460ff161561156e57600090506115e3565b6012600083815260200190815260200160002060009054906101000a900460ff161561159d57600090506115e3565b600e600083815260200190815260200160002060009054906101000a900460ff16156115cc57600090506115e3565b600d60008381526020019081526020016000205490505b919050565b600860159054906101000a900460ff1681565b6116036121d8565b81816014918261161492919061498b565b505050565b60116020528060005260406000206000915054906101000a900460ff1681565b600061164482612a06565b600001519050919050565b600c5481565b660a4d88ddd9400081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116c7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117376121d8565b6117416000612c95565b565b61174b6121d8565b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b61177f6121d8565b80600a8190555050565b6000600f600083815260200190815260200160002060009054906101000a900460ff16156117ba5760009050611858565b600e600083815260200190815260200160002060009054906101000a900460ff16156117e95760009050611858565b6012600083815260200190815260200160002060009054906101000a900460ff16156118185760009050611858565b6010600083815260200190815260200160002060009054906101000a900460ff161561184d576608e1bc9bf040009050611858565b660a4d88ddd9400090505b919050565b600860169054906101000a900460ff1681565b600b5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600581565b6060600380546118b4906141b8565b80601f01602080910402602001604051908101604052809291908181526020018280546118e0906141b8565b801561192d5780601f106119025761010080835404028352916020019161192d565b820191906000526020600020905b81548152906001019060200180831161191057829003601f168201915b5050505050905090565b61193f6122a4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119a3576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119b06122a4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a5d6122a4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aa291906138b7565b60405180910390a35050565b6202a30081565b60608282905067ffffffffffffffff811115611ad457611ad3613f9b565b5b604051908082528060200260200182016040528015611b0757816020015b6060815260200190600190039081611af25790505b50905060005b83839050811015611bba57611b8930858584818110611b2f57611b2e614a5b565b5b9050602002810190611b419190614a99565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612d5b565b828281518110611b9c57611b9b614a5b565b5b60200260200101819052508080611bb2906144c2565b915050611b0d565b5092915050565b600860149054906101000a900460ff16611c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0790614b48565b60405180910390fd5b660a4d88ddd9400081611c2391906145e2565b341015611c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5c90614bb4565b60405180910390fd5b600581611c713361299c565b611c7b91906143ee565b1115611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb390614c20565b60405180910390fd5b61271081611cc861290b565b611cd291906143ee565b1115611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a9061446e565b60405180910390fd5b611d1d338261291e565b6202a30043611d2c91906143ee565b600c81905550600081600054611d42919061448e565b90505b600054811015611d7c57600c54600d6000838152602001908152602001600020819055508080611d74906144c2565b915050611d45565b50600081600054611d8d919061448e565b90505b600054811015611dd95760016011600083815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611dd1906144c2565b915050611d90565b5050565b611de8848484612363565b611e078373ffffffffffffffffffffffffffffffffffffffff16612d88565b8015611e1c5750611e1a84848484612dab565b155b15611e53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611e616121d8565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b600860149054906101000a900460ff1681565b600e6020528060005260406000206000915054906101000a900460ff1681565b6060611ecb82612256565b611f01576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f0b612efb565b90506000815103611f2b5760405180602001604052806000815250611f56565b80611f3584612f8d565b604051602001611f46929190614c7c565b6040516020818303038152906040525b915050919050565b600a81565b6608e1bc9bf0400081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61200a6121d8565b6127108161201661290b565b61202091906143ee565b1115612061576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120589061446e565b60405180910390fd5b61206b338261291e565b60008160005461207b919061448e565b90505b6000548110156120c7576001600f600083815260200190815260200160002060006101000a81548160ff02191690831515021790555080806120bf906144c2565b91505061207e565b5050565b6120d36121d8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213990614d12565b60405180910390fd5b61214b81612c95565b50565b600f6020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6121e06122a4565b73ffffffffffffffffffffffffffffffffffffffff166121fe611876565b73ffffffffffffffffffffffffffffffffffffffff1614612254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224b90614d7e565b60405180910390fd5b565b60008161226161235e565b11158015612270575060005482105b801561229d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061236e82612a06565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123d9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166123fa6122a4565b73ffffffffffffffffffffffffffffffffffffffff1614806124295750612428856124236122a4565b611f6e565b5b8061246e57506124376122a4565b73ffffffffffffffffffffffffffffffffffffffff1661245684610daa565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806124a7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361250d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61251a858585600161305b565b612526600084876122ac565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036127a55760005482146127a457878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128108585856001613061565b5050505050565b8047101561285a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285190614dea565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161288090614e3b565b60006040518083038185875af1925050503d80600081146128bd576040519150601f19603f3d011682016040523d82523d6000602084013e6128c2565b606091505b5050905080612906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fd90614ec2565b60405180910390fd5b505050565b600061291561235e565b60005403905090565b612938828260405180602001604052806000815250613067565b5050565b6000612992848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508361298d88613079565b6130a9565b9050949350505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612a0e6137c0565b600082905080612a1c61235e565b11158015612a2b575060005481105b15612c5e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612c5c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b40578092505050612c90565b5b600115612c5b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c56578092505050612c90565b612b41565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060612d808383604051806060016040528060278152602001615101602791396130c0565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dd16122a4565b8786866040518563ffffffff1660e01b8152600401612df39493929190614f2c565b6020604051808303816000875af1925050508015612e2f57506040513d601f19601f82011682018060405250810190612e2c9190614f8d565b60015b612ea8573d8060008114612e5f576040519150601f19603f3d011682016040523d82523d6000602084013e612e64565b606091505b506000815103612ea0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060148054612f0a906141b8565b80601f0160208091040260200160405190810160405280929190818152602001828054612f36906141b8565b8015612f835780601f10612f5857610100808354040283529160200191612f83565b820191906000526020600020905b815481529060010190602001808311612f6657829003601f168201915b5050505050905090565b606060006001612f9c84613146565b01905060008167ffffffffffffffff811115612fbb57612fba613f9b565b5b6040519080825280601f01601f191660200182016040528015612fed5781602001600182028036833780820191505090505b509050600082602001820190505b600115613050578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161304457613043614fba565b5b04945060008503612ffb575b819350505050919050565b50505050565b50505050565b6130748383836001613299565b505050565b60008160405160200161308c9190615031565b604051602081830303815290604052805190602001209050919050565b6000826130b68584613663565b1490509392505050565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516130ea919061507d565b600060405180830381855af49150503d8060008114613125576040519150601f19603f3d011682016040523d82523d6000602084013e61312a565b606091505b509150915061313b868383876136b9565b925050509392505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106131a4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161319a57613199614fba565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106131e1576d04ee2d6d415b85acef810000000083816131d7576131d6614fba565b5b0492506020810190505b662386f26fc10000831061321057662386f26fc10000838161320657613205614fba565b5b0492506010810190505b6305f5e1008310613239576305f5e100838161322f5761322e614fba565b5b0492506008810190505b612710831061325e57612710838161325457613253614fba565b5b0492506004810190505b60648310613281576064838161327757613276614fba565b5b0492506002810190505b600a8310613290576001810190505b80915050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613305576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361333f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61334c600086838761305b565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561351657506135158773ffffffffffffffffffffffffffffffffffffffff16612d88565b5b156135db575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461358b6000888480600101955088612dab565b6135c1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361351c5782600054146135d657600080fd5b613646565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036135dc575b81600081905550505061365c6000868387613061565b5050505050565b60008082905060005b84518110156136ae576136998286838151811061368c5761368b614a5b565b5b602002602001015161372e565b915080806136a6906144c2565b91505061366c565b508091505092915050565b6060831561371b576000835103613713576136d385612d88565b613712576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613709906150e0565b60405180910390fd5b5b829050613726565b6137258383613759565b5b949350505050565b60008183106137465761374182846137a9565b613751565b61375083836137a9565b5b905092915050565b60008251111561376c5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137a09190613962565b60405180910390fd5b600082600052816020526040600020905092915050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61384c81613817565b811461385757600080fd5b50565b60008135905061386981613843565b92915050565b6000602082840312156138855761388461380d565b5b60006138938482850161385a565b91505092915050565b60008115159050919050565b6138b18161389c565b82525050565b60006020820190506138cc60008301846138a8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561390c5780820151818401526020810190506138f1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613934826138d2565b61393e81856138dd565b935061394e8185602086016138ee565b61395781613918565b840191505092915050565b6000602082019050818103600083015261397c8184613929565b905092915050565b6000819050919050565b61399781613984565b81146139a257600080fd5b50565b6000813590506139b48161398e565b92915050565b6000602082840312156139d0576139cf61380d565b5b60006139de848285016139a5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a12826139e7565b9050919050565b613a2281613a07565b82525050565b6000602082019050613a3d6000830184613a19565b92915050565b613a4c81613a07565b8114613a5757600080fd5b50565b600081359050613a6981613a43565b92915050565b60008060408385031215613a8657613a8561380d565b5b6000613a9485828601613a5a565b9250506020613aa5858286016139a5565b9150509250929050565b613ab881613984565b82525050565b6000602082019050613ad36000830184613aaf565b92915050565b600060208284031215613aef57613aee61380d565b5b6000613afd84828501613a5a565b91505092915050565b600080600060608486031215613b1f57613b1e61380d565b5b6000613b2d86828701613a5a565b9350506020613b3e86828701613a5a565b9250506040613b4f868287016139a5565b9150509250925092565b6000819050919050565b613b6c81613b59565b82525050565b6000602082019050613b876000830184613b63565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613bb257613bb1613b8d565b5b8235905067ffffffffffffffff811115613bcf57613bce613b92565b5b602083019150836020820283011115613beb57613bea613b97565b5b9250929050565b600080600060408486031215613c0b57613c0a61380d565b5b6000613c19868287016139a5565b935050602084013567ffffffffffffffff811115613c3a57613c39613812565b5b613c4686828701613b9c565b92509250509250925092565b60008083601f840112613c6857613c67613b8d565b5b8235905067ffffffffffffffff811115613c8557613c84613b92565b5b602083019150836001820283011115613ca157613ca0613b97565b5b9250929050565b60008060208385031215613cbf57613cbe61380d565b5b600083013567ffffffffffffffff811115613cdd57613cdc613812565b5b613ce985828601613c52565b92509250509250929050565b613cfe81613b59565b8114613d0957600080fd5b50565b600081359050613d1b81613cf5565b92915050565b600060208284031215613d3757613d3661380d565b5b6000613d4584828501613d0c565b91505092915050565b613d578161389c565b8114613d6257600080fd5b50565b600081359050613d7481613d4e565b92915050565b60008060408385031215613d9157613d9061380d565b5b6000613d9f85828601613a5a565b9250506020613db085828601613d65565b9150509250929050565b60008083601f840112613dd057613dcf613b8d565b5b8235905067ffffffffffffffff811115613ded57613dec613b92565b5b602083019150836020820283011115613e0957613e08613b97565b5b9250929050565b60008060208385031215613e2757613e2661380d565b5b600083013567ffffffffffffffff811115613e4557613e44613812565b5b613e5185828601613dba565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600081519050919050565b600082825260208201905092915050565b6000613eb082613e89565b613eba8185613e94565b9350613eca8185602086016138ee565b613ed381613918565b840191505092915050565b6000613eea8383613ea5565b905092915050565b6000602082019050919050565b6000613f0a82613e5d565b613f148185613e68565b935083602082028501613f2685613e79565b8060005b85811015613f625784840389528151613f438582613ede565b9450613f4e83613ef2565b925060208a01995050600181019050613f2a565b50829750879550505050505092915050565b60006020820190508181036000830152613f8e8184613eff565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fd382613918565b810181811067ffffffffffffffff82111715613ff257613ff1613f9b565b5b80604052505050565b6000614005613803565b90506140118282613fca565b919050565b600067ffffffffffffffff82111561403157614030613f9b565b5b61403a82613918565b9050602081019050919050565b82818337600083830152505050565b600061406961406484614016565b613ffb565b90508281526020810184848401111561408557614084613f96565b5b614090848285614047565b509392505050565b600082601f8301126140ad576140ac613b8d565b5b81356140bd848260208601614056565b91505092915050565b600080600080608085870312156140e0576140df61380d565b5b60006140ee87828801613a5a565b94505060206140ff87828801613a5a565b9350506040614110878288016139a5565b925050606085013567ffffffffffffffff81111561413157614130613812565b5b61413d87828801614098565b91505092959194509250565b600080604083850312156141605761415f61380d565b5b600061416e85828601613a5a565b925050602061417f85828601613a5a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806141d057607f821691505b6020821081036141e3576141e2614189565b5b50919050565b7f526566756e642065787069726564000000000000000000000000000000000000600082015250565b600061421f600e836138dd565b915061422a826141e9565b602082019050919050565b6000602082019050818103600083015261424e81614212565b9050919050565b7f4e6f7420746f6b656e206f776e65720000000000000000000000000000000000600082015250565b600061428b600f836138dd565b915061429682614255565b602082019050919050565b600060208201905081810360008301526142ba8161427e565b9050919050565b7f50617373206d696e74206973206e6f7420656e61626c65640000000000000000600082015250565b60006142f76018836138dd565b9150614302826142c1565b602082019050919050565b60006020820190508181036000830152614326816142ea565b9050919050565b7f45786365656473206d6178206d696e7420686f6c646572206c696d697420706560008201527f722077616c6c6574000000000000000000000000000000000000000000000000602082015250565b60006143896028836138dd565b91506143948261432d565b604082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143f982613984565b915061440483613984565b925082820190508082111561441c5761441b6143bf565b5b92915050565b7f4d6178206d696e7420737570706c792072656163686564000000000000000000600082015250565b60006144586017836138dd565b915061446382614422565b602082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b600061449982613984565b91506144a483613984565b92508282039050818111156144bc576144bb6143bf565b5b92915050565b60006144cd82613984565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036144ff576144fe6143bf565b5b600182019050919050565b7f526566756e6420706572696f64206e6f74206f76657200000000000000000000600082015250565b60006145406016836138dd565b915061454b8261450a565b602082019050919050565b6000602082019050818103600083015261456f81614533565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b60006145ac6015836138dd565b91506145b782614576565b602082019050919050565b600060208201905081810360008301526145db8161459f565b9050919050565b60006145ed82613984565b91506145f883613984565b925082820261460681613984565b9150828204841483151761461d5761461c6143bf565b5b5092915050565b7f56616c7565000000000000000000000000000000000000000000000000000000600082015250565b600061465a6005836138dd565b915061466582614624565b602082019050919050565b600060208201905081810360008301526146898161464d565b9050919050565b7f4e6f74206f6e20616c6c6f77206c697374000000000000000000000000000000600082015250565b60006146c66011836138dd565b91506146d182614690565b602082019050919050565b600060208201905081810360008301526146f5816146b9565b9050919050565b7f4d617820616d6f756e7400000000000000000000000000000000000000000000600082015250565b6000614732600a836138dd565b915061473d826146fc565b602082019050919050565b6000602082019050818103600083015261476181614725565b9050919050565b7f4d6178206d696e7420737570706c790000000000000000000000000000000000600082015250565b600061479e600f836138dd565b91506147a982614768565b602082019050919050565b600060208201905081810360008301526147cd81614791565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026148417fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614804565b61484b8683614804565b95508019841693508086168417925050509392505050565b6000819050919050565b600061488861488361487e84613984565b614863565b613984565b9050919050565b6000819050919050565b6148a28361486d565b6148b66148ae8261488f565b848454614811565b825550505050565b600090565b6148cb6148be565b6148d6818484614899565b505050565b5b818110156148fa576148ef6000826148c3565b6001810190506148dc565b5050565b601f82111561493f57614910816147df565b614919846147f4565b81016020851015614928578190505b61493c614934856147f4565b8301826148db565b50505b505050565b600082821c905092915050565b600061496260001984600802614944565b1980831691505092915050565b600061497b8383614951565b9150826002028217905092915050565b61499583836147d4565b67ffffffffffffffff8111156149ae576149ad613f9b565b5b6149b882546141b8565b6149c38282856148fe565b6000601f8311600181146149f257600084156149e0578287013590505b6149ea858261496f565b865550614a52565b601f198416614a00866147df565b60005b82811015614a2857848901358255600182019150602085019450602081019050614a03565b86831015614a455784890135614a41601f891682614951565b8355505b6001600288020188555050505b50505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614ab657614ab5614a8a565b5b80840192508235915067ffffffffffffffff821115614ad857614ad7614a8f565b5b602083019250600182023603831315614af457614af3614a94565b5b509250929050565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b6000614b326019836138dd565b9150614b3d82614afc565b602082019050919050565b60006020820190508181036000830152614b6181614b25565b9050919050565b7f4e6f7420656e6f756768206574682073656e7400000000000000000000000000600082015250565b6000614b9e6013836138dd565b9150614ba982614b68565b602082019050919050565b60006020820190508181036000830152614bcd81614b91565b9050919050565b7f4f766572206d696e74206c696d69740000000000000000000000000000000000600082015250565b6000614c0a600f836138dd565b9150614c1582614bd4565b602082019050919050565b60006020820190508181036000830152614c3981614bfd565b9050919050565b600081905092915050565b6000614c56826138d2565b614c608185614c40565b9350614c708185602086016138ee565b80840191505092915050565b6000614c888285614c4b565b9150614c948284614c4b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cfc6026836138dd565b9150614d0782614ca0565b604082019050919050565b60006020820190508181036000830152614d2b81614cef565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d686020836138dd565b9150614d7382614d32565b602082019050919050565b60006020820190508181036000830152614d9781614d5b565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614dd4601d836138dd565b9150614ddf82614d9e565b602082019050919050565b60006020820190508181036000830152614e0381614dc7565b9050919050565b600081905092915050565b50565b6000614e25600083614e0a565b9150614e3082614e15565b600082019050919050565b6000614e4682614e18565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614eac603a836138dd565b9150614eb782614e50565b604082019050919050565b60006020820190508181036000830152614edb81614e9f565b9050919050565b600082825260208201905092915050565b6000614efe82613e89565b614f088185614ee2565b9350614f188185602086016138ee565b614f2181613918565b840191505092915050565b6000608082019050614f416000830187613a19565b614f4e6020830186613a19565b614f5b6040830185613aaf565b8181036060830152614f6d8184614ef3565b905095945050505050565b600081519050614f8781613843565b92915050565b600060208284031215614fa357614fa261380d565b5b6000614fb184828501614f78565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008160601b9050919050565b600061500182614fe9565b9050919050565b600061501382614ff6565b9050919050565b61502b61502682613a07565b615008565b82525050565b600061503d828461501a565b60148201915081905092915050565b600061505782613e89565b6150618185614e0a565b93506150718185602086016138ee565b80840191505092915050565b6000615089828461504c565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006150ca601d836138dd565b91506150d582615094565b602082019050919050565b600060208201905081810360008301526150f9816150bd565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220a0cd24fd2cf30bd13c7961cd56dbddb3872be077dc36bdcb346e514cfce41ab564736f6c63430008120033

Deployed Bytecode

0x6080604052600436106102e45760003560e01c80636817c76c11610190578063ac9650d8116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610b36578063f19e75d414610b73578063f2fde38b14610b9c578063f7a3031314610bc5576102e4565b8063c87b56dd14610aa3578063dbbc5c1714610ae0578063e757c17d14610b0b576102e4565b8063ac9650d8146109a2578063b3ab66b0146109df578063b88d4fde146109fb578063b9ad9fde14610a24578063bc8893b414610a3b578063c23fcdef14610a66576102e4565b80638960abf511610149578063921d28a911610123578063921d28a9146108f857806395d89b4114610923578063a22cb4651461094e578063a6a3b5b414610977576102e4565b80638960abf5146108775780638b07bbdf146108a25780638da5cb5b146108cd576102e4565b80636817c76c1461077b57806370a08231146107a6578063715018a6146107e35780637bffb4ce146107fa5780637cb647591461081157806381a491741461083a576102e4565b8063278ecde11161024f5780634c220f6e1161020857806355f804b3116101e257806355f804b3146106ad5780635e7b9374146106d65780636352211e1461071357806366f1ae8e14610750576102e4565b80634c220f6e146106295780634f5560161461064557806353135ca014610682576102e4565b8063278ecde1146105415780632ab4d0521461056a5780632eb4a7ab1461059557806331948a9b146105c05780633ccfd60b146105e957806342842e0e14610600576102e4565b806318160ddd116102a157806318160ddd146103f957806318a5bbdc146104245780631aaeac08146104615780631fdf6ecf1461049e578063223e1162146104db57806323b872dd14610518576102e4565b806301ffc9a7146102e957806306269dae1461032657806306fdde031461033d578063081812fc14610368578063095ea7b3146103a55780630cb61f6c146103ce575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b919061386f565b610c02565b60405161031d91906138b7565b60405180910390f35b34801561033257600080fd5b5061033b610ce4565b005b34801561034957600080fd5b50610352610d18565b60405161035f9190613962565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a91906139ba565b610daa565b60405161039c9190613a28565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c79190613a6f565b610e26565b005b3480156103da57600080fd5b506103e3610f30565b6040516103f09190613a28565b60405180910390f35b34801561040557600080fd5b5061040e610f56565b60405161041b9190613abe565b60405180910390f35b34801561043057600080fd5b5061044b60048036038101906104469190613ad9565b610f6d565b6040516104589190613abe565b60405180910390f35b34801561046d57600080fd5b50610488600480360381019061048391906139ba565b610f85565b6040516104959190613abe565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c091906139ba565b610f9d565b6040516104d291906138b7565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd91906139ba565b610fbd565b60405161050f91906138b7565b60405180910390f35b34801561052457600080fd5b5061053f600480360381019061053a9190613b06565b610fdd565b005b34801561054d57600080fd5b50610568600480360381019061056391906139ba565b610fed565b005b34801561057657600080fd5b5061057f611121565b60405161058c9190613abe565b60405180910390f35b3480156105a157600080fd5b506105aa611127565b6040516105b79190613b72565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e291906139ba565b61112d565b005b3480156105f557600080fd5b506105fe611315565b005b34801561060c57600080fd5b5061062760048036038101906106229190613b06565b61137a565b005b610643600480360381019061063e9190613bf2565b61139a565b005b34801561065157600080fd5b5061066c600480360381019061066791906139ba565b61153d565b6040516106799190613abe565b60405180910390f35b34801561068e57600080fd5b506106976115e8565b6040516106a491906138b7565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf9190613ca8565b6115fb565b005b3480156106e257600080fd5b506106fd60048036038101906106f891906139ba565b611619565b60405161070a91906138b7565b60405180910390f35b34801561071f57600080fd5b5061073a600480360381019061073591906139ba565b611639565b6040516107479190613a28565b60405180910390f35b34801561075c57600080fd5b5061076561164f565b6040516107729190613abe565b60405180910390f35b34801561078757600080fd5b50610790611655565b60405161079d9190613abe565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c89190613ad9565b611660565b6040516107da9190613abe565b60405180910390f35b3480156107ef57600080fd5b506107f861172f565b005b34801561080657600080fd5b5061080f611743565b005b34801561081d57600080fd5b5061083860048036038101906108339190613d21565b611777565b005b34801561084657600080fd5b50610861600480360381019061085c91906139ba565b611789565b60405161086e9190613abe565b60405180910390f35b34801561088357600080fd5b5061088c61185d565b60405161089991906138b7565b60405180910390f35b3480156108ae57600080fd5b506108b7611870565b6040516108c49190613abe565b60405180910390f35b3480156108d957600080fd5b506108e2611876565b6040516108ef9190613a28565b60405180910390f35b34801561090457600080fd5b5061090d6118a0565b60405161091a9190613abe565b60405180910390f35b34801561092f57600080fd5b506109386118a5565b6040516109459190613962565b60405180910390f35b34801561095a57600080fd5b5061097560048036038101906109709190613d7a565b611937565b005b34801561098357600080fd5b5061098c611aae565b6040516109999190613abe565b60405180910390f35b3480156109ae57600080fd5b506109c960048036038101906109c49190613e10565b611ab5565b6040516109d69190613f74565b60405180910390f35b6109f960048036038101906109f491906139ba565b611bc1565b005b348015610a0757600080fd5b50610a226004803603810190610a1d91906140c6565b611ddd565b005b348015610a3057600080fd5b50610a39611e59565b005b348015610a4757600080fd5b50610a50611e8d565b604051610a5d91906138b7565b60405180910390f35b348015610a7257600080fd5b50610a8d6004803603810190610a8891906139ba565b611ea0565b604051610a9a91906138b7565b60405180910390f35b348015610aaf57600080fd5b50610aca6004803603810190610ac591906139ba565b611ec0565b604051610ad79190613962565b60405180910390f35b348015610aec57600080fd5b50610af5611f5e565b604051610b029190613abe565b60405180910390f35b348015610b1757600080fd5b50610b20611f63565b604051610b2d9190613abe565b60405180910390f35b348015610b4257600080fd5b50610b5d6004803603810190610b589190614149565b611f6e565b604051610b6a91906138b7565b60405180910390f35b348015610b7f57600080fd5b50610b9a6004803603810190610b9591906139ba565b612002565b005b348015610ba857600080fd5b50610bc36004803603810190610bbe9190613ad9565b6120cb565b005b348015610bd157600080fd5b50610bec6004803603810190610be791906139ba565b61214e565b604051610bf991906138b7565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ccd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cdd5750610cdc8261216e565b5b9050919050565b610cec6121d8565b600860169054906101000a900460ff1615600860166101000a81548160ff021916908315150217905550565b606060028054610d27906141b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d53906141b8565b8015610da05780601f10610d7557610100808354040283529160200191610da0565b820191906000526020600020905b815481529060010190602001808311610d8357829003601f168201915b5050505050905090565b6000610db582612256565b610deb576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e3182611639565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e98576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610eb76122a4565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ee95750610ee781610ee26122a4565b611f6e565b155b15610f20576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f2b8383836122ac565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610f6061235e565b6001546000540303905090565b60136020528060005260406000206000915090505481565b600d6020528060005260406000206000915090505481565b60126020528060005260406000206000915054906101000a900460ff1681565b60106020528060005260406000206000915054906101000a900460ff1681565b610fe8838383612363565b505050565b610ff68161153d565b4310611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e90614235565b60405180910390fd5b61104081611639565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a4906142a1565b60405180910390fd5b6001600e600083815260200190815260200160002060006101000a81548160ff02191690831515021790555061110633600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612363565b600061111182611789565b905061111d3382612817565b5050565b61271081565b600a5481565b600860169054906101000a900460ff1661117c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111739061430d565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f59061439f565b60405180910390fd5b6127108161120a61290b565b61121491906143ee565b1115611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c9061446e565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112a4919061448e565b925050819055506112b5338261291e565b6000816000546112c5919061448e565b90505b6000548110156113115760016012600083815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611309906144c2565b9150506112c8565b5050565b61131d6121d8565b600c544211611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890614556565b60405180910390fd5b6000479050611377611371611876565b82612817565b50565b61139583838360405180602001604052806000815250611ddd565b505050565b600860159054906101000a900460ff166113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e0906145c2565b60405180910390fd5b6608e1bc9bf04000836113fc91906145e2565b341461143d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143490614670565b60405180910390fd5b61144b338383600a5461293c565b61148a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611481906146dc565b60405180910390fd5b600a836114963361299c565b6114a091906143ee565b11156114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d890614748565b60405180910390fd5b612710836114ed61290b565b6114f791906143ee565b1115611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f906147b4565b60405180910390fd5b505050565b6000600f600083815260200190815260200160002060009054906101000a900460ff161561156e57600090506115e3565b6012600083815260200190815260200160002060009054906101000a900460ff161561159d57600090506115e3565b600e600083815260200190815260200160002060009054906101000a900460ff16156115cc57600090506115e3565b600d60008381526020019081526020016000205490505b919050565b600860159054906101000a900460ff1681565b6116036121d8565b81816014918261161492919061498b565b505050565b60116020528060005260406000206000915054906101000a900460ff1681565b600061164482612a06565b600001519050919050565b600c5481565b660a4d88ddd9400081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116c7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117376121d8565b6117416000612c95565b565b61174b6121d8565b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b61177f6121d8565b80600a8190555050565b6000600f600083815260200190815260200160002060009054906101000a900460ff16156117ba5760009050611858565b600e600083815260200190815260200160002060009054906101000a900460ff16156117e95760009050611858565b6012600083815260200190815260200160002060009054906101000a900460ff16156118185760009050611858565b6010600083815260200190815260200160002060009054906101000a900460ff161561184d576608e1bc9bf040009050611858565b660a4d88ddd9400090505b919050565b600860169054906101000a900460ff1681565b600b5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600581565b6060600380546118b4906141b8565b80601f01602080910402602001604051908101604052809291908181526020018280546118e0906141b8565b801561192d5780601f106119025761010080835404028352916020019161192d565b820191906000526020600020905b81548152906001019060200180831161191057829003601f168201915b5050505050905090565b61193f6122a4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119a3576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119b06122a4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a5d6122a4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aa291906138b7565b60405180910390a35050565b6202a30081565b60608282905067ffffffffffffffff811115611ad457611ad3613f9b565b5b604051908082528060200260200182016040528015611b0757816020015b6060815260200190600190039081611af25790505b50905060005b83839050811015611bba57611b8930858584818110611b2f57611b2e614a5b565b5b9050602002810190611b419190614a99565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612d5b565b828281518110611b9c57611b9b614a5b565b5b60200260200101819052508080611bb2906144c2565b915050611b0d565b5092915050565b600860149054906101000a900460ff16611c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0790614b48565b60405180910390fd5b660a4d88ddd9400081611c2391906145e2565b341015611c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5c90614bb4565b60405180910390fd5b600581611c713361299c565b611c7b91906143ee565b1115611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb390614c20565b60405180910390fd5b61271081611cc861290b565b611cd291906143ee565b1115611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a9061446e565b60405180910390fd5b611d1d338261291e565b6202a30043611d2c91906143ee565b600c81905550600081600054611d42919061448e565b90505b600054811015611d7c57600c54600d6000838152602001908152602001600020819055508080611d74906144c2565b915050611d45565b50600081600054611d8d919061448e565b90505b600054811015611dd95760016011600083815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611dd1906144c2565b915050611d90565b5050565b611de8848484612363565b611e078373ffffffffffffffffffffffffffffffffffffffff16612d88565b8015611e1c5750611e1a84848484612dab565b155b15611e53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611e616121d8565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b600860149054906101000a900460ff1681565b600e6020528060005260406000206000915054906101000a900460ff1681565b6060611ecb82612256565b611f01576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f0b612efb565b90506000815103611f2b5760405180602001604052806000815250611f56565b80611f3584612f8d565b604051602001611f46929190614c7c565b6040516020818303038152906040525b915050919050565b600a81565b6608e1bc9bf0400081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61200a6121d8565b6127108161201661290b565b61202091906143ee565b1115612061576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120589061446e565b60405180910390fd5b61206b338261291e565b60008160005461207b919061448e565b90505b6000548110156120c7576001600f600083815260200190815260200160002060006101000a81548160ff02191690831515021790555080806120bf906144c2565b91505061207e565b5050565b6120d36121d8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213990614d12565b60405180910390fd5b61214b81612c95565b50565b600f6020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6121e06122a4565b73ffffffffffffffffffffffffffffffffffffffff166121fe611876565b73ffffffffffffffffffffffffffffffffffffffff1614612254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224b90614d7e565b60405180910390fd5b565b60008161226161235e565b11158015612270575060005482105b801561229d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061236e82612a06565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123d9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166123fa6122a4565b73ffffffffffffffffffffffffffffffffffffffff1614806124295750612428856124236122a4565b611f6e565b5b8061246e57506124376122a4565b73ffffffffffffffffffffffffffffffffffffffff1661245684610daa565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806124a7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361250d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61251a858585600161305b565b612526600084876122ac565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036127a55760005482146127a457878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128108585856001613061565b5050505050565b8047101561285a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285190614dea565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161288090614e3b565b60006040518083038185875af1925050503d80600081146128bd576040519150601f19603f3d011682016040523d82523d6000602084013e6128c2565b606091505b5050905080612906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fd90614ec2565b60405180910390fd5b505050565b600061291561235e565b60005403905090565b612938828260405180602001604052806000815250613067565b5050565b6000612992848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508361298d88613079565b6130a9565b9050949350505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612a0e6137c0565b600082905080612a1c61235e565b11158015612a2b575060005481105b15612c5e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612c5c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b40578092505050612c90565b5b600115612c5b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c56578092505050612c90565b612b41565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060612d808383604051806060016040528060278152602001615101602791396130c0565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dd16122a4565b8786866040518563ffffffff1660e01b8152600401612df39493929190614f2c565b6020604051808303816000875af1925050508015612e2f57506040513d601f19601f82011682018060405250810190612e2c9190614f8d565b60015b612ea8573d8060008114612e5f576040519150601f19603f3d011682016040523d82523d6000602084013e612e64565b606091505b506000815103612ea0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060148054612f0a906141b8565b80601f0160208091040260200160405190810160405280929190818152602001828054612f36906141b8565b8015612f835780601f10612f5857610100808354040283529160200191612f83565b820191906000526020600020905b815481529060010190602001808311612f6657829003601f168201915b5050505050905090565b606060006001612f9c84613146565b01905060008167ffffffffffffffff811115612fbb57612fba613f9b565b5b6040519080825280601f01601f191660200182016040528015612fed5781602001600182028036833780820191505090505b509050600082602001820190505b600115613050578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161304457613043614fba565b5b04945060008503612ffb575b819350505050919050565b50505050565b50505050565b6130748383836001613299565b505050565b60008160405160200161308c9190615031565b604051602081830303815290604052805190602001209050919050565b6000826130b68584613663565b1490509392505050565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516130ea919061507d565b600060405180830381855af49150503d8060008114613125576040519150601f19603f3d011682016040523d82523d6000602084013e61312a565b606091505b509150915061313b868383876136b9565b925050509392505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106131a4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161319a57613199614fba565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106131e1576d04ee2d6d415b85acef810000000083816131d7576131d6614fba565b5b0492506020810190505b662386f26fc10000831061321057662386f26fc10000838161320657613205614fba565b5b0492506010810190505b6305f5e1008310613239576305f5e100838161322f5761322e614fba565b5b0492506008810190505b612710831061325e57612710838161325457613253614fba565b5b0492506004810190505b60648310613281576064838161327757613276614fba565b5b0492506002810190505b600a8310613290576001810190505b80915050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613305576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361333f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61334c600086838761305b565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561351657506135158773ffffffffffffffffffffffffffffffffffffffff16612d88565b5b156135db575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461358b6000888480600101955088612dab565b6135c1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361351c5782600054146135d657600080fd5b613646565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036135dc575b81600081905550505061365c6000868387613061565b5050505050565b60008082905060005b84518110156136ae576136998286838151811061368c5761368b614a5b565b5b602002602001015161372e565b915080806136a6906144c2565b91505061366c565b508091505092915050565b6060831561371b576000835103613713576136d385612d88565b613712576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613709906150e0565b60405180910390fd5b5b829050613726565b6137258383613759565b5b949350505050565b60008183106137465761374182846137a9565b613751565b61375083836137a9565b5b905092915050565b60008251111561376c5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137a09190613962565b60405180910390fd5b600082600052816020526040600020905092915050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61384c81613817565b811461385757600080fd5b50565b60008135905061386981613843565b92915050565b6000602082840312156138855761388461380d565b5b60006138938482850161385a565b91505092915050565b60008115159050919050565b6138b18161389c565b82525050565b60006020820190506138cc60008301846138a8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561390c5780820151818401526020810190506138f1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613934826138d2565b61393e81856138dd565b935061394e8185602086016138ee565b61395781613918565b840191505092915050565b6000602082019050818103600083015261397c8184613929565b905092915050565b6000819050919050565b61399781613984565b81146139a257600080fd5b50565b6000813590506139b48161398e565b92915050565b6000602082840312156139d0576139cf61380d565b5b60006139de848285016139a5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a12826139e7565b9050919050565b613a2281613a07565b82525050565b6000602082019050613a3d6000830184613a19565b92915050565b613a4c81613a07565b8114613a5757600080fd5b50565b600081359050613a6981613a43565b92915050565b60008060408385031215613a8657613a8561380d565b5b6000613a9485828601613a5a565b9250506020613aa5858286016139a5565b9150509250929050565b613ab881613984565b82525050565b6000602082019050613ad36000830184613aaf565b92915050565b600060208284031215613aef57613aee61380d565b5b6000613afd84828501613a5a565b91505092915050565b600080600060608486031215613b1f57613b1e61380d565b5b6000613b2d86828701613a5a565b9350506020613b3e86828701613a5a565b9250506040613b4f868287016139a5565b9150509250925092565b6000819050919050565b613b6c81613b59565b82525050565b6000602082019050613b876000830184613b63565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613bb257613bb1613b8d565b5b8235905067ffffffffffffffff811115613bcf57613bce613b92565b5b602083019150836020820283011115613beb57613bea613b97565b5b9250929050565b600080600060408486031215613c0b57613c0a61380d565b5b6000613c19868287016139a5565b935050602084013567ffffffffffffffff811115613c3a57613c39613812565b5b613c4686828701613b9c565b92509250509250925092565b60008083601f840112613c6857613c67613b8d565b5b8235905067ffffffffffffffff811115613c8557613c84613b92565b5b602083019150836001820283011115613ca157613ca0613b97565b5b9250929050565b60008060208385031215613cbf57613cbe61380d565b5b600083013567ffffffffffffffff811115613cdd57613cdc613812565b5b613ce985828601613c52565b92509250509250929050565b613cfe81613b59565b8114613d0957600080fd5b50565b600081359050613d1b81613cf5565b92915050565b600060208284031215613d3757613d3661380d565b5b6000613d4584828501613d0c565b91505092915050565b613d578161389c565b8114613d6257600080fd5b50565b600081359050613d7481613d4e565b92915050565b60008060408385031215613d9157613d9061380d565b5b6000613d9f85828601613a5a565b9250506020613db085828601613d65565b9150509250929050565b60008083601f840112613dd057613dcf613b8d565b5b8235905067ffffffffffffffff811115613ded57613dec613b92565b5b602083019150836020820283011115613e0957613e08613b97565b5b9250929050565b60008060208385031215613e2757613e2661380d565b5b600083013567ffffffffffffffff811115613e4557613e44613812565b5b613e5185828601613dba565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600081519050919050565b600082825260208201905092915050565b6000613eb082613e89565b613eba8185613e94565b9350613eca8185602086016138ee565b613ed381613918565b840191505092915050565b6000613eea8383613ea5565b905092915050565b6000602082019050919050565b6000613f0a82613e5d565b613f148185613e68565b935083602082028501613f2685613e79565b8060005b85811015613f625784840389528151613f438582613ede565b9450613f4e83613ef2565b925060208a01995050600181019050613f2a565b50829750879550505050505092915050565b60006020820190508181036000830152613f8e8184613eff565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fd382613918565b810181811067ffffffffffffffff82111715613ff257613ff1613f9b565b5b80604052505050565b6000614005613803565b90506140118282613fca565b919050565b600067ffffffffffffffff82111561403157614030613f9b565b5b61403a82613918565b9050602081019050919050565b82818337600083830152505050565b600061406961406484614016565b613ffb565b90508281526020810184848401111561408557614084613f96565b5b614090848285614047565b509392505050565b600082601f8301126140ad576140ac613b8d565b5b81356140bd848260208601614056565b91505092915050565b600080600080608085870312156140e0576140df61380d565b5b60006140ee87828801613a5a565b94505060206140ff87828801613a5a565b9350506040614110878288016139a5565b925050606085013567ffffffffffffffff81111561413157614130613812565b5b61413d87828801614098565b91505092959194509250565b600080604083850312156141605761415f61380d565b5b600061416e85828601613a5a565b925050602061417f85828601613a5a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806141d057607f821691505b6020821081036141e3576141e2614189565b5b50919050565b7f526566756e642065787069726564000000000000000000000000000000000000600082015250565b600061421f600e836138dd565b915061422a826141e9565b602082019050919050565b6000602082019050818103600083015261424e81614212565b9050919050565b7f4e6f7420746f6b656e206f776e65720000000000000000000000000000000000600082015250565b600061428b600f836138dd565b915061429682614255565b602082019050919050565b600060208201905081810360008301526142ba8161427e565b9050919050565b7f50617373206d696e74206973206e6f7420656e61626c65640000000000000000600082015250565b60006142f76018836138dd565b9150614302826142c1565b602082019050919050565b60006020820190508181036000830152614326816142ea565b9050919050565b7f45786365656473206d6178206d696e7420686f6c646572206c696d697420706560008201527f722077616c6c6574000000000000000000000000000000000000000000000000602082015250565b60006143896028836138dd565b91506143948261432d565b604082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143f982613984565b915061440483613984565b925082820190508082111561441c5761441b6143bf565b5b92915050565b7f4d6178206d696e7420737570706c792072656163686564000000000000000000600082015250565b60006144586017836138dd565b915061446382614422565b602082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b600061449982613984565b91506144a483613984565b92508282039050818111156144bc576144bb6143bf565b5b92915050565b60006144cd82613984565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036144ff576144fe6143bf565b5b600182019050919050565b7f526566756e6420706572696f64206e6f74206f76657200000000000000000000600082015250565b60006145406016836138dd565b915061454b8261450a565b602082019050919050565b6000602082019050818103600083015261456f81614533565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b60006145ac6015836138dd565b91506145b782614576565b602082019050919050565b600060208201905081810360008301526145db8161459f565b9050919050565b60006145ed82613984565b91506145f883613984565b925082820261460681613984565b9150828204841483151761461d5761461c6143bf565b5b5092915050565b7f56616c7565000000000000000000000000000000000000000000000000000000600082015250565b600061465a6005836138dd565b915061466582614624565b602082019050919050565b600060208201905081810360008301526146898161464d565b9050919050565b7f4e6f74206f6e20616c6c6f77206c697374000000000000000000000000000000600082015250565b60006146c66011836138dd565b91506146d182614690565b602082019050919050565b600060208201905081810360008301526146f5816146b9565b9050919050565b7f4d617820616d6f756e7400000000000000000000000000000000000000000000600082015250565b6000614732600a836138dd565b915061473d826146fc565b602082019050919050565b6000602082019050818103600083015261476181614725565b9050919050565b7f4d6178206d696e7420737570706c790000000000000000000000000000000000600082015250565b600061479e600f836138dd565b91506147a982614768565b602082019050919050565b600060208201905081810360008301526147cd81614791565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026148417fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614804565b61484b8683614804565b95508019841693508086168417925050509392505050565b6000819050919050565b600061488861488361487e84613984565b614863565b613984565b9050919050565b6000819050919050565b6148a28361486d565b6148b66148ae8261488f565b848454614811565b825550505050565b600090565b6148cb6148be565b6148d6818484614899565b505050565b5b818110156148fa576148ef6000826148c3565b6001810190506148dc565b5050565b601f82111561493f57614910816147df565b614919846147f4565b81016020851015614928578190505b61493c614934856147f4565b8301826148db565b50505b505050565b600082821c905092915050565b600061496260001984600802614944565b1980831691505092915050565b600061497b8383614951565b9150826002028217905092915050565b61499583836147d4565b67ffffffffffffffff8111156149ae576149ad613f9b565b5b6149b882546141b8565b6149c38282856148fe565b6000601f8311600181146149f257600084156149e0578287013590505b6149ea858261496f565b865550614a52565b601f198416614a00866147df565b60005b82811015614a2857848901358255600182019150602085019450602081019050614a03565b86831015614a455784890135614a41601f891682614951565b8355505b6001600288020188555050505b50505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614ab657614ab5614a8a565b5b80840192508235915067ffffffffffffffff821115614ad857614ad7614a8f565b5b602083019250600182023603831315614af457614af3614a94565b5b509250929050565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b6000614b326019836138dd565b9150614b3d82614afc565b602082019050919050565b60006020820190508181036000830152614b6181614b25565b9050919050565b7f4e6f7420656e6f756768206574682073656e7400000000000000000000000000600082015250565b6000614b9e6013836138dd565b9150614ba982614b68565b602082019050919050565b60006020820190508181036000830152614bcd81614b91565b9050919050565b7f4f766572206d696e74206c696d69740000000000000000000000000000000000600082015250565b6000614c0a600f836138dd565b9150614c1582614bd4565b602082019050919050565b60006020820190508181036000830152614c3981614bfd565b9050919050565b600081905092915050565b6000614c56826138d2565b614c608185614c40565b9350614c708185602086016138ee565b80840191505092915050565b6000614c888285614c4b565b9150614c948284614c4b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cfc6026836138dd565b9150614d0782614ca0565b604082019050919050565b60006020820190508181036000830152614d2b81614cef565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d686020836138dd565b9150614d7382614d32565b602082019050919050565b60006020820190508181036000830152614d9781614d5b565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614dd4601d836138dd565b9150614ddf82614d9e565b602082019050919050565b60006020820190508181036000830152614e0381614dc7565b9050919050565b600081905092915050565b50565b6000614e25600083614e0a565b9150614e3082614e15565b600082019050919050565b6000614e4682614e18565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614eac603a836138dd565b9150614eb782614e50565b604082019050919050565b60006020820190508181036000830152614edb81614e9f565b9050919050565b600082825260208201905092915050565b6000614efe82613e89565b614f088185614ee2565b9350614f188185602086016138ee565b614f2181613918565b840191505092915050565b6000608082019050614f416000830187613a19565b614f4e6020830186613a19565b614f5b6040830185613aaf565b8181036060830152614f6d8184614ef3565b905095945050505050565b600081519050614f8781613843565b92915050565b600060208284031215614fa357614fa261380d565b5b6000614fb184828501614f78565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008160601b9050919050565b600061500182614fe9565b9050919050565b600061501382614ff6565b9050919050565b61502b61502682613a07565b615008565b82525050565b600061503d828461501a565b60148201915081905092915050565b600061505782613e89565b6150618185614e0a565b93506150718185602086016138ee565b80840191505092915050565b6000615089828461504c565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006150ca601d836138dd565b91506150d582615094565b602082019050919050565b600060208201905081810360008301526150f9816150bd565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220a0cd24fd2cf30bd13c7961cd56dbddb3872be077dc36bdcb346e514cfce41ab564736f6c63430008120033

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

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