ETH Price: $3,129.57 (+5.46%)

Token

A Pile Of Snow (APileOfSnow)
 

Overview

Max Total Supply

3,318 APileOfSnow

Holders

1,663

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 APileOfSnow
0xcFBAab8D12316b8F91Fe161D40B5A61fbb91b8a6
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Let it snow.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
APileOfSnow

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 8: APileOfSnow.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.6;

import "./ERC721AQueryable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";

contract APileOfSnow is ERC721AQueryable, Ownable{

    uint public maxSupply = 3333;
    uint public maxPerWallet = 2;

    bool public wlMintOpen = false;
    bool public mintOpen = false;

    string internal baseTokenURI = "ipfs://QmQjJ4DfEDier7ajd1GrD6dMvAL6qVCaJnKuGPs5usm8vd";
    bytes32 public merkleRoot = "";

    constructor() ERC721A("A Pile Of Snow", "APileOfSnow") {}

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function toggleMint() external onlyOwner {
        wlMintOpen = false;
        mintOpen = !mintOpen;
    }

    function toggleWhitelistMint() external onlyOwner {
        mintOpen = false;
        wlMintOpen = !wlMintOpen;
    }
    
    function setBaseTokenURI(string calldata _uri) external onlyOwner {
        baseTokenURI = _uri;
    }
    
    function setMerkleRoot(bytes32 _root) external onlyOwner {
        merkleRoot = _root;
    }
    
    function _baseURI() internal override view returns (string memory) {
        return baseTokenURI;
    }

    function tokenURI(uint256 tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        return _baseURI();
    }

    function mintAdmin(address to, uint qty) external onlyOwner {
        _mintTo(to, qty);
    }

    function mint(uint qty) external payable {
        require(mintOpen, "Public sale not active");
        _mintCheck(qty);
    }

    function whitelistMint(uint qty, bytes32[] calldata proof) external payable {
        require(wlMintOpen, "Whitelist sale not active");
        require(MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "Not whitelisted!");
        _mintCheck(qty);
    }

    function _mintCheck(uint qty) internal {
        require(qty > 0, "Can't mint 0");
        require(qty + _numberMinted(_msgSender()) <= maxPerWallet, "Max mint per wallet reached");
        _mintTo(_msgSender(), qty);                
    }

    function _mintTo(address to, uint qty) internal {
        require(qty + totalSupply() + _totalBurned() <= maxSupply, "Exceeds total supply");
        _mint(to, qty);
    }
	
    function totalBurned() external view returns (uint256) {
        return _totalBurned();
    }
	
    function mintedBySender() external view returns (uint256) {
        return _numberMinted(_msgSender());
    }
	
    function burnedByOwner(address owner) external view returns (uint256) {
        return _numberBurned(owner);
    }
    
	function melt(uint256 tokenId) external {
        _burn(tokenId, true);
	}
    
    function withdraw() external onlyOwner {
        payable(_msgSender()).transfer(address(this).balance);
    }
} 

File 2 of 8: 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 3 of 8: ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

pragma solidity ^0.8.4;

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

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

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

File 7 of 8: MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
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) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 8 of 8: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"burnedByOwner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"melt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedBySender","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

610d056009556002600a55600b805461ffff1916905560e060405260356080818152906200248b60a039600c90620000389082620001c7565b506000600d553480156200004b57600080fd5b506040518060400160405280600e81526020016d412050696c65204f6620536e6f7760901b8152506040518060400160405280600b81526020016a4150696c654f66536e6f7760a81b8152508160029081620000a89190620001c7565b506003620000b78282620001c7565b5050600160005550620000ca33620000d0565b62000293565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200014d57607f821691505b6020821081036200016e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001c257600081815260208120601f850160051c810160208610156200019d5750805b601f850160051c820191505b81811015620001be57828155600101620001a9565b5050505b505050565b81516001600160401b03811115620001e357620001e362000122565b620001fb81620001f4845462000138565b8462000174565b602080601f8311600181146200023357600084156200021a5750858301515b600019600386901b1c1916600185901b178555620001be565b600085815260208120601f198616915b82811015620002645788860151825594840194600190910190840162000243565b5085821015620002835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6121e880620002a36000396000f3fe6080604052600436106102245760003560e01c806380490f9911610123578063c23dc68f116100ab578063d5abeb011161006f578063d5abeb011461062f578063d89135cd14610645578063e985e9c51461065a578063efe0d269146106a3578063f2fde38b146106c357600080fd5b8063c23dc68f1461059a578063c3a71999146105c7578063c87b56dd146105e7578063d2cab05614610607578063d3dd5fe01461061a57600080fd5b806395d89b41116100f257806395d89b411461051257806399a2557a14610527578063a0712d6814610547578063a22cb4651461055a578063b88d4fde1461057a57600080fd5b806380490f99146104925780638462151c146104a75780638c83ed33146104d45780638da5cb5b146104f457600080fd5b806330176e13116101b15780636352211e116101755780636352211e146104085780636f63b60a1461042857806370a082311461043d578063715018a61461045d5780637cb647591461047257600080fd5b806330176e13146103705780633ccfd60b1461039057806342842e0e146103a5578063453c2310146103c55780635bbb2177146103db57600080fd5b8063095ea7b3116101f8578063095ea7b3146102d257806318160ddd146102f457806323b872dd1461031b57806324bbd0491461033b5780632eb4a7ab1461035a57600080fd5b8062725dca1461022957806301ffc9a71461025857806306fdde0314610278578063081812fc1461029a575b600080fd5b34801561023557600080fd5b50600b546102439060ff1681565b60405190151581526020015b60405180910390f35b34801561026457600080fd5b50610243610273366004611ab4565b6106e3565b34801561028457600080fd5b5061028d610735565b60405161024f9190611b1e565b3480156102a657600080fd5b506102ba6102b5366004611b31565b6107c7565b6040516001600160a01b03909116815260200161024f565b3480156102de57600080fd5b506102f26102ed366004611b66565b61080b565b005b34801561030057600080fd5b5060015460005403600019015b60405190815260200161024f565b34801561032757600080fd5b506102f2610336366004611b90565b6108ab565b34801561034757600080fd5b50600b5461024390610100900460ff1681565b34801561036657600080fd5b5061030d600d5481565b34801561037c57600080fd5b506102f261038b366004611bcc565b610a4e565b34801561039c57600080fd5b506102f2610a93565b3480156103b157600080fd5b506102f26103c0366004611b90565b610aec565b3480156103d157600080fd5b5061030d600a5481565b3480156103e757600080fd5b506103fb6103f6366004611c88565b610b07565b60405161024f9190611d05565b34801561041457600080fd5b506102ba610423366004611b31565b610bd2565b34801561043457600080fd5b506102f2610bdd565b34801561044957600080fd5b5061030d610458366004611d47565b610c1c565b34801561046957600080fd5b506102f2610c6a565b34801561047e57600080fd5b506102f261048d366004611b31565b610ca0565b34801561049e57600080fd5b5061030d610ccf565b3480156104b357600080fd5b506104c76104c2366004611d47565b610d03565b60405161024f9190611d62565b3480156104e057600080fd5b506102f26104ef366004611b31565b610e0b565b34801561050057600080fd5b506008546001600160a01b03166102ba565b34801561051e57600080fd5b5061028d610e16565b34801561053357600080fd5b506104c7610542366004611d9a565b610e25565b6102f2610555366004611b31565b610fac565b34801561056657600080fd5b506102f2610575366004611dcd565b611005565b34801561058657600080fd5b506102f2610595366004611e1f565b61109a565b3480156105a657600080fd5b506105ba6105b5366004611b31565b6110e4565b60405161024f9190611efa565b3480156105d357600080fd5b506102f26105e2366004611b66565b61116c565b3480156105f357600080fd5b5061028d610602366004611b31565b6111a4565b6102f2610615366004611f08565b6111d4565b34801561062657600080fd5b506102f26112e3565b34801561063b57600080fd5b5061030d60095481565b34801561065157600080fd5b5061030d61132d565b34801561066657600080fd5b50610243610675366004611f53565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106af57600080fd5b5061030d6106be366004611d47565b611338565b3480156106cf57600080fd5b506102f26106de366004611d47565b611365565b60006301ffc9a760e01b6001600160e01b03198316148061071457506380ac58cd60e01b6001600160e01b03198316145b8061072f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461074490611f86565b80601f016020809104026020016040519081016040528092919081815260200182805461077090611f86565b80156107bd5780601f10610792576101008083540402835291602001916107bd565b820191906000526020600020905b8154815290600101906020018083116107a057829003601f168201915b5050505050905090565b60006107d2826113fd565b6107ef576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061081682610bd2565b9050336001600160a01b0382161461084f576108328133610675565b61084f576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108b682611432565b9050836001600160a01b0316816001600160a01b0316146108e95760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546109158187335b6001600160a01b039081169116811491141790565b610940576109238633610675565b61094057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661096757604051633a954ecd60e21b815260040160405180910390fd5b801561097257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a0457600184016000818152600460205260408120549003610a02576000548114610a025760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610a815760405162461bcd60e51b8152600401610a7890611fc0565b60405180910390fd5b600c610a8e82848361203b565b505050565b6008546001600160a01b03163314610abd5760405162461bcd60e51b8152600401610a7890611fc0565b60405133904780156108fc02916000818181858888f19350505050158015610ae9573d6000803e3d6000fd5b50565b610a8e8383836040518060200160405280600081525061109a565b6060816000816001600160401b03811115610b2457610b24611e09565b604051908082528060200260200182016040528015610b7657816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610b425790505b50905060005b828114610bc957610ba4868683818110610b9857610b986120fb565b905060200201356110e4565b828281518110610bb657610bb66120fb565b6020908102919091010152600101610b7c565b50949350505050565b600061072f82611432565b6008546001600160a01b03163314610c075760405162461bcd60e51b8152600401610a7890611fc0565b600b805461ffff19811660ff90911615179055565b60006001600160a01b038216610c45576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610c945760405162461bcd60e51b8152600401610a7890611fc0565b610c9e60006114a1565b565b6008546001600160a01b03163314610cca5760405162461bcd60e51b8152600401610a7890611fc0565b600d55565b6000610cfe335b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b905090565b60606000806000610d1385610c1c565b90506000816001600160401b03811115610d2f57610d2f611e09565b604051908082528060200260200182016040528015610d58578160200160208202803683370190505b509050610d8560408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610dff57610d98816114f3565b91508160400151610df75781516001600160a01b031615610db857815194505b876001600160a01b0316856001600160a01b031603610df75780838780600101985081518110610dea57610dea6120fb565b6020026020010181815250505b600101610d88565b50909695505050505050565b610ae981600161152f565b60606003805461074490611f86565b6060818310610e4757604051631960ccad60e11b815260040160405180910390fd5b600080610e5360005490565b90506001851015610e6357600194505b80841115610e6f578093505b6000610e7a87610c1c565b905084861015610e995785850381811015610e93578091505b50610e9d565b5060005b6000816001600160401b03811115610eb757610eb7611e09565b604051908082528060200260200182016040528015610ee0578160200160208202803683370190505b50905081600003610ef6579350610fa592505050565b6000610f01886110e4565b905060008160400151610f12575080515b885b888114158015610f245750848714155b15610f9957610f32816114f3565b92508260400151610f915782516001600160a01b031615610f5257825191505b8a6001600160a01b0316826001600160a01b031603610f915780848880600101995081518110610f8457610f846120fb565b6020026020010181815250505b600101610f14565b50505092835250909150505b9392505050565b600b54610100900460ff16610ffc5760405162461bcd60e51b81526020600482015260166024820152755075626c69632073616c65206e6f742061637469766560501b6044820152606401610a78565b610ae981611679565b336001600160a01b0383160361102e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110a58484846108ab565b6001600160a01b0383163b156110de576110c184848484611726565b6110de576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061113d57506000548310155b156111485792915050565b611151836114f3565b90508060400151156111635792915050565b610fa583611811565b6008546001600160a01b031633146111965760405162461bcd60e51b8152600401610a7890611fc0565b6111a08282611846565b5050565b60606111af826113fd565b6111cc57604051630a14c4b560e41b815260040160405180910390fd5b61072f6118b9565b600b5460ff166112265760405162461bcd60e51b815260206004820152601960248201527f57686974656c6973742073616c65206e6f7420616374697665000000000000006044820152606401610a78565b61129b82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206118c8565b6112da5760405162461bcd60e51b815260206004820152601060248201526f4e6f742077686974656c69737465642160801b6044820152606401610a78565b610a8e83611679565b6008546001600160a01b0316331461130d5760405162461bcd60e51b8152600401610a7890611fc0565b600b805461010060ff19821681900460ff16150261ffff19909116179055565b6000610cfe60015490565b600061072f826001600160a01b031660009081526005602052604090205460801c6001600160401b031690565b6008546001600160a01b0316331461138f5760405162461bcd60e51b8152600401610a7890611fc0565b6001600160a01b0381166113f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a78565b610ae9816114a1565b600081600111158015611411575060005482105b801561072f575050600090815260046020526040902054600160e01b161590565b60008180600111611488576000548110156114885760008181526004602052604081205490600160e01b82169003611486575b80600003610fa5575060001901600081815260046020526040902054611465565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461072f90611977565b600061153a83611432565b90508060008061155886600090815260066020526040902080549091565b9150915084156115985761156d818433610900565b6115985761157b8333610675565b61159857604051632ce44b5f60e11b815260040160405180910390fd5b80156115a357600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036116315760018601600081815260046020526040812054900361162f57600054811461162f5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600081116116b85760405162461bcd60e51b815260206004820152600c60248201526b043616e2774206d696e7420360a41b6044820152606401610a78565b600a546116c433610cd6565b6116ce9083612127565b111561171c5760405162461bcd60e51b815260206004820152601b60248201527f4d6178206d696e74207065722077616c6c6574207265616368656400000000006044820152606401610a78565b610ae93382611846565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061175b90339089908890889060040161213f565b6020604051808303816000875af1925050508015611796575060408051601f3d908101601f191682019092526117939181019061217c565b60015b6117f4573d8080156117c4576040519150601f19603f3d011682016040523d82523d6000602084013e6117c9565b606091505b5080516000036117ec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261072f61184183611432565b611977565b600954600154600054819003600019016118609084612127565b61186a9190612127565b11156118af5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610a78565b6111a082826119be565b6060600c805461074490611f86565b600081815b855181101561196c5760008682815181106118ea576118ea6120fb565b6020026020010151905080831161192c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611959565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061196481612199565b9150506118cd565b509092149392505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000546001600160a01b0383166119e757604051622e076360e81b815260040160405180910390fd5b81600003611a085760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a525760005550505050565b6001600160e01b031981168114610ae957600080fd5b600060208284031215611ac657600080fd5b8135610fa581611a9e565b6000815180845260005b81811015611af757602081850181015186830182015201611adb565b81811115611b09576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610fa56020830184611ad1565b600060208284031215611b4357600080fd5b5035919050565b80356001600160a01b0381168114611b6157600080fd5b919050565b60008060408385031215611b7957600080fd5b611b8283611b4a565b946020939093013593505050565b600080600060608486031215611ba557600080fd5b611bae84611b4a565b9250611bbc60208501611b4a565b9150604084013590509250925092565b60008060208385031215611bdf57600080fd5b82356001600160401b0380821115611bf657600080fd5b818501915085601f830112611c0a57600080fd5b813581811115611c1957600080fd5b866020828501011115611c2b57600080fd5b60209290920196919550909350505050565b60008083601f840112611c4f57600080fd5b5081356001600160401b03811115611c6657600080fd5b6020830191508360208260051b8501011115611c8157600080fd5b9250929050565b60008060208385031215611c9b57600080fd5b82356001600160401b03811115611cb157600080fd5b611cbd85828601611c3d565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610dff57611d34838551611cc9565b9284019260809290920191600101611d21565b600060208284031215611d5957600080fd5b610fa582611b4a565b6020808252825182820181905260009190848201906040850190845b81811015610dff57835183529284019291840191600101611d7e565b600080600060608486031215611daf57600080fd5b611db884611b4a565b95602085013595506040909401359392505050565b60008060408385031215611de057600080fd5b611de983611b4a565b915060208301358015158114611dfe57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611e3557600080fd5b611e3e85611b4a565b9350611e4c60208601611b4a565b92506040850135915060608501356001600160401b0380821115611e6f57600080fd5b818701915087601f830112611e8357600080fd5b813581811115611e9557611e95611e09565b604051601f8201601f19908116603f01168101908382118183101715611ebd57611ebd611e09565b816040528281528a6020848701011115611ed657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6080810161072f8284611cc9565b600080600060408486031215611f1d57600080fd5b8335925060208401356001600160401b03811115611f3a57600080fd5b611f4686828701611c3d565b9497909650939450505050565b60008060408385031215611f6657600080fd5b611f6f83611b4a565b9150611f7d60208401611b4a565b90509250929050565b600181811c90821680611f9a57607f821691505b602082108103611fba57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610a8e57600081815260208120601f850160051c8101602086101561201c5750805b601f850160051c820191505b81811015610a4657828155600101612028565b6001600160401b0383111561205257612052611e09565b612066836120608354611f86565b83611ff5565b6000601f84116001811461209a57600085156120825750838201355b600019600387901b1c1916600186901b1783556120f4565b600083815260209020601f19861690835b828110156120cb57868501358255602094850194600190920191016120ab565b50868210156120e85760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561213a5761213a612111565b500190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061217290830184611ad1565b9695505050505050565b60006020828403121561218e57600080fd5b8151610fa581611a9e565b6000600182016121ab576121ab612111565b506001019056fea26469706673582212202acf62fa8376a73d0e82b44173034602748ed77e732c7d25f5118aa8ba74f08264736f6c634300080f0033697066733a2f2f516d516a4a344466454469657237616a643147724436644d76414c36715643614a6e4b754750733575736d387664

