ETH Price: $2,508.77 (+0.28%)

Token

XANA x BreakingDown (BD)
 

Overview

Max Total Supply

4,830 BD

Holders

1,466

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
koyakoya.eth
Balance
3 BD
0x8b7da8857805496c2e2eef3947bbd919896b67ea
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x2cd88A14...d315bb8e4
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
CollectionProxy

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-27
*/

// File: contracts\CollectionProxy\IERC1538.sol

pragma solidity ^0.8.0;

/// @title ERC1538 Transparent Contract Standard
/// @dev Required interface
///  Note: the ERC-165 identifier for this interface is 0x61455567
interface IERC1538 {

    /// @dev This emits when one or a set of functions are updated in a transparent contract.
    ///  The message string should give a short description of the change and why
    ///  the change was made.
    event CommitMessage(string message);

    /// @dev This emits for each function that is updated in a transparent contract.
    ///  functionId is the bytes4 of the keccak256 of the function signature.
    ///  oldDelegate is the delegate contract address of the old delegate contract if
    ///  the function is being replaced or removed.
    ///  oldDelegate is the zero value address(0) if a function is being added for the
    ///  first time.
    ///  newDelegate is the delegate contract address of the new delegate contract if
    ///  the function is being added for the first time or if the function is being
    ///  replaced.
    ///  newDelegate is the zero value address(0) if the function is being removed.
    event FunctionUpdate(bytes4 indexed functionId, address indexed oldDelegate, address indexed newDelegate, string functionSignature);

    /// @notice Updates functions in a transparent contract.
    /// @dev If the value of _delegate is zero then the functions specified
    ///  in _functionSignatures are removed.
    ///  If the value of _delegate is a delegate contract address then the functions
    ///  specified in _functionSignatures will be delegated to that address.
    /// @param _delegate The address of a delegate contract to delegate to or zero
    ///        to remove functions.
    /// @param _functionSignatures A list of function signatures listed one after the other
    /// @param _commitMessage A short description of the change and why it is made
    ///        This message is passed to the CommitMessage event.
    function updateContract(address _delegate, string calldata _functionSignatures, string calldata _commitMessage) external;
}

// File: contracts\CollectionProxy\ProxyBaseStorage.sol

pragma solidity ^0.8.0;

///////////////////////////////////////////////////////////////////////////////////////////////////
/**
 * @title ProxyBaseStorage
 * @dev Defining base storage for the proxy contract.
 */
///////////////////////////////////////////////////////////////////////////////////////////////////

contract ProxyBaseStorage {

    //////////////////////////////////////////// VARS /////////////////////////////////////////////

    // maps functions to the delegate contracts that execute the functions.
    // funcId => delegate contract
    mapping(bytes4 => address) public delegates;

    // array of function signatures supported by the contract.
    bytes[] public funcSignatures;

    // maps each function signature to its position in the funcSignatures array.
    // signature => index+1
    mapping(bytes => uint256) internal funcSignatureToIndex;

    // proxy address of itself, can be used for cross-delegate calls but also safety checking.
    address proxy;

    ///////////////////////////////////////////////////////////////////////////////////////////////

}

// File: contracts\IERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts\ERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts\OpenseaStandard\IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

// File: contracts\OpenseaStandard\lib\Constants.sol


pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

// File: contracts\OpenseaStandard\OperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

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

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

// File: contracts\OpenseaStandard\DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

// File: contracts\NFTLimit.sol

pragma solidity ^0.8.13;
abstract contract NFTLimit is ERC721A, DefaultOperatorFilterer {

    mapping(address => bool) public isTransferAllowed;
    mapping(uint256 => bool) public nftLock;

     modifier  onlyTransferAllowed(address from) {
        require(isTransferAllowed[from],"ERC721: transfer not allowed");
        _;
    }

     modifier  isNFTLock(uint256 tokenId) {
        require(!nftLock[tokenId],"ERC721: NFT is locked");
        _;
    }

    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator)  {
        require(isTransferAllowed[operator],"ERC721: transfer not allowed");
        super.setApprovalForAll(operator, approved);
    }

     // OpenSea Enforcer functions
    function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from)  {
        require(isTransferAllowed[msg.sender],"ERC721: transfer not allowed");
        require(!nftLock[tokenId],"ERC721: NFT is locked");
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from)   {
        require(isTransferAllowed[msg.sender],"ERC721: transfer not allowed");
        require(!nftLock[tokenId],"ERC721: NFT is locked");
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from)  {
        require(isTransferAllowed[msg.sender],"ERC721: transfer not allowed");
        require(!nftLock[tokenId],"ERC721: NFT is locked");
        super.safeTransferFrom(from, to, tokenId, data);
    }

  
}

// File: contracts\CollectionProxy\CollectionStorage.sol

pragma solidity ^0.8.13;

contract CollectionStorage {

// Counters.Counter tokenIds;
string public baseURI;
mapping(address => bool) public _allowAddress;


 mapping(uint256 => bytes32) internal whiteListRoot;

 uint256 internal MaxSupply;

 uint256 public status;

 uint256 internal mainPrice;

 address internal seller;

 uint256 internal royalty;

uint256 public bundleId;
 uint256 public perPurchaseNFTToMint;

 

 uint256[] rarity;

 struct SaleDetail {
    uint256 startTime;
    uint256 endTime;
    uint256 price;
 }

 mapping (uint256=>SaleDetail) internal _saleDetails;
 mapping(address => mapping(uint256 => uint256)) internal userBought;
 mapping(uint256 => bool) internal isReserveWhitelist;
 mapping(uint256 => uint256) public reservedNFT;
 uint256 public perTransactionLimit;

}

// File: @openzeppelin\contracts\utils\Context.sol


// 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: contracts\CollectionProxy\Ownable.sol



pragma solidity ^0.8.0;
/**
 * @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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) internal {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin\contracts\utils\Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

// File: contracts\CollectionProxy\CollectionProxy.sol

pragma solidity ^0.8.13;
///////////////////////////////////////////////////////////////////////////////////////////////////
/**
 * @title ProxyReceiver Contract
 * @dev Handles forwarding calls to receiver delegates while offering transparency of updates.
 *      Follows ERC-1538 standard.
 *
 *    NOTE: Not recommended for direct use in a production contract, as no security control.
 *          Provided as simple example only.
 */
///////////////////////////////////////////////////////////////////////////////////////////////////

