ETH Price: $2,368.53 (-4.16%)

Token

SEAK (SEAK)
 

Overview

Max Total Supply

77 SEAK

Holders

71

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SEAK
0x80502fc24436dedda6dfe3bb6669751f5f059cc2
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SEAK

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";  

import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./DefaultOperatorFilterer.sol";
import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";


contract SEAK is ERC721A, Ownable, Pausable, ERC2981, DefaultOperatorFilterer {
	using Address for address;
	using Strings for uint256;
	using MerkleProof for bytes32[];

	address proxyRegistryAddress;

	//merkle roots
	bytes32 public ogRoot;
	bytes32 public sklistRoot;
	bytes32 public reserveRoot;

	// metadata
	string public _contractBaseURI;
	string public _contractURI;

	// price per token
	uint256 public ogPrice = 0.20 ether;
	uint256 public sklistPrice = 0.25 ether;
	uint256 public reservePrice = 0.25 ether;

	mapping(address => uint256) public usedAddresses; //who has minted.

	uint256 public maxSupply = 333; //tokenIDs start from 0

	uint256 public maxPerWallet = 1;

	// Sale state:
	// 0: Closed
	// 1: OG
	// 2: SKLIST
	// 3: Reserve List
	// 4: General

	uint256 public saleState = 0;

	constructor() ERC721A("SEAK", "SEAK") {
		//_safeMint(msg.sender, 1); //mints 1 nft to the owner for configuring opensea
	}

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

	/// Set royalties for EIP 2981.
    function setRoyalties(
        address _recipient,
        uint96 _amount
    ) external onlyOwner {
        _setDefaultRoyalty(_recipient, _amount);
    }

	// minting methods.

	function ogMint(
		bytes32[] calldata proof
	) external payable whenNotPaused {
        require(saleState >= 1, "OG mint is not open");
		require(totalSupply() + 1 <= maxSupply, "Sold out");
		require(ogPrice * 1 == msg.value, "Exact ETH amount needed");
		require(usedAddresses[msg.sender] + 1 <= maxPerWallet, "Max per wallet reached");
		require(isTokenValid(ogRoot, msg.sender, proof), "Invalid merkle proof");

		usedAddresses[msg.sender] += 1;

		_safeMint(msg.sender, 1);
	}

	function sklistMint(
		bytes32[] calldata proof
	) external payable whenNotPaused {
        require(saleState >= 2, "SEAKList mint is not open");
		require(totalSupply() + 1 <= maxSupply, "Sold out");
		require(sklistPrice * 1 == msg.value, "Exact ETH amount needed");
		require(usedAddresses[msg.sender] + 1 <= maxPerWallet, "Max per wallet reached");
		require(isTokenValid(sklistRoot, msg.sender, proof), "Invalid merkle proof");

		usedAddresses[msg.sender] += 1;

		_safeMint(msg.sender, 1);
	}

	function reserveMint(
		bytes32[] calldata proof
	) external payable whenNotPaused {
        require(saleState >= 3, "Reserve mint is not open");
		require(totalSupply() + 1 <= maxSupply, "Sold out");
		require(reservePrice * 1 == msg.value, "Exact ETH amount needed");
		require(usedAddresses[msg.sender] + 1 <= maxPerWallet, "Max per wallet reached");
		require(isTokenValid(reserveRoot, msg.sender, proof), "Invalid merkle proof");

		usedAddresses[msg.sender] += 1;

		_safeMint(msg.sender, 1);
	}

	function mint() external payable whenNotPaused {
        require(saleState >= 4, "Public mint is not open");
		require(totalSupply() + 1 <= maxSupply, "Sold out");
		require(reservePrice * 1 == msg.value, "Exact ETH amount needed");
		require(usedAddresses[msg.sender] + 1 <= maxPerWallet, "Max per wallet reached");

		usedAddresses[msg.sender] += 1;

		_safeMint(msg.sender, 1);
	}

	/**
	 * Admin Mint
	 */
	function adminMint(address to, uint256 qty) external onlyOwner {
		require(totalSupply() + qty <= maxSupply, "Sold out");
		_safeMint(to, qty);
	}

	function devMint(uint256 qty) external onlyOwner {
		require(totalSupply() + qty <= maxSupply, "Sold out");
		_safeMint(msg.sender, qty);
	}

	/**
	 * @dev verification function for merkle root
	 */
	function isTokenValid(
		bytes32 _root,
		address _to,
		bytes32[] memory _proof
	) public pure returns (bool) {
		// construct Merkle tree leaf from the inputs supplied
		bytes32 leaf = keccak256(abi.encodePacked(_to));
		// verify the proof supplied, and return the verification result
		return _proof.verify(_root, leaf);
	}

	// set merkle root methods
	function setOGMerkleRoot(bytes32 _root) external onlyOwner {
		ogRoot = _root;
	}

	function setSklistMerkleRoot(bytes32 _root) external onlyOwner {
		sklistRoot = _root;
	}

	function setReserveMerkleRoot(bytes32 _root) external onlyOwner {
		reserveRoot = _root;
	}

	// set price methods
	function setOGPrice(uint256 newPrice) external onlyOwner {
		ogPrice = newPrice;
	}

	function setSklistPrice(uint256 newPrice) external onlyOwner {
		sklistPrice = newPrice;
	}

	function setReservePrice(uint256 newPrice) external onlyOwner {
		reservePrice = newPrice;
	}

	//----------------------------------
	//----------- other code -----------
	//----------------------------------

    /*function ownedTokensByAddress(address owner) external view returns (uint256[] memory) {
        uint256 totalTokensOwned = balanceOf(owner);
        uint256[] memory allTokenIds = new uint256[](totalTokensOwned);
        for (uint256 i = 0; i < totalTokensOwned; i++) {
            allTokenIds[i] = (tokenOfOwnerByIndex(owner, i));
        }
        return allTokenIds;
    }*/

	function tokenURI(uint256 _tokenId) public view override returns (string memory) {
		require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
		return string(abi.encodePacked(_contractBaseURI, _tokenId.toString(), ".json"));
	}

	function setBaseURI(string memory newBaseURI) external onlyOwner {
		_contractBaseURI = newBaseURI;
	}

	function setContractURI(string memory newURI) external onlyOwner {
		_contractURI = newURI;
	}

	function contractURI() public view returns (string memory) {
		return _contractURI;
	}

	function reclaimERC20(IERC20 erc20Token) external onlyOwner {
		erc20Token.transfer(msg.sender, erc20Token.balanceOf(address(this)));
	}

	function reclaimERC721(IERC721A erc721Token, uint256 id) external onlyOwner {
		erc721Token.safeTransferFrom(address(this), msg.sender, id);
	}

	function setSaleState(uint newState) public onlyOwner {
        require(newState >= 0 && newState <= 4, "Invalid state");
        saleState = newState;
    }

	//change the max supply
	function setMaxSupplyAmount(uint256 newMaxSupply) public onlyOwner {
		maxSupply = newMaxSupply;
	}

	//change the max per wallet
	function setMaxPerWallet(uint256 _maxPerWallet) public onlyOwner {
		maxPerWallet = _maxPerWallet;
	}

	function setPaused(bool _setPaused) public onlyOwner {
		return (_setPaused) ? _pause() : _unpause();
	}

	//sets the opensea proxy
	function setProxyRegistry(address _newRegistry) external onlyOwner {
		proxyRegistryAddress = _newRegistry;
	}

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

	// Override the start token id to 0
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

	// OS filter functions.
    function setApprovalForAll(
        address operator,
        bool approved
    ) public override onlyAllowedOperator(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(
        address operator,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

	// Operator Registry Controls
    function setOperatorFilterRegistry(address _registry) public onlyOwner {
        operatorFilterRegistry = IOperatorFilterRegistry(_registry);
    }

    function updateOperator(address _operator, bool _filtered) public onlyOwner {
        operatorFilterRegistry.updateOperator(address(this), _operator, _filtered);
    }

	/**
	 * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
	 */
	/*function isApprovedForAll(address owner, address operator) public view override returns (bool) {
		// Whitelist OpenSea proxy contract for easy trading.
		ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
		if (address(proxyRegistry.proxies(owner)) == operator) {
			return true;
		}
		return super.isApprovedForAll(owner, operator);
	}*/
}

//opensea removal of approvals
contract OwnableDelegateProxy {

}

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

File 2 of 19 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 3 of 19 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If the data at the starting slot does not exist, start the scan.
            if (packed == 0) {
                if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                // Invariant:
                // There will always be an initialized ownership slot
                // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                // before an unintialized ownership slot
                // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                // Hence, `tokenId` will not underflow.
                //
                // We can directly compare the packed value.
                // If the address is zero, packed will be zero.
                for (;;) {
                    unchecked {
                        packed = _packedOwnerships[--tokenId];
                    }
                    if (packed == 0) continue;
                    if (packed & _BITMASK_BURNED == 0) return packed;
                    // Otherwise, the token is burned, and we must revert.
                    // This handles the case of batch burned tokens, where only the burned bit
                    // of the starting slot is set, and remaining slots are left uninitialized.
                    _revert(OwnerQueryForNonexistentToken.selector);
                }
            }
            // Otherwise, the data exists and we can skip the scan.
            // This is possible because we have already achieved the target condition.
            // This saves 2143 gas on transfers of initialized tokens.
            // If the token is not burned, return `packed`. Otherwise, revert.
            if (packed & _BITMASK_BURNED == 0) return packed;
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

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

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

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

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

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // Emit the `Transfer` event.
            log4(
                0, // Start of data (0, since no data).
                0, // End of data (0, since no data).
                _TRANSFER_EVENT_SIGNATURE, // Signature.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            do {
                assembly {
                    // Emit the `Transfer` event.
                    log4(
                        0, // Start of data (0, since no data).
                        0, // End of data (0, since no data).
                        _TRANSFER_EVENT_SIGNATURE, // Signature.
                        0, // `address(0)`.
                        toMasked, // `to`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}

File 6 of 19 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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 rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * 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 rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.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 `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);
    }
}

File 11 of 19 : 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 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return 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 19 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 19 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

File 16 of 19 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 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 10, 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 * 8) < value ? 1 : 0);
        }
    }
}

File 17 of 19 : 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 18 of 19 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

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

File 19 of 19 : 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);
}

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":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"_contractBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"isTokenValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"ogMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"erc20Token","type":"address"}],"name":"reclaimERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721A","name":"erc721Token","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"reclaimERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"reserveMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"reservePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupplyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setOGMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setOGPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_registry","type":"address"}],"name":"setOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setPaused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRegistry","type":"address"}],"name":"setProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setReserveMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setReservePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint96","name":"_amount","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newState","type":"uint256"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setSklistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setSklistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"sklistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sklistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sklistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_filtered","type":"bool"}],"name":"updateOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"usedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526daaeb6d7670e522a718067333cd4e600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506702c68af0bb1400006012556703782dace9d900006013556703782dace9d9000060145561014d601655600160175560006018553480156200009457600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600481526020017f5345414b000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5345414b00000000000000000000000000000000000000000000000000000000815250816002908051906020019062000130929190620004c1565b50806003908051906020019062000149929190620004c1565b506200015a620003ea60201b60201c565b60008190555050506200018262000176620003f360201b60201c565b620003fb60201b60201c565b6000600860146101000a81548160ff0219169083151502179055506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115620003e25780156200028057600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b815260040162000246929190620005b6565b600060405180830381600087803b1580156200026157600080fd5b505af115801562000276573d6000803e3d6000fd5b50505050620003e1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200034e57600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b815260040162000314929190620005b6565b600060405180830381600087803b1580156200032f57600080fd5b505af115801562000344573d6000803e3d6000fd5b50505050620003e0565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620003ab9190620005e3565b600060405180830381600087803b158015620003c657600080fd5b505af1158015620003db573d6000803e3d6000fd5b505050505b5b5b505062000664565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620004cf906200062f565b90600052602060002090601f016020900481019282620004f357600085556200053f565b82601f106200050e57805160ff19168380011785556200053f565b828001600101855582156200053f579182015b828111156200053e57825182559160200191906001019062000521565b5b5090506200054e919062000552565b5090565b5b808211156200056d57600081600090555060010162000553565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200059e8262000571565b9050919050565b620005b08162000591565b82525050565b6000604082019050620005cd6000830185620005a5565b620005dc6020830184620005a5565b9392505050565b6000602082019050620005fa6000830184620005a5565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200064857607f821691505b6020821081036200065e576200065d62000600565b5b50919050565b615b7c80620006746000396000f3fe6080604052600436106103815760003560e01c80637101ebca116101d1578063c21b471b11610102578063e58306f9116100a0578063f1a6063c1161006f578063f1a6063c14610c44578063f2fde38b14610c6d578063f4f2281814610c96578063ff3e6bee14610cbf57610381565b8063e58306f914610b88578063e8a3d48514610bb1578063e985e9c514610bdc578063f0d0779c14610c1957610381565b8063ce9c7c0d116100dc578063ce9c7c0d14610ae0578063d5abeb0114610b09578063db2e1eed14610b34578063e268e4d314610b5f57610381565b8063c21b471b14610a51578063c87b56dd14610a7a578063cb2bbdd614610ab757610381565b806395d89b411161016f578063acdce27311610149578063acdce273146109a4578063adfdeef9146109e1578063b88d4fde14610a0a578063c0e7274014610a2657610381565b806395d89b4114610927578063a22cb46514610952578063a69027d91461097b57610381565b80638da5cb5b116101ab5780638da5cb5b1461088c578063903afdc0146108b7578063918ed5d5146108e2578063938e3d7b146108fe57610381565b80637101ebca14610821578063715018a61461084c5780638905fd4f1461086357610381565b8063385bf7ad116102b6578063551f0a31116102545780636352211e116102235780636352211e146107555780636b7d2470146107925780636d44a3b2146107bb57806370a08231146107e457610381565b8063551f0a31146106ab57806355f804b3146106d65780635c975abb146106ff578063603f4d521461072a57610381565b806342842e0e1161029057806342842e0e14610612578063453c23101461062e578063455bb50b146106595780634996527c1461068257610381565b8063385bf7ad146105d05780633c7c2ab2146105ec5780633ccfd60b1461060857610381565b806316c38b3c1161032357806323b872dd116102fd57806323b872dd1461052457806325c2c020146105405780632a55205a14610569578063375a069a146105a757610381565b806316c38b3c146104a557806318160ddd146104ce5780631961b0ef146104f957610381565b8063084c40881161035f578063084c40881461042b578063095ea7b3146104545780631249c58b1461047057806315f5d8a01461047a57610381565b806301ffc9a71461038657806306fdde03146103c3578063081812fc146103ee575b600080fd5b34801561039257600080fd5b506103ad60048036038101906103a89190614379565b610cfc565b6040516103ba91906143c1565b60405180910390f35b3480156103cf57600080fd5b506103d8610d1e565b6040516103e59190614475565b60405180910390f35b3480156103fa57600080fd5b50610415600480360381019061041091906144cd565b610db0565b604051610422919061453b565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d91906144cd565b610e0e565b005b61046e60048036038101906104699190614582565b610e71565b005b610478611090565b005b34801561048657600080fd5b5061048f61127a565b60405161049c91906145d1565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c79190614618565b611280565b005b3480156104da57600080fd5b506104e36112a6565b6040516104f091906145d1565b60405180910390f35b34801561050557600080fd5b5061050e6112bd565b60405161051b919061465e565b60405180910390f35b61053e60048036038101906105399190614679565b6112c3565b005b34801561054c57600080fd5b50610567600480360381019061056291906146f8565b6114e5565b005b34801561057557600080fd5b50610590600480360381019061058b9190614725565b6114f7565b60405161059e929190614765565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c991906144cd565b6116e1565b005b6105ea60048036038101906105e591906147f3565b61174d565b005b610606600480360381019061060191906147f3565b6119c6565b005b610610611c3f565b005b61062c60048036038101906106279190614679565b611c96565b005b34801561063a57600080fd5b50610643611eb8565b60405161065091906145d1565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b91906144cd565b611ebe565b005b34801561068e57600080fd5b506106a960048036038101906106a49190614840565b611ed0565b005b3480156106b757600080fd5b506106c0611f1c565b6040516106cd91906145d1565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f8919061499d565b611f22565b005b34801561070b57600080fd5b50610714611f44565b60405161072191906143c1565b60405180910390f35b34801561073657600080fd5b5061073f611f5b565b60405161074c91906145d1565b60405180910390f35b34801561076157600080fd5b5061077c600480360381019061077791906144cd565b611f61565b604051610789919061453b565b60405180910390f35b34801561079e57600080fd5b506107b960048036038101906107b49190614a24565b611f73565b005b3480156107c757600080fd5b506107e260048036038101906107dd9190614a64565b611fee565b005b3480156107f057600080fd5b5061080b60048036038101906108069190614840565b61208b565b60405161081891906145d1565b60405180910390f35b34801561082d57600080fd5b50610836612122565b6040516108439190614475565b60405180910390f35b34801561085857600080fd5b506108616121b0565b005b34801561086f57600080fd5b5061088a60048036038101906108859190614ae2565b6121c4565b005b34801561089857600080fd5b506108a16122c7565b6040516108ae919061453b565b60405180910390f35b3480156108c357600080fd5b506108cc6122f1565b6040516108d9919061465e565b60405180910390f35b6108fc60048036038101906108f791906147f3565b6122f7565b005b34801561090a57600080fd5b506109256004803603810190610920919061499d565b612570565b005b34801561093357600080fd5b5061093c612592565b6040516109499190614475565b60405180910390f35b34801561095e57600080fd5b5061097960048036038101906109749190614a64565b612624565b005b34801561098757600080fd5b506109a2600480360381019061099d91906146f8565b612843565b005b3480156109b057600080fd5b506109cb60048036038101906109c69190614840565b612855565b6040516109d891906145d1565b60405180910390f35b3480156109ed57600080fd5b50610a086004803603810190610a039190614840565b61286d565b005b610a246004803603810190610a1f9190614bb0565b6128b9565b005b348015610a3257600080fd5b50610a3b612ade565b604051610a489190614475565b60405180910390f35b348015610a5d57600080fd5b50610a786004803603810190610a739190614c77565b612b6c565b005b348015610a8657600080fd5b50610aa16004803603810190610a9c91906144cd565b612b82565b604051610aae9190614475565b60405180910390f35b348015610ac357600080fd5b50610ade6004803603810190610ad991906144cd565b612bfe565b005b348015610aec57600080fd5b50610b076004803603810190610b0291906144cd565b612c10565b005b348015610b1557600080fd5b50610b1e612c22565b604051610b2b91906145d1565b60405180910390f35b348015610b4057600080fd5b50610b49612c28565b604051610b5691906145d1565b60405180910390f35b348015610b6b57600080fd5b50610b866004803603810190610b8191906144cd565b612c2e565b005b348015610b9457600080fd5b50610baf6004803603810190610baa9190614582565b612c40565b005b348015610bbd57600080fd5b50610bc6612cad565b604051610bd39190614475565b60405180910390f35b348015610be857600080fd5b50610c036004803603810190610bfe9190614cb7565b612d3f565b604051610c1091906143c1565b60405180910390f35b348015610c2557600080fd5b50610c2e612dd3565b604051610c3b919061465e565b60405180910390f35b348015610c5057600080fd5b50610c6b6004803603810190610c6691906144cd565b612dd9565b005b348015610c7957600080fd5b50610c946004803603810190610c8f9190614840565b612deb565b005b348015610ca257600080fd5b50610cbd6004803603810190610cb891906146f8565b612e6e565b005b348015610ccb57600080fd5b50610ce66004803603810190610ce19190614dba565b612e80565b604051610cf391906143c1565b60405180910390f35b6000610d0782612ecb565b80610d175750610d1682612f5d565b5b9050919050565b606060028054610d2d90614e58565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5990614e58565b8015610da65780601f10610d7b57610100808354040283529160200191610da6565b820191906000526020600020905b815481529060010190602001808311610d8957829003601f168201915b5050505050905090565b6000610dbb82612fd7565b610dd057610dcf63cf4700e460e01b613050565b5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610e1661305a565b60008110158015610e28575060048111155b610e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5e90614ed5565b60405180910390fd5b8060188190555050565b816000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115611080573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ef657610ef183836130d8565b61108b565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f53929190614ef5565b6020604051808303816000875af1158015610f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f969190614f33565b801561103e5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610ffa929190614ef5565b6020604051808303816000875af1158015611019573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103d9190614f33565b5b61107f57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611076919061453b565b60405180910390fd5b5b61108a83836130d8565b5b505050565b6110986130e8565b600460185410156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590614fac565b60405180910390fd5b60165460016110eb6112a6565b6110f59190614ffb565b1115611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d9061509d565b60405180910390fd5b34600160145461114691906150bd565b14611186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117d90615163565b60405180910390fd5b6017546001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111d59190614ffb565b1115611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d906151cf565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112669190614ffb565b92505081905550611278336001613132565b565b60125481565b61128861305a565b8061129a57611295613150565b6112a3565b6112a26131b3565b5b50565b60006112b0613216565b6001546000540303905090565b600e5481565b826000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b11156114d3573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113495761134484848461321f565b6114df565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016113a6929190614ef5565b6020604051808303816000875af11580156113c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e99190614f33565b80156114915750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161144d929190614ef5565b6020604051808303816000875af115801561146c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114909190614f33565b5b6114d257336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016114c9919061453b565b60405180910390fd5b5b6114de84848461321f565b5b50505050565b6114ed61305a565b80600d8190555050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361168c5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006116966134e0565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866116c291906150bd565b6116cc919061521e565b90508160000151819350935050509250929050565b6116e961305a565b601654816116f56112a6565b6116ff9190614ffb565b1115611740576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117379061509d565b60405180910390fd5b61174a3382613132565b50565b6117556130e8565b6002601854101561179b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117929061529b565b60405180910390fd5b60165460016117a86112a6565b6117b29190614ffb565b11156117f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ea9061509d565b60405180910390fd5b34600160135461180391906150bd565b14611843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183a90615163565b60405180910390fd5b6017546001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118929190614ffb565b11156118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca906151cf565b60405180910390fd5b611921600e5433848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e80565b611960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195790615307565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119b09190614ffb565b925050819055506119c2336001613132565b5050565b6119ce6130e8565b60036018541015611a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0b90615373565b60405180910390fd5b6016546001611a216112a6565b611a2b9190614ffb565b1115611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a639061509d565b60405180910390fd5b346001601454611a7c91906150bd565b14611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390615163565b60405180910390fd5b6017546001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b0b9190614ffb565b1115611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b43906151cf565b60405180910390fd5b611b9a600f5433848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e80565b611bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd090615307565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c299190614ffb565b92505081905550611c3b336001613132565b5050565b611c4761305a565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c92573d6000803e3d6000fd5b5050565b826000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115611ea6573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d1c57611d178484846134ea565b611eb2565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611d79929190614ef5565b6020604051808303816000875af1158015611d98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbc9190614f33565b8015611e645750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611e20929190614ef5565b6020604051808303816000875af1158015611e3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e639190614f33565b5b611ea557336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611e9c919061453b565b60405180910390fd5b5b611eb18484846134ea565b5b50505050565b60175481565b611ec661305a565b8060138190555050565b611ed861305a565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60135481565b611f2a61305a565b8060109080519060200190611f4092919061426a565b5050565b6000600860149054906101000a900460ff16905090565b60185481565b6000611f6c8261350a565b9050919050565b611f7b61305a565b8173ffffffffffffffffffffffffffffffffffffffff166342842e0e3033846040518463ffffffff1660e01b8152600401611fb893929190615393565b600060405180830381600087803b158015611fd257600080fd5b505af1158015611fe6573d6000803e3d6000fd5b505050505050565b611ff661305a565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2f367ab3084846040518463ffffffff1660e01b8152600401612055939291906153ca565b600060405180830381600087803b15801561206f57600080fd5b505af1158015612083573d6000803e3d6000fd5b505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120d1576120d0638f4eb60460e01b613050565b5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6010805461212f90614e58565b80601f016020809104026020016040519081016040528092919081815260200182805461215b90614e58565b80156121a85780601f1061217d576101008083540402835291602001916121a8565b820191906000526020600020905b81548152906001019060200180831161218b57829003601f168201915b505050505081565b6121b861305a565b6121c260006135f6565b565b6121cc61305a565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612222919061453b565b602060405180830381865afa15801561223f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122639190615416565b6040518363ffffffff1660e01b8152600401612280929190614765565b6020604051808303816000875af115801561229f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c39190614f33565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d5481565b6122ff6130e8565b60016018541015612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c9061548f565b60405180910390fd5b60165460016123526112a6565b61235c9190614ffb565b111561239d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123949061509d565b60405180910390fd5b3460016012546123ad91906150bd565b146123ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e490615163565b60405180910390fd5b6017546001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461243c9190614ffb565b111561247d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612474906151cf565b60405180910390fd5b6124cb600d5433848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e80565b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190615307565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461255a9190614ffb565b9250508190555061256c336001613132565b5050565b61257861305a565b806011908051906020019061258e92919061426a565b5050565b6060600380546125a190614e58565b80601f01602080910402602001604051908101604052809291908181526020018280546125cd90614e58565b801561261a5780601f106125ef5761010080835404028352916020019161261a565b820191906000526020600020905b8154815290600101906020018083116125fd57829003601f168201915b5050505050905090565b816000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115612833573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036126a9576126a483836136bc565b61283e565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612706929190614ef5565b6020604051808303816000875af1158015612725573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127499190614f33565b80156127f15750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016127ad929190614ef5565b6020604051808303816000875af11580156127cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f09190614f33565b5b61283257336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612829919061453b565b60405180910390fd5b5b61283d83836136bc565b5b505050565b61284b61305a565b80600f8190555050565b60156020528060005260406000206000915090505481565b61287561305a565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b836000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115612aca573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036129405761293b858585856137c7565b612ad7565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b815260040161299d929190614ef5565b6020604051808303816000875af11580156129bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e09190614f33565b8015612a885750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612a44929190614ef5565b6020604051808303816000875af1158015612a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a879190614f33565b5b612ac957336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612ac0919061453b565b60405180910390fd5b5b612ad6858585856137c7565b5b5050505050565b60118054612aeb90614e58565b80601f0160208091040260200160405190810160405280929190818152602001828054612b1790614e58565b8015612b645780601f10612b3957610100808354040283529160200191612b64565b820191906000526020600020905b815481529060010190602001808311612b4757829003601f168201915b505050505081565b612b7461305a565b612b7e8282613819565b5050565b6060612b8d82612fd7565b612bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc390615521565b60405180910390fd5b6010612bd7836139ae565b604051602001612be892919061565d565b6040516020818303038152906040529050919050565b612c0661305a565b8060128190555050565b612c1861305a565b8060148190555050565b60165481565b60145481565b612c3661305a565b8060178190555050565b612c4861305a565b60165481612c546112a6565b612c5e9190614ffb565b1115612c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c969061509d565b60405180910390fd5b612ca98282613132565b5050565b606060118054612cbc90614e58565b80601f0160208091040260200160405190810160405280929190818152602001828054612ce890614e58565b8015612d355780601f10612d0a57610100808354040283529160200191612d35565b820191906000526020600020905b815481529060010190602001808311612d1857829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f5481565b612de161305a565b8060168190555050565b612df361305a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e59906156fe565b60405180910390fd5b612e6b816135f6565b50565b612e7661305a565b80600e8190555050565b60008083604051602001612e949190615766565b604051602081830303815290604052805190602001209050612ec1858285613a7c9092919063ffffffff16565b9150509392505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f2657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f565750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fd05750612fcf82613a93565b5b9050919050565b600081612fe2613216565b1161304b5760005482101561304a5760005b6000600460008581526020019081526020016000205491508103613023578261301c90615781565b9250612ff4565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b8060005260046000fd5b613062613afd565b73ffffffffffffffffffffffffffffffffffffffff166130806122c7565b73ffffffffffffffffffffffffffffffffffffffff16146130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd906157f6565b60405180910390fd5b565b6130e482826001613b05565b5050565b6130f0611f44565b15613130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312790615862565b60405180910390fd5b565b61314c828260405180602001604052806000815250613c34565b5050565b613158613cb9565b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61319c613afd565b6040516131a9919061453b565b60405180910390a1565b6131bb6130e8565b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586131ff613afd565b60405161320c919061453b565b60405180910390a1565b60006001905090565b600061322a8261350a565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461329f5761329e63a114810060e01b613050565b5b6000806132ab84613d02565b915091506132c181876132bc613d29565b613d31565b6132ec576132d6866132d1613d29565b612d3f565b6132eb576132ea6359c896be60e01b613050565b5b5b6132f98686866001613d75565b801561330457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506133d2856133ae888887613d7b565b7c020000000000000000000000000000000000000000000000000000000017613da3565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036134585760006001850190506000600460008381526020019081526020016000205403613456576000548114613455578360046000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600081036134ca576134c963ea553b3460e01b613050565b5b6134d78787876001613dce565b50505050505050565b6000612710905090565b613505838383604051806020016040528060008152506128b9565b505050565b600081613515613216565b116135e05760046000838152602001908152602001600020549050600081036135b75760005482106135525761355163df2d9b4260e01b613050565b5b5b600460008360019003935083815260200190815260200160002054905060008103156135b25760007c0100000000000000000000000000000000000000000000000000000000821603156135f1576135b163df2d9b4260e01b613050565b5b613553565b60007c0100000000000000000000000000000000000000000000000000000000821603156135f1575b6135f063df2d9b4260e01b613050565b5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600760006136c9613d29565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16613776613d29565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516137bb91906143c1565b60405180910390a35050565b6137d28484846112c3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613813576137fd84848484613dd4565b6138125761381163d1a57ed660e01b613050565b5b5b50505050565b6138216134e0565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561387f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613876906158f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036138ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e590615960565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6060600060016139bd84613f03565b01905060008167ffffffffffffffff8111156139dc576139db614872565b5b6040519080825280601f01601f191660200182016040528015613a0e5781602001600182028036833780820191505090505b509050600082602001820190505b600115613a71578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581613a6557613a646151ef565b5b04945060008503613a1c575b819350505050919050565b600082613a898584614056565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000613b1083611f61565b9050818015613b5257508073ffffffffffffffffffffffffffffffffffffffff16613b39613d29565b73ffffffffffffffffffffffffffffffffffffffff1614155b15613b7e57613b6881613b63613d29565b612d3f565b613b7d57613b7c63cfb3b94260e01b613050565b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b613c3e83836140ac565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613cb457600080549050600083820390505b613c7e6000868380600101945086613dd4565b613c9357613c9263d1a57ed660e01b613050565b5b818110613c6b578160005414613cb157613cb0600060e01b613050565b5b50505b505050565b613cc1611f44565b613d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cf7906159cc565b60405180910390fd5b565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613d9286868461420f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613dfa613d29565b8786866040518563ffffffff1660e01b8152600401613e1c9493929190615a41565b6020604051808303816000875af1925050508015613e5857506040513d601f19601f82011682018060405250810190613e559190615aa2565b60015b613eb0573d8060008114613e88576040519150601f19603f3d011682016040523d82523d6000602084013e613e8d565b606091505b506000815103613ea857613ea763d1a57ed660e01b613050565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613f61577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613f5757613f566151ef565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613f9e576d04ee2d6d415b85acef81000000008381613f9457613f936151ef565b5b0492506020810190505b662386f26fc100008310613fcd57662386f26fc100008381613fc357613fc26151ef565b5b0492506010810190505b6305f5e1008310613ff6576305f5e1008381613fec57613feb6151ef565b5b0492506008810190505b612710831061401b576127108381614011576140106151ef565b5b0492506004810190505b6064831061403e5760648381614034576140336151ef565b5b0492506002810190505b600a831061404d576001810190505b80915050919050565b60008082905060005b84518110156140a15761408c8286838151811061407f5761407e615acf565b5b6020026020010151614218565b9150808061409990615afe565b91505061405f565b508091505092915050565b600080549050600082036140cb576140ca63b562e8dd60e01b613050565b5b6140d86000848385613d75565b6140f8836140e96000866000613d7b565b6140f285614243565b17613da3565b6004600083815260200190815260200160002081905550600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff16169050600081036141b0576141af632e07630060e01b613050565b5b6000838301905060008390505b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036141bd578160008190555050505061420a6000848385613dce565b505050565b60009392505050565b60008183106142305761422b8284614253565b61423b565b61423a8383614253565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b82805461427690614e58565b90600052602060002090601f01602090048101928261429857600085556142df565b82601f106142b157805160ff19168380011785556142df565b828001600101855582156142df579182015b828111156142de5782518255916020019190600101906142c3565b5b5090506142ec91906142f0565b5090565b5b808211156143095760008160009055506001016142f1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61435681614321565b811461436157600080fd5b50565b6000813590506143738161434d565b92915050565b60006020828403121561438f5761438e614317565b5b600061439d84828501614364565b91505092915050565b60008115159050919050565b6143bb816143a6565b82525050565b60006020820190506143d660008301846143b2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144165780820151818401526020810190506143fb565b83811115614425576000848401525b50505050565b6000601f19601f8301169050919050565b6000614447826143dc565b61445181856143e7565b93506144618185602086016143f8565b61446a8161442b565b840191505092915050565b6000602082019050818103600083015261448f818461443c565b905092915050565b6000819050919050565b6144aa81614497565b81146144b557600080fd5b50565b6000813590506144c7816144a1565b92915050565b6000602082840312156144e3576144e2614317565b5b60006144f1848285016144b8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614525826144fa565b9050919050565b6145358161451a565b82525050565b6000602082019050614550600083018461452c565b92915050565b61455f8161451a565b811461456a57600080fd5b50565b60008135905061457c81614556565b92915050565b6000806040838503121561459957614598614317565b5b60006145a78582860161456d565b92505060206145b8858286016144b8565b9150509250929050565b6145cb81614497565b82525050565b60006020820190506145e660008301846145c2565b92915050565b6145f5816143a6565b811461460057600080fd5b50565b600081359050614612816145ec565b92915050565b60006020828403121561462e5761462d614317565b5b600061463c84828501614603565b91505092915050565b6000819050919050565b61465881614645565b82525050565b6000602082019050614673600083018461464f565b92915050565b60008060006060848603121561469257614691614317565b5b60006146a08682870161456d565b93505060206146b18682870161456d565b92505060406146c2868287016144b8565b9150509250925092565b6146d581614645565b81146146e057600080fd5b50565b6000813590506146f2816146cc565b92915050565b60006020828403121561470e5761470d614317565b5b600061471c848285016146e3565b91505092915050565b6000806040838503121561473c5761473b614317565b5b600061474a858286016144b8565b925050602061475b858286016144b8565b9150509250929050565b600060408201905061477a600083018561452c565b61478760208301846145c2565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f8401126147b3576147b261478e565b5b8235905067ffffffffffffffff8111156147d0576147cf614793565b5b6020830191508360208202830111156147ec576147eb614798565b5b9250929050565b6000806020838503121561480a57614809614317565b5b600083013567ffffffffffffffff8111156148285761482761431c565b5b6148348582860161479d565b92509250509250929050565b60006020828403121561485657614855614317565b5b60006148648482850161456d565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6148aa8261442b565b810181811067ffffffffffffffff821117156148c9576148c8614872565b5b80604052505050565b60006148dc61430d565b90506148e882826148a1565b919050565b600067ffffffffffffffff82111561490857614907614872565b5b6149118261442b565b9050602081019050919050565b82818337600083830152505050565b600061494061493b846148ed565b6148d2565b90508281526020810184848401111561495c5761495b61486d565b5b61496784828561491e565b509392505050565b600082601f8301126149845761498361478e565b5b813561499484826020860161492d565b91505092915050565b6000602082840312156149b3576149b2614317565b5b600082013567ffffffffffffffff8111156149d1576149d061431c565b5b6149dd8482850161496f565b91505092915050565b60006149f18261451a565b9050919050565b614a01816149e6565b8114614a0c57600080fd5b50565b600081359050614a1e816149f8565b92915050565b60008060408385031215614a3b57614a3a614317565b5b6000614a4985828601614a0f565b9250506020614a5a858286016144b8565b9150509250929050565b60008060408385031215614a7b57614a7a614317565b5b6000614a898582860161456d565b9250506020614a9a85828601614603565b9150509250929050565b6000614aaf8261451a565b9050919050565b614abf81614aa4565b8114614aca57600080fd5b50565b600081359050614adc81614ab6565b92915050565b600060208284031215614af857614af7614317565b5b6000614b0684828501614acd565b91505092915050565b600067ffffffffffffffff821115614b2a57614b29614872565b5b614b338261442b565b9050602081019050919050565b6000614b53614b4e84614b0f565b6148d2565b905082815260208101848484011115614b6f57614b6e61486d565b5b614b7a84828561491e565b509392505050565b600082601f830112614b9757614b9661478e565b5b8135614ba7848260208601614b40565b91505092915050565b60008060008060808587031215614bca57614bc9614317565b5b6000614bd88782880161456d565b9450506020614be98782880161456d565b9350506040614bfa878288016144b8565b925050606085013567ffffffffffffffff811115614c1b57614c1a61431c565b5b614c2787828801614b82565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b614c5481614c33565b8114614c5f57600080fd5b50565b600081359050614c7181614c4b565b92915050565b60008060408385031215614c8e57614c8d614317565b5b6000614c9c8582860161456d565b9250506020614cad85828601614c62565b9150509250929050565b60008060408385031215614cce57614ccd614317565b5b6000614cdc8582860161456d565b9250506020614ced8582860161456d565b9150509250929050565b600067ffffffffffffffff821115614d1257614d11614872565b5b602082029050602081019050919050565b6000614d36614d3184614cf7565b6148d2565b90508083825260208201905060208402830185811115614d5957614d58614798565b5b835b81811015614d825780614d6e88826146e3565b845260208401935050602081019050614d5b565b5050509392505050565b600082601f830112614da157614da061478e565b5b8135614db1848260208601614d23565b91505092915050565b600080600060608486031215614dd357614dd2614317565b5b6000614de1868287016146e3565b9350506020614df28682870161456d565b925050604084013567ffffffffffffffff811115614e1357614e1261431c565b5b614e1f86828701614d8c565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e7057607f821691505b602082108103614e8357614e82614e29565b5b50919050565b7f496e76616c696420737461746500000000000000000000000000000000000000600082015250565b6000614ebf600d836143e7565b9150614eca82614e89565b602082019050919050565b60006020820190508181036000830152614eee81614eb2565b9050919050565b6000604082019050614f0a600083018561452c565b614f17602083018461452c565b9392505050565b600081519050614f2d816145ec565b92915050565b600060208284031215614f4957614f48614317565b5b6000614f5784828501614f1e565b91505092915050565b7f5075626c6963206d696e74206973206e6f74206f70656e000000000000000000600082015250565b6000614f966017836143e7565b9150614fa182614f60565b602082019050919050565b60006020820190508181036000830152614fc581614f89565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061500682614497565b915061501183614497565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561504657615045614fcc565b5b828201905092915050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b60006150876008836143e7565b915061509282615051565b602082019050919050565b600060208201905081810360008301526150b68161507a565b9050919050565b60006150c882614497565b91506150d383614497565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561510c5761510b614fcc565b5b828202905092915050565b7f45786163742045544820616d6f756e74206e6565646564000000000000000000600082015250565b600061514d6017836143e7565b915061515882615117565b602082019050919050565b6000602082019050818103600083015261517c81615140565b9050919050565b7f4d6178207065722077616c6c6574207265616368656400000000000000000000600082015250565b60006151b96016836143e7565b91506151c482615183565b602082019050919050565b600060208201905081810360008301526151e8816151ac565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061522982614497565b915061523483614497565b925082615244576152436151ef565b5b828204905092915050565b7f5345414b4c697374206d696e74206973206e6f74206f70656e00000000000000600082015250565b60006152856019836143e7565b91506152908261524f565b602082019050919050565b600060208201905081810360008301526152b481615278565b9050919050565b7f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b60006152f16014836143e7565b91506152fc826152bb565b602082019050919050565b60006020820190508181036000830152615320816152e4565b9050919050565b7f52657365727665206d696e74206973206e6f74206f70656e0000000000000000600082015250565b600061535d6018836143e7565b915061536882615327565b602082019050919050565b6000602082019050818103600083015261538c81615350565b9050919050565b60006060820190506153a8600083018661452c565b6153b5602083018561452c565b6153c260408301846145c2565b949350505050565b60006060820190506153df600083018661452c565b6153ec602083018561452c565b6153f960408301846143b2565b949350505050565b600081519050615410816144a1565b92915050565b60006020828403121561542c5761542b614317565b5b600061543a84828501615401565b91505092915050565b7f4f47206d696e74206973206e6f74206f70656e00000000000000000000000000600082015250565b60006154796013836143e7565b915061548482615443565b602082019050919050565b600060208201905081810360008301526154a88161546c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061550b602f836143e7565b9150615516826154af565b604082019050919050565b6000602082019050818103600083015261553a816154fe565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461556e81614e58565b6155788186615541565b9450600182166000811461559357600181146155a4576155d7565b60ff198316865281860193506155d7565b6155ad8561554c565b60005b838110156155cf578154818901526001820191506020810190506155b0565b838801955050505b50505092915050565b60006155eb826143dc565b6155f58185615541565b93506156058185602086016143f8565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000615647600583615541565b915061565282615611565b600582019050919050565b60006156698285615561565b915061567582846155e0565b91506156808261563a565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156e86026836143e7565b91506156f38261568c565b604082019050919050565b60006020820190508181036000830152615717816156db565b9050919050565b60008160601b9050919050565b60006157368261571e565b9050919050565b60006157488261572b565b9050919050565b61576061575b8261451a565b61573d565b82525050565b6000615772828461574f565b60148201915081905092915050565b600061578c82614497565b91506000820361579f5761579e614fcc565b5b600182039050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006157e06020836143e7565b91506157eb826157aa565b602082019050919050565b6000602082019050818103600083015261580f816157d3565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061584c6010836143e7565b915061585782615816565b602082019050919050565b6000602082019050818103600083015261587b8161583f565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006158de602a836143e7565b91506158e982615882565b604082019050919050565b6000602082019050818103600083015261590d816158d1565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061594a6019836143e7565b915061595582615914565b602082019050919050565b600060208201905081810360008301526159798161593d565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006159b66014836143e7565b91506159c182615980565b602082019050919050565b600060208201905081810360008301526159e5816159a9565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615a13826159ec565b615a1d81856159f7565b9350615a2d8185602086016143f8565b615a368161442b565b840191505092915050565b6000608082019050615a56600083018761452c565b615a63602083018661452c565b615a7060408301856145c2565b8181036060830152615a828184615a08565b905095945050505050565b600081519050615a9c8161434d565b92915050565b600060208284031215615ab857615ab7614317565b5b6000615ac684828501615a8d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000615b0982614497565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615b3b57615b3a614fcc565b5b60018201905091905056fea2646970667358221220041cd4345bb21d7b85e825269463445e23660f9437deb3854c66e267399a5a0064736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106103815760003560e01c80637101ebca116101d1578063c21b471b11610102578063e58306f9116100a0578063f1a6063c1161006f578063f1a6063c14610c44578063f2fde38b14610c6d578063f4f2281814610c96578063ff3e6bee14610cbf57610381565b8063e58306f914610b88578063e8a3d48514610bb1578063e985e9c514610bdc578063f0d0779c14610c1957610381565b8063ce9c7c0d116100dc578063ce9c7c0d14610ae0578063d5abeb0114610b09578063db2e1eed14610b34578063e268e4d314610b5f57610381565b8063c21b471b14610a51578063c87b56dd14610a7a578063cb2bbdd614610ab757610381565b806395d89b411161016f578063acdce27311610149578063acdce273146109a4578063adfdeef9146109e1578063b88d4fde14610a0a578063c0e7274014610a2657610381565b806395d89b4114610927578063a22cb46514610952578063a69027d91461097b57610381565b80638da5cb5b116101ab5780638da5cb5b1461088c578063903afdc0146108b7578063918ed5d5146108e2578063938e3d7b146108fe57610381565b80637101ebca14610821578063715018a61461084c5780638905fd4f1461086357610381565b8063385bf7ad116102b6578063551f0a31116102545780636352211e116102235780636352211e146107555780636b7d2470146107925780636d44a3b2146107bb57806370a08231146107e457610381565b8063551f0a31146106ab57806355f804b3146106d65780635c975abb146106ff578063603f4d521461072a57610381565b806342842e0e1161029057806342842e0e14610612578063453c23101461062e578063455bb50b146106595780634996527c1461068257610381565b8063385bf7ad146105d05780633c7c2ab2146105ec5780633ccfd60b1461060857610381565b806316c38b3c1161032357806323b872dd116102fd57806323b872dd1461052457806325c2c020146105405780632a55205a14610569578063375a069a146105a757610381565b806316c38b3c146104a557806318160ddd146104ce5780631961b0ef146104f957610381565b8063084c40881161035f578063084c40881461042b578063095ea7b3146104545780631249c58b1461047057806315f5d8a01461047a57610381565b806301ffc9a71461038657806306fdde03146103c3578063081812fc146103ee575b600080fd5b34801561039257600080fd5b506103ad60048036038101906103a89190614379565b610cfc565b6040516103ba91906143c1565b60405180910390f35b3480156103cf57600080fd5b506103d8610d1e565b6040516103e59190614475565b60405180910390f35b3480156103fa57600080fd5b50610415600480360381019061041091906144cd565b610db0565b604051610422919061453b565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d91906144cd565b610e0e565b005b61046e60048036038101906104699190614582565b610e71565b005b610478611090565b005b34801561048657600080fd5b5061048f61127a565b60405161049c91906145d1565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c79190614618565b611280565b005b3480156104da57600080fd5b506104e36112a6565b6040516104f091906145d1565b60405180910390f35b34801561050557600080fd5b5061050e6112bd565b60405161051b919061465e565b60405180910390f35b61053e60048036038101906105399190614679565b6112c3565b005b34801561054c57600080fd5b50610567600480360381019061056291906146f8565b6114e5565b005b34801561057557600080fd5b50610590600480360381019061058b9190614725565b6114f7565b60405161059e929190614765565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c991906144cd565b6116e1565b005b6105ea60048036038101906105e591906147f3565b61174d565b005b610606600480360381019061060191906147f3565b6119c6565b005b610610611c3f565b005b61062c60048036038101906106279190614679565b611c96565b005b34801561063a57600080fd5b50610643611eb8565b60405161065091906145d1565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b91906144cd565b611ebe565b005b34801561068e57600080fd5b506106a960048036038101906106a49190614840565b611ed0565b005b3480156106b757600080fd5b506106c0611f1c565b6040516106cd91906145d1565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f8919061499d565b611f22565b005b34801561070b57600080fd5b50610714611f44565b60405161072191906143c1565b60405180910390f35b34801561073657600080fd5b5061073f611f5b565b60405161074c91906145d1565b60405180910390f35b34801561076157600080fd5b5061077c600480360381019061077791906144cd565b611f61565b604051610789919061453b565b60405180910390f35b34801561079e57600080fd5b506107b960048036038101906107b49190614a24565b611f73565b005b3480156107c757600080fd5b506107e260048036038101906107dd9190614a64565b611fee565b005b3480156107f057600080fd5b5061080b60048036038101906108069190614840565b61208b565b60405161081891906145d1565b60405180910390f35b34801561082d57600080fd5b50610836612122565b6040516108439190614475565b60405180910390f35b34801561085857600080fd5b506108616121b0565b005b34801561086f57600080fd5b5061088a60048036038101906108859190614ae2565b6121c4565b005b34801561089857600080fd5b506108a16122c7565b6040516108ae919061453b565b60405180910390f35b3480156108c357600080fd5b506108cc6122f1565b6040516108d9919061465e565b60405180910390f35b6108fc60048036038101906108f791906147f3565b6122f7565b005b34801561090a57600080fd5b506109256004803603810190610920919061499d565b612570565b005b34801561093357600080fd5b5061093c612592565b6040516109499190614475565b60405180910390f35b34801561095e57600080fd5b5061097960048036038101906109749190614a64565b612624565b005b34801561098757600080fd5b506109a2600480360381019061099d91906146f8565b612843565b005b3480156109b057600080fd5b506109cb60048036038101906109c69190614840565b612855565b6040516109d891906145d1565b60405180910390f35b3480156109ed57600080fd5b50610a086004803603810190610a039190614840565b61286d565b005b610a246004803603810190610a1f9190614bb0565b6128b9565b005b348015610a3257600080fd5b50610a3b612ade565b604051610a489190614475565b60405180910390f35b348015610a5d57600080fd5b50610a786004803603810190610a739190614c77565b612b6c565b005b348015610a8657600080fd5b50610aa16004803603810190610a9c91906144cd565b612b82565b604051610aae9190614475565b60405180910390f35b348015610ac357600080fd5b50610ade6004803603810190610ad991906144cd565b612bfe565b005b348015610aec57600080fd5b50610b076004803603810190610b0291906144cd565b612c10565b005b348015610b1557600080fd5b50610b1e612c22565b604051610b2b91906145d1565b60405180910390f35b348015610b4057600080fd5b50610b49612c28565b604051610b5691906145d1565b60405180910390f35b348015610b6b57600080fd5b50610b866004803603810190610b8191906144cd565b612c2e565b005b348015610b9457600080fd5b50610baf6004803603810190610baa9190614582565b612c40565b005b348015610bbd57600080fd5b50610bc6612cad565b604051610bd39190614475565b60405180910390f35b348015610be857600080fd5b50610c036004803603810190610bfe9190614cb7565b612d3f565b604051610c1091906143c1565b60405180910390f35b348015610c2557600080fd5b50610c2e612dd3565b604051610c3b919061465e565b60405180910390f35b348015610c5057600080fd5b50610c6b6004803603810190610c6691906144cd565b612dd9565b005b348015610c7957600080fd5b50610c946004803603810190610c8f9190614840565b612deb565b005b348015610ca257600080fd5b50610cbd6004803603810190610cb891906146f8565b612e6e565b005b348015610ccb57600080fd5b50610ce66004803603810190610ce19190614dba565b612e80565b604051610cf391906143c1565b60405180910390f35b6000610d0782612ecb565b80610d175750610d1682612f5d565b5b9050919050565b606060028054610d2d90614e58565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5990614e58565b8015610da65780601f10610d7b57610100808354040283529160200191610da6565b820191906000526020600020905b815481529060010190602001808311610d8957829003601f168201915b5050505050905090565b6000610dbb82612fd7565b610dd057610dcf63cf4700e460e01b613050565b5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610e1661305a565b60008110158015610e28575060048111155b610e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5e90614ed5565b60405180910390fd5b8060188190555050565b816000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115611080573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ef657610ef183836130d8565b61108b565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f53929190614ef5565b6020604051808303816000875af1158015610f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f969190614f33565b801561103e5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610ffa929190614ef5565b6020604051808303816000875af1158015611019573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103d9190614f33565b5b61107f57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611076919061453b565b60405180910390fd5b5b61108a83836130d8565b5b505050565b6110986130e8565b600460185410156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590614fac565b60405180910390fd5b60165460016110eb6112a6565b6110f59190614ffb565b1115611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d9061509d565b60405180910390fd5b34600160145461114691906150bd565b14611186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117d90615163565b60405180910390fd5b6017546001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111d59190614ffb565b1115611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d906151cf565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112669190614ffb565b92505081905550611278336001613132565b565b60125481565b61128861305a565b8061129a57611295613150565b6112a3565b6112a26131b3565b5b50565b60006112b0613216565b6001546000540303905090565b600e5481565b826000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b11156114d3573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113495761134484848461321f565b6114df565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016113a6929190614ef5565b6020604051808303816000875af11580156113c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e99190614f33565b80156114915750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161144d929190614ef5565b6020604051808303816000875af115801561146c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114909190614f33565b5b6114d257336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016114c9919061453b565b60405180910390fd5b5b6114de84848461321f565b5b50505050565b6114ed61305a565b80600d8190555050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361168c5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006116966134e0565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866116c291906150bd565b6116cc919061521e565b90508160000151819350935050509250929050565b6116e961305a565b601654816116f56112a6565b6116ff9190614ffb565b1115611740576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117379061509d565b60405180910390fd5b61174a3382613132565b50565b6117556130e8565b6002601854101561179b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117929061529b565b60405180910390fd5b60165460016117a86112a6565b6117b29190614ffb565b11156117f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ea9061509d565b60405180910390fd5b34600160135461180391906150bd565b14611843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183a90615163565b60405180910390fd5b6017546001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118929190614ffb565b11156118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca906151cf565b60405180910390fd5b611921600e5433848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e80565b611960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195790615307565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119b09190614ffb565b925050819055506119c2336001613132565b5050565b6119ce6130e8565b60036018541015611a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0b90615373565b60405180910390fd5b6016546001611a216112a6565b611a2b9190614ffb565b1115611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a639061509d565b60405180910390fd5b346001601454611a7c91906150bd565b14611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390615163565b60405180910390fd5b6017546001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b0b9190614ffb565b1115611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b43906151cf565b60405180910390fd5b611b9a600f5433848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e80565b611bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd090615307565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c299190614ffb565b92505081905550611c3b336001613132565b5050565b611c4761305a565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c92573d6000803e3d6000fd5b5050565b826000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115611ea6573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d1c57611d178484846134ea565b611eb2565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611d79929190614ef5565b6020604051808303816000875af1158015611d98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbc9190614f33565b8015611e645750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611e20929190614ef5565b6020604051808303816000875af1158015611e3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e639190614f33565b5b611ea557336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611e9c919061453b565b60405180910390fd5b5b611eb18484846134ea565b5b50505050565b60175481565b611ec661305a565b8060138190555050565b611ed861305a565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60135481565b611f2a61305a565b8060109080519060200190611f4092919061426a565b5050565b6000600860149054906101000a900460ff16905090565b60185481565b6000611f6c8261350a565b9050919050565b611f7b61305a565b8173ffffffffffffffffffffffffffffffffffffffff166342842e0e3033846040518463ffffffff1660e01b8152600401611fb893929190615393565b600060405180830381600087803b158015611fd257600080fd5b505af1158015611fe6573d6000803e3d6000fd5b505050505050565b611ff661305a565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2f367ab3084846040518463ffffffff1660e01b8152600401612055939291906153ca565b600060405180830381600087803b15801561206f57600080fd5b505af1158015612083573d6000803e3d6000fd5b505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120d1576120d0638f4eb60460e01b613050565b5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6010805461212f90614e58565b80601f016020809104026020016040519081016040528092919081815260200182805461215b90614e58565b80156121a85780601f1061217d576101008083540402835291602001916121a8565b820191906000526020600020905b81548152906001019060200180831161218b57829003601f168201915b505050505081565b6121b861305a565b6121c260006135f6565b565b6121cc61305a565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612222919061453b565b602060405180830381865afa15801561223f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122639190615416565b6040518363ffffffff1660e01b8152600401612280929190614765565b6020604051808303816000875af115801561229f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c39190614f33565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d5481565b6122ff6130e8565b60016018541015612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c9061548f565b60405180910390fd5b60165460016123526112a6565b61235c9190614ffb565b111561239d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123949061509d565b60405180910390fd5b3460016012546123ad91906150bd565b146123ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e490615163565b60405180910390fd5b6017546001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461243c9190614ffb565b111561247d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612474906151cf565b60405180910390fd5b6124cb600d5433848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e80565b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190615307565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461255a9190614ffb565b9250508190555061256c336001613132565b5050565b61257861305a565b806011908051906020019061258e92919061426a565b5050565b6060600380546125a190614e58565b80601f01602080910402602001604051908101604052809291908181526020018280546125cd90614e58565b801561261a5780601f106125ef5761010080835404028352916020019161261a565b820191906000526020600020905b8154815290600101906020018083116125fd57829003601f168201915b5050505050905090565b816000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115612833573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036126a9576126a483836136bc565b61283e565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612706929190614ef5565b6020604051808303816000875af1158015612725573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127499190614f33565b80156127f15750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016127ad929190614ef5565b6020604051808303816000875af11580156127cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f09190614f33565b5b61283257336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612829919061453b565b60405180910390fd5b5b61283d83836136bc565b5b505050565b61284b61305a565b80600f8190555050565b60156020528060005260406000206000915090505481565b61287561305a565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b836000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163b1115612aca573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036129405761293b858585856137c7565b612ad7565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b815260040161299d929190614ef5565b6020604051808303816000875af11580156129bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e09190614f33565b8015612a885750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612a44929190614ef5565b6020604051808303816000875af1158015612a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a879190614f33565b5b612ac957336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612ac0919061453b565b60405180910390fd5b5b612ad6858585856137c7565b5b5050505050565b60118054612aeb90614e58565b80601f0160208091040260200160405190810160405280929190818152602001828054612b1790614e58565b8015612b645780601f10612b3957610100808354040283529160200191612b64565b820191906000526020600020905b815481529060010190602001808311612b4757829003601f168201915b505050505081565b612b7461305a565b612b7e8282613819565b5050565b6060612b8d82612fd7565b612bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc390615521565b60405180910390fd5b6010612bd7836139ae565b604051602001612be892919061565d565b6040516020818303038152906040529050919050565b612c0661305a565b8060128190555050565b612c1861305a565b8060148190555050565b60165481565b60145481565b612c3661305a565b8060178190555050565b612c4861305a565b60165481612c546112a6565b612c5e9190614ffb565b1115612c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c969061509d565b60405180910390fd5b612ca98282613132565b5050565b606060118054612cbc90614e58565b80601f0160208091040260200160405190810160405280929190818152602001828054612ce890614e58565b8015612d355780601f10612d0a57610100808354040283529160200191612d35565b820191906000526020600020905b815481529060010190602001808311612d1857829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f5481565b612de161305a565b8060168190555050565b612df361305a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e59906156fe565b60405180910390fd5b612e6b816135f6565b50565b612e7661305a565b80600e8190555050565b60008083604051602001612e949190615766565b604051602081830303815290604052805190602001209050612ec1858285613a7c9092919063ffffffff16565b9150509392505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f2657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f565750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fd05750612fcf82613a93565b5b9050919050565b600081612fe2613216565b1161304b5760005482101561304a5760005b6000600460008581526020019081526020016000205491508103613023578261301c90615781565b9250612ff4565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b8060005260046000fd5b613062613afd565b73ffffffffffffffffffffffffffffffffffffffff166130806122c7565b73ffffffffffffffffffffffffffffffffffffffff16146130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd906157f6565b60405180910390fd5b565b6130e482826001613b05565b5050565b6130f0611f44565b15613130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312790615862565b60405180910390fd5b565b61314c828260405180602001604052806000815250613c34565b5050565b613158613cb9565b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61319c613afd565b6040516131a9919061453b565b60405180910390a1565b6131bb6130e8565b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586131ff613afd565b60405161320c919061453b565b60405180910390a1565b60006001905090565b600061322a8261350a565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461329f5761329e63a114810060e01b613050565b5b6000806132ab84613d02565b915091506132c181876132bc613d29565b613d31565b6132ec576132d6866132d1613d29565b612d3f565b6132eb576132ea6359c896be60e01b613050565b5b5b6132f98686866001613d75565b801561330457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506133d2856133ae888887613d7b565b7c020000000000000000000000000000000000000000000000000000000017613da3565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036134585760006001850190506000600460008381526020019081526020016000205403613456576000548114613455578360046000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600081036134ca576134c963ea553b3460e01b613050565b5b6134d78787876001613dce565b50505050505050565b6000612710905090565b613505838383604051806020016040528060008152506128b9565b505050565b600081613515613216565b116135e05760046000838152602001908152602001600020549050600081036135b75760005482106135525761355163df2d9b4260e01b613050565b5b5b600460008360019003935083815260200190815260200160002054905060008103156135b25760007c0100000000000000000000000000000000000000000000000000000000821603156135f1576135b163df2d9b4260e01b613050565b5b613553565b60007c0100000000000000000000000000000000000000000000000000000000821603156135f1575b6135f063df2d9b4260e01b613050565b5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600760006136c9613d29565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16613776613d29565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516137bb91906143c1565b60405180910390a35050565b6137d28484846112c3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613813576137fd84848484613dd4565b6138125761381163d1a57ed660e01b613050565b5b5b50505050565b6138216134e0565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561387f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613876906158f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036138ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e590615960565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6060600060016139bd84613f03565b01905060008167ffffffffffffffff8111156139dc576139db614872565b5b6040519080825280601f01601f191660200182016040528015613a0e5781602001600182028036833780820191505090505b509050600082602001820190505b600115613a71578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581613a6557613a646151ef565b5b04945060008503613a1c575b819350505050919050565b600082613a898584614056565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000613b1083611f61565b9050818015613b5257508073ffffffffffffffffffffffffffffffffffffffff16613b39613d29565b73ffffffffffffffffffffffffffffffffffffffff1614155b15613b7e57613b6881613b63613d29565b612d3f565b613b7d57613b7c63cfb3b94260e01b613050565b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b613c3e83836140ac565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613cb457600080549050600083820390505b613c7e6000868380600101945086613dd4565b613c9357613c9263d1a57ed660e01b613050565b5b818110613c6b578160005414613cb157613cb0600060e01b613050565b5b50505b505050565b613cc1611f44565b613d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cf7906159cc565b60405180910390fd5b565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613d9286868461420f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613dfa613d29565b8786866040518563ffffffff1660e01b8152600401613e1c9493929190615a41565b6020604051808303816000875af1925050508015613e5857506040513d601f19601f82011682018060405250810190613e559190615aa2565b60015b613eb0573d8060008114613e88576040519150601f19603f3d011682016040523d82523d6000602084013e613e8d565b606091505b506000815103613ea857613ea763d1a57ed660e01b613050565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613f61577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613f5757613f566151ef565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613f9e576d04ee2d6d415b85acef81000000008381613f9457613f936151ef565b5b0492506020810190505b662386f26fc100008310613fcd57662386f26fc100008381613fc357613fc26151ef565b5b0492506010810190505b6305f5e1008310613ff6576305f5e1008381613fec57613feb6151ef565b5b0492506008810190505b612710831061401b576127108381614011576140106151ef565b5b0492506004810190505b6064831061403e5760648381614034576140336151ef565b5b0492506002810190505b600a831061404d576001810190505b80915050919050565b60008082905060005b84518110156140a15761408c8286838151811061407f5761407e615acf565b5b6020026020010151614218565b9150808061409990615afe565b91505061405f565b508091505092915050565b600080549050600082036140cb576140ca63b562e8dd60e01b613050565b5b6140d86000848385613d75565b6140f8836140e96000866000613d7b565b6140f285614243565b17613da3565b6004600083815260200190815260200160002081905550600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff16169050600081036141b0576141af632e07630060e01b613050565b5b6000838301905060008390505b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036141bd578160008190555050505061420a6000848385613dce565b505050565b60009392505050565b60008183106142305761422b8284614253565b61423b565b61423a8383614253565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b82805461427690614e58565b90600052602060002090601f01602090048101928261429857600085556142df565b82601f106142b157805160ff19168380011785556142df565b828001600101855582156142df579182015b828111156142de5782518255916020019190600101906142c3565b5b5090506142ec91906142f0565b5090565b5b808211156143095760008160009055506001016142f1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61435681614321565b811461436157600080fd5b50565b6000813590506143738161434d565b92915050565b60006020828403121561438f5761438e614317565b5b600061439d84828501614364565b91505092915050565b60008115159050919050565b6143bb816143a6565b82525050565b60006020820190506143d660008301846143b2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144165780820151818401526020810190506143fb565b83811115614425576000848401525b50505050565b6000601f19601f8301169050919050565b6000614447826143dc565b61445181856143e7565b93506144618185602086016143f8565b61446a8161442b565b840191505092915050565b6000602082019050818103600083015261448f818461443c565b905092915050565b6000819050919050565b6144aa81614497565b81146144b557600080fd5b50565b6000813590506144c7816144a1565b92915050565b6000602082840312156144e3576144e2614317565b5b60006144f1848285016144b8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614525826144fa565b9050919050565b6145358161451a565b82525050565b6000602082019050614550600083018461452c565b92915050565b61455f8161451a565b811461456a57600080fd5b50565b60008135905061457c81614556565b92915050565b6000806040838503121561459957614598614317565b5b60006145a78582860161456d565b92505060206145b8858286016144b8565b9150509250929050565b6145cb81614497565b82525050565b60006020820190506145e660008301846145c2565b92915050565b6145f5816143a6565b811461460057600080fd5b50565b600081359050614612816145ec565b92915050565b60006020828403121561462e5761462d614317565b5b600061463c84828501614603565b91505092915050565b6000819050919050565b61465881614645565b82525050565b6000602082019050614673600083018461464f565b92915050565b60008060006060848603121561469257614691614317565b5b60006146a08682870161456d565b93505060206146b18682870161456d565b92505060406146c2868287016144b8565b9150509250925092565b6146d581614645565b81146146e057600080fd5b50565b6000813590506146f2816146cc565b92915050565b60006020828403121561470e5761470d614317565b5b600061471c848285016146e3565b91505092915050565b6000806040838503121561473c5761473b614317565b5b600061474a858286016144b8565b925050602061475b858286016144b8565b9150509250929050565b600060408201905061477a600083018561452c565b61478760208301846145c2565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f8401126147b3576147b261478e565b5b8235905067ffffffffffffffff8111156147d0576147cf614793565b5b6020830191508360208202830111156147ec576147eb614798565b5b9250929050565b6000806020838503121561480a57614809614317565b5b600083013567ffffffffffffffff8111156148285761482761431c565b5b6148348582860161479d565b92509250509250929050565b60006020828403121561485657614855614317565b5b60006148648482850161456d565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6148aa8261442b565b810181811067ffffffffffffffff821117156148c9576148c8614872565b5b80604052505050565b60006148dc61430d565b90506148e882826148a1565b919050565b600067ffffffffffffffff82111561490857614907614872565b5b6149118261442b565b9050602081019050919050565b82818337600083830152505050565b600061494061493b846148ed565b6148d2565b90508281526020810184848401111561495c5761495b61486d565b5b61496784828561491e565b509392505050565b600082601f8301126149845761498361478e565b5b813561499484826020860161492d565b91505092915050565b6000602082840312156149b3576149b2614317565b5b600082013567ffffffffffffffff8111156149d1576149d061431c565b5b6149dd8482850161496f565b91505092915050565b60006149f18261451a565b9050919050565b614a01816149e6565b8114614a0c57600080fd5b50565b600081359050614a1e816149f8565b92915050565b60008060408385031215614a3b57614a3a614317565b5b6000614a4985828601614a0f565b9250506020614a5a858286016144b8565b9150509250929050565b60008060408385031215614a7b57614a7a614317565b5b6000614a898582860161456d565b9250506020614a9a85828601614603565b9150509250929050565b6000614aaf8261451a565b9050919050565b614abf81614aa4565b8114614aca57600080fd5b50565b600081359050614adc81614ab6565b92915050565b600060208284031215614af857614af7614317565b5b6000614b0684828501614acd565b91505092915050565b600067ffffffffffffffff821115614b2a57614b29614872565b5b614b338261442b565b9050602081019050919050565b6000614b53614b4e84614b0f565b6148d2565b905082815260208101848484011115614b6f57614b6e61486d565b5b614b7a84828561491e565b509392505050565b600082601f830112614b9757614b9661478e565b5b8135614ba7848260208601614b40565b91505092915050565b60008060008060808587031215614bca57614bc9614317565b5b6000614bd88782880161456d565b9450506020614be98782880161456d565b9350506040614bfa878288016144b8565b925050606085013567ffffffffffffffff811115614c1b57614c1a61431c565b5b614c2787828801614b82565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b614c5481614c33565b8114614c5f57600080fd5b50565b600081359050614c7181614c4b565b92915050565b60008060408385031215614c8e57614c8d614317565b5b6000614c9c8582860161456d565b9250506020614cad85828601614c62565b9150509250929050565b60008060408385031215614cce57614ccd614317565b5b6000614cdc8582860161456d565b9250506020614ced8582860161456d565b9150509250929050565b600067ffffffffffffffff821115614d1257614d11614872565b5b602082029050602081019050919050565b6000614d36614d3184614cf7565b6148d2565b90508083825260208201905060208402830185811115614d5957614d58614798565b5b835b81811015614d825780614d6e88826146e3565b845260208401935050602081019050614d5b565b5050509392505050565b600082601f830112614da157614da061478e565b5b8135614db1848260208601614d23565b91505092915050565b600080600060608486031215614dd357614dd2614317565b5b6000614de1868287016146e3565b9350506020614df28682870161456d565b925050604084013567ffffffffffffffff811115614e1357614e1261431c565b5b614e1f86828701614d8c565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e7057607f821691505b602082108103614e8357614e82614e29565b5b50919050565b7f496e76616c696420737461746500000000000000000000000000000000000000600082015250565b6000614ebf600d836143e7565b9150614eca82614e89565b602082019050919050565b60006020820190508181036000830152614eee81614eb2565b9050919050565b6000604082019050614f0a600083018561452c565b614f17602083018461452c565b9392505050565b600081519050614f2d816145ec565b92915050565b600060208284031215614f4957614f48614317565b5b6000614f5784828501614f1e565b91505092915050565b7f5075626c6963206d696e74206973206e6f74206f70656e000000000000000000600082015250565b6000614f966017836143e7565b9150614fa182614f60565b602082019050919050565b60006020820190508181036000830152614fc581614f89565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061500682614497565b915061501183614497565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561504657615045614fcc565b5b828201905092915050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b60006150876008836143e7565b915061509282615051565b602082019050919050565b600060208201905081810360008301526150b68161507a565b9050919050565b60006150c882614497565b91506150d383614497565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561510c5761510b614fcc565b5b828202905092915050565b7f45786163742045544820616d6f756e74206e6565646564000000000000000000600082015250565b600061514d6017836143e7565b915061515882615117565b602082019050919050565b6000602082019050818103600083015261517c81615140565b9050919050565b7f4d6178207065722077616c6c6574207265616368656400000000000000000000600082015250565b60006151b96016836143e7565b91506151c482615183565b602082019050919050565b600060208201905081810360008301526151e8816151ac565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061522982614497565b915061523483614497565b925082615244576152436151ef565b5b828204905092915050565b7f5345414b4c697374206d696e74206973206e6f74206f70656e00000000000000600082015250565b60006152856019836143e7565b91506152908261524f565b602082019050919050565b600060208201905081810360008301526152b481615278565b9050919050565b7f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b60006152f16014836143e7565b91506152fc826152bb565b602082019050919050565b60006020820190508181036000830152615320816152e4565b9050919050565b7f52657365727665206d696e74206973206e6f74206f70656e0000000000000000600082015250565b600061535d6018836143e7565b915061536882615327565b602082019050919050565b6000602082019050818103600083015261538c81615350565b9050919050565b60006060820190506153a8600083018661452c565b6153b5602083018561452c565b6153c260408301846145c2565b949350505050565b60006060820190506153df600083018661452c565b6153ec602083018561452c565b6153f960408301846143b2565b949350505050565b600081519050615410816144a1565b92915050565b60006020828403121561542c5761542b614317565b5b600061543a84828501615401565b91505092915050565b7f4f47206d696e74206973206e6f74206f70656e00000000000000000000000000600082015250565b60006154796013836143e7565b915061548482615443565b602082019050919050565b600060208201905081810360008301526154a88161546c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061550b602f836143e7565b9150615516826154af565b604082019050919050565b6000602082019050818103600083015261553a816154fe565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461556e81614e58565b6155788186615541565b9450600182166000811461559357600181146155a4576155d7565b60ff198316865281860193506155d7565b6155ad8561554c565b60005b838110156155cf578154818901526001820191506020810190506155b0565b838801955050505b50505092915050565b60006155eb826143dc565b6155f58185615541565b93506156058185602086016143f8565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000615647600583615541565b915061565282615611565b600582019050919050565b60006156698285615561565b915061567582846155e0565b91506156808261563a565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156e86026836143e7565b91506156f38261568c565b604082019050919050565b60006020820190508181036000830152615717816156db565b9050919050565b60008160601b9050919050565b60006157368261571e565b9050919050565b60006157488261572b565b9050919050565b61576061575b8261451a565b61573d565b82525050565b6000615772828461574f565b60148201915081905092915050565b600061578c82614497565b91506000820361579f5761579e614fcc565b5b600182039050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006157e06020836143e7565b91506157eb826157aa565b602082019050919050565b6000602082019050818103600083015261580f816157d3565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061584c6010836143e7565b915061585782615816565b602082019050919050565b6000602082019050818103600083015261587b8161583f565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006158de602a836143e7565b91506158e982615882565b604082019050919050565b6000602082019050818103600083015261590d816158d1565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061594a6019836143e7565b915061595582615914565b602082019050919050565b600060208201905081810360008301526159798161593d565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006159b66014836143e7565b91506159c182615980565b602082019050919050565b600060208201905081810360008301526159e5816159a9565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615a13826159ec565b615a1d81856159f7565b9350615a2d8185602086016143f8565b615a368161442b565b840191505092915050565b6000608082019050615a56600083018761452c565b615a63602083018661452c565b615a7060408301856145c2565b8181036060830152615a828184615a08565b905095945050505050565b600081519050615a9c8161434d565b92915050565b600060208284031215615ab857615ab7614317565b5b6000615ac684828501615a8d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000615b0982614497565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615b3b57615b3a614fcc565b5b60018201905091905056fea2646970667358221220041cd4345bb21d7b85e825269463445e23660f9437deb3854c66e267399a5a0064736f6c634300080d0033

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.