Deployed Bytecode

0x6080604052600436106102245760003560e01c806380490f9911610123578063c23dc68f116100ab578063d5abeb011161006f578063d5abeb011461062f578063d89135cd14610645578063e985e9c51461065a578063efe0d269146106a3578063f2fde38b146106c357600080fd5b8063c23dc68f1461059a578063c3a71999146105c7578063c87b56dd146105e7578063d2cab05614610607578063d3dd5fe01461061a57600080fd5b806395d89b41116100f257806395d89b411461051257806399a2557a14610527578063a0712d6814610547578063a22cb4651461055a578063b88d4fde1461057a57600080fd5b806380490f99146104925780638462151c146104a75780638c83ed33146104d45780638da5cb5b146104f457600080fd5b806330176e13116101b15780636352211e116101755780636352211e146104085780636f63b60a1461042857806370a082311461043d578063715018a61461045d5780637cb647591461047257600080fd5b806330176e13146103705780633ccfd60b1461039057806342842e0e146103a5578063453c2310146103c55780635bbb2177146103db57600080fd5b8063095ea7b3116101f8578063095ea7b3146102d257806318160ddd146102f457806323b872dd1461031b57806324bbd0491461033b5780632eb4a7ab1461035a57600080fd5b8062725dca1461022957806301ffc9a71461025857806306fdde0314610278578063081812fc1461029a575b600080fd5b34801561023557600080fd5b50600b546102439060ff1681565b60405190151581526020015b60405180910390f35b34801561026457600080fd5b50610243610273366004611ab4565b6106e3565b34801561028457600080fd5b5061028d610735565b60405161024f9190611b1e565b3480156102a657600080fd5b506102ba6102b5366004611b31565b6107c7565b6040516001600160a01b03909116815260200161024f565b3480156102de57600080fd5b506102f26102ed366004611b66565b61080b565b005b34801561030057600080fd5b5060015460005403600019015b60405190815260200161024f565b34801561032757600080fd5b506102f2610336366004611b90565b6108ab565b34801561034757600080fd5b50600b5461024390610100900460ff1681565b34801561036657600080fd5b5061030d600d5481565b34801561037c57600080fd5b506102f261038b366004611bcc565b610a4e565b34801561039c57600080fd5b506102f2610a93565b3480156103b157600080fd5b506102f26103c0366004611b90565b610aec565b3480156103d157600080fd5b5061030d600a5481565b3480156103e757600080fd5b506103fb6103f6366004611c88565b610b07565b60405161024f9190611d05565b34801561041457600080fd5b506102ba610423366004611b31565b610bd2565b34801561043457600080fd5b506102f2610bdd565b34801561044957600080fd5b5061030d610458366004611d47565b610c1c565b34801561046957600080fd5b506102f2610c6a565b34801561047e57600080fd5b506102f261048d366004611b31565b610ca0565b34801561049e57600080fd5b5061030d610ccf565b3480156104b357600080fd5b506104c76104c2366004611d47565b610d03565b60405161024f9190611d62565b3480156104e057600080fd5b506102f26104ef366004611b31565b610e0b565b34801561050057600080fd5b506008546001600160a01b03166102ba565b34801561051e57600080fd5b5061028d610e16565b34801561053357600080fd5b506104c7610542366004611d9a565b610e25565b6102f2610555366004611b31565b610fac565b34801561056657600080fd5b506102f2610575366004611dcd565b611005565b34801561058657600080fd5b506102f2610595366004611e1f565b61109a565b3480156105a657600080fd5b506105ba6105b5366004611b31565b6110e4565b60405161024f9190611efa565b3480156105d357600080fd5b506102f26105e2366004611b66565b61116c565b3480156105f357600080fd5b5061028d610602366004611b31565b6111a4565b6102f2610615366004611f08565b6111d4565b34801561062657600080fd5b506102f26112e3565b34801561063b57600080fd5b5061030d60095481565b34801561065157600080fd5b5061030d61132d565b34801561066657600080fd5b50610243610675366004611f53565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106af57600080fd5b5061030d6106be366004611d47565b611338565b3480156106cf57600080fd5b506102f26106de366004611d47565b611365565b60006301ffc9a760e01b6001600160e01b03198316148061071457506380ac58cd60e01b6001600160e01b03198316145b8061072f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461074490611f86565b80601f016020809104026020016040519081016040528092919081815260200182805461077090611f86565b80156107bd5780601f10610792576101008083540402835291602001916107bd565b820191906000526020600020905b8154815290600101906020018083116107a057829003601f168201915b5050505050905090565b60006107d2826113fd565b6107ef576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061081682610bd2565b9050336001600160a01b0382161461084f576108328133610675565b61084f576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108b682611432565b9050836001600160a01b0316816001600160a01b0316146108e95760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546109158187335b6001600160a01b039081169116811491141790565b610940576109238633610675565b61094057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661096757604051633a954ecd60e21b815260040160405180910390fd5b801561097257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a0457600184016000818152600460205260408120549003610a02576000548114610a025760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610a815760405162461bcd60e51b8152600401610a7890611fc0565b60405180910390fd5b600c610a8e82848361203b565b505050565b6008546001600160a01b03163314610abd5760405162461bcd60e51b8152600401610a7890611fc0565b60405133904780156108fc02916000818181858888f19350505050158015610ae9573d6000803e3d6000fd5b50565b610a8e8383836040518060200160405280600081525061109a565b6060816000816001600160401b03811115610b2457610b24611e09565b604051908082528060200260200182016040528015610b7657816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610b425790505b50905060005b828114610bc957610ba4868683818110610b9857610b986120fb565b905060200201356110e4565b828281518110610bb657610bb66120fb565b6020908102919091010152600101610b7c565b50949350505050565b600061072f82611432565b6008546001600160a01b03163314610c075760405162461bcd60e51b8152600401610a7890611fc0565b600b805461ffff19811660ff90911615179055565b60006001600160a01b038216610c45576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610c945760405162461bcd60e51b8152600401610a7890611fc0565b610c9e60006114a1565b565b6008546001600160a01b03163314610cca5760405162461bcd60e51b8152600401610a7890611fc0565b600d55565b6000610cfe335b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b905090565b60606000806000610d1385610c1c565b90506000816001600160401b03811115610d2f57610d2f611e09565b604051908082528060200260200182016040528015610d58578160200160208202803683370190505b509050610d8560408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610dff57610d98816114f3565b91508160400151610df75781516001600160a01b031615610db857815194505b876001600160a01b0316856001600160a01b031603610df75780838780600101985081518110610dea57610dea6120fb565b6020026020010181815250505b600101610d88565b50909695505050505050565b610ae981600161152f565b60606003805461074490611f86565b6060818310610e4757604051631960ccad60e11b815260040160405180910390fd5b600080610e5360005490565b90506001851015610e6357600194505b80841115610e6f578093505b6000610e7a87610c1c565b905084861015610e995785850381811015610e93578091505b50610e9d565b5060005b6000816001600160401b03811115610eb757610eb7611e09565b604051908082528060200260200182016040528015610ee0578160200160208202803683370190505b50905081600003610ef6579350610fa592505050565b6000610f01886110e4565b905060008160400151610f12575080515b885b888114158015610f245750848714155b15610f9957610f32816114f3565b92508260400151610f915782516001600160a01b031615610f5257825191505b8a6001600160a01b0316826001600160a01b031603610f915780848880600101995081518110610f8457610f846120fb565b6020026020010181815250505b600101610f14565b50505092835250909150505b9392505050565b600b54610100900460ff16610ffc5760405162461bcd60e51b81526020600482015260166024820152755075626c69632073616c65206e6f742061637469766560501b6044820152606401610a78565b610ae981611679565b336001600160a01b0383160361102e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110a58484846108ab565b6001600160a01b0383163b156110de576110c184848484611726565b6110de576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061113d57506000548310155b156111485792915050565b611151836114f3565b90508060400151156111635792915050565b610fa583611811565b6008546001600160a01b031633146111965760405162461bcd60e51b8152600401610a7890611fc0565b6111a08282611846565b5050565b60606111af826113fd565b6111cc57604051630a14c4b560e41b815260040160405180910390fd5b61072f6118b9565b600b5460ff166112265760405162461bcd60e51b815260206004820152601960248201527f57686974656c6973742073616c65206e6f7420616374697665000000000000006044820152606401610a78565b61129b82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206118c8565b6112da5760405162461bcd60e51b815260206004820152601060248201526f4e6f742077686974656c69737465642160801b6044820152606401610a78565b610a8e83611679565b6008546001600160a01b0316331461130d5760405162461bcd60e51b8152600401610a7890611fc0565b600b805461010060ff19821681900460ff16150261ffff19909116179055565b6000610cfe60015490565b600061072f826001600160a01b031660009081526005602052604090205460801c6001600160401b031690565b6008546001600160a01b0316331461138f5760405162461bcd60e51b8152600401610a7890611fc0565b6001600160a01b0381166113f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a78565b610ae9816114a1565b600081600111158015611411575060005482105b801561072f575050600090815260046020526040902054600160e01b161590565b60008180600111611488576000548110156114885760008181526004602052604081205490600160e01b82169003611486575b80600003610fa5575060001901600081815260046020526040902054611465565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461072f90611977565b600061153a83611432565b90508060008061155886600090815260066020526040902080549091565b9150915084156115985761156d818433610900565b6115985761157b8333610675565b61159857604051632ce44b5f60e11b815260040160405180910390fd5b80156115a357600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036116315760018601600081815260046020526040812054900361162f57600054811461162f5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600081116116b85760405162461bcd60e51b815260206004820152600c60248201526b043616e2774206d696e7420360a41b6044820152606401610a78565b600a546116c433610cd6565b6116ce9083612127565b111561171c5760405162461bcd60e51b815260206004820152601b60248201527f4d6178206d696e74207065722077616c6c6574207265616368656400000000006044820152606401610a78565b610ae93382611846565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061175b90339089908890889060040161213f565b6020604051808303816000875af1925050508015611796575060408051601f3d908101601f191682019092526117939181019061217c565b60015b6117f4573d8080156117c4576040519150601f19603f3d011682016040523d82523d6000602084013e6117c9565b606091505b5080516000036117ec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261072f61184183611432565b611977565b600954600154600054819003600019016118609084612127565b61186a9190612127565b11156118af5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610a78565b6111a082826119be565b6060600c805461074490611f86565b600081815b855181101561196c5760008682815181106118ea576118ea6120fb565b6020026020010151905080831161192c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611959565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061196481612199565b9150506118cd565b509092149392505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000546001600160a01b0383166119e757604051622e076360e81b815260040160405180910390fd5b81600003611a085760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a525760005550505050565b6001600160e01b031981168114610ae957600080fd5b600060208284031215611ac657600080fd5b8135610fa581611a9e565b6000815180845260005b81811015611af757602081850181015186830182015201611adb565b81811115611b09576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610fa56020830184611ad1565b600060208284031215611b4357600080fd5b5035919050565b80356001600160a01b0381168114611b6157600080fd5b919050565b60008060408385031215611b7957600080fd5b611b8283611b4a565b946020939093013593505050565b600080600060608486031215611ba557600080fd5b611bae84611b4a565b9250611bbc60208501611b4a565b9150604084013590509250925092565b60008060208385031215611bdf57600080fd5b82356001600160401b0380821115611bf657600080fd5b818501915085601f830112611c0a57600080fd5b813581811115611c1957600080fd5b866020828501011115611c2b57600080fd5b60209290920196919550909350505050565b60008083601f840112611c4f57600080fd5b5081356001600160401b03811115611c6657600080fd5b6020830191508360208260051b8501011115611c8157600080fd5b9250929050565b60008060208385031215611c9b57600080fd5b82356001600160401b03811115611cb157600080fd5b611cbd85828601611c3d565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610dff57611d34838551611cc9565b9284019260809290920191600101611d21565b600060208284031215611d5957600080fd5b610fa582611b4a565b6020808252825182820181905260009190848201906040850190845b81811015610dff57835183529284019291840191600101611d7e565b600080600060608486031215611daf57600080fd5b611db884611b4a565b95602085013595506040909401359392505050565b60008060408385031215611de057600080fd5b611de983611b4a565b915060208301358015158114611dfe57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611e3557600080fd5b611e3e85611b4a565b9350611e4c60208601611b4a565b92506040850135915060608501356001600160401b0380821115611e6f57600080fd5b818701915087601f830112611e8357600080fd5b813581811115611e9557611e95611e09565b604051601f8201601f19908116603f01168101908382118183101715611ebd57611ebd611e09565b816040528281528a6020848701011115611ed657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6080810161072f8284611cc9565b600080600060408486031215611f1d57600080fd5b8335925060208401356001600160401b03811115611f3a57600080fd5b611f4686828701611c3d565b9497909650939450505050565b60008060408385031215611f6657600080fd5b611f6f83611b4a565b9150611f7d60208401611b4a565b90509250929050565b600181811c90821680611f9a57607f821691505b602082108103611fba57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610a8e57600081815260208120601f850160051c8101602086101561201c5750805b601f850160051c820191505b81811015610a4657828155600101612028565b6001600160401b0383111561205257612052611e09565b612066836120608354611f86565b83611ff5565b6000601f84116001811461209a57600085156120825750838201355b600019600387901b1c1916600186901b1783556120f4565b600083815260209020601f19861690835b828110156120cb57868501358255602094850194600190920191016120ab565b50868210156120e85760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561213a5761213a612111565b500190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061217290830184611ad1565b9695505050505050565b60006020828403121561218e57600080fd5b8151610fa581611a9e565b6000600182016121ab576121ab612111565b506001019056fea26469706673582212202acf62fa8376a73d0e82b44173034602748ed77e732c7d25f5118aa8ba74f08264736f6c634300080f0033