contract CollectionProxy is ProxyBaseStorage, IERC1538, NFTLimit, Ownable, CollectionStorage {
using Strings for uint256;

    constructor(address implementation)ERC721A("XANA x BreakingDown", "BD") {

        proxy = address(this);
        _allowAddress[msg.sender] = true;
        baseURI = "https://testapi.xanalia.com/xanalia/get-nft-meta?tokenId=";
        MaxSupply = 4801;
        //Adding ERC1538 updateContract function
        bytes memory signature = "updateContract(address,string,string)";
         constructorRegisterFunction(signature, proxy);
         bytes memory setBaseURISig = "setBaseURI(string)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "getUserBoughtCount(address,uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "isWhitelisted(address,bytes32[],uint256,uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "mint(address,uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setSeed(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "preOrder(bytes32[],uint256,uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "claim()";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "buy(bytes32[],uint256,bool,uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "burnAdmin(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setWhitelistRoot(bytes32,uint256,bool)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setAuthor(address)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setMaxSupply(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setStatus(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setTransferAllowed(address,bool)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setSaleDetails(uint256,uint256,uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setPerBundleNFTToMint(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setPerTransactionLimit(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "tokenURI(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setPrice(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "setRoyalty(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "getPrice()";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "getMaxSupply()";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "getAuthor(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "getRoyaltyFee(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "getCreator(uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
         setBaseURISig = "getSaleDetails(uint256)public view returns(uint256,uint256)";
         constructorRegisterFunction(setBaseURISig, implementation);
    }

     function constructorRegisterFunction(bytes memory signature, address proxy) internal {
        bytes4 funcId = bytes4(keccak256(signature));
        delegates[funcId] = proxy;
        funcSignatures.push(signature);
        funcSignatureToIndex[signature] = funcSignatures.length;
       
        emit FunctionUpdate(funcId, address(0), proxy, string(signature));
        
        emit CommitMessage("Added ERC1538 updateContract function at contract creation");
    }

    ///////////////////////////////////////////////////////////////////////////////////////////////

    fallback() external payable {
        if (msg.sig == bytes4(0) && msg.value != uint(0)) { // skipping ethers/BNB received to delegate
            return;
        }
        address delegate = delegates[msg.sig];
        require(delegate != address(0), "Function does not exist.");
        assembly {
            let ptr := mload(0x40)
            calldatacopy(ptr, 0, calldatasize())
            let result := delegatecall(gas(), delegate, ptr, calldatasize(), 0, 0)
            let size := returndatasize()
            returndatacopy(ptr, 0, size)
            switch result
            case 0 {revert(ptr, size)}
            default {return (ptr, size)}
        }
    }

    ///////////////////////////////////////////////////////////////////////////////////////////////

    /// @notice Updates functions in a transparent contract.
    /// @dev If the value of _delegate is zero then the functions specified
    ///  in _functionSignatures are removed.
    ///  If the value of _delegate is a delegate contract address then the functions
    ///  specified in _functionSignatures will be delegated to that address.
    /// @param _delegate The address of a delegate contract to delegate to or zero
    /// @param _functionSignatures A list of function signatures listed one after the other
    /// @param _commitMessage A short description of the change and why it is made
    ///        This message is passed to the CommitMessage event.
    function updateContract(address _delegate, string calldata _functionSignatures, string calldata _commitMessage) override onlyOwner external {
        // pos is first used to check the size of the delegate contract.
        // After that pos is the current memory location of _functionSignatures.
        // It is used to move through the characters of _functionSignatures
        uint256 pos;
        if(_delegate != address(0)) {
            assembly {
                pos := extcodesize(_delegate)
            }
            require(pos > 0, "_delegate address is not a contract and is not address(0)");
        }

        // creates a bytes version of _functionSignatures
        bytes memory signatures = bytes(_functionSignatures);
        // stores the position in memory where _functionSignatures ends.
        uint256 signaturesEnd;
        // stores the starting position of a function signature in _functionSignatures
        uint256 start;
        assembly {
            pos := add(signatures,32)
            start := pos
            signaturesEnd := add(pos,mload(signatures))
        }
        // the function id of the current function signature
        bytes4 funcId;
        // the delegate address that is being replaced or address(0) if removing functions
        address oldDelegate;
        // the length of the current function signature in _functionSignatures
        uint256 num;
        // the current character in _functionSignatures
        uint256 char;
        // the position of the current function signature in the funcSignatures array
        uint256 index;
        // the last position in the funcSignatures array
        uint256 lastIndex;
        // parse the _functionSignatures string and handle each function
        for (; pos < signaturesEnd; pos++) {
            assembly {char := byte(0,mload(pos))}
            // 0x29 == )
            if (char == 0x29) {
                pos++;
                num = (pos - start);
                start = pos;
                assembly {
                    mstore(signatures,num)
                }
                funcId = bytes4(keccak256(signatures));
                oldDelegate = delegates[funcId];
                if(_delegate == address(0)) {
                    index = funcSignatureToIndex[signatures];
                    require(index != 0, "Function does not exist.");
                    index--;
                    lastIndex = funcSignatures.length - 1;
                    if (index != lastIndex) {
                        funcSignatures[index] = funcSignatures[lastIndex];
                        funcSignatureToIndex[funcSignatures[lastIndex]] = index + 1;
                    }
                    funcSignatures.pop();
                    delete funcSignatureToIndex[signatures];
                    delete delegates[funcId];
                    emit FunctionUpdate(funcId, oldDelegate, address(0), string(signatures));
                }
                else if (funcSignatureToIndex[signatures] == 0) {
                    require(oldDelegate == address(0), "FuncId clash.");
                    delegates[funcId] = _delegate;
                    funcSignatures.push(signatures);
                    funcSignatureToIndex[signatures] = funcSignatures.length;
                    emit FunctionUpdate(funcId, address(0), _delegate, string(signatures));
                }
                else if (delegates[funcId] != _delegate) {
                    delegates[funcId] = _delegate;
                    emit FunctionUpdate(funcId, oldDelegate, _delegate, string(signatures));

                }
                assembly {signatures := add(signatures,num)}
            }
        }
        emit CommitMessage(_commitMessage);
    }

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

 /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    ///////////////////////////////////////////////////////////////////////////////////////////////

}

///////////////////////////////////////////////////////////////////////////////////////////////////

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"CommitMessage","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":"bytes4","name":"functionId","type":"bytes4"},{"indexed":true,"internalType":"address","name":"oldDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"newDelegate","type":"address"},{"indexed":false,"internalType":"string","name":"functionSignature","type":"string"}],"name":"FunctionUpdate","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_allowAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"_operatorApprovals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bundleId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"funcSignatures","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTransferAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftLock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"perPurchaseNFTToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"perTransactionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"reservedNFT","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":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegate","type":"address"},{"internalType":"string","name":"_functionSignatures","type":"string"},{"internalType":"string","name":"_commitMessage","type":"string"}],"name":"updateContract","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200300d3803806200300d8339810160408190526200003491620009eb565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601381526020017f58414e41207820427265616b696e67446f776e0000000000000000000000000081525060405180604001604052806002815260200161109160f21b8152508160069081620000ad919062000ac2565b506007620000bc828262000ac2565b50600160045550506daaeb6d7670e522a718067333cd4e3b15620002095780156200015757604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200013857600080fd5b505af11580156200014d573d6000803e3d6000fd5b5050505062000209565b6001600160a01b03821615620001a85760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200011d565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001ef57600080fd5b505af115801562000204573d6000803e3d6000fd5b505050505b50620002179050336200080e565b600380546001600160a01b0319163017905533600090815260106020908152604091829020805460ff1916600117905581516060810190925260398083529062002f1290830139600f906200026d908262000ac2565b506112c1601281905550600060405180606001604052806025815260200162002f6e60259139600354909150620002af9082906001600160a01b031662000860565b6040805180820190915260128152717365744261736555524928737472696e672960701b6020820152620002e4818462000860565b60405180606001604052806023815260200162002f4b6023913990506200030c818462000860565b60405180606001604052806030815260200162002f9360309139905062000334818462000860565b5060408051808201909152601581527f6d696e7428616464726573732c75696e74323536290000000000000000000000602082015262000375818462000860565b5060408051808201909152601081526f736574536565642875696e743235362960801b6020820152620003a9818462000860565b60405180606001604052806023815260200162002eef602391399050620003d1818462000860565b50604080518082019091526007815266636c61696d282960c81b6020820152620003fc818462000860565b60405180606001604052806023815260200162002fc360239139905062000424818462000860565b506040805180820190915260128152716275726e41646d696e2875696e743235362960701b60208201526200045a818462000860565b60405180606001604052806026815260200162002ec960269139905062000482818462000860565b50604080518082019091526012815271736574417574686f7228616464726573732960701b6020820152620004b8818462000860565b5060408051808201909152601581527f7365744d6178537570706c792875696e743235362900000000000000000000006020820152620004f9818462000860565b506040805180820190915260128152717365745374617475732875696e743235362960701b60208201526200052f818462000860565b506040805180820190915260208082527f7365745472616e73666572416c6c6f77656428616464726573732c626f6f6c299082015262000570818462000860565b60405180606001604052806027815260200162002fe660279139905062000598818462000860565b5060408051808201909152601e81527f73657450657242756e646c654e4654546f4d696e742875696e743235362900006020820152620005d9818462000860565b5060408051808201909152601f81527f7365745065725472616e73616374696f6e4c696d69742875696e74323536290060208201526200061a818462000860565b50604080518082019091526011815270746f6b656e5552492875696e743235362960781b60208201526200064f818462000860565b5060408051808201909152601181527073657450726963652875696e743235362960781b602082015262000684818462000860565b5060408051808201909152601381527f736574526f79616c74792875696e7432353629000000000000000000000000006020820152620006c5818462000860565b5060408051808201909152600a8152696765745072696365282960b01b6020820152620006f3818462000860565b5060408051808201909152600e81526d6765744d6178537570706c79282960901b602082015262000725818462000860565b50604080518082019091526012815271676574417574686f722875696e743235362960701b60208201526200075b818462000860565b5060408051808201909152601681527f676574526f79616c74794665652875696e74323536290000000000000000000060208201526200079c818462000860565b5060408051808201909152601381527f67657443726561746f722875696e7432353629000000000000000000000000006020820152620007dd818462000860565b6040518060600160405280603b815260200162002e8e603b9139905062000805818462000860565b50505062000c07565b600e80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b81516020808401919091206001600160e01b031981166000908152918290526040822080546001600160a01b0319166001600160a01b0385161790556001805480820182559252907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601620008d6848262000ac2565b50600154604051600290620008ed90869062000bb4565b908152602001604051809103902081905550816001600160a01b031660006001600160a01b0316826001600160e01b0319167f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f53538660405162000950919062000bd2565b60405180910390a47faa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de604051620009de906020808252603a908201527f4164646564204552433135333820757064617465436f6e74726163742066756e60408201527f6374696f6e20617420636f6e7472616374206372656174696f6e000000000000606082015260800190565b60405180910390a1505050565b600060208284031215620009fe57600080fd5b81516001600160a01b038116811462000a1657600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000a4857607f821691505b60208210810362000a6957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000abd57600081815260208120601f850160051c8101602086101562000a985750805b601f850160051c820191505b8181101562000ab95782815560010162000aa4565b5050505b505050565b81516001600160401b0381111562000ade5762000ade62000a1d565b62000af68162000aef845462000a33565b8462000a6f565b602080601f83116001811462000b2e576000841562000b155750858301515b600019600386901b1c1916600185901b17855562000ab9565b600085815260208120601f198616915b8281101562000b5f5788860151825594840194600190910190840162000b3e565b508582101562000b7e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b8381101562000bab57818101518382015260200162000b91565b50506000910152565b6000825162000bc881846020870162000b8e565b9190910192915050565b602081526000825180602084015262000bf381604085016020870162000b8e565b601f01601f19169190910160400192915050565b6122778062000c176000396000f3fe6080604052600436106101d85760003560e01c80636352211e11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c5146105f2578063edc3bc3f14610612578063f2fde38b1461064d578063f4e37f121461066d576101d8565b8063a22cb46514610589578063aa8062ef146105a9578063b88d4fde146105bf578063c87b56dd146105d2576101d8565b80638822048e116100d15780638822048e146104f05780638da5cb5b1461052057806395d89b411461053e578063a0a2daf014610553576101d8565b80636352211e146104865780636c0360eb146104a657806370a08231146104bb578063715018a6146104db576101d8565b806323b872dd1161017a578063495d815111610149578063495d8151146103f0578063521b52a4146104205780636145556714610450578063631e4b8514610470576101d8565b806323b872dd1461038857806326a6860a1461039b57806341f43434146103bb57806342842e0e146103dd576101d8565b8063095ea7b3116101b6578063095ea7b31461031e5780630994b1ad1461033157806318160ddd14610355578063200d2ed214610372576101d8565b806301ffc9a71461028f57806306fdde03146102c4578063081812fc146102e6575b6000356001600160e01b0319161580156101f157503415155b156101f857005b600080356001600160e01b0319168152602081905260409020546001600160a01b0316806102685760405162461bcd60e51b8152602060048201526018602482015277233ab731ba34b7b7103237b2b9903737ba1032bc34b9ba1760411b60448201526064015b60405180910390fd5b60405136600082376000803683855af43d806000843e818015610289578184f35b8184fd5b005b34801561029b57600080fd5b506102af6102aa3660046119ef565b61069a565b60405190151581526020015b60405180910390f35b3480156102d057600080fd5b506102d96106ec565b6040516102bb9190611a5c565b3480156102f257600080fd5b50610306610301366004611a6f565b61077e565b6040516001600160a01b0390911681526020016102bb565b61028d61032c366004611a9f565b6107c2565b34801561033d57600080fd5b5061034760185481565b6040519081526020016102bb565b34801561036157600080fd5b506005546004540360001901610347565b34801561037e57600080fd5b5061034760135481565b61028d610396366004611ac9565b6107d2565b3480156103a757600080fd5b506102d96103b6366004611a6f565b61085b565b3480156103c757600080fd5b506103066daaeb6d7670e522a718067333cd4e81565b61028d6103eb366004611ac9565b610907565b3480156103fc57600080fd5b506102af61040b366004611a6f565b600d6020526000908152604090205460ff1681565b34801561042c57600080fd5b506102af61043b366004611b05565b60106020526000908152604090205460ff1681565b34801561045c57600080fd5b5061028d61046b366004611b69565b61098a565b34801561047c57600080fd5b50610347601e5481565b34801561049257600080fd5b506103066104a1366004611a6f565b610f95565b3480156104b257600080fd5b506102d9610fa0565b3480156104c757600080fd5b506103476104d6366004611b05565b610fad565b3480156104e757600080fd5b5061028d610ffc565b3480156104fc57600080fd5b506102af61050b366004611b05565b600c6020526000908152604090205460ff1681565b34801561052c57600080fd5b50600e546001600160a01b0316610306565b34801561054a57600080fd5b506102d9611032565b34801561055f57600080fd5b5061030661056e3660046119ef565b6000602081905290815260409020546001600160a01b031681565b34801561059557600080fd5b5061028d6105a4366004611bf8565b611041565b3480156105b557600080fd5b5061034760175481565b61028d6105cd366004611c45565b611092565b3480156105de57600080fd5b506102d96105ed366004611a6f565b61111d565b3480156105fe57600080fd5b506102af61060d366004611d21565b6111e8565b34801561061e57600080fd5b506102af61062d366004611d21565b600b60209081526000928352604080842090915290825290205460ff1681565b34801561065957600080fd5b5061028d610668366004611b05565b611216565b34801561067957600080fd5b50610347610688366004611a6f565b601d6020526000908152604090205481565b60006301ffc9a760e01b6001600160e01b0319831614806106cb57506380ac58cd60e01b6001600160e01b03198316145b806106e65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600680546106fb90611d54565b80601f016020809104026020016040519081016040528092919081815260200182805461072790611d54565b80156107745780601f1061074957610100808354040283529160200191610774565b820191906000526020600020905b81548152906001019060200180831161075757829003601f168201915b5050505050905090565b6000610789826112b1565b6107a6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600a60205260409020546001600160a01b031690565b6107ce828260016112e6565b5050565b826001600160a01b03811633146107ec576107ec3361138d565b336000908152600c602052604090205460ff1661081b5760405162461bcd60e51b815260040161025f90611d8e565b6000828152600d602052604090205460ff161561084a5760405162461bcd60e51b815260040161025f90611dc5565b610855848484611446565b50505050565b6001818154811061086b57600080fd5b90600052602060002001600091509050805461088690611d54565b80601f01602080910402602001604051908101604052809291908181526020018280546108b290611d54565b80156108ff5780601f106108d4576101008083540402835291602001916108ff565b820191906000526020600020905b8154815290600101906020018083116108e257829003601f168201915b505050505081565b826001600160a01b0381163314610921576109213361138d565b336000908152600c602052604090205460ff166109505760405162461bcd60e51b815260040161025f90611d8e565b6000828152600d602052604090205460ff161561097f5760405162461bcd60e51b815260040161025f90611dc5565b6108558484846115df565b600e546001600160a01b031633146109b45760405162461bcd60e51b815260040161025f90611df4565b60006001600160a01b03861615610a3b5750843b80610a3b5760405162461bcd60e51b815260206004820152603960248201527f5f64656c65676174652061646472657373206973206e6f74206120636f6e747260448201527f61637420616e64206973206e6f74206164647265737328302900000000000000606482015260840161025f565b600085858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052508451602080870198509596508601909401938693509150819050808080805b878a1015610f4b57895160001a925082602903610f395789610aaf81611e3f565b9a50610abd9050878b611e58565b808a526020808b018290206001600160e01b031981166000908152918290526040909120548c99509097506001600160a01b0390811696509094508f16610cde57600289604051610b0e9190611e6b565b908152602001604051809103902054915081600003610b6a5760405162461bcd60e51b8152602060048201526018602482015277233ab731ba34b7b7103237b2b9903737ba1032bc34b9ba1760411b604482015260640161025f565b81610b7481611e87565b60018054919450610b86925090611e58565b9050808214610c1e5760018181548110610ba257610ba2611e9e565b9060005260206000200160018381548110610bbf57610bbf611e9e565b906000526020600020019081610bd59190611efa565b50610be1826001611fd7565b600260018381548110610bf657610bf6611e9e565b90600052602060002001604051610c0d9190611fea565b908152604051908190036020019020555b6001805480610c2f57610c2f612060565b600190038181906000526020600020016000610c4b919061198b565b9055600289604051610c5d9190611e6b565b90815260408051602092819003830181206000908190556001600160e01b03198a168082529381905291822080546001600160a01b031916905590916001600160a01b038816917f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f535390610cd1908e90611a5c565b60405180910390a4610f34565b600289604051610cee9190611e6b565b908152602001604051809103902054600003610e40576001600160a01b03851615610d4b5760405162461bcd60e51b815260206004820152600d60248201526c233ab731a4b21031b630b9b41760991b604482015260640161025f565b8e600080886001600160e01b0319166001600160e01b031916815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600189908060018154018082558091505060019003906000526020600020016000909190919091509081610dca9190612076565b50600154604051600290610ddf908c90611e6b565b9081526020016040518091039020819055508e6001600160a01b031660006001600160a01b0316876001600160e01b0319167f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f53538c604051610cd19190611a5c565b8e6001600160a01b0316600080886001600160e01b0319166001600160e01b031916815260200190815260200160002060009054906101000a90046001600160a01b03166001600160a01b031614610f34578e600080886001600160e01b0319166001600160e01b031916815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508e6001600160a01b0316856001600160a01b0316876001600160e01b0319167f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f53538c604051610f2b9190611a5c565b60405180910390a45b978301975b89610f4381611e3f565b9a5050610a8e565b7faa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de8c8c604051610f7c92919061212e565b60405180910390a1505050505050505050505050505050565b60006106e6826115fa565b600f805461088690611d54565b60006001600160a01b038216610fd6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526009602052604090205467ffffffffffffffff1690565b600e546001600160a01b031633146110265760405162461bcd60e51b815260040161025f90611df4565b6110306000611686565b565b6060600780546106fb90611d54565b8161104b8161138d565b6001600160a01b0383166000908152600c602052604090205460ff166110835760405162461bcd60e51b815260040161025f90611d8e565b61108d83836116d8565b505050565b836001600160a01b03811633146110ac576110ac3361138d565b336000908152600c602052604090205460ff166110db5760405162461bcd60e51b815260040161025f90611d8e565b6000838152600d602052604090205460ff161561110a5760405162461bcd60e51b815260040161025f90611dc5565b61111685858585611744565b5050505050565b6060611128826112b1565b61118c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161025f565b6000611196611788565b905060008151116111b657604051806020016040528060008152506111e1565b806111c084611797565b6040516020016111d192919061215d565b6040516020818303038152906040525b9392505050565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205460ff1690565b600e546001600160a01b031633146112405760405162461bcd60e51b815260040161025f90611df4565b6001600160a01b0381166112a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161025f565b6112ae81611686565b50565b6000816001111580156112c5575060045482105b80156106e6575050600090815260086020526040902054600160e01b161590565b60006112f183610f95565b9050811561133057336001600160a01b038216146113305761131381336111e8565b611330576040516367d9dca160e11b815260040160405180910390fd5b6000838152600a602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6daaeb6d7670e522a718067333cd4e3b156112ae57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156113fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141e919061218c565b6112ae57604051633b79c77360e21b81526001600160a01b038216600482015260240161025f565b6000611451826115fa565b9050836001600160a01b0316816001600160a01b0316146114845760405162a1148160e81b815260040160405180910390fd5b6000828152600a602052604090208054338082146001600160a01b038816909114176114d1576114b486336111e8565b6114d157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166114f857604051633a954ecd60e21b815260040160405180910390fd5b801561150357600082555b6001600160a01b038681166000908152600960205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260086020526040812091909155600160e11b84169003611595576001840160008181526008602052604081205490036115935760045481146115935760008181526008602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61108d83838360405180602001604052806000815250611092565b60008160011161166d575060008181526008602052604081205490600160e01b8216900361166d578060000361166857600454821061164c57604051636f96cda160e11b815260040160405180910390fd5b5b5060001901600081815260086020526040902054801561164d575b919050565b604051636f96cda160e11b815260040160405180910390fd5b600e80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336000818152600b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61174f8484846107d2565b6001600160a01b0383163b156108555761176b848484846118a0565b610855576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f80546106fb90611d54565b6060816000036117be5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117e857806117d281611e3f565b91506117e19050600a836121bf565b91506117c2565b60008167ffffffffffffffff81111561180357611803611c2f565b6040519080825280601f01601f19166020018201604052801561182d576020820181803683370190505b5090505b841561189857611842600183611e58565b915061184f600a866121d3565b61185a906030611fd7565b60f81b81838151811061186f5761186f611e9e565b60200101906001600160f81b031916908160001a905350611891600a866121bf565b9450611831565b949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118d59033908990889088906004016121e7565b6020604051808303816000875af1925050508015611910575060408051601f3d908101601f1916820190925261190d91810190612224565b60015b61196e573d80801561193e576040519150601f19603f3d011682016040523d82523d6000602084013e611943565b606091505b508051600003611966576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b50805461199790611d54565b6000825580601f106119a7575050565b601f0160209004906000526020600020908101906112ae91905b808211156119d557600081556001016119c1565b5090565b6001600160e01b0319811681146112ae57600080fd5b600060208284031215611a0157600080fd5b81356111e1816119d9565b60005b83811015611a27578181015183820152602001611a0f565b50506000910152565b60008151808452611a48816020860160208601611a0c565b601f01601f19169290920160200192915050565b6020815260006111e16020830184611a30565b600060208284031215611a8157600080fd5b5035919050565b80356001600160a01b038116811461166857600080fd5b60008060408385031215611ab257600080fd5b611abb83611a88565b946020939093013593505050565b600080600060608486031215611ade57600080fd5b611ae784611a88565b9250611af560208501611a88565b9150604084013590509250925092565b600060208284031215611b1757600080fd5b6111e182611a88565b60008083601f840112611b3257600080fd5b50813567ffffffffffffffff811115611b4a57600080fd5b602083019150836020828501011115611b6257600080fd5b9250929050565b600080600080600060608688031215611b8157600080fd5b611b8a86611a88565b9450602086013567ffffffffffffffff80821115611ba757600080fd5b611bb389838a01611b20565b90965094506040880135915080821115611bcc57600080fd5b50611bd988828901611b20565b969995985093965092949392505050565b80151581146112ae57600080fd5b60008060408385031215611c0b57600080fd5b611c1483611a88565b91506020830135611c2481611bea565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611c5b57600080fd5b611c6485611a88565b9350611c7260208601611a88565b925060408501359150606085013567ffffffffffffffff80821115611c9657600080fd5b818701915087601f830112611caa57600080fd5b813581811115611cbc57611cbc611c2f565b604051601f8201601f19908116603f01168101908382118183101715611ce457611ce4611c2f565b816040528281528a6020848701011115611cfd57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d3457600080fd5b611d3d83611a88565b9150611d4b60208401611a88565b90509250929050565b600181811c90821680611d6857607f821691505b602082108103611d8857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601c908201527f4552433732313a207472616e73666572206e6f7420616c6c6f77656400000000604082015260600190565b602080825260159082015274115490cdcc8c4e88139195081a5cc81b1bd8dad959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600060018201611e5157611e51611e29565b5060010190565b818103818111156106e6576106e6611e29565b60008251611e7d818460208701611a0c565b9190910192915050565b600081611e9657611e96611e29565b506000190190565b634e487b7160e01b600052603260045260246000fd5b601f82111561108d57600081815260208120601f850160051c81016020861015611edb5750805b601f850160051c820191505b818110156115d757828155600101611ee7565b818103611f05575050565b611f0f8254611d54565b67ffffffffffffffff811115611f2757611f27611c2f565b611f3b81611f358454611d54565b84611eb4565b6000601f821160018114611f6f5760008315611f575750848201545b600019600385901b1c1916600184901b178455611116565b600085815260209020601f19841690600086815260209020845b83811015611fa95782860154825560019586019590910190602001611f89565b5085831015611fc75781850154600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156106e6576106e6611e29565b6000808354611ff881611d54565b60018281168015612010576001811461202557612054565b60ff1984168752821515830287019450612054565b8760005260208060002060005b8581101561204b5781548a820152908401908201612032565b50505082870194505b50929695505050505050565b634e487b7160e01b600052603160045260246000fd5b815167ffffffffffffffff81111561209057612090611c2f565b61209e81611f358454611d54565b602080601f8311600181146120d357600084156120bb5750858301515b600019600386901b1c1916600185901b1785556115d7565b600085815260208120601f198616915b82811015612102578886015182559484019460019091019084016120e3565b5085821015611fc757939096015160001960f8600387901b161c19169092555050600190811b01905550565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6000835161216f818460208801611a0c565b835190830190612183818360208801611a0c565b01949350505050565b60006020828403121561219e57600080fd5b81516111e181611bea565b634e487b7160e01b600052601260045260246000fd5b6000826121ce576121ce6121a9565b500490565b6000826121e2576121e26121a9565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061221a90830184611a30565b9695505050505050565b60006020828403121561223657600080fd5b81516111e1816119d956fea2646970667358221220be33d95f78aa561532c0b124c88a38979f5041daeb69ae56e341574a9e99eb8364736f6c6343000811003367657453616c6544657461696c732875696e74323536297075626c696320766965772072657475726e732875696e743235362c75696e743235362973657457686974656c697374526f6f7428627974657333322c75696e743235362c626f6f6c297072654f7264657228627974657333325b5d2c75696e743235362c75696e743235362968747470733a2f2f746573746170692e78616e616c69612e636f6d2f78616e616c69612f6765742d6e66742d6d6574613f746f6b656e49643d67657455736572426f75676874436f756e7428616464726573732c75696e7432353629757064617465436f6e747261637428616464726573732c737472696e672c737472696e6729697357686974656c697374656428616464726573732c627974657333325b5d2c75696e743235362c75696e743235362962757928627974657333325b5d2c75696e743235362c626f6f6c2c75696e743235362973657453616c6544657461696c732875696e743235362c75696e743235362c75696e74323536290000000000000000000000004938f923c0f35dbbe742c15c3d38a22e10a5f9ba

Deployed Bytecode

0x6080604052600436106101d85760003560e01c80636352211e11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c5146105f2578063edc3bc3f14610612578063f2fde38b1461064d578063f4e37f121461066d576101d8565b8063a22cb46514610589578063aa8062ef146105a9578063b88d4fde146105bf578063c87b56dd146105d2576101d8565b80638822048e116100d15780638822048e146104f05780638da5cb5b1461052057806395d89b411461053e578063a0a2daf014610553576101d8565b80636352211e146104865780636c0360eb146104a657806370a08231146104bb578063715018a6146104db576101d8565b806323b872dd1161017a578063495d815111610149578063495d8151146103f0578063521b52a4146104205780636145556714610450578063631e4b8514610470576101d8565b806323b872dd1461038857806326a6860a1461039b57806341f43434146103bb57806342842e0e146103dd576101d8565b8063095ea7b3116101b6578063095ea7b31461031e5780630994b1ad1461033157806318160ddd14610355578063200d2ed214610372576101d8565b806301ffc9a71461028f57806306fdde03146102c4578063081812fc146102e6575b6000356001600160e01b0319161580156101f157503415155b156101f857005b600080356001600160e01b0319168152602081905260409020546001600160a01b0316806102685760405162461bcd60e51b8152602060048201526018602482015277233ab731ba34b7b7103237b2b9903737ba1032bc34b9ba1760411b60448201526064015b60405180910390fd5b60405136600082376000803683855af43d806000843e818015610289578184f35b8184fd5b005b34801561029b57600080fd5b506102af6102aa3660046119ef565b61069a565b60405190151581526020015b60405180910390f35b3480156102d057600080fd5b506102d96106ec565b6040516102bb9190611a5c565b3480156102f257600080fd5b50610306610301366004611a6f565b61077e565b6040516001600160a01b0390911681526020016102bb565b61028d61032c366004611a9f565b6107c2565b34801561033d57600080fd5b5061034760185481565b6040519081526020016102bb565b34801561036157600080fd5b506005546004540360001901610347565b34801561037e57600080fd5b5061034760135481565b61028d610396366004611ac9565b6107d2565b3480156103a757600080fd5b506102d96103b6366004611a6f565b61085b565b3480156103c757600080fd5b506103066daaeb6d7670e522a718067333cd4e81565b61028d6103eb366004611ac9565b610907565b3480156103fc57600080fd5b506102af61040b366004611a6f565b600d6020526000908152604090205460ff1681565b34801561042c57600080fd5b506102af61043b366004611b05565b60106020526000908152604090205460ff1681565b34801561045c57600080fd5b5061028d61046b366004611b69565b61098a565b34801561047c57600080fd5b50610347601e5481565b34801561049257600080fd5b506103066104a1366004611a6f565b610f95565b3480156104b257600080fd5b506102d9610fa0565b3480156104c757600080fd5b506103476104d6366004611b05565b610fad565b3480156104e757600080fd5b5061028d610ffc565b3480156104fc57600080fd5b506102af61050b366004611b05565b600c6020526000908152604090205460ff1681565b34801561052c57600080fd5b50600e546001600160a01b0316610306565b34801561054a57600080fd5b506102d9611032565b34801561055f57600080fd5b5061030661056e3660046119ef565b6000602081905290815260409020546001600160a01b031681565b34801561059557600080fd5b5061028d6105a4366004611bf8565b611041565b3480156105b557600080fd5b5061034760175481565b61028d6105cd366004611c45565b611092565b3480156105de57600080fd5b506102d96105ed366004611a6f565b61111d565b3480156105fe57600080fd5b506102af61060d366004611d21565b6111e8565b34801561061e57600080fd5b506102af61062d366004611d21565b600b60209081526000928352604080842090915290825290205460ff1681565b34801561065957600080fd5b5061028d610668366004611b05565b611216565b34801561067957600080fd5b50610347610688366004611a6f565b601d6020526000908152604090205481565b60006301ffc9a760e01b6001600160e01b0319831614806106cb57506380ac58cd60e01b6001600160e01b03198316145b806106e65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600680546106fb90611d54565b80601f016020809104026020016040519081016040528092919081815260200182805461072790611d54565b80156107745780601f1061074957610100808354040283529160200191610774565b820191906000526020600020905b81548152906001019060200180831161075757829003601f168201915b5050505050905090565b6000610789826112b1565b6107a6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600a60205260409020546001600160a01b031690565b6107ce828260016112e6565b5050565b826001600160a01b03811633146107ec576107ec3361138d565b336000908152600c602052604090205460ff1661081b5760405162461bcd60e51b815260040161025f90611d8e565b6000828152600d602052604090205460ff161561084a5760405162461bcd60e51b815260040161025f90611dc5565b610855848484611446565b50505050565b6001818154811061086b57600080fd5b90600052602060002001600091509050805461088690611d54565b80601f01602080910402602001604051908101604052809291908181526020018280546108b290611d54565b80156108ff5780601f106108d4576101008083540402835291602001916108ff565b820191906000526020600020905b8154815290600101906020018083116108e257829003601f168201915b505050505081565b826001600160a01b0381163314610921576109213361138d565b336000908152600c602052604090205460ff166109505760405162461bcd60e51b815260040161025f90611d8e565b6000828152600d602052604090205460ff161561097f5760405162461bcd60e51b815260040161025f90611dc5565b6108558484846115df565b600e546001600160a01b031633146109b45760405162461bcd60e51b815260040161025f90611df4565b60006001600160a01b03861615610a3b5750843b80610a3b5760405162461bcd60e51b815260206004820152603960248201527f5f64656c65676174652061646472657373206973206e6f74206120636f6e747260448201527f61637420616e64206973206e6f74206164647265737328302900000000000000606482015260840161025f565b600085858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052508451602080870198509596508601909401938693509150819050808080805b878a1015610f4b57895160001a925082602903610f395789610aaf81611e3f565b9a50610abd9050878b611e58565b808a526020808b018290206001600160e01b031981166000908152918290526040909120548c99509097506001600160a01b0390811696509094508f16610cde57600289604051610b0e9190611e6b565b908152602001604051809103902054915081600003610b6a5760405162461bcd60e51b8152602060048201526018602482015277233ab731ba34b7b7103237b2b9903737ba1032bc34b9ba1760411b604482015260640161025f565b81610b7481611e87565b60018054919450610b86925090611e58565b9050808214610c1e5760018181548110610ba257610ba2611e9e565b9060005260206000200160018381548110610bbf57610bbf611e9e565b906000526020600020019081610bd59190611efa565b50610be1826001611fd7565b600260018381548110610bf657610bf6611e9e565b90600052602060002001604051610c0d9190611fea565b908152604051908190036020019020555b6001805480610c2f57610c2f612060565b600190038181906000526020600020016000610c4b919061198b565b9055600289604051610c5d9190611e6b565b90815260408051602092819003830181206000908190556001600160e01b03198a168082529381905291822080546001600160a01b031916905590916001600160a01b038816917f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f535390610cd1908e90611a5c565b60405180910390a4610f34565b600289604051610cee9190611e6b565b908152602001604051809103902054600003610e40576001600160a01b03851615610d4b5760405162461bcd60e51b815260206004820152600d60248201526c233ab731a4b21031b630b9b41760991b604482015260640161025f565b8e600080886001600160e01b0319166001600160e01b031916815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600189908060018154018082558091505060019003906000526020600020016000909190919091509081610dca9190612076565b50600154604051600290610ddf908c90611e6b565b9081526020016040518091039020819055508e6001600160a01b031660006001600160a01b0316876001600160e01b0319167f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f53538c604051610cd19190611a5c565b8e6001600160a01b0316600080886001600160e01b0319166001600160e01b031916815260200190815260200160002060009054906101000a90046001600160a01b03166001600160a01b031614610f34578e600080886001600160e01b0319166001600160e01b031916815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508e6001600160a01b0316856001600160a01b0316876001600160e01b0319167f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f53538c604051610f2b9190611a5c565b60405180910390a45b978301975b89610f4381611e3f565b9a5050610a8e565b7faa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de8c8c604051610f7c92919061212e565b60405180910390a1505050505050505050505050505050565b60006106e6826115fa565b600f805461088690611d54565b60006001600160a01b038216610fd6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526009602052604090205467ffffffffffffffff1690565b600e546001600160a01b031633146110265760405162461bcd60e51b815260040161025f90611df4565b6110306000611686565b565b6060600780546106fb90611d54565b8161104b8161138d565b6001600160a01b0383166000908152600c602052604090205460ff166110835760405162461bcd60e51b815260040161025f90611d8e565b61108d83836116d8565b505050565b836001600160a01b03811633146110ac576110ac3361138d565b336000908152600c602052604090205460ff166110db5760405162461bcd60e51b815260040161025f90611d8e565b6000838152600d602052604090205460ff161561110a5760405162461bcd60e51b815260040161025f90611dc5565b61111685858585611744565b5050505050565b6060611128826112b1565b61118c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161025f565b6000611196611788565b905060008151116111b657604051806020016040528060008152506111e1565b806111c084611797565b6040516020016111d192919061215d565b6040516020818303038152906040525b9392505050565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205460ff1690565b600e546001600160a01b031633146112405760405162461bcd60e51b815260040161025f90611df4565b6001600160a01b0381166112a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161025f565b6112ae81611686565b50565b6000816001111580156112c5575060045482105b80156106e6575050600090815260086020526040902054600160e01b161590565b60006112f183610f95565b9050811561133057336001600160a01b038216146113305761131381336111e8565b611330576040516367d9dca160e11b815260040160405180910390fd5b6000838152600a602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6daaeb6d7670e522a718067333cd4e3b156112ae57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156113fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141e919061218c565b6112ae57604051633b79c77360e21b81526001600160a01b038216600482015260240161025f565b6000611451826115fa565b9050836001600160a01b0316816001600160a01b0316146114845760405162a1148160e81b815260040160405180910390fd5b6000828152600a602052604090208054338082146001600160a01b038816909114176114d1576114b486336111e8565b6114d157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166114f857604051633a954ecd60e21b815260040160405180910390fd5b801561150357600082555b6001600160a01b038681166000908152600960205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260086020526040812091909155600160e11b84169003611595576001840160008181526008602052604081205490036115935760045481146115935760008181526008602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61108d83838360405180602001604052806000815250611092565b60008160011161166d575060008181526008602052604081205490600160e01b8216900361166d578060000361166857600454821061164c57604051636f96cda160e11b815260040160405180910390fd5b5b5060001901600081815260086020526040902054801561164d575b919050565b604051636f96cda160e11b815260040160405180910390fd5b600e80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336000818152600b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61174f8484846107d2565b6001600160a01b0383163b156108555761176b848484846118a0565b610855576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f80546106fb90611d54565b6060816000036117be5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117e857806117d281611e3f565b91506117e19050600a836121bf565b91506117c2565b60008167ffffffffffffffff81111561180357611803611c2f565b6040519080825280601f01601f19166020018201604052801561182d576020820181803683370190505b5090505b841561189857611842600183611e58565b915061184f600a866121d3565b61185a906030611fd7565b60f81b81838151811061186f5761186f611e9e565b60200101906001600160f81b031916908160001a905350611891600a866121bf565b9450611831565b949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118d59033908990889088906004016121e7565b6020604051808303816000875af1925050508015611910575060408051601f3d908101601f1916820190925261190d91810190612224565b60015b61196e573d80801561193e576040519150601f19603f3d011682016040523d82523d6000602084013e611943565b606091505b508051600003611966576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b50805461199790611d54565b6000825580601f106119a7575050565b601f0160209004906000526020600020908101906112ae91905b808211156119d557600081556001016119c1565b5090565b6001600160e01b0319811681146112ae57600080fd5b600060208284031215611a0157600080fd5b81356111e1816119d9565b60005b83811015611a27578181015183820152602001611a0f565b50506000910152565b60008151808452611a48816020860160208601611a0c565b601f01601f19169290920160200192915050565b6020815260006111e16020830184611a30565b600060208284031215611a8157600080fd5b5035919050565b80356001600160a01b038116811461166857600080fd5b60008060408385031215611ab257600080fd5b611abb83611a88565b946020939093013593505050565b600080600060608486031215611ade57600080fd5b611ae784611a88565b9250611af560208501611a88565b9150604084013590509250925092565b600060208284031215611b1757600080fd5b6111e182611a88565b60008083601f840112611b3257600080fd5b50813567ffffffffffffffff811115611b4a57600080fd5b602083019150836020828501011115611b6257600080fd5b9250929050565b600080600080600060608688031215611b8157600080fd5b611b8a86611a88565b9450602086013567ffffffffffffffff80821115611ba757600080fd5b611bb389838a01611b20565b90965094506040880135915080821115611bcc57600080fd5b50611bd988828901611b20565b969995985093965092949392505050565b80151581146112ae57600080fd5b60008060408385031215611c0b57600080fd5b611c1483611a88565b91506020830135611c2481611bea565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611c5b57600080fd5b611c6485611a88565b9350611c7260208601611a88565b925060408501359150606085013567ffffffffffffffff80821115611c9657600080fd5b818701915087601f830112611caa57600080fd5b813581811115611cbc57611cbc611c2f565b604051601f8201601f19908116603f01168101908382118183101715611ce457611ce4611c2f565b816040528281528a6020848701011115611cfd57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d3457600080fd5b611d3d83611a88565b9150611d4b60208401611a88565b90509250929050565b600181811c90821680611d6857607f821691505b602082108103611d8857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601c908201527f4552433732313a207472616e73666572206e6f7420616c6c6f77656400000000604082015260600190565b602080825260159082015274115490cdcc8c4e88139195081a5cc81b1bd8dad959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600060018201611e5157611e51611e29565b5060010190565b818103818111156106e6576106e6611e29565b60008251611e7d818460208701611a0c565b9190910192915050565b600081611e9657611e96611e29565b506000190190565b634e487b7160e01b600052603260045260246000fd5b601f82111561108d57600081815260208120601f850160051c81016020861015611edb5750805b601f850160051c820191505b818110156115d757828155600101611ee7565b818103611f05575050565b611f0f8254611d54565b67ffffffffffffffff811115611f2757611f27611c2f565b611f3b81611f358454611d54565b84611eb4565b6000601f821160018114611f6f5760008315611f575750848201545b600019600385901b1c1916600184901b178455611116565b600085815260209020601f19841690600086815260209020845b83811015611fa95782860154825560019586019590910190602001611f89565b5085831015611fc75781850154600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156106e6576106e6611e29565b6000808354611ff881611d54565b60018281168015612010576001811461202557612054565b60ff1984168752821515830287019450612054565b8760005260208060002060005b8581101561204b5781548a820152908401908201612032565b50505082870194505b50929695505050505050565b634e487b7160e01b600052603160045260246000fd5b815167ffffffffffffffff81111561209057612090611c2f565b61209e81611f358454611d54565b602080601f8311600181146120d357600084156120bb5750858301515b600019600386901b1c1916600185901b1785556115d7565b600085815260208120601f198616915b82811015612102578886015182559484019460019091019084016120e3565b5085821015611fc757939096015160001960f8600387901b161c19169092555050600190811b01905550565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6000835161216f818460208801611a0c565b835190830190612183818360208801611a0c565b01949350505050565b60006020828403121561219e57600080fd5b81516111e181611bea565b634e487b7160e01b600052601260045260246000fd5b6000826121ce576121ce6121a9565b500490565b6000826121e2576121e26121a9565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061221a90830184611a30565b9695505050505050565b60006020828403121561223657600080fd5b81516111e1816119d956fea2646970667358221220be33d95f78aa561532c0b124c88a38979f5041daeb69ae56e341574a9e99eb8364736f6c63430008110033

Deployed Bytecode Sourcemap

76051:10337:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80553:1;80535:7;-1:-1:-1;;;;;;80535:7:0;:20;:44;;;;-1:-1:-1;80559:9:0;:20;;80535:44;80531:127;;;76051:10337;80531:127;80668:16;80697:7;;-1:-1:-1;;;;;;80697:7:0;80687:18;;;;;;;;;;-1:-1:-1;;;;;80687:18:0;;80716:59;;;;-1:-1:-1;;;80716:59:0;;216:2:1;80716:59:0;;;198:21:1;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:54;338:18;;80716:59:0;;;;;;;;;80827:4;80821:11;80867:14;80864:1;80859:3;80846:36;80964:1;80961;80945:14;80940:3;80930:8;80923:5;80910:56;80992:16;81045:4;81042:1;81037:3;81022:28;81071:6;81091:26;;;;81153:4;81148:3;81140:18;81091:26;81111:4;81106:3;81099:17;81064:95;;21751:639;;;;;;;;;;-1:-1:-1;21751:639:0;;;;;:::i;:::-;;:::i;:::-;;;918:14:1;;911:22;893:41;;881:2;866:18;21751:639:0;;;;;;;;22653:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29053:218::-;;;;;;;;;;-1:-1:-1;29053:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2050:32:1;;;2032:51;;2020:2;2005:18;29053:218:0;1886:203:1;28770:124:0;;;;;;:::i;:::-;;:::i;69345:35::-;;;;;;;;;;;;;;;;;;;2677:25:1;;;2665:2;2650:18;69345:35:0;2531:177:1;18404:323:0;;;;;;;;;;-1:-1:-1;18678:12:0;;18662:13;;:28;-1:-1:-1;;18662:46:0;18404:323;;69201:21;;;;;;;;;;;;;;;;67875:313;;;;;;:::i;:::-;;:::i;2930:29::-;;;;;;;;;;-1:-1:-1;2930:29:0;;;;;:::i;:::-;;:::i;63715:143::-;;;;;;;;;;;;62520:42;63715:143;;68196:322;;;;;;:::i;:::-;;:::i;67254:39::-;;;;;;;;;;-1:-1:-1;67254:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;69060:45;;;;;;;;;;-1:-1:-1;69060:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;81965:3799;;;;;;;;;;-1:-1:-1;81965:3799:0;;;;;:::i;:::-;;:::i;69739:34::-;;;;;;;;;;;;;;;;24046:152;;;;;;;;;;-1:-1:-1;24046:152:0;;;;;:::i;:::-;;:::i;69036:21::-;;;;;;;;;;;;;:::i;19588:233::-;;;;;;;;;;-1:-1:-1;19588:233:0;;;;;:::i;:::-;;:::i;72316:94::-;;;;;;;;;;;;;:::i;67198:49::-;;;;;;;;;;-1:-1:-1;67198:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;71665:87;;;;;;;;;;-1:-1:-1;71738:6:0;;-1:-1:-1;;;;;71738:6:0;71665:87;;22829:104;;;;;;;;;;;;;:::i;2814:43::-;;;;;;;;;;-1:-1:-1;2814:43:0;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;2814:43:0;;;67576:255;;;;;;;;;;-1:-1:-1;67576:255:0;;;;;:::i;:::-;;:::i;69318:23::-;;;;;;;;;;;;;;;;68526:346;;;;;;:::i;:::-;;:::i;85946:334::-;;;;;;;;;;-1:-1:-1;85946:334:0;;;;;:::i;:::-;;:::i;30002:164::-;;;;;;;;;;-1:-1:-1;30002:164:0;;;;;:::i;:::-;;:::i;17160:70::-;;;;;;;;;;-1:-1:-1;17160:70:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;72565:192;;;;;;;;;;-1:-1:-1;72565:192:0;;;;;:::i;:::-;;:::i;69689:46::-;;;;;;;;;;-1:-1:-1;69689:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;21751:639;21836:4;-1:-1:-1;;;;;;;;;22160:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;22237:25:0;;;22160:102;:179;;;-1:-1:-1;;;;;;;;;;22314:25:0;;;22160:179;22140:199;21751:639;-1:-1:-1;;21751:639:0:o;22653:100::-;22707:13;22740:5;22733:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22653:100;:::o;29053:218::-;29129:7;29154:16;29162:7;29154;:16::i;:::-;29149:64;;29179:34;;-1:-1:-1;;;29179:34:0;;;;;;;;;;;29149:64;-1:-1:-1;29233:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;29233:30:0;;29053:218::o;28770:124::-;28859:27;28868:2;28872:7;28881:4;28859:8;:27::i;:::-;28770:124;;:::o;67875:313::-;67984:4;-1:-1:-1;;;;;65223:18:0;;65231:10;65223:18;65219:83;;65258:32;65279:10;65258:20;:32::i;:::-;68028:10:::1;68010:29;::::0;;;:17:::1;:29;::::0;;;;;::::1;;68002:69;;;;-1:-1:-1::0;;;68002:69:0::1;;;;;;;:::i;:::-;68091:16;::::0;;;:7:::1;:16;::::0;;;;;::::1;;68090:17;68082:50;;;;-1:-1:-1::0;;;68082:50:0::1;;;;;;;:::i;:::-;68143:37;68162:4;68168:2;68172:7;68143:18;:37::i;:::-;67875:313:::0;;;;:::o;2930:29::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;68196:322::-;68309:4;-1:-1:-1;;;;;65223:18:0;;65231:10;65223:18;65219:83;;65258:32;65279:10;65258:20;:32::i;:::-;68354:10:::1;68336:29;::::0;;;:17:::1;:29;::::0;;;;;::::1;;68328:69;;;;-1:-1:-1::0;;;68328:69:0::1;;;;;;;:::i;:::-;68417:16;::::0;;;:7:::1;:16;::::0;;;;;::::1;;68416:17;68408:50;;;;-1:-1:-1::0;;;68408:50:0::1;;;;;;;:::i;:::-;68469:41;68492:4;68498:2;68502:7;68469:22;:41::i;81965:3799::-:0;71738:6;;-1:-1:-1;;;;;71738:6:0;70542:10;71885:23;71877:68;;;;-1:-1:-1;;;71877:68:0;;;;;;;:::i;:::-;82349:11:::1;-1:-1:-1::0;;;;;82374:23:0;::::1;::::0;82371:218:::1;;-1:-1:-1::0;82449:22:0;::::1;82508:7:::0;82500:77:::1;;;::::0;-1:-1:-1;;;82500:77:0;;8491:2:1;82500:77:0::1;::::0;::::1;8473:21:1::0;8530:2;8510:18;;;8503:30;8569:34;8549:18;;;8542:62;8640:27;8620:18;;;8613:55;8685:19;;82500:77:0::1;8289:421:1::0;82500:77:0::1;82660:23;82692:19;;82660:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;-1:-1:-1;83055:17:0;;82987:2:::1;82972:18:::0;;::::1;::::0;-1:-1:-1;82660:52:0;;-1:-1:-1;83047:26:0;;;;;;82972:18;;-1:-1:-1;82660:52:0;-1:-1:-1;82660:52:0;;-1:-1:-1;82660:52:0;;;;83755:1957:::1;83768:13;83762:3;:19;83755:1957;;;83836:3;83830:10;83828:1;83823:18;83815:26;;83886:4;83894;83886:12:::0;83882:1819:::1;;83919:5:::0;::::1;::::0;::::1;:::i;:::-;::::0;-1:-1:-1;83950:11:0::1;::::0;-1:-1:-1;83956:5:0;83919;83950:11:::1;:::i;:::-;84043:22:::0;;;84118:21:::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;;84173:17:0;::::1;:9;:17:::0;;;;;;;;;;;;83989:3;;-1:-1:-1;84118:21:0;;-1:-1:-1;;;;;;84173:17:0;;::::1;::::0;-1:-1:-1;83943:19:0;;-1:-1:-1;84212:23:0;::::1;84209:1415;;84268:20;84289:10;84268:32;;;;;;:::i;:::-;;;;;;;;;;;;;;84260:40;;84331:5;84340:1;84331:10:::0;84323:47:::1;;;::::0;-1:-1:-1;;;84323:47:0;;216:2:1;84323:47:0::1;::::0;::::1;198:21:1::0;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:54;338:18;;84323:47:0::1;14:348:1::0;84323:47:0::1;84393:7:::0;::::1;::::0;::::1;:::i;:::-;84459:1;84435:21:::0;;84393:7;;-1:-1:-1;84435:25:0::1;::::0;-1:-1:-1;84459:1:0;84435:25:::1;:::i;:::-;84423:37;;84496:9;84487:5;:18;84483:210;;84558:14;84573:9;84558:25;;;;;;;;:::i;:::-;;;;;;;;84534:14;84549:5;84534:21;;;;;;;;:::i;:::-;;;;;;;;:49;;;;;;:::i;:::-;-1:-1:-1::0;84660:9:0::1;:5:::0;84668:1:::1;84660:9;:::i;:::-;84610:20;84631:14;84646:9;84631:25;;;;;;;;:::i;:::-;;;;;;;;84610:47;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:59;84483:210:::1;84715:14;:20;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;84765;84786:10;84765:32;;;;;;:::i;:::-;::::0;;;::::1;::::0;;::::1;::::0;;;;;;;;84758:39:::1;::::0;;;;-1:-1:-1;;;;;;84827:17:0;::::1;::::0;;;;;;;;;;84820:24;;-1:-1:-1;;;;;;84820:24:0::1;::::0;;84758:39;;-1:-1:-1;;;;;84872:67:0;::::1;::::0;::::1;::::0;::::1;::::0;84927:10;;84872:67:::1;:::i;:::-;;;;;;;;84209:1415;;;84986:20;85007:10;84986:32;;;;;;:::i;:::-;;;;;;;;;;;;;;85022:1;84986:37:::0;84982:642:::1;;-1:-1:-1::0;;;;;85056:25:0;::::1;::::0;85048:51:::1;;;::::0;-1:-1:-1;;;85048:51:0;;13274:2:1;85048:51:0::1;::::0;::::1;13256:21:1::0;13313:2;13293:18;;;13286:30;-1:-1:-1;;;13332:18:1;;;13325:43;13385:18;;85048:51:0::1;13072:337:1::0;85048:51:0::1;85142:9;85122;:17:::0;85132:6:::1;-1:-1:-1::0;;;;;85122:17:0::1;;-1:-1:-1::0;;;;;85122:17:0::1;;;;;;;;;;;;;;:29;;;;;-1:-1:-1::0;;;;;85122:29:0::1;;;;;-1:-1:-1::0;;;;;85122:29:0::1;;;;;;85174:14;85194:10;85174:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;85263:14:0::1;:21:::0;85228:32:::1;::::0;:20:::1;::::0;:32:::1;::::0;85249:10;;85228:32:::1;:::i;:::-;;;;;;;;;;;;;:56;;;;85347:9;-1:-1:-1::0;;;;;85312:65:0::1;85343:1;-1:-1:-1::0;;;;;85312:65:0::1;85327:6;-1:-1:-1::0;;;;;85312:65:0::1;;;85365:10;85312:65;;;;;;:::i;84982:642::-;85445:9;-1:-1:-1::0;;;;;85424:30:0::1;:9;:17:::0;85434:6:::1;-1:-1:-1::0;;;;;85424:17:0::1;;-1:-1:-1::0;;;;;85424:17:0::1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;85424:17:0::1;-1:-1:-1::0;;;;;85424:30:0::1;;85420:204;;85499:9;85479;:17:::0;85489:6:::1;-1:-1:-1::0;;;;;85479:17:0::1;;-1:-1:-1::0;;;;;85479:17:0::1;;;;;;;;;;;;;;:29;;;;;-1:-1:-1::0;;;;;85479:29:0::1;;;;;-1:-1:-1::0;;;;;85479:29:0::1;;;;;;85572:9;-1:-1:-1::0;;;;;85536:66:0::1;85559:11;-1:-1:-1::0;;;;;85536:66:0::1;85551:6;-1:-1:-1::0;;;;;85536:66:0::1;;;85590:10;85536:66;;;;;;:::i;:::-;;;;;;;;85420:204;85666:19:::0;;::::1;::::0;83882:1819:::1;83783:5:::0;::::1;::::0;::::1;:::i;:::-;;;;83755:1957;;;85727:29;85741:14;;85727:29;;;;;;;:::i;:::-;;;;;;;;82105:3659;;;;;;;;;;81965:3799:::0;;;;;:::o;24046:152::-;24118:7;24161:27;24180:7;24161:18;:27::i;69036:21::-;;;;;;;:::i;19588:233::-;19660:7;-1:-1:-1;;;;;19684:19:0;;19680:60;;19712:28;;-1:-1:-1;;;19712:28:0;;;;;;;;;;;19680:60;-1:-1:-1;;;;;;19758:25:0;;;;;:18;:25;;;;;;13747:13;19758:55;;19588:233::o;72316:94::-;71738:6;;-1:-1:-1;;;;;71738:6:0;70542:10;71885:23;71877:68;;;;-1:-1:-1;;;71877:68:0;;;;;;;:::i;:::-;72381:21:::1;72399:1;72381:9;:21::i;:::-;72316:94::o:0;22829:104::-;22885:13;22918:7;22911:14;;;;;:::i;67576:255::-;67680:8;65497:30;65518:8;65497:20;:30::i;:::-;-1:-1:-1;;;;;67710:27:0;::::1;;::::0;;;:17:::1;:27;::::0;;;;;::::1;;67702:67;;;;-1:-1:-1::0;;;67702:67:0::1;;;;;;;:::i;:::-;67780:43;67804:8;67814;67780:23;:43::i;:::-;67576:255:::0;;;:::o;68526:346::-;68658:4;-1:-1:-1;;;;;65223:18:0;;65231:10;65223:18;65219:83;;65258:32;65279:10;65258:20;:32::i;:::-;68702:10:::1;68684:29;::::0;;;:17:::1;:29;::::0;;;;;::::1;;68676:69;;;;-1:-1:-1::0;;;68676:69:0::1;;;;;;;:::i;:::-;68765:16;::::0;;;:7:::1;:16;::::0;;;;;::::1;;68764:17;68756:50;;;;-1:-1:-1::0;;;68756:50:0::1;;;;;;;:::i;:::-;68817:47;68840:4;68846:2;68850:7;68859:4;68817:22;:47::i;:::-;68526:346:::0;;;;;:::o;85946:334::-;86019:13;86053:16;86061:7;86053;:16::i;:::-;86045:76;;;;-1:-1:-1;;;86045:76:0;;15364:2:1;86045:76:0;;;15346:21:1;15403:2;15383:18;;;15376:30;15442:34;15422:18;;;15415:62;-1:-1:-1;;;15493:18:1;;;15486:45;15548:19;;86045:76:0;15162:411:1;86045:76:0;86134:21;86158:10;:8;:10::i;:::-;86134:34;;86210:1;86192:7;86186:21;:25;:86;;;;;;;;;;;;;;;;;86238:7;86247:18;:7;:16;:18::i;:::-;86221:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;86186:86;86179:93;85946:334;-1:-1:-1;;;85946:334:0:o;30002:164::-;-1:-1:-1;;;;;30123:25:0;;;30099:4;30123:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30002:164::o;72565:192::-;71738:6;;-1:-1:-1;;;;;71738:6:0;70542:10;71885:23;71877:68;;;;-1:-1:-1;;;71877:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;72654:22:0;::::1;72646:73;;;::::0;-1:-1:-1;;;72646:73:0;;16281:2:1;72646:73:0::1;::::0;::::1;16263:21:1::0;16320:2;16300:18;;;16293:30;16359:34;16339:18;;;16332:62;-1:-1:-1;;;16410:18:1;;;16403:36;16456:19;;72646:73:0::1;16079:402:1::0;72646:73:0::1;72730:19;72740:8;72730:9;:19::i;:::-;72565:192:::0;:::o;30424:282::-;30489:4;30545:7;18003:1;30526:26;;:66;;;;;30579:13;;30569:7;:23;30526:66;:153;;;;-1:-1:-1;;30630:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;30630:44:0;:49;;30424:282::o;47482:492::-;47611:13;47627:16;47635:7;47627;:16::i;:::-;47611:32;;47660:13;47656:219;;;70542:10;-1:-1:-1;;;;;47692:28:0;;;47688:187;;47744:44;47761:5;70542:10;30002:164;:::i;47744:44::-;47739:136;;47820:35;;-1:-1:-1;;;47820:35:0;;;;;;;;;;;47739:136;47887:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;47887:35:0;-1:-1:-1;;;;;47887:35:0;;;;;;;;;47938:28;;47887:24;;47938:28;;;;;;;47600:374;47482:492;;;:::o;65640:647::-;62520:42;65831:45;:49;65827:453;;66130:67;;-1:-1:-1;;;66130:67:0;;66181:4;66130:67;;;16698:34:1;-1:-1:-1;;;;;16768:15:1;;16748:18;;;16741:43;62520:42:0;;66130;;16633:18:1;;66130:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;66125:144;;66225:28;;-1:-1:-1;;;66225:28:0;;-1:-1:-1;;;;;2050:32:1;;66225:28:0;;;2032:51:1;2005:18;;66225:28:0;1886:203:1;32692:2825:0;32834:27;32864;32883:7;32864:18;:27::i;:::-;32834:57;;32949:4;-1:-1:-1;;;;;32908:45:0;32924:19;-1:-1:-1;;;;;32908:45:0;;32904:86;;32962:28;;-1:-1:-1;;;32962:28:0;;;;;;;;;;;32904:86;33004:27;31800:24;;;:15;:24;;;;;32028:26;;70542:10;31425:30;;;-1:-1:-1;;;;;31118:28:0;;31403:20;;;31400:56;33190:180;;33283:43;33300:4;70542:10;30002:164;:::i;33283:43::-;33278:92;;33335:35;;-1:-1:-1;;;33335:35:0;;;;;;;;;;;33278:92;-1:-1:-1;;;;;33387:16:0;;33383:52;;33412:23;;-1:-1:-1;;;33412:23:0;;;;;;;;;;;33383:52;33584:15;33581:160;;;33724:1;33703:19;33696:30;33581:160;-1:-1:-1;;;;;34121:24:0;;;;;;;:18;:24;;;;;;34119:26;;-1:-1:-1;;34119:26:0;;;34190:22;;;;;;;;;34188:24;;-1:-1:-1;34188:24:0;;;27872:11;27847:23;27843:41;27830:63;-1:-1:-1;;;27830:63:0;34483:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;34778:47:0;;:52;;34774:627;;34883:1;34873:11;;34851:19;35006:30;;;:17;:30;;;;;;:35;;35002:384;;35144:13;;35129:11;:28;35125:242;;35291:30;;;;:17;:30;;;;;:52;;;35125:242;34832:569;34774:627;35448:7;35444:2;-1:-1:-1;;;;;35429:27:0;35438:4;-1:-1:-1;;;;;35429:27:0;;;;;;;;;;;35467:42;32823:2694;;;32692:2825;;;:::o;35613:193::-;35759:39;35776:4;35782:2;35786:7;35759:39;;;;;;;;;;;;:16;:39::i;25201:1712::-;25268:14;25318:7;18003:1;25299:26;25295:1562;;-1:-1:-1;25351:26:0;;;;:17;:26;;;;;;;-1:-1:-1;;;25427:24:0;;:29;;25423:1423;;25566:6;25576:1;25566:11;25562:981;;25617:13;;25606:7;:24;25602:68;;25639:31;;-1:-1:-1;;;25639:31:0;;;;;;;;;;;25602:68;26267:257;-1:-1:-1;;;26371:9:0;26353:28;;;;:17;:28;;;;;;26435:25;;26267:257;26435:25;;25201:1712;;;:::o;25423:1423::-;26874:31;;-1:-1:-1;;;26874:31:0;;;;;;;;;;;72765:174;72841:6;;;-1:-1:-1;;;;;72858:17:0;;;-1:-1:-1;;;;;;72858:17:0;;;;;;;72891:40;;72841:6;;;72858:17;72841:6;;72891:40;;72822:16;;72891:40;72811:128;72765:174;:::o;29611:234::-;70542:10;29706:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;29706:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;29706:60:0;;;;;;;;;;29782:55;;893:41:1;;;29706:49:0;;70542:10;29782:55;;866:18:1;29782:55:0;;;;;;;29611:234;;:::o;36404:407::-;36579:31;36592:4;36598:2;36602:7;36579:12;:31::i;:::-;-1:-1:-1;;;;;36625:14:0;;;:19;36621:183;;36664:56;36695:4;36701:2;36705:7;36714:5;36664:30;:56::i;:::-;36659:145;;36748:40;;-1:-1:-1;;;36748:40:0;;;;;;;;;;;85772:106;85832:13;85863:7;85856:14;;;;;:::i;73376:723::-;73432:13;73653:5;73662:1;73653:10;73649:53;;-1:-1:-1;;73680:10:0;;;;;;;;;;;;-1:-1:-1;;;73680:10:0;;;;;73376:723::o;73649:53::-;73727:5;73712:12;73768:78;73775:9;;73768:78;;73801:8;;;;:::i;:::-;;-1:-1:-1;73824:10:0;;-1:-1:-1;73832:2:0;73824:10;;:::i;:::-;;;73768:78;;;73856:19;73888:6;73878:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73878:17:0;;73856:39;;73906:154;73913:10;;73906:154;;73940:11;73950:1;73940:11;;:::i;:::-;;-1:-1:-1;74009:10:0;74017:2;74009:5;:10;:::i;:::-;73996:24;;:2;:24;:::i;:::-;73983:39;;73966:6;73973;73966:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;73966:56:0;;;;;;;;-1:-1:-1;74037:11:0;74046:2;74037:11;;:::i;:::-;;;73906:154;;;74084:6;73376:723;-1:-1:-1;;;;73376:723:0:o;38895:716::-;39079:88;;-1:-1:-1;;;39079:88:0;;39058:4;;-1:-1:-1;;;;;39079:45:0;;;;;:88;;70542:10;;39146:4;;39152:7;;39161:5;;39079:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39079:88:0;;;;;;;;-1:-1:-1;;39079:88:0;;;;;;;;;;;;:::i;:::-;;;39075:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39362:6;:13;39379:1;39362:18;39358:235;;39408:40;;-1:-1:-1;;;39408:40:0;;;;;;;;;;;39358:235;39551:6;39545:13;39536:6;39532:2;39528:15;39521:38;39075:529;-1:-1:-1;;;;;;39238:64:0;-1:-1:-1;;;39238:64:0;;-1:-1:-1;38895:716:0;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;367:131:1:-;-1:-1:-1;;;;;;441:32:1;;431:43;;421:71;;488:1;485;478:12;503:245;561:6;614:2;602:9;593:7;589:23;585:32;582:52;;;630:1;627;620:12;582:52;669:9;656:23;688:30;712:5;688:30;:::i;945:250::-;1030:1;1040:113;1054:6;1051:1;1048:13;1040:113;;;1130:11;;;1124:18;1111:11;;;1104:39;1076:2;1069:10;1040:113;;;-1:-1:-1;;1187:1:1;1169:16;;1162:27;945:250::o;1200:271::-;1242:3;1280:5;1274:12;1307:6;1302:3;1295:19;1323:76;1392:6;1385:4;1380:3;1376:14;1369:4;1362:5;1358:16;1323:76;:::i;:::-;1453:2;1432:15;-1:-1:-1;;1428:29:1;1419:39;;;;1460:4;1415:50;;1200:271;-1:-1:-1;;1200:271:1:o;1476:220::-;1625:2;1614:9;1607:21;1588:4;1645:45;1686:2;1675:9;1671:18;1663:6;1645:45;:::i;1701:180::-;1760:6;1813:2;1801:9;1792:7;1788:23;1784:32;1781:52;;;1829:1;1826;1819:12;1781:52;-1:-1:-1;1852:23:1;;1701:180;-1:-1:-1;1701:180:1:o;2094:173::-;2162:20;;-1:-1:-1;;;;;2211:31:1;;2201:42;;2191:70;;2257:1;2254;2247:12;2272:254;2340:6;2348;2401:2;2389:9;2380:7;2376:23;2372:32;2369:52;;;2417:1;2414;2407:12;2369:52;2440:29;2459:9;2440:29;:::i;:::-;2430:39;2516:2;2501:18;;;;2488:32;;-1:-1:-1;;;2272:254:1:o;2713:328::-;2790:6;2798;2806;2859:2;2847:9;2838:7;2834:23;2830:32;2827:52;;;2875:1;2872;2865:12;2827:52;2898:29;2917:9;2898:29;:::i;:::-;2888:39;;2946:38;2980:2;2969:9;2965:18;2946:38;:::i;:::-;2936:48;;3031:2;3020:9;3016:18;3003:32;2993:42;;2713:328;;;;;:::o;3509:186::-;3568:6;3621:2;3609:9;3600:7;3596:23;3592:32;3589:52;;;3637:1;3634;3627:12;3589:52;3660:29;3679:9;3660:29;:::i;3700:348::-;3752:8;3762:6;3816:3;3809:4;3801:6;3797:17;3793:27;3783:55;;3834:1;3831;3824:12;3783:55;-1:-1:-1;3857:20:1;;3900:18;3889:30;;3886:50;;;3932:1;3929;3922:12;3886:50;3969:4;3961:6;3957:17;3945:29;;4021:3;4014:4;4005:6;3997;3993:19;3989:30;3986:39;3983:59;;;4038:1;4035;4028:12;3983:59;3700:348;;;;;:::o;4053:795::-;4154:6;4162;4170;4178;4186;4239:2;4227:9;4218:7;4214:23;4210:32;4207:52;;;4255:1;4252;4245:12;4207:52;4278:29;4297:9;4278:29;:::i;:::-;4268:39;;4358:2;4347:9;4343:18;4330:32;4381:18;4422:2;4414:6;4411:14;4408:34;;;4438:1;4435;4428:12;4408:34;4477:59;4528:7;4519:6;4508:9;4504:22;4477:59;:::i;:::-;4555:8;;-1:-1:-1;4451:85:1;-1:-1:-1;4643:2:1;4628:18;;4615:32;;-1:-1:-1;4659:16:1;;;4656:36;;;4688:1;4685;4678:12;4656:36;;4727:61;4780:7;4769:8;4758:9;4754:24;4727:61;:::i;:::-;4053:795;;;;-1:-1:-1;4053:795:1;;-1:-1:-1;4807:8:1;;4701:87;4053:795;-1:-1:-1;;;4053:795:1:o;4853:118::-;4939:5;4932:13;4925:21;4918:5;4915:32;4905:60;;4961:1;4958;4951:12;4976:315;5041:6;5049;5102:2;5090:9;5081:7;5077:23;5073:32;5070:52;;;5118:1;5115;5108:12;5070:52;5141:29;5160:9;5141:29;:::i;:::-;5131:39;;5220:2;5209:9;5205:18;5192:32;5233:28;5255:5;5233:28;:::i;:::-;5280:5;5270:15;;;4976:315;;;;;:::o;5296:127::-;5357:10;5352:3;5348:20;5345:1;5338:31;5388:4;5385:1;5378:15;5412:4;5409:1;5402:15;5428:1138;5523:6;5531;5539;5547;5600:3;5588:9;5579:7;5575:23;5571:33;5568:53;;;5617:1;5614;5607:12;5568:53;5640:29;5659:9;5640:29;:::i;:::-;5630:39;;5688:38;5722:2;5711:9;5707:18;5688:38;:::i;:::-;5678:48;;5773:2;5762:9;5758:18;5745:32;5735:42;;5828:2;5817:9;5813:18;5800:32;5851:18;5892:2;5884:6;5881:14;5878:34;;;5908:1;5905;5898:12;5878:34;5946:6;5935:9;5931:22;5921:32;;5991:7;5984:4;5980:2;5976:13;5972:27;5962:55;;6013:1;6010;6003:12;5962:55;6049:2;6036:16;6071:2;6067;6064:10;6061:36;;;6077:18;;:::i;:::-;6152:2;6146:9;6120:2;6206:13;;-1:-1:-1;;6202:22:1;;;6226:2;6198:31;6194:40;6182:53;;;6250:18;;;6270:22;;;6247:46;6244:72;;;6296:18;;:::i;:::-;6336:10;6332:2;6325:22;6371:2;6363:6;6356:18;6411:7;6406:2;6401;6397;6393:11;6389:20;6386:33;6383:53;;;6432:1;6429;6422:12;6383:53;6488:2;6483;6479;6475:11;6470:2;6462:6;6458:15;6445:46;6533:1;6528:2;6523;6515:6;6511:15;6507:24;6500:35;6554:6;6544:16;;;;;;;5428:1138;;;;;;;:::o;6571:260::-;6639:6;6647;6700:2;6688:9;6679:7;6675:23;6671:32;6668:52;;;6716:1;6713;6706:12;6668:52;6739:29;6758:9;6739:29;:::i;:::-;6729:39;;6787:38;6821:2;6810:9;6806:18;6787:38;:::i;:::-;6777:48;;6571:260;;;;;:::o;6836:380::-;6915:1;6911:12;;;;6958;;;6979:61;;7033:4;7025:6;7021:17;7011:27;;6979:61;7086:2;7078:6;7075:14;7055:18;7052:38;7049:161;;7132:10;7127:3;7123:20;7120:1;7113:31;7167:4;7164:1;7157:15;7195:4;7192:1;7185:15;7049:161;;6836:380;;;:::o;7221:352::-;7423:2;7405:21;;;7462:2;7442:18;;;7435:30;7501;7496:2;7481:18;;7474:58;7564:2;7549:18;;7221:352::o;7578:345::-;7780:2;7762:21;;;7819:2;7799:18;;;7792:30;-1:-1:-1;;;7853:2:1;7838:18;;7831:51;7914:2;7899:18;;7578:345::o;7928:356::-;8130:2;8112:21;;;8149:18;;;8142:30;8208:34;8203:2;8188:18;;8181:62;8275:2;8260:18;;7928:356::o;8715:127::-;8776:10;8771:3;8767:20;8764:1;8757:31;8807:4;8804:1;8797:15;8831:4;8828:1;8821:15;8847:135;8886:3;8907:17;;;8904:43;;8927:18;;:::i;:::-;-1:-1:-1;8974:1:1;8963:13;;8847:135::o;8987:128::-;9054:9;;;9075:11;;;9072:37;;;9089:18;;:::i;9120:287::-;9249:3;9287:6;9281:13;9303:66;9362:6;9357:3;9350:4;9342:6;9338:17;9303:66;:::i;:::-;9385:16;;;;;9120:287;-1:-1:-1;;9120:287:1:o;9412:136::-;9451:3;9479:5;9469:39;;9488:18;;:::i;:::-;-1:-1:-1;;;9524:18:1;;9412:136::o;9553:127::-;9614:10;9609:3;9605:20;9602:1;9595:31;9645:4;9642:1;9635:15;9669:4;9666:1;9659:15;9810:544;9911:2;9906:3;9903:11;9900:448;;;9947:1;9972:5;9968:2;9961:17;10017:4;10013:2;10003:19;10087:2;10075:10;10071:19;10068:1;10064:27;10058:4;10054:38;10123:4;10111:10;10108:20;10105:47;;;-1:-1:-1;10146:4:1;10105:47;10201:2;10196:3;10192:12;10189:1;10185:20;10179:4;10175:31;10165:41;;10256:82;10274:2;10267:5;10264:13;10256:82;;;10319:17;;;10300:1;10289:13;10256:82;;10530:1430;10647:3;10641:4;10638:13;10635:26;;10654:5;;10530:1430::o;10635:26::-;10684:37;10716:3;10710:10;10684:37;:::i;:::-;10744:18;10736:6;10733:30;10730:56;;;10766:18;;:::i;:::-;10795:96;10884:6;10844:38;10876:4;10870:11;10844:38;:::i;:::-;10838:4;10795:96;:::i;:::-;10917:1;10945:2;10937:6;10934:14;10962:1;10957:746;;;;11747:1;11764:6;11761:89;;;-1:-1:-1;11816:19:1;;;11810:26;11761:89;-1:-1:-1;;10487:1:1;10483:11;;;10479:24;10475:29;10465:40;10511:1;10507:11;;;10462:57;11863:81;;10927:1027;;10957:746;9757:1;9750:14;;;9794:4;9781:18;;-1:-1:-1;;10993:20:1;;;9757:1;9750:14;;;9794:4;9781:18;;11155:9;11177:251;11191:7;11188:1;11185:14;11177:251;;;11273:21;;;11267:28;11252:44;;11323:1;11396:18;;;;11351:15;;;;11214:4;11207:12;11177:251;;;11181:3;11456:6;11447:7;11444:19;11441:203;;;11517:21;;;11511:28;-1:-1:-1;;11602:1:1;11598:14;;;11614:3;11594:24;11590:37;11586:42;11571:58;11556:74;;11441:203;-1:-1:-1;;;;;11690:1:1;11674:14;;;11670:22;11657:36;;-1:-1:-1;10530:1430:1:o;11965:125::-;12030:9;;;12051:10;;;12048:36;;;12064:18;;:::i;12095:840::-;12221:3;12250:1;12283:6;12277:13;12313:36;12339:9;12313:36;:::i;:::-;12368:1;12385:18;;;12412:133;;;;12559:1;12554:356;;;;12378:532;;12412:133;-1:-1:-1;;12445:24:1;;12433:37;;12518:14;;12511:22;12499:35;;12490:45;;;-1:-1:-1;12412:133:1;;12554:356;12585:6;12582:1;12575:17;12615:4;12660:2;12657:1;12647:16;12685:1;12699:165;12713:6;12710:1;12707:13;12699:165;;;12791:14;;12778:11;;;12771:35;12834:16;;;;12728:10;;12699:165;;;12703:3;;;12893:6;12888:3;12884:16;12877:23;;12378:532;-1:-1:-1;12926:3:1;;12095:840;-1:-1:-1;;;;;;12095:840:1:o;12940:127::-;13001:10;12996:3;12992:20;12989:1;12982:31;13032:4;13029:1;13022:15;13056:4;13053:1;13046:15;13414:1348;13538:3;13532:10;13565:18;13557:6;13554:30;13551:56;;;13587:18;;:::i;:::-;13616:96;13705:6;13665:38;13697:4;13691:11;13665:38;:::i;13616:96::-;13767:4;;13831:2;13820:14;;13848:1;13843:662;;;;14549:1;14566:6;14563:89;;;-1:-1:-1;14618:19:1;;;14612:26;14563:89;-1:-1:-1;;10487:1:1;10483:11;;;10479:24;10475:29;10465:40;10511:1;10507:11;;;10462:57;14665:81;;13813:943;;13843:662;9757:1;9750:14;;;9794:4;9781:18;;-1:-1:-1;;13879:20:1;;;13996:236;14010:7;14007:1;14004:14;13996:236;;;14099:19;;;14093:26;14078:42;;14191:27;;;;14159:1;14147:14;;;;14026:19;;13996:236;;;14000:3;14260:6;14251:7;14248:19;14245:201;;;14321:19;;;;14315:26;-1:-1:-1;;14416:3:1;14404:1;14400:14;;;14396:24;14392:37;14388:42;14373:58;14358:74;;;-1:-1:-1;;14492:1:1;14476:14;;;14472:22;14459:36;;-1:-1:-1;13414:1348:1:o;14767:390::-;14926:2;14915:9;14908:21;14965:6;14960:2;14949:9;14945:18;14938:34;15022:6;15014;15009:2;14998:9;14994:18;14981:48;15078:1;15049:22;;;15073:2;15045:31;;;15038:42;;;;15141:2;15120:15;;;-1:-1:-1;;15116:29:1;15101:45;15097:54;;14767:390;-1:-1:-1;14767:390:1:o;15578:496::-;15757:3;15795:6;15789:13;15811:66;15870:6;15865:3;15858:4;15850:6;15846:17;15811:66;:::i;:::-;15940:13;;15899:16;;;;15962:70;15940:13;15899:16;16009:4;15997:17;;15962:70;:::i;:::-;16048:20;;15578:496;-1:-1:-1;;;;15578:496:1:o;16795:245::-;16862:6;16915:2;16903:9;16894:7;16890:23;16886:32;16883:52;;;16931:1;16928;16921:12;16883:52;16963:9;16957:16;16982:28;17004:5;16982:28;:::i;17045:127::-;17106:10;17101:3;17097:20;17094:1;17087:31;17137:4;17134:1;17127:15;17161:4;17158:1;17151:15;17177:120;17217:1;17243;17233:35;;17248:18;;:::i;:::-;-1:-1:-1;17282:9:1;;17177:120::o;17302:112::-;17334:1;17360;17350:35;;17365:18;;:::i;:::-;-1:-1:-1;17399:9:1;;17302:112::o;17419:489::-;-1:-1:-1;;;;;17688:15:1;;;17670:34;;17740:15;;17735:2;17720:18;;17713:43;17787:2;17772:18;;17765:34;;;17835:3;17830:2;17815:18;;17808:31;;;17613:4;;17856:46;;17882:19;;17874:6;17856:46;:::i;:::-;17848:54;17419:489;-1:-1:-1;;;;;;17419:489:1:o;17913:249::-;17982:6;18035:2;18023:9;18014:7;18010:23;18006:32;18003:52;;;18051:1;18048;18041:12;18003:52;18083:9;18077:16;18102:30;18126:5;18102:30;:::i

Swarm Source

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