Deployed Bytecode Sourcemap

151:2837:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;281:30;;;;;;;;;;-1:-1:-1;281:30:0;;;;;;;;;;;179:14:8;;172:22;154:41;;142:2;127:18;281:30:0;;;;;;;;5821:615:2;;;;;;;;;;-1:-1:-1;5821:615:2;;;;;:::i;:::-;;:::i;11468:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;13414:204::-;;;;;;;;;;-1:-1:-1;13414:204:2;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1643:32:8;;;1625:51;;1613:2;1598:18;13414:204:2;1479:203:8;12962:386:2;;;;;;;;;;-1:-1:-1;12962:386:2;;;;;:::i;:::-;;:::i;:::-;;4875:315;;;;;;;;;;-1:-1:-1;644:1:0;5141:12:2;4928:7;5125:13;:28;-1:-1:-1;;5125:46:2;4875:315;;;2270:25:8;;;2258:2;2243:18;4875:315:2;2124:177:8;22679:2800:2;;;;;;;;;;-1:-1:-1;22679:2800:2;;;;;:::i;:::-;;:::i;318:28:0:-;;;;;;;;;;-1:-1:-1;318:28:0;;;;;;;;;;;448:30;;;;;;;;;;;;;;;;910:104;;;;;;;;;;-1:-1:-1;910:104:0;;;;;:::i;:::-;;:::i;2874:111::-;;;;;;;;;;;;;:::i;14304:185:2:-;;;;;;;;;;-1:-1:-1;14304:185:2;;;;;:::i;:::-;;:::i;244:28:0:-;;;;;;;;;;;;;;;;1662:513:3;;;;;;;;;;-1:-1:-1;1662:513:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11257:144:2:-;;;;;;;;;;-1:-1:-1;11257:144:2;;;;;:::i;:::-;;:::i;778:120:0:-;;;;;;;;;;;;;:::i;6500:224:2:-;;;;;;;;;;-1:-1:-1;6500:224:2;;;;;:::i;:::-;;:::i;1714:103:7:-;;;;;;;;;;;;;:::i;1026:94:0:-;;;;;;;;;;-1:-1:-1;1026:94:0;;;;;:::i;:::-;;:::i;2541:111::-;;;;;;;;;;;;;:::i;5442:879:3:-;;;;;;;;;;-1:-1:-1;5442:879:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2786:76:0:-;;;;;;;;;;-1:-1:-1;2786:76:0;;;;;:::i;:::-;;:::i;1063:87:7:-;;;;;;;;;;-1:-1:-1;1136:6:7;;-1:-1:-1;;;;;1136:6:7;1063:87;;11637:104:2;;;;;;;;;;;;;:::i;2551:2454:3:-;;;;;;;;;;-1:-1:-1;2551:2454:3;;;;;:::i;:::-;;:::i;1571:129:0:-;;;;;;:::i;:::-;;:::i;13690:308:2:-;;;;;;;;;;-1:-1:-1;13690:308:2;;;;;:::i;:::-;;:::i;14560:399::-;;;;;;;;;;-1:-1:-1;14560:399:2;;;;;:::i;:::-;;:::i;1091:418:3:-;;;;;;;;;;-1:-1:-1;1091:418:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1468:95:0:-;;;;;;;;;;-1:-1:-1;1468:95:0;;;;;:::i;:::-;;:::i;1245:215::-;;;;;;;;;;-1:-1:-1;1245:215:0;;;;;:::i;:::-;;:::i;1708:287::-;;;;;;:::i;:::-;;:::i;661:109::-;;;;;;;;;;;;;:::i;209:28::-;;;;;;;;;;;;;;;;2437:95;;;;;;;;;;;;;:::i;14069:164:2:-;;;;;;;;;;-1:-1:-1;14069:164:2;;;;;:::i;:::-;-1:-1:-1;;;;;14190:25:2;;;14166:4;14190:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;14069:164;2661:116:0;;;;;;;;;;-1:-1:-1;2661:116:0;;;;;:::i;:::-;;:::i;1972:201:7:-;;;;;;;;;;-1:-1:-1;1972:201:7;;;;;:::i;:::-;;:::i;5821:615:2:-;5906:4;-1:-1:-1;;;;;;;;;6206:25:2;;;;:102;;-1:-1:-1;;;;;;;;;;6283:25:2;;;6206:102;:179;;;-1:-1:-1;;;;;;;;;;6360:25:2;;;6206:179;6186:199;5821:615;-1:-1:-1;;5821:615:2:o;11468:100::-;11522:13;11555:5;11548:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11468:100;:::o;13414:204::-;13482:7;13507:16;13515:7;13507;:16::i;:::-;13502:64;;13532:34;;-1:-1:-1;;;13532:34:2;;;;;;;;;;;13502:64;-1:-1:-1;13586:24:2;;;;:15;:24;;;;;;-1:-1:-1;;;;;13586:24:2;;13414:204::o;12962:386::-;13035:13;13051:16;13059:7;13051;:16::i;:::-;13035:32;-1:-1:-1;33862:10:2;-1:-1:-1;;;;;13084:28:2;;;13080:175;;13132:44;13149:5;33862:10;14069:164;:::i;13132:44::-;13127:128;;13204:35;;-1:-1:-1;;;13204:35:2;;;;;;;;;;;13127:128;13267:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;13267:29:2;-1:-1:-1;;;;;13267:29:2;;;;;;;;;13312:28;;13267:24;;13312:28;;;;;;;13024:324;12962:386;;:::o;22679:2800::-;22813:27;22843;22862:7;22843:18;:27::i;:::-;22813:57;;22928:4;-1:-1:-1;;;;;22887:45:2;22903:19;-1:-1:-1;;;;;22887:45:2;;22883:86;;22941:28;;-1:-1:-1;;;22941:28:2;;;;;;;;;;;22883:86;22983:27;21409:21;;;21236:15;21451:4;21444:36;21533:4;21517:21;;21623:26;;23167:62;21623:26;23203:4;33862:10;23209:19;-1:-1:-1;;;;;22228:31:2;;;22074:26;;22355:19;;22376:30;;22352:55;;21780:645;23167:62;23162:174;;23249:43;23266:4;33862:10;14069:164;:::i;23249:43::-;23244:92;;23301:35;;-1:-1:-1;;;23301:35:2;;;;;;;;;;;23244:92;-1:-1:-1;;;;;23353:16:2;;23349:52;;23378:23;;-1:-1:-1;;;23378:23:2;;;;;;;;;;;23349:52;23550:15;23547:160;;;23690:1;23669:19;23662:30;23547:160;-1:-1:-1;;;;;24085:24:2;;;;;;;:18;:24;;;;;;24083:26;;-1:-1:-1;;24083:26:2;;;24154:22;;;;;;;;;24152:24;;-1:-1:-1;24152:24:2;;;11156:11;11132:22;11128:40;11115:62;-1:-1:-1;;;11115:62:2;24447:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;24741:46:2;;:51;;24737:626;;24845:1;24835:11;;24813:19;24968:30;;;:17;:30;;;;;;:35;;24964:384;;25106:13;;25091:11;:28;25087:242;;25253:30;;;;:17;:30;;;;;:52;;;25087:242;24794:569;24737:626;25410:7;25406:2;-1:-1:-1;;;;;25391:27:2;25400:4;-1:-1:-1;;;;;25391:27:2;;;;;;;;;;;25429:42;22802:2677;;;22679:2800;;;:::o;910:104:0:-;1136:6:7;;-1:-1:-1;;;;;1136:6:7;33862:10:2;1283:23:7;1275:68;;;;-1:-1:-1;;;1275:68:7;;;;;;;:::i;:::-;;;;;;;;;987:12:0::1;:19;1002:4:::0;;987:12;:19:::1;:::i;:::-;;910:104:::0;;:::o;2874:111::-;1136:6:7;;-1:-1:-1;;;;;1136:6:7;33862:10:2;1283:23:7;1275:68;;;;-1:-1:-1;;;1275:68:7;;;;;;;:::i;:::-;2924:53:0::1;::::0;33862:10:2;;2955:21:0::1;2924:53:::0;::::1;;;::::0;::::1;::::0;;;2955:21;33862:10:2;2924:53:0;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;2874:111::o:0;14304:185:2:-;14442:39;14459:4;14465:2;14469:7;14442:39;;;;;;;;;;;;:16;:39::i;1662:513:3:-;1801:23;1889:8;1864:22;1889:8;-1:-1:-1;;;;;1955:36:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1955:36:3;;-1:-1:-1;;1955:36:3;;;;;;;;;;;;1918:73;;2010:9;2005:123;2026:14;2021:1;:19;2005:123;;2081:32;2101:8;;2110:1;2101:11;;;;;;;:::i;:::-;;;;;;;2081:19;:32::i;:::-;2065:10;2076:1;2065:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2042:3;;2005:123;;;-1:-1:-1;2148:10:3;1662:513;-1:-1:-1;;;;1662:513:3:o;11257:144:2:-;11321:7;11364:27;11383:7;11364:18;:27::i;778:120:0:-;1136:6:7;;-1:-1:-1;;;;;1136:6:7;33862:10:2;1283:23:7;1275:68;;;;-1:-1:-1;;;1275:68:7;;;;;;;:::i;:::-;839:8:0::1;:16:::0;;-1:-1:-1;;866:24:0;;839:16:::1;880:10:::0;;;879:11:::1;866:24;::::0;;778:120::o;6500:224:2:-;6564:7;-1:-1:-1;;;;;6588:19:2;;6584:60;;6616:28;;-1:-1:-1;;;6616:28:2;;;;;;;;;;;6584:60;-1:-1:-1;;;;;;6662:25:2;;;;;:18;:25;;;;;;-1:-1:-1;;;;;6662:54:2;;6500:224::o;1714:103:7:-;1136:6;;-1:-1:-1;;;;;1136:6:7;33862:10:2;1283:23:7;1275:68;;;;-1:-1:-1;;;1275:68:7;;;;;;;:::i;:::-;1779:30:::1;1806:1;1779:18;:30::i;:::-;1714:103::o:0;1026:94:0:-;1136:6:7;;-1:-1:-1;;;;;1136:6:7;33862:10:2;1283:23:7;1275:68;;;;-1:-1:-1;;;1275:68:7;;;;;;;:::i;:::-;1094:10:0::1;:18:::0;1026:94::o;2541:111::-;2590:7;2617:27;33862:10:2;2631:12:0;-1:-1:-1;;;;;6895:25:2;6867:7;6895:25;;;:18;:25;;1192:2;6895:25;;;;;:49;;-1:-1:-1;;;;;6894:80:2;;6806:176;2617:27:0;2610:34;;2541:111;:::o;5442:879:3:-;5520:16;5572:19;5605:25;5644:22;5669:16;5679:5;5669:9;:16::i;:::-;5644:41;;5699:25;5741:14;-1:-1:-1;;;;;5727:29:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5727:29:3;;5699:57;;5770:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5770:31:3;644:1:0;5815:461:3;5864:14;5849:11;:29;5815:461;;5915:15;5928:1;5915:12;:15::i;:::-;5903:27;;5952:9;:16;;;5992:8;5948:71;6040:14;;-1:-1:-1;;;;;6040:28:3;;6036:109;;6112:14;;;-1:-1:-1;6036:109:3;6187:5;-1:-1:-1;;;;;6166:26:3;:17;-1:-1:-1;;;;;6166:26:3;;6162:100;;6242:1;6216:8;6225:13;;;;;;6216:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6162:100;5880:3;;5815:461;;;-1:-1:-1;6296:8:3;;5442:879;-1:-1:-1;;;;;;5442:879:3:o;2786:76:0:-;2837:20;2843:7;2852:4;2837:5;:20::i;11637:104:2:-;11693:13;11726:7;11719:14;;;;;:::i;2551:2454:3:-;2690:16;2755:4;2746:5;:13;2742:45;;2768:19;;-1:-1:-1;;;2768:19:3;;;;;;;;;;;2742:45;2801:19;2834:17;2854:14;4617:7:2;4644:13;;4570:95;2854:14:3;2834:34;-1:-1:-1;644:1:0;2944:5:3;:23;2940:85;;;644:1:0;2987:23:3;;2940:85;3099:9;3092:4;:16;3088:71;;;3135:9;3128:16;;3088:71;3172:25;3200:16;3210:5;3200:9;:16::i;:::-;3172:44;;3391:4;3383:5;:12;3379:271;;;3437:12;;;3471:31;;;3467:109;;;3546:11;3526:31;;3467:109;3397:193;3379:271;;;-1:-1:-1;3634:1:3;3379:271;3663:25;3705:17;-1:-1:-1;;;;;3691:32:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3691:32:3;;3663:60;;3741:17;3762:1;3741:22;3737:76;;3790:8;-1:-1:-1;3783:15:3;;-1:-1:-1;;;3783:15:3;3737:76;3954:31;3988:26;4008:5;3988:19;:26::i;:::-;3954:60;;4028:25;4270:9;:16;;;4265:90;;-1:-1:-1;4326:14:3;;4265:90;4385:5;4368:467;4397:4;4392:1;:9;;:45;;;;;4420:17;4405:11;:32;;4392:45;4368:467;;;4474:15;4487:1;4474:12;:15::i;:::-;4462:27;;4511:9;:16;;;4551:8;4507:71;4599:14;;-1:-1:-1;;;;;4599:28:3;;4595:109;;4671:14;;;-1:-1:-1;4595:109:3;4746:5;-1:-1:-1;;;;;4725:26:3;:17;-1:-1:-1;;;;;4725:26:3;;4721:100;;4801:1;4775:8;4784:13;;;;;;4775:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4721:100;4439:3;;4368:467;;;-1:-1:-1;;;4917:29:3;;;-1:-1:-1;4924:8:3;;-1:-1:-1;;2551:2454:3;;;;;;:::o;1571:129:0:-;1631:8;;;;;;;1623:43;;;;-1:-1:-1;;;1623:43:0;;12468:2:8;1623:43:0;;;12450:21:8;12507:2;12487:18;;;12480:30;-1:-1:-1;;;12526:18:8;;;12519:52;12588:18;;1623:43:0;12266:346:8;1623:43:0;1677:15;1688:3;1677:10;:15::i;13690:308:2:-;33862:10;-1:-1:-1;;;;;13789:31:2;;;13785:61;;13829:17;;-1:-1:-1;;;13829:17:2;;;;;;;;;;;13785:61;33862:10;13859:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;13859:49:2;;;;;;;;;;;;:60;;-1:-1:-1;;13859:60:2;;;;;;;;;;13935:55;;154:41:8;;;13859:49:2;;33862:10;13935:55;;127:18:8;13935:55:2;;;;;;;13690:308;;:::o;14560:399::-;14727:31;14740:4;14746:2;14750:7;14727:12;:31::i;:::-;-1:-1:-1;;;;;14773:14:2;;;:19;14769:183;;14812:56;14843:4;14849:2;14853:7;14862:5;14812:30;:56::i;:::-;14807:145;;14896:40;;-1:-1:-1;;;14896:40:2;;;;;;;;;;;14807:145;14560:399;;;;:::o;1091:418:3:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;644:1:0;1253:7:3;:25;:54;;;-1:-1:-1;4617:7:2;4644:13;1282:7:3;:25;;1253:54;1249:101;;;1330:9;1091:418;-1:-1:-1;;1091:418:3:o;1249:101::-;1371:21;1384:7;1371:12;:21::i;:::-;1359:33;;1406:9;:16;;;1402:63;;;1445:9;1091:418;-1:-1:-1;;1091:418:3:o;1402:63::-;1481:21;1494:7;1481:12;:21::i;1468:95:0:-;1136:6:7;;-1:-1:-1;;;;;1136:6:7;33862:10:2;1283:23:7;1275:68;;;;-1:-1:-1;;;1275:68:7;;;;;;;:::i;:::-;1539:16:0::1;1547:2;1551:3;1539:7;:16::i;:::-;1468:95:::0;;:::o;1245:215::-;1337:13;1368:16;1376:7;1368;:16::i;:::-;1363:59;;1393:29;;-1:-1:-1;;;1393:29:0;;;;;;;;;;;1363:59;1442:10;:8;:10::i;1708:287::-;1803:10;;;;1795:48;;;;-1:-1:-1;;;1795:48:0;;12819:2:8;1795:48:0;;;12801:21:8;12858:2;12838:18;;;12831:30;12897:27;12877:18;;;12870:55;12942:18;;1795:48:0;12617:349:8;1795:48:0;1862:78;1881:5;;1862:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1888:10:0;;1910:28;;-1:-1:-1;;1927:10:0;13120:2:8;13116:15;13112:53;1910:28:0;;;13100:66:8;1888:10:0;;-1:-1:-1;13182:12:8;;;-1:-1:-1;1910:28:0;;;;;;;;;;;;1900:39;;;;;;1862:18;:78::i;:::-;1854:107;;;;-1:-1:-1;;;1854:107:0;;13407:2:8;1854:107:0;;;13389:21:8;13446:2;13426:18;;;13419:30;-1:-1:-1;;;13465:18:8;;;13458:46;13521:18;;1854:107:0;13205:340:8;1854:107:0;1972:15;1983:3;1972:10;:15::i;661:109::-;1136:6:7;;-1:-1:-1;;;;;1136:6:7;33862:10:2;1283:23:7;1275:68;;;;-1:-1:-1;;;1275:68:7;;;;;;;:::i;:::-;713:10:0::1;:18:::0;;::::1;-1:-1:-1::0;;713:18:0;::::1;754:8:::0;;::::1;713:18;754:8;753:9;742:20;-1:-1:-1::0;;742:20:0;;;::::1;::::0;;661:109::o;2437:95::-;2483:7;2510:14;5729:12:2;;;5655:94;2661:116:0;2722:7;2749:20;2763:5;-1:-1:-1;;;;;7169:25:2;7141:7;7169:25;;;:18;:25;;;;;;1318:3;7169:49;-1:-1:-1;;;;;7168:80:2;;7080:176;1972:201:7;1136:6;;-1:-1:-1;;;;;1136:6:7;33862:10:2;1283:23:7;1275:68;;;;-1:-1:-1;;;1275:68:7;;;;;;;:::i;:::-;-1:-1:-1;;;;;2061:22:7;::::1;2053:73;;;::::0;-1:-1:-1;;;2053:73:7;;13752:2:8;2053:73:7::1;::::0;::::1;13734:21:8::0;13791:2;13771:18;;;13764:30;13830:34;13810:18;;;13803:62;-1:-1:-1;;;13881:18:8;;;13874:36;13927:19;;2053:73:7::1;13550:402:8::0;2053:73:7::1;2137:28;2156:8;2137:18;:28::i;15214:273:2:-:0;15271:4;15327:7;644:1:0;15308:26:2;;:66;;;;;15361:13;;15351:7;:23;15308:66;:152;;;;-1:-1:-1;;15412:26:2;;;;:17;:26;;;;;;-1:-1:-1;;;15412:43:2;:48;;15214:273::o;8174:1129::-;8241:7;8276;;644:1:0;8325:23:2;8321:915;;8378:13;;8371:4;:20;8367:869;;;8416:14;8433:23;;;:17;:23;;;;;;;-1:-1:-1;;;8522:23:2;;:28;;8518:699;;9041:113;9048:6;9058:1;9048:11;9041:113;;-1:-1:-1;;;9119:6:2;9101:25;;;;:17;:25;;;;;;9041:113;;8518:699;8393:843;8367:869;9264:31;;-1:-1:-1;;;9264:31:2;;;;;;;;;;;2333:191:7;2426:6;;;-1:-1:-1;;;;;2443:17:7;;;-1:-1:-1;;;;;;2443:17:7;;;;;;;2476:40;;2426:6;;;2443:17;2426:6;;2476:40;;2407:16;;2476:40;2396:128;2333:191;:::o;9851:153:2:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9971:24:2;;;;:17;:24;;;;;;9952:44;;:18;:44::i;25875:3063::-;25955:27;25985;26004:7;25985:18;:27::i;:::-;25955:57;-1:-1:-1;25955:57:2;26025:12;;26147:28;26167:7;21110:27;21409:21;;;21236:15;21451:4;21444:36;21533:4;21517:21;;21623:26;;21517:21;;21015:652;26147:28;26090:85;;;;26192:13;26188:310;;;26313:62;26332:15;26349:4;33862:10;26355:19;33775:105;26313:62;26308:178;;26399:43;26416:4;33862:10;14069:164;:::i;26399:43::-;26394:92;;26451:35;;-1:-1:-1;;;26451:35:2;;;;;;;;;;;26394:92;26654:15;26651:160;;;26794:1;26773:19;26766:30;26651:160;-1:-1:-1;;;;;27412:24:2;;;;;;:18;:24;;;;;:59;;27440:31;27412:59;;;11156:11;11132:22;11128:40;11115:62;-1:-1:-1;;;11115:62:2;27709:26;;;;:17;:26;;;;;:203;;;;-1:-1:-1;;;28032:46:2;;:51;;28028:626;;28136:1;28126:11;;28104:19;28259:30;;;:17;:30;;;;;;:35;;28255:384;;28397:13;;28382:11;:28;28378:242;;28544:30;;;;:17;:30;;;;;:52;;;28378:242;28085:569;28028:626;28682:35;;28709:7;;28705:1;;-1:-1:-1;;;;;28682:35:2;;;;;28705:1;;28682:35;-1:-1:-1;;28905:12:2;:14;;;;;;-1:-1:-1;;;;25875:3063:2:o;2003:243:0:-;2067:1;2061:3;:7;2053:32;;;;-1:-1:-1;;;2053:32:0;;14159:2:8;2053:32:0;;;14141:21:8;14198:2;14178:18;;;14171:30;-1:-1:-1;;;14217:18:8;;;14210:42;14269:18;;2053:32:0;13957:336:8;2053:32:0;2141:12;;2110:27;33862:10:2;2124:12:0;33775:105:2;2110:27:0;2104:33;;:3;:33;:::i;:::-;:49;;2096:89;;;;-1:-1:-1;;;2096:89:0;;14765:2:8;2096:89:0;;;14747:21:8;14804:2;14784:18;;;14777:30;14843:29;14823:18;;;14816:57;14890:18;;2096:89:0;14563:351:8;2096:89:0;2196:26;33862:10:2;2218:3:0;2196:7;:26::i;29430:716:2:-;29614:88;;-1:-1:-1;;;29614:88:2;;29593:4;;-1:-1:-1;;;;;29614:45:2;;;;;:88;;33862:10;;29681:4;;29687:7;;29696:5;;29614:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29614:88:2;;;;;;;;-1:-1:-1;;29614:88:2;;;;;;;;;;;;:::i;:::-;;;29610:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29897:6;:13;29914:1;29897:18;29893:235;;29943:40;;-1:-1:-1;;;29943:40:2;;;;;;;;;;;29893:235;30086:6;30080:13;30071:6;30067:2;30063:15;30056:38;29610:529;-1:-1:-1;;;;;;29773:64:2;-1:-1:-1;;;29773:64:2;;-1:-1:-1;29430:716:2;;;;;;:::o;10507:158::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10610:47:2;10629:27;10648:7;10629:18;:27::i;:::-;10610:18;:47::i;2254:174:0:-;2361:9;;5729:12:2;;4928:7;5125:13;:28;;;-1:-1:-1;;5125:46:2;2321:19:0;;:3;:19;:::i;:::-;:36;;;;:::i;:::-;:49;;2313:82;;;;-1:-1:-1;;;2313:82:0;;15869:2:8;2313:82:0;;;15851:21:8;15908:2;15888:18;;;15881:30;-1:-1:-1;;;15927:18:8;;;15920:50;15987:18;;2313:82:0;15667:344:8;2313:82:0;2406:14;2412:2;2416:3;2406:5;:14::i;1132:105::-;1184:13;1217:12;1210:19;;;;;:::i;797:830:6:-;922:4;962;922;979:525;1003:5;:12;999:1;:16;979:525;;;1037:20;1060:5;1066:1;1060:8;;;;;;;;:::i;:::-;;;;;;;1037:31;;1105:12;1089;:28;1085:408;;1242:44;;;;;;16173:19:8;;;16208:12;;;16201:28;;;16245:12;;1242:44:6;;;;;;;;;;;;1232:55;;;;;;1217:70;;1085:408;;;1432:44;;;;;;16173:19:8;;;16208:12;;;16201:28;;;16245:12;;1432:44:6;;;;;;;;;;;;1422:55;;;;;;1407:70;;1085:408;-1:-1:-1;1017:3:6;;;;:::i;:::-;;;;979:525;;;-1:-1:-1;1599:20:6;;;;797:830;-1:-1:-1;;;797:830:6:o;9397:363:2:-;-1:-1:-1;;;;;;;;;;;;;9507:41:2;;;;1709:3;9593:32;;;-1:-1:-1;;;;;9559:67:2;-1:-1:-1;;;9559:67:2;-1:-1:-1;;;9656:23:2;;:28;;-1:-1:-1;;;9637:47:2;;;;2226:3;9724:27;;;;-1:-1:-1;;;9695:57:2;-1:-1:-1;9397:363:2:o;17045:1529::-;17110:20;17133:13;-1:-1:-1;;;;;17161:16:2;;17157:48;;17186:19;;-1:-1:-1;;;17186:19:2;;;;;;;;;;;17157:48;17220:8;17232:1;17220:13;17216:44;;17242:18;;-1:-1:-1;;;17242:18:2;;;;;;;;;;;17216:44;-1:-1:-1;;;;;17748:22:2;;;;;;:18;:22;;1192:2;17748:22;;:70;;17786:31;17774:44;;17748:70;;;11156:11;11132:22;11128:40;-1:-1:-1;12866:15:2;;12841:23;12837:45;11125:51;11115:62;18061:31;;;;:17;:31;;;;;:173;18079:12;18310:23;;;18348:101;18375:35;;18400:9;;;;;-1:-1:-1;;;;;18375:35:2;;;18392:1;;18375:35;;18392:1;;18375:35;18444:3;18434:7;:13;18348:101;;18465:13;:19;-1:-1:-1;987:19:0::1;910:104:::0;;:::o;206:131:8:-;-1:-1:-1;;;;;;280:32:8;;270:43;;260:71;;327:1;324;317:12;342:245;400:6;453:2;441:9;432:7;428:23;424:32;421:52;;;469:1;466;459:12;421:52;508:9;495:23;527:30;551:5;527:30;:::i;592:472::-;634:3;672:5;666:12;699:6;694:3;687:19;724:1;734:162;748:6;745:1;742:13;734:162;;;810:4;866:13;;;862:22;;856:29;838:11;;;834:20;;827:59;763:12;734:162;;;914:6;911:1;908:13;905:87;;;980:1;973:4;964:6;959:3;955:16;951:27;944:38;905:87;-1:-1:-1;1046:2:8;1025:15;-1:-1:-1;;1021:29:8;1012:39;;;;1053:4;1008:50;;592:472;-1:-1:-1;;592:472:8:o;1069:220::-;1218:2;1207:9;1200:21;1181:4;1238:45;1279:2;1268:9;1264:18;1256:6;1238:45;:::i;1294:180::-;1353:6;1406:2;1394:9;1385:7;1381:23;1377:32;1374:52;;;1422:1;1419;1412:12;1374:52;-1:-1:-1;1445:23:8;;1294:180;-1:-1:-1;1294:180:8:o;1687:173::-;1755:20;;-1:-1:-1;;;;;1804:31:8;;1794:42;;1784:70;;1850:1;1847;1840:12;1784:70;1687:173;;;:::o;1865:254::-;1933:6;1941;1994:2;1982:9;1973:7;1969:23;1965:32;1962:52;;;2010:1;2007;2000:12;1962:52;2033:29;2052:9;2033:29;:::i;:::-;2023:39;2109:2;2094:18;;;;2081:32;;-1:-1:-1;;;1865:254:8:o;2306:328::-;2383:6;2391;2399;2452:2;2440:9;2431:7;2427:23;2423:32;2420:52;;;2468:1;2465;2458:12;2420:52;2491:29;2510:9;2491:29;:::i;:::-;2481:39;;2539:38;2573:2;2562:9;2558:18;2539:38;:::i;:::-;2529:48;;2624:2;2613:9;2609:18;2596:32;2586:42;;2306:328;;;;;:::o;2821:592::-;2892:6;2900;2953:2;2941:9;2932:7;2928:23;2924:32;2921:52;;;2969:1;2966;2959:12;2921:52;3009:9;2996:23;-1:-1:-1;;;;;3079:2:8;3071:6;3068:14;3065:34;;;3095:1;3092;3085:12;3065:34;3133:6;3122:9;3118:22;3108:32;;3178:7;3171:4;3167:2;3163:13;3159:27;3149:55;;3200:1;3197;3190:12;3149:55;3240:2;3227:16;3266:2;3258:6;3255:14;3252:34;;;3282:1;3279;3272:12;3252:34;3327:7;3322:2;3313:6;3309:2;3305:15;3301:24;3298:37;3295:57;;;3348:1;3345;3338:12;3295:57;3379:2;3371:11;;;;;3401:6;;-1:-1:-1;2821:592:8;;-1:-1:-1;;;;2821:592:8:o;3418:367::-;3481:8;3491:6;3545:3;3538:4;3530:6;3526:17;3522:27;3512:55;;3563:1;3560;3553:12;3512:55;-1:-1:-1;3586:20:8;;-1:-1:-1;;;;;3618:30:8;;3615:50;;;3661:1;3658;3651:12;3615:50;3698:4;3690:6;3686:17;3674:29;;3758:3;3751:4;3741:6;3738:1;3734:14;3726:6;3722:27;3718:38;3715:47;3712:67;;;3775:1;3772;3765:12;3712:67;3418:367;;;;;:::o;3790:437::-;3876:6;3884;3937:2;3925:9;3916:7;3912:23;3908:32;3905:52;;;3953:1;3950;3943:12;3905:52;3993:9;3980:23;-1:-1:-1;;;;;4018:6:8;4015:30;4012:50;;;4058:1;4055;4048:12;4012:50;4097:70;4159:7;4150:6;4139:9;4135:22;4097:70;:::i;:::-;4186:8;;4071:96;;-1:-1:-1;3790:437:8;-1:-1:-1;;;;3790:437:8:o;4232:349::-;4316:12;;-1:-1:-1;;;;;4312:38:8;4300:51;;4404:4;4393:16;;;4387:23;-1:-1:-1;;;;;4383:48:8;4367:14;;;4360:72;4495:4;4484:16;;;4478:23;4471:31;4464:39;4448:14;;;4441:63;4557:4;4546:16;;;4540:23;4565:8;4536:38;4520:14;;4513:62;4232:349::o;4586:724::-;4821:2;4873:21;;;4943:13;;4846:18;;;4965:22;;;4792:4;;4821:2;5044:15;;;;5018:2;5003:18;;;4792:4;5087:197;5101:6;5098:1;5095:13;5087:197;;;5150:52;5198:3;5189:6;5183:13;5150:52;:::i;:::-;5259:15;;;;5231:4;5222:14;;;;;5123:1;5116:9;5087:197;;5315:186;5374:6;5427:2;5415:9;5406:7;5402:23;5398:32;5395:52;;;5443:1;5440;5433:12;5395:52;5466:29;5485:9;5466:29;:::i;5691:632::-;5862:2;5914:21;;;5984:13;;5887:18;;;6006:22;;;5833:4;;5862:2;6085:15;;;;6059:2;6044:18;;;5833:4;6128:169;6142:6;6139:1;6136:13;6128:169;;;6203:13;;6191:26;;6272:15;;;;6237:12;;;;6164:1;6157:9;6128:169;;6328:322;6405:6;6413;6421;6474:2;6462:9;6453:7;6449:23;6445:32;6442:52;;;6490:1;6487;6480:12;6442:52;6513:29;6532:9;6513:29;:::i;:::-;6503:39;6589:2;6574:18;;6561:32;;-1:-1:-1;6640:2:8;6625:18;;;6612:32;;6328:322;-1:-1:-1;;;6328:322:8:o;6655:347::-;6720:6;6728;6781:2;6769:9;6760:7;6756:23;6752:32;6749:52;;;6797:1;6794;6787:12;6749:52;6820:29;6839:9;6820:29;:::i;:::-;6810:39;;6899:2;6888:9;6884:18;6871:32;6946:5;6939:13;6932:21;6925:5;6922:32;6912:60;;6968:1;6965;6958:12;6912:60;6991:5;6981:15;;;6655:347;;;;;:::o;7007:127::-;7068:10;7063:3;7059:20;7056:1;7049:31;7099:4;7096:1;7089:15;7123:4;7120:1;7113:15;7139:1138;7234:6;7242;7250;7258;7311:3;7299:9;7290:7;7286:23;7282:33;7279:53;;;7328:1;7325;7318:12;7279:53;7351:29;7370:9;7351:29;:::i;:::-;7341:39;;7399:38;7433:2;7422:9;7418:18;7399:38;:::i;:::-;7389:48;;7484:2;7473:9;7469:18;7456:32;7446:42;;7539:2;7528:9;7524:18;7511:32;-1:-1:-1;;;;;7603:2:8;7595:6;7592:14;7589:34;;;7619:1;7616;7609:12;7589:34;7657:6;7646:9;7642:22;7632:32;;7702:7;7695:4;7691:2;7687:13;7683:27;7673:55;;7724:1;7721;7714:12;7673:55;7760:2;7747:16;7782:2;7778;7775:10;7772:36;;;7788:18;;:::i;:::-;7863:2;7857:9;7831:2;7917:13;;-1:-1:-1;;7913:22:8;;;7937:2;7909:31;7905:40;7893:53;;;7961:18;;;7981:22;;;7958:46;7955:72;;;8007:18;;:::i;:::-;8047:10;8043:2;8036:22;8082:2;8074:6;8067:18;8122:7;8117:2;8112;8108;8104:11;8100:20;8097:33;8094:53;;;8143:1;8140;8133:12;8094:53;8199:2;8194;8190;8186:11;8181:2;8173:6;8169:15;8156:46;8244:1;8239:2;8234;8226:6;8222:15;8218:24;8211:35;8265:6;8255:16;;;;;;;7139:1138;;;;;;;:::o;8282:268::-;8480:3;8465:19;;8493:51;8469:9;8526:6;8493:51;:::i;8555:505::-;8650:6;8658;8666;8719:2;8707:9;8698:7;8694:23;8690:32;8687:52;;;8735:1;8732;8725:12;8687:52;8771:9;8758:23;8748:33;;8832:2;8821:9;8817:18;8804:32;-1:-1:-1;;;;;8851:6:8;8848:30;8845:50;;;8891:1;8888;8881:12;8845:50;8930:70;8992:7;8983:6;8972:9;8968:22;8930:70;:::i;:::-;8555:505;;9019:8;;-1:-1:-1;8904:96:8;;-1:-1:-1;;;;8555:505:8:o;9065:260::-;9133:6;9141;9194:2;9182:9;9173:7;9169:23;9165:32;9162:52;;;9210:1;9207;9200:12;9162:52;9233:29;9252:9;9233:29;:::i;:::-;9223:39;;9281:38;9315:2;9304:9;9300:18;9281:38;:::i;:::-;9271:48;;9065:260;;;;;:::o;9330:380::-;9409:1;9405:12;;;;9452;;;9473:61;;9527:4;9519:6;9515:17;9505:27;;9473:61;9580:2;9572:6;9569:14;9549:18;9546:38;9543:161;;9626:10;9621:3;9617:20;9614:1;9607:31;9661:4;9658:1;9651:15;9689:4;9686:1;9679:15;9543:161;;9330:380;;;:::o;9715:356::-;9917:2;9899:21;;;9936:18;;;9929:30;9995:34;9990:2;9975:18;;9968:62;10062:2;10047:18;;9715:356::o;10202:545::-;10304:2;10299:3;10296:11;10293:448;;;10340:1;10365:5;10361:2;10354:17;10410:4;10406:2;10396:19;10480:2;10468:10;10464:19;10461:1;10457:27;10451:4;10447:38;10516:4;10504:10;10501:20;10498:47;;;-1:-1:-1;10539:4:8;10498:47;10594:2;10589:3;10585:12;10582:1;10578:20;10572:4;10568:31;10558:41;;10649:82;10667:2;10660:5;10657:13;10649:82;;;10712:17;;;10693:1;10682:13;10649:82;;10923:1206;-1:-1:-1;;;;;11042:3:8;11039:27;11036:53;;;11069:18;;:::i;:::-;11098:94;11188:3;11148:38;11180:4;11174:11;11148:38;:::i;:::-;11142:4;11098:94;:::i;:::-;11218:1;11243:2;11238:3;11235:11;11260:1;11255:616;;;;11915:1;11932:3;11929:93;;;-1:-1:-1;11988:19:8;;;11975:33;11929:93;-1:-1:-1;;10880:1:8;10876:11;;;10872:24;10868:29;10858:40;10904:1;10900:11;;;10855:57;12035:78;;11228:895;;11255:616;10149:1;10142:14;;;10186:4;10173:18;;-1:-1:-1;;11291:17:8;;;11392:9;11414:229;11428:7;11425:1;11422:14;11414:229;;;11517:19;;;11504:33;11489:49;;11624:4;11609:20;;;;11577:1;11565:14;;;;11444:12;11414:229;;;11418:3;11671;11662:7;11659:16;11656:159;;;11795:1;11791:6;11785:3;11779;11776:1;11772:11;11768:21;11764:34;11760:39;11747:9;11742:3;11738:19;11725:33;11721:79;11713:6;11706:95;11656:159;;;11858:1;11852:3;11849:1;11845:11;11841:19;11835:4;11828:33;11228:895;;;10923:1206;;;:::o;12134:127::-;12195:10;12190:3;12186:20;12183:1;12176:31;12226:4;12223:1;12216:15;12250:4;12247:1;12240:15;14298:127;14359:10;14354:3;14350:20;14347:1;14340:31;14390:4;14387:1;14380:15;14414:4;14411:1;14404:15;14430:128;14470:3;14501:1;14497:6;14494:1;14491:13;14488:39;;;14507:18;;:::i;:::-;-1:-1:-1;14543:9:8;;14430:128::o;14919:489::-;-1:-1:-1;;;;;15188:15:8;;;15170:34;;15240:15;;15235:2;15220:18;;15213:43;15287:2;15272:18;;15265:34;;;15335:3;15330:2;15315:18;;15308:31;;;15113:4;;15356:46;;15382:19;;15374:6;15356:46;:::i;:::-;15348:54;14919:489;-1:-1:-1;;;;;;14919:489:8:o;15413:249::-;15482:6;15535:2;15523:9;15514:7;15510:23;15506:32;15503:52;;;15551:1;15548;15541:12;15503:52;15583:9;15577:16;15602:30;15626:5;15602:30;:::i;16268:135::-;16307:3;16328:17;;;16325:43;;16348:18;;:::i;:::-;-1:-1:-1;16395:1:8;16384:13;;16268:135::o

Swarm Source

ipfs://2acf62fa8376a73d0e82b44173034602748ed77e732c7d25f5118aa8ba74f082
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.