ETH Price: $3,709.45 (+3.28%)

Token

Bored Ape Football Club (BAFC)
 

Overview

Max Total Supply

1,299 BAFC

Holders

110

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
10 BAFC
0x003340e0b3667e46135dac6c79f52ff1f9423eae
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BAFC

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-04
*/

// File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/a780f44b2dd4fc10b0c27556711cac5f74e56fda/src/IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

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

// File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/a780f44b2dd4fc10b0c27556711cac5f74e56fda/src/OperatorFilterer.sol


pragma solidity ^0.8.13;


abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

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

// File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/a780f44b2dd4fc10b0c27556711cac5f74e56fda/src/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


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

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

// File: erc721a/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: erc721a/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 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

// File: bafc.sol

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;





enum ContractStatus {
        disable,
        open
    }

contract BAFC is ERC721A, Ownable, DefaultOperatorFilterer, ReentrancyGuard {

    constructor() ERC721A("Bored Ape Football Club", "BAFC") DefaultOperatorFilterer() {}

    ContractStatus public CONTRACT_STATUS = ContractStatus.disable;

    uint256 public immutable PRICE = 0.002 ether;
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public immutable MAX_FREE_PER_WALLET = 1;
    uint256 public immutable MAX_TX_PER_WALLET = 10;

    string internal baseURI = "";

    modifier isEthAvailable(uint256 quantity) {
        require(msg.value >= getSalePrice(msg.sender, quantity), "Insufficient funds");
        _;
    }

    modifier isMaxTxReached(uint256 quantity) {
        require(_numberMinted(msg.sender) + quantity <= MAX_TX_PER_WALLET, "Exceeded wallet limit");
        _;
    }

    modifier isSupplyUnavailable(uint256 quantity) {
        require(totalSupply() + quantity <= MAX_SUPPLY, "Out of stock");
        _;
    }

    modifier isUser() {
    require(tx.origin == msg.sender, "Invalid User");
    _;
    }

    function getTotalSupplyLeft()
      public view
      returns (uint256)
    {
      return MAX_SUPPLY - totalSupply();
    }

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

    function mint(uint256 quantity)
      public
      payable
      virtual
      nonReentrant
      isUser
      isSupplyUnavailable(quantity)
      isMaxTxReached(quantity)
      isEthAvailable(quantity)
    {
      require(
            CONTRACT_STATUS == ContractStatus.open,
            "Contract is not open yet"
        );

        _mint(msg.sender, quantity);
    }

    function internalMint(uint256 quantity)
      public
      virtual
      onlyOwner
      nonReentrant
      isUser
      isSupplyUnavailable(quantity)
    {
      _mint(msg.sender, quantity);
    }    

    function getTotalMinted(address addr)
      public
      view
      returns (uint256)
    {
      return _numberMinted(addr);
    }

    function setBaseURI(string memory newURI) 
      external
      virtual
      onlyOwner
    {
      baseURI = newURI;
    }

    function setStatus(ContractStatus status)
      external
      onlyOwner
    {
      CONTRACT_STATUS = status;
    }

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

    function supportsInterface(bytes4 interfaceId)
      public
      view
      virtual
      override(ERC721A)
      returns (bool)
    {
      return
          ERC721A.supportsInterface(interfaceId) ||
          super.supportsInterface(interfaceId);
    }

    function getSalePrice(address sender, uint256 quantity)
      private
      view
      returns (uint256)
    {
      bool isAlreadyMinted = _numberMinted(sender) > 0;

      return
          isAlreadyMinted
              ? PRICE * (quantity)
              : PRICE * (quantity - MAX_FREE_PER_WALLET);
    }

    function withdraw(uint256 balance)
      external
      onlyOwner
      nonReentrant
      isUser
    {
      (bool success, ) = msg.sender.call{value: balance}("");
      require(success, "Transfer failed.");
    }

    function withdrawAll()
      external
      onlyOwner
      nonReentrant
      isUser
    {
      (bool success, ) = msg.sender.call{value: address(this).balance}("");
      require(success, "Transfer failed.");
    }

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTRACT_STATUS","outputs":[{"internalType":"enum ContractStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"internalMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ContractStatus","name":"status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"balance","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600a805460ff1916815566071afd498d0000608052600160a05260c0526101006040819052600060e08190526200003991600b916200028f565b503480156200004757600080fd5b50604080518082018252601781527f426f7265642041706520466f6f7462616c6c20436c75620000000000000000006020808301918252835180850190945260048452634241464360e01b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb693600193929091620000c2916002916200028f565b508051620000d89060039060208401906200028f565b5050600160005550620000eb336200023d565b6daaeb6d7670e522a718067333cd4e3b15620002305780156200017e57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015f57600080fd5b505af115801562000174573d6000803e3d6000fd5b5050505062000230565b6001600160a01b03821615620001cf5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000144565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200021657600080fd5b505af11580156200022b573d6000803e3d6000fd5b505050505b5050600160095562000371565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200029d9062000335565b90600052602060002090601f016020900481019282620002c157600085556200030c565b82601f10620002dc57805160ff19168380011785556200030c565b828001600101855582156200030c579182015b828111156200030c578251825591602001919060010190620002ef565b506200031a9291506200031e565b5090565b5b808211156200031a57600081556001016200031f565b600181811c908216806200034a57607f821691505b6020821081036200036b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051611e65620003bd600039600081816104210152610cf301526000818161045501526115aa0152600081816103ba015281816115d501526116040152611e656000f3fe6080604052600436106101cd5760003560e01c80638d859f3e116100f7578063a22cb46511610095578063c87b56dd11610064578063c87b56dd14610524578063defcbacb14610544578063e985e9c514610559578063f2fde38b146105a257600080fd5b8063a22cb465146104aa578063acd0d9a6146104ca578063b88d4fde146104ea578063bf7b779c146104fd57600080fd5b8063975e840e116100d1578063975e840e1461040f57806398710d1e146104435780639a9c1bb114610477578063a0712d681461049757600080fd5b80638d859f3e146103a85780638da5cb5b146103dc57806395d89b41146103fa57600080fd5b80632e49d78b1161016f5780636352211e1161013e5780636352211e1461033e57806370a082311461035e578063715018a61461037e578063853828b61461039357600080fd5b80632e49d78b146102d557806332cb6b0c146102f557806342842e0e1461030b57806355f804b31461031e57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461027657806323b872dd146102a25780632e1a7d4d146102b557600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461195f565b6105c2565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105e2565b6040516101fe91906119d4565b34801561023557600080fd5b506102496102443660046119e7565b610674565b6040516001600160a01b0390911681526020016101fe565b61027461026f366004611a1c565b6106b8565b005b34801561028257600080fd5b50610294600154600054036000190190565b6040519081526020016101fe565b6102746102b0366004611a46565b610758565b3480156102c157600080fd5b506102746102d03660046119e7565b6108b9565b3480156102e157600080fd5b506102746102f0366004611a82565b610981565b34801561030157600080fd5b5061029461271081565b610274610319366004611a46565b6109af565b34801561032a57600080fd5b50610274610339366004611b2f565b610b00565b34801561034a57600080fd5b506102496103593660046119e7565b610b1f565b34801561036a57600080fd5b50610294610379366004611b78565b610b2a565b34801561038a57600080fd5b50610274610b79565b34801561039f57600080fd5b50610274610b8d565b3480156103b457600080fd5b506102947f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e857600080fd5b506008546001600160a01b0316610249565b34801561040657600080fd5b5061021c610c52565b34801561041b57600080fd5b506102947f000000000000000000000000000000000000000000000000000000000000000081565b34801561044f57600080fd5b506102947f000000000000000000000000000000000000000000000000000000000000000081565b34801561048357600080fd5b50610294610492366004611b78565b610c61565b6102746104a53660046119e7565b610c6c565b3480156104b657600080fd5b506102746104c5366004611ba1565b610e38565b3480156104d657600080fd5b506102746104e53660046119e7565b610ea4565b6102746104f8366004611bd8565b610f3a565b34801561050957600080fd5b50600a546105179060ff1681565b6040516101fe9190611c6a565b34801561053057600080fd5b5061021c61053f3660046119e7565b611099565b34801561055057600080fd5b5061029461111d565b34801561056557600080fd5b506101f2610574366004611c92565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ae57600080fd5b506102746105bd366004611b78565b611141565b60006105cd826111b7565b806105dc57506105dc826111b7565b92915050565b6060600280546105f190611cc5565b80601f016020809104026020016040519081016040528092919081815260200182805461061d90611cc5565b801561066a5780601f1061063f5761010080835404028352916020019161066a565b820191906000526020600020905b81548152906001019060200180831161064d57829003601f168201915b5050505050905090565b600061067f82611205565b61069c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106c382610b1f565b9050336001600160a01b038216146106fc576106df8133610574565b6106fc576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826daaeb6d7670e522a718067333cd4e3b156108a857336001600160a01b0382160361078e5761078984848461123a565b6108b3565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108019190611cff565b80156108845750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190611cff565b6108a857604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6108b384848461123a565b50505050565b6108c16113d2565b6108c961142c565b3233146108e85760405162461bcd60e51b815260040161089f90611d1c565b604051600090339083908381818185875af1925050503d806000811461092a576040519150601f19603f3d011682016040523d82523d6000602084013e61092f565b606091505b50509050806109735760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161089f565b5061097e6001600955565b50565b6109896113d2565b600a805482919060ff1916600183818111156109a7576109a7611c54565b021790555050565b826daaeb6d7670e522a718067333cd4e3b15610af557336001600160a01b038216036109e057610789848484611485565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a539190611cff565b8015610ad65750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad69190611cff565b610af557604051633b79c77360e21b815233600482015260240161089f565b6108b3848484611485565b610b086113d2565b8051610b1b90600b9060208401906118b0565b5050565b60006105dc826114a5565b60006001600160a01b038216610b53576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b816113d2565b610b8b6000611514565b565b610b956113d2565b610b9d61142c565b323314610bbc5760405162461bcd60e51b815260040161089f90611d1c565b604051600090339047908381818185875af1925050503d8060008114610bfe576040519150601f19603f3d011682016040523d82523d6000602084013e610c03565b606091505b5050905080610c475760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161089f565b50610b8b6001600955565b6060600380546105f190611cc5565b60006105dc82611566565b610c7461142c565b323314610c935760405162461bcd60e51b815260040161089f90611d1c565b8061271081610ca9600154600054036000190190565b610cb39190611d58565b1115610cf05760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b604482015260640161089f565b817f000000000000000000000000000000000000000000000000000000000000000081610d1c33611566565b610d269190611d58565b1115610d6c5760405162461bcd60e51b8152602060048201526015602482015274115e18d959591959081dd85b1b195d081b1a5b5a5d605a1b604482015260640161089f565b82610d77338261158f565b341015610dbb5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b604482015260640161089f565b6001600a5460ff166001811115610dd457610dd4611c54565b14610e215760405162461bcd60e51b815260206004820152601860248201527f436f6e7472616374206973206e6f74206f70656e207965740000000000000000604482015260640161089f565b610e2b3385611630565b50505061097e6001600955565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eac6113d2565b610eb461142c565b323314610ed35760405162461bcd60e51b815260040161089f90611d1c565b8061271081610ee9600154600054036000190190565b610ef39190611d58565b1115610f305760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b604482015260640161089f565b6109733383611630565b836daaeb6d7670e522a718067333cd4e3b1561108657336001600160a01b03821603610f7157610f6c8585858561172e565b611092565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610fc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe49190611cff565b80156110675750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611043573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110679190611cff565b61108657604051633b79c77360e21b815233600482015260240161089f565b6110928585858561172e565b5050505050565b60606110a482611205565b6110c157604051630a14c4b560e41b815260040160405180910390fd5b60006110cb611772565b905080516000036110eb5760405180602001604052806000815250611116565b806110f584611781565b604051602001611106929190611d70565b6040516020818303038152906040525b9392505050565b6000611130600154600054036000190190565b61113c90612710611d9f565b905090565b6111496113d2565b6001600160a01b0381166111ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089f565b61097e81611514565b60006301ffc9a760e01b6001600160e01b0319831614806111e857506380ac58cd60e01b6001600160e01b03198316145b806105dc5750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611219575060005482105b80156105dc575050600090815260046020526040902054600160e01b161590565b6000611245826114a5565b9050836001600160a01b0316816001600160a01b0316146112785760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176112c5576112a88633610574565b6112c557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166112ec57604051633a954ecd60e21b815260040160405180910390fd5b80156112f757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611389576001840160008181526004602052604081205490036113875760005481146113875760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b03163314610b8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161089f565b60026009540361147e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089f565b6002600955565b6114a083838360405180602001604052806000815250610f3a565b505050565b600081806001116114fb576000548110156114fb5760008181526004602052604081205490600160e01b821690036114f9575b806000036111165750600019016000818152600460205260409020546114d8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b600080600061159d85611566565b119050806115fe576115cf7f000000000000000000000000000000000000000000000000000000000000000084611d9f565b6115f9907f0000000000000000000000000000000000000000000000000000000000000000611db6565b611628565b611628837f0000000000000000000000000000000000000000000000000000000000000000611db6565b949350505050565b60008054908290036116555760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461170457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116cc565b508160000361172557604051622e076360e81b815260040160405180910390fd5b60005550505050565b611739848484610758565b6001600160a01b0383163b156108b357611755848484846117c5565b6108b3576040516368d2bf6b60e11b815260040160405180910390fd5b6060600b80546105f190611cc5565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061179b5750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117fa903390899088908890600401611dd5565b6020604051808303816000875af1925050508015611835575060408051601f3d908101601f1916820190925261183291810190611e12565b60015b611893573d808015611863576040519150601f19603f3d011682016040523d82523d6000602084013e611868565b606091505b50805160000361188b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8280546118bc90611cc5565b90600052602060002090601f0160209004810192826118de5760008555611924565b82601f106118f757805160ff1916838001178555611924565b82800160010185558215611924579182015b82811115611924578251825591602001919060010190611909565b50611930929150611934565b5090565b5b808211156119305760008155600101611935565b6001600160e01b03198116811461097e57600080fd5b60006020828403121561197157600080fd5b813561111681611949565b60005b8381101561199757818101518382015260200161197f565b838111156108b35750506000910152565b600081518084526119c081602086016020860161197c565b601f01601f19169290920160200192915050565b60208152600061111660208301846119a8565b6000602082840312156119f957600080fd5b5035919050565b80356001600160a01b0381168114611a1757600080fd5b919050565b60008060408385031215611a2f57600080fd5b611a3883611a00565b946020939093013593505050565b600080600060608486031215611a5b57600080fd5b611a6484611a00565b9250611a7260208501611a00565b9150604084013590509250925092565b600060208284031215611a9457600080fd5b81356002811061111657600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ad457611ad4611aa3565b604051601f8501601f19908116603f01168101908282118183101715611afc57611afc611aa3565b81604052809350858152868686011115611b1557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b4157600080fd5b813567ffffffffffffffff811115611b5857600080fd5b8201601f81018413611b6957600080fd5b61162884823560208401611ab9565b600060208284031215611b8a57600080fd5b61111682611a00565b801515811461097e57600080fd5b60008060408385031215611bb457600080fd5b611bbd83611a00565b91506020830135611bcd81611b93565b809150509250929050565b60008060008060808587031215611bee57600080fd5b611bf785611a00565b9350611c0560208601611a00565b925060408501359150606085013567ffffffffffffffff811115611c2857600080fd5b8501601f81018713611c3957600080fd5b611c4887823560208401611ab9565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611c8c57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611ca557600080fd5b611cae83611a00565b9150611cbc60208401611a00565b90509250929050565b600181811c90821680611cd957607f821691505b602082108103611cf957634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611d1157600080fd5b815161111681611b93565b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611d6b57611d6b611d42565b500190565b60008351611d8281846020880161197c565b835190830190611d9681836020880161197c565b01949350505050565b600082821015611db157611db1611d42565b500390565b6000816000190483118215151615611dd057611dd0611d42565b500290565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e08908301846119a8565b9695505050505050565b600060208284031215611e2457600080fd5b81516111168161194956fea2646970667358221220b534c4a6315d3acfccb37f3ea5d9908625043ce89bb4e80af8d1a0ac0e6d5e3f64736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80638d859f3e116100f7578063a22cb46511610095578063c87b56dd11610064578063c87b56dd14610524578063defcbacb14610544578063e985e9c514610559578063f2fde38b146105a257600080fd5b8063a22cb465146104aa578063acd0d9a6146104ca578063b88d4fde146104ea578063bf7b779c146104fd57600080fd5b8063975e840e116100d1578063975e840e1461040f57806398710d1e146104435780639a9c1bb114610477578063a0712d681461049757600080fd5b80638d859f3e146103a85780638da5cb5b146103dc57806395d89b41146103fa57600080fd5b80632e49d78b1161016f5780636352211e1161013e5780636352211e1461033e57806370a082311461035e578063715018a61461037e578063853828b61461039357600080fd5b80632e49d78b146102d557806332cb6b0c146102f557806342842e0e1461030b57806355f804b31461031e57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461027657806323b872dd146102a25780632e1a7d4d146102b557600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461195f565b6105c2565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105e2565b6040516101fe91906119d4565b34801561023557600080fd5b506102496102443660046119e7565b610674565b6040516001600160a01b0390911681526020016101fe565b61027461026f366004611a1c565b6106b8565b005b34801561028257600080fd5b50610294600154600054036000190190565b6040519081526020016101fe565b6102746102b0366004611a46565b610758565b3480156102c157600080fd5b506102746102d03660046119e7565b6108b9565b3480156102e157600080fd5b506102746102f0366004611a82565b610981565b34801561030157600080fd5b5061029461271081565b610274610319366004611a46565b6109af565b34801561032a57600080fd5b50610274610339366004611b2f565b610b00565b34801561034a57600080fd5b506102496103593660046119e7565b610b1f565b34801561036a57600080fd5b50610294610379366004611b78565b610b2a565b34801561038a57600080fd5b50610274610b79565b34801561039f57600080fd5b50610274610b8d565b3480156103b457600080fd5b506102947f00000000000000000000000000000000000000000000000000071afd498d000081565b3480156103e857600080fd5b506008546001600160a01b0316610249565b34801561040657600080fd5b5061021c610c52565b34801561041b57600080fd5b506102947f000000000000000000000000000000000000000000000000000000000000000a81565b34801561044f57600080fd5b506102947f000000000000000000000000000000000000000000000000000000000000000181565b34801561048357600080fd5b50610294610492366004611b78565b610c61565b6102746104a53660046119e7565b610c6c565b3480156104b657600080fd5b506102746104c5366004611ba1565b610e38565b3480156104d657600080fd5b506102746104e53660046119e7565b610ea4565b6102746104f8366004611bd8565b610f3a565b34801561050957600080fd5b50600a546105179060ff1681565b6040516101fe9190611c6a565b34801561053057600080fd5b5061021c61053f3660046119e7565b611099565b34801561055057600080fd5b5061029461111d565b34801561056557600080fd5b506101f2610574366004611c92565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ae57600080fd5b506102746105bd366004611b78565b611141565b60006105cd826111b7565b806105dc57506105dc826111b7565b92915050565b6060600280546105f190611cc5565b80601f016020809104026020016040519081016040528092919081815260200182805461061d90611cc5565b801561066a5780601f1061063f5761010080835404028352916020019161066a565b820191906000526020600020905b81548152906001019060200180831161064d57829003601f168201915b5050505050905090565b600061067f82611205565b61069c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106c382610b1f565b9050336001600160a01b038216146106fc576106df8133610574565b6106fc576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826daaeb6d7670e522a718067333cd4e3b156108a857336001600160a01b0382160361078e5761078984848461123a565b6108b3565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108019190611cff565b80156108845750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190611cff565b6108a857604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6108b384848461123a565b50505050565b6108c16113d2565b6108c961142c565b3233146108e85760405162461bcd60e51b815260040161089f90611d1c565b604051600090339083908381818185875af1925050503d806000811461092a576040519150601f19603f3d011682016040523d82523d6000602084013e61092f565b606091505b50509050806109735760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161089f565b5061097e6001600955565b50565b6109896113d2565b600a805482919060ff1916600183818111156109a7576109a7611c54565b021790555050565b826daaeb6d7670e522a718067333cd4e3b15610af557336001600160a01b038216036109e057610789848484611485565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a539190611cff565b8015610ad65750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad69190611cff565b610af557604051633b79c77360e21b815233600482015260240161089f565b6108b3848484611485565b610b086113d2565b8051610b1b90600b9060208401906118b0565b5050565b60006105dc826114a5565b60006001600160a01b038216610b53576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b816113d2565b610b8b6000611514565b565b610b956113d2565b610b9d61142c565b323314610bbc5760405162461bcd60e51b815260040161089f90611d1c565b604051600090339047908381818185875af1925050503d8060008114610bfe576040519150601f19603f3d011682016040523d82523d6000602084013e610c03565b606091505b5050905080610c475760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161089f565b50610b8b6001600955565b6060600380546105f190611cc5565b60006105dc82611566565b610c7461142c565b323314610c935760405162461bcd60e51b815260040161089f90611d1c565b8061271081610ca9600154600054036000190190565b610cb39190611d58565b1115610cf05760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b604482015260640161089f565b817f000000000000000000000000000000000000000000000000000000000000000a81610d1c33611566565b610d269190611d58565b1115610d6c5760405162461bcd60e51b8152602060048201526015602482015274115e18d959591959081dd85b1b195d081b1a5b5a5d605a1b604482015260640161089f565b82610d77338261158f565b341015610dbb5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b604482015260640161089f565b6001600a5460ff166001811115610dd457610dd4611c54565b14610e215760405162461bcd60e51b815260206004820152601860248201527f436f6e7472616374206973206e6f74206f70656e207965740000000000000000604482015260640161089f565b610e2b3385611630565b50505061097e6001600955565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eac6113d2565b610eb461142c565b323314610ed35760405162461bcd60e51b815260040161089f90611d1c565b8061271081610ee9600154600054036000190190565b610ef39190611d58565b1115610f305760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b604482015260640161089f565b6109733383611630565b836daaeb6d7670e522a718067333cd4e3b1561108657336001600160a01b03821603610f7157610f6c8585858561172e565b611092565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610fc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe49190611cff565b80156110675750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611043573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110679190611cff565b61108657604051633b79c77360e21b815233600482015260240161089f565b6110928585858561172e565b5050505050565b60606110a482611205565b6110c157604051630a14c4b560e41b815260040160405180910390fd5b60006110cb611772565b905080516000036110eb5760405180602001604052806000815250611116565b806110f584611781565b604051602001611106929190611d70565b6040516020818303038152906040525b9392505050565b6000611130600154600054036000190190565b61113c90612710611d9f565b905090565b6111496113d2565b6001600160a01b0381166111ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089f565b61097e81611514565b60006301ffc9a760e01b6001600160e01b0319831614806111e857506380ac58cd60e01b6001600160e01b03198316145b806105dc5750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611219575060005482105b80156105dc575050600090815260046020526040902054600160e01b161590565b6000611245826114a5565b9050836001600160a01b0316816001600160a01b0316146112785760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176112c5576112a88633610574565b6112c557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166112ec57604051633a954ecd60e21b815260040160405180910390fd5b80156112f757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611389576001840160008181526004602052604081205490036113875760005481146113875760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b03163314610b8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161089f565b60026009540361147e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089f565b6002600955565b6114a083838360405180602001604052806000815250610f3a565b505050565b600081806001116114fb576000548110156114fb5760008181526004602052604081205490600160e01b821690036114f9575b806000036111165750600019016000818152600460205260409020546114d8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b600080600061159d85611566565b119050806115fe576115cf7f000000000000000000000000000000000000000000000000000000000000000184611d9f565b6115f9907f00000000000000000000000000000000000000000000000000071afd498d0000611db6565b611628565b611628837f00000000000000000000000000000000000000000000000000071afd498d0000611db6565b949350505050565b60008054908290036116555760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461170457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116cc565b508160000361172557604051622e076360e81b815260040160405180910390fd5b60005550505050565b611739848484610758565b6001600160a01b0383163b156108b357611755848484846117c5565b6108b3576040516368d2bf6b60e11b815260040160405180910390fd5b6060600b80546105f190611cc5565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061179b5750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117fa903390899088908890600401611dd5565b6020604051808303816000875af1925050508015611835575060408051601f3d908101601f1916820190925261183291810190611e12565b60015b611893573d808015611863576040519150601f19603f3d011682016040523d82523d6000602084013e611868565b606091505b50805160000361188b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8280546118bc90611cc5565b90600052602060002090601f0160209004810192826118de5760008555611924565b82601f106118f757805160ff1916838001178555611924565b82800160010185558215611924579182015b82811115611924578251825591602001919060010190611909565b50611930929150611934565b5090565b5b808211156119305760008155600101611935565b6001600160e01b03198116811461097e57600080fd5b60006020828403121561197157600080fd5b813561111681611949565b60005b8381101561199757818101518382015260200161197f565b838111156108b35750506000910152565b600081518084526119c081602086016020860161197c565b601f01601f19169290920160200192915050565b60208152600061111660208301846119a8565b6000602082840312156119f957600080fd5b5035919050565b80356001600160a01b0381168114611a1757600080fd5b919050565b60008060408385031215611a2f57600080fd5b611a3883611a00565b946020939093013593505050565b600080600060608486031215611a5b57600080fd5b611a6484611a00565b9250611a7260208501611a00565b9150604084013590509250925092565b600060208284031215611a9457600080fd5b81356002811061111657600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ad457611ad4611aa3565b604051601f8501601f19908116603f01168101908282118183101715611afc57611afc611aa3565b81604052809350858152868686011115611b1557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b4157600080fd5b813567ffffffffffffffff811115611b5857600080fd5b8201601f81018413611b6957600080fd5b61162884823560208401611ab9565b600060208284031215611b8a57600080fd5b61111682611a00565b801515811461097e57600080fd5b60008060408385031215611bb457600080fd5b611bbd83611a00565b91506020830135611bcd81611b93565b809150509250929050565b60008060008060808587031215611bee57600080fd5b611bf785611a00565b9350611c0560208601611a00565b925060408501359150606085013567ffffffffffffffff811115611c2857600080fd5b8501601f81018713611c3957600080fd5b611c4887823560208401611ab9565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611c8c57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611ca557600080fd5b611cae83611a00565b9150611cbc60208401611a00565b90509250929050565b600181811c90821680611cd957607f821691505b602082108103611cf957634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611d1157600080fd5b815161111681611b93565b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611d6b57611d6b611d42565b500190565b60008351611d8281846020880161197c565b835190830190611d9681836020880161197c565b01949350505050565b600082821015611db157611db1611d42565b500390565b6000816000190483118215151615611dd057611dd0611d42565b500290565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e08908301846119a8565b9695505050505050565b600060208284031215611e2457600080fd5b81516111168161194956fea2646970667358221220b534c4a6315d3acfccb37f3ea5d9908625043ce89bb4e80af8d1a0ac0e6d5e3f64736f6c634300080d0033

Deployed Bytecode Sourcemap

63012:4292:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65546:264;;;;;;;;;;-1:-1:-1;65546:264:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;65546:264:0;;;;;;;;24189:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30680:218::-;;;;;;;;;;-1:-1:-1;30680:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;30680:218:0;1528:203:1;30113:408:0;;;;;;:::i;:::-;;:::i;:::-;;19940:323;;;;;;;;;;;;65529:1;20214:12;20001:7;20198:13;:28;-1:-1:-1;;20198:46:0;;19940:323;;;;2319:25:1;;;2307:2;2292:18;19940:323:0;2173:177:1;66606:214:0;;;;;;:::i;:::-;;:::i;66142:223::-;;;;;;;;;;-1:-1:-1;66142:223:0;;;;;:::i;:::-;;:::i;65263:121::-;;;;;;;;;;-1:-1:-1;65263:121:0;;;;;:::i;:::-;;:::i;63312:42::-;;;;;;;;;;;;63349:5;63312:42;;66828:220;;;;;;:::i;:::-;;:::i;65126:129::-;;;;;;;;;;-1:-1:-1;65126:129:0;;;;;:::i;:::-;;:::i;25582:152::-;;;;;;;;;;-1:-1:-1;25582:152:0;;;;;:::i;:::-;;:::i;21124:233::-;;;;;;;;;;-1:-1:-1;21124:233:0;;;;;:::i;:::-;;:::i;62040:103::-;;;;;;;;;;;;;:::i;66373:225::-;;;;;;;;;;;;;:::i;63261:44::-;;;;;;;;;;;;;;;61392:87;;;;;;;;;;-1:-1:-1;61465:6:0;;-1:-1:-1;;;;;61465:6:0;61392:87;;24365:104;;;;;;;;;;;;;:::i;63416:47::-;;;;;;;;;;;;;;;63361:48;;;;;;;;;;;;;;;64981:137;;;;;;;;;;-1:-1:-1;64981:137:0;;;;;:::i;:::-;;:::i;64370:385::-;;;;;;:::i;:::-;;:::i;31238:234::-;;;;;;;;;;-1:-1:-1;31238:234:0;;;;;:::i;:::-;;:::i;64763:206::-;;;;;;;;;;-1:-1:-1;64763:206:0;;;;;:::i;:::-;;:::i;67056:245::-;;;;;;:::i;:::-;;:::i;63190:62::-;;;;;;;;;;-1:-1:-1;63190:62:0;;;;;;;;;;;;;;;:::i;24575:318::-;;;;;;;;;;-1:-1:-1;24575:318:0;;;;;:::i;:::-;;:::i;64086:129::-;;;;;;;;;;;;;:::i;31629:164::-;;;;;;;;;;-1:-1:-1;31629:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;31750:25:0;;;31726:4;31750:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31629:164;62298:201;;;;;;;;;;-1:-1:-1;62298:201:0;;;;;:::i;:::-;;:::i;65546:264::-;65675:4;65713:38;65739:11;65713:25;:38::i;:::-;:89;;;;65766:36;65790:11;65766:23;:36::i;:::-;65695:107;65546:264;-1:-1:-1;;65546:264:0:o;24189:100::-;24243:13;24276:5;24269:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24189:100;:::o;30680:218::-;30756:7;30781:16;30789:7;30781;:16::i;:::-;30776:64;;30806:34;;-1:-1:-1;;;30806:34:0;;;;;;;;;;;30776:64;-1:-1:-1;30860:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;30860:30:0;;30680:218::o;30113:408::-;30202:13;30218:16;30226:7;30218;:16::i;:::-;30202:32;-1:-1:-1;54446:10:0;-1:-1:-1;;;;;30251:28:0;;;30247:175;;30299:44;30316:5;54446:10;31629:164;:::i;30299:44::-;30294:128;;30371:35;;-1:-1:-1;;;30371:35:0;;;;;;;;;;;30294:128;30434:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;30434:35:0;-1:-1:-1;;;;;30434:35:0;;;;;;;;;30485:28;;30434:24;;30485:28;;;;;;;30191:330;30113:408;;:::o;66606:214::-;66752:4;2604:42;3744:43;:47;3740:699;;4031:10;-1:-1:-1;;;;;4023:18:0;;;4019:85;;66775:37:::1;66794:4;66800:2;66804:7;66775:18;:37::i;:::-;4082:7:::0;;4019:85;4164:67;;-1:-1:-1;;;4164:67:0;;4213:4;4164:67;;;6845:34:1;4220:10:0;6895:18:1;;;6888:43;2604:42:0;;4164:40;;6780:18:1;;4164:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4260:61:0;;-1:-1:-1;;;4260:61:0;;4309:4;4260:61;;;6845:34:1;-1:-1:-1;;;;;6915:15:1;;6895:18;;;6888:43;2604:42:0;;4260:40;;6780:18:1;;4260:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4118:310;;4382:30;;-1:-1:-1;;;4382:30:0;;4401:10;4382:30;;;1674:51:1;1647:18;;4382:30:0;;;;;;;;4118:310;66775:37:::1;66794:4;66800:2;66804:7;66775:18;:37::i;:::-;66606:214:::0;;;;:::o;66142:223::-;61278:13;:11;:13::i;:::-;58663:21:::1;:19;:21::i;:::-;64022:9:::2;64035:10;64022:23;64014:48;;;;-1:-1:-1::0;;;64014:48:0::2;;;;;;;:::i;:::-;66277:35:::3;::::0;66259:12:::3;::::0;66277:10:::3;::::0;66300:7;;66259:12;66277:35;66259:12;66277:35;66300:7;66277:10;:35:::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66258:54;;;66329:7;66321:36;;;::::0;-1:-1:-1;;;66321:36:0;;7945:2:1;66321:36:0::3;::::0;::::3;7927:21:1::0;7984:2;7964:18;;;7957:30;-1:-1:-1;;;8003:18:1;;;7996:46;8059:18;;66321:36:0::3;7743:340:1::0;66321:36:0::3;66249:116;58707:20:::1;58101:1:::0;59227:7;:22;59044:213;58707:20:::1;66142:223:::0;:::o;65263:121::-;61278:13;:11;:13::i;:::-;65352:15:::1;:24:::0;;65370:6;;65352:15;-1:-1:-1;;65352:24:0::1;::::0;65370:6;65352:24;;::::1;;;;;;:::i;:::-;;;;;;65263:121:::0;:::o;66828:220::-;66977:4;2604:42;3744:43;:47;3740:699;;4031:10;-1:-1:-1;;;;;4023:18:0;;;4019:85;;66999:41:::1;67022:4;67028:2;67032:7;66999:22;:41::i;4019:85::-:0;4164:67;;-1:-1:-1;;;4164:67:0;;4213:4;4164:67;;;6845:34:1;4220:10:0;6895:18:1;;;6888:43;2604:42:0;;4164:40;;6780:18:1;;4164:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4260:61:0;;-1:-1:-1;;;4260:61:0;;4309:4;4260:61;;;6845:34:1;-1:-1:-1;;;;;6915:15:1;;6895:18;;;6888:43;2604:42:0;;4260:40;;6780:18:1;;4260:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4118:310;;4382:30;;-1:-1:-1;;;4382:30:0;;4401:10;4382:30;;;1674:51:1;1647:18;;4382:30:0;1528:203:1;4118:310:0;66999:41:::1;67022:4;67028:2;67032:7;66999:22;:41::i;65126:129::-:0;61278:13;:11;:13::i;:::-;65231:16;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;:::-;;65126:129:::0;:::o;25582:152::-;25654:7;25697:27;25716:7;25697:18;:27::i;21124:233::-;21196:7;-1:-1:-1;;;;;21220:19:0;;21216:60;;21248:28;;-1:-1:-1;;;21248:28:0;;;;;;;;;;;21216:60;-1:-1:-1;;;;;;21294:25:0;;;;;:18;:25;;;;;;15283:13;21294:55;;21124:233::o;62040:103::-;61278:13;:11;:13::i;:::-;62105:30:::1;62132:1;62105:18;:30::i;:::-;62040:103::o:0;66373:225::-;61278:13;:11;:13::i;:::-;58663:21:::1;:19;:21::i;:::-;64022:9:::2;64035:10;64022:23;64014:48;;;;-1:-1:-1::0;;;64014:48:0::2;;;;;;;:::i;:::-;66496:49:::3;::::0;66478:12:::3;::::0;66496:10:::3;::::0;66519:21:::3;::::0;66478:12;66496:49;66478:12;66496:49;66519:21;66496:10;:49:::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66477:68;;;66562:7;66554:36;;;::::0;-1:-1:-1;;;66554:36:0;;7945:2:1;66554:36:0::3;::::0;::::3;7927:21:1::0;7984:2;7964:18;;;7957:30;-1:-1:-1;;;8003:18:1;;;7996:46;8059:18;;66554:36:0::3;7743:340:1::0;66554:36:0::3;66468:130;58707:20:::1;58101:1:::0;59227:7;:22;59044:213;24365:104;24421:13;24454:7;24447:14;;;;;:::i;64981:137::-;65061:7;65091:19;65105:4;65091:13;:19::i;64370:385::-;58663:21;:19;:21::i;:::-;64022:9:::1;64035:10;64022:23;64014:48;;;;-1:-1:-1::0;;;64014:48:0::1;;;;;;;:::i;:::-;64507:8:::2;63349:5;63922:8;63906:13;65529:1:::0;20214:12;20001:7;20198:13;:28;-1:-1:-1;;20198:46:0;;19940:323;63906:13:::2;:24;;;;:::i;:::-;:38;;63898:63;;;::::0;-1:-1:-1;;;63898:63:0;;8555:2:1;63898:63:0::2;::::0;::::2;8537:21:1::0;8594:2;8574:18;;;8567:30;-1:-1:-1;;;8613:18:1;;;8606:42;8665:18;;63898:63:0::2;8353:336:1::0;63898:63:0::2;64539:8:::3;63769:17;63757:8;63729:25;63743:10;63729:13;:25::i;:::-;:36;;;;:::i;:::-;:57;;63721:91;;;::::0;-1:-1:-1;;;63721:91:0;;8896:2:1;63721:91:0::3;::::0;::::3;8878:21:1::0;8935:2;8915:18;;;8908:30;-1:-1:-1;;;8954:18:1;;;8947:51;9015:18;;63721:91:0::3;8694:345:1::0;63721:91:0::3;64571:8:::4;63583:34;63596:10;63608:8;63583:12;:34::i;:::-;63570:9;:47;;63562:78;;;::::0;-1:-1:-1;;;63562:78:0;;9246:2:1;63562:78:0::4;::::0;::::4;9228:21:1::0;9285:2;9265:18;;;9258:30;-1:-1:-1;;;9304:18:1;;;9297:48;9362:18;;63562:78:0::4;9044:342:1::0;63562:78:0::4;64636:19:::5;64617:15;::::0;::::5;;::::0;:38;::::5;;;;;;:::i;:::-;;64595:112;;;::::0;-1:-1:-1;;;64595:112:0;;9593:2:1;64595:112:0::5;::::0;::::5;9575:21:1::0;9632:2;9612:18;;;9605:30;9671:26;9651:18;;;9644:54;9715:18;;64595:112:0::5;9391:348:1::0;64595:112:0::5;64720:27;64726:10;64738:8;64720:5;:27::i;:::-;63823:1:::4;63972::::3;64069::::2;58707:20:::0;58101:1;59227:7;:22;59044:213;31238:234;54446:10;31333:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31333:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31333:60:0;;;;;;;;;;31409:55;;540:41:1;;;31333:49:0;;54446:10;31409:55;;513:18:1;31409:55:0;;;;;;;31238:234;;:::o;64763:206::-;61278:13;:11;:13::i;:::-;58663:21:::1;:19;:21::i;:::-;64022:9:::2;64035:10;64022:23;64014:48;;;;-1:-1:-1::0;;;64014:48:0::2;;;;;;;:::i;:::-;64910:8:::3;63349:5;63922:8;63906:13;65529:1:::0;20214:12;20001:7;20198:13;:28;-1:-1:-1;;20198:46:0;;19940:323;63906:13:::3;:24;;;;:::i;:::-;:38;;63898:63;;;::::0;-1:-1:-1;;;63898:63:0;;8555:2:1;63898:63:0::3;::::0;::::3;8537:21:1::0;8594:2;8574:18;;;8567:30;-1:-1:-1;;;8613:18:1;;;8606:42;8665:18;;63898:63:0::3;8353:336:1::0;63898:63:0::3;64934:27:::4;64940:10;64952:8;64934:5;:27::i;67056:245::-:0;67224:4;2604:42;3744:43;:47;3740:699;;4031:10;-1:-1:-1;;;;;4023:18:0;;;4019:85;;67246:47:::1;67269:4;67275:2;67279:7;67288:4;67246:22;:47::i;:::-;4082:7:::0;;4019:85;4164:67;;-1:-1:-1;;;4164:67:0;;4213:4;4164:67;;;6845:34:1;4220:10:0;6895:18:1;;;6888:43;2604:42:0;;4164:40;;6780:18:1;;4164:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4260:61:0;;-1:-1:-1;;;4260:61:0;;4309:4;4260:61;;;6845:34:1;-1:-1:-1;;;;;6915:15:1;;6895:18;;;6888:43;2604:42:0;;4260:40;;6780:18:1;;4260:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4118:310;;4382:30;;-1:-1:-1;;;4382:30:0;;4401:10;4382:30;;;1674:51:1;1647:18;;4382:30:0;1528:203:1;4118:310:0;67246:47:::1;67269:4;67275:2;67279:7;67288:4;67246:22;:47::i;:::-;67056:245:::0;;;;;:::o;24575:318::-;24648:13;24679:16;24687:7;24679;:16::i;:::-;24674:59;;24704:29;;-1:-1:-1;;;24704:29:0;;;;;;;;;;;24674:59;24746:21;24770:10;:8;:10::i;:::-;24746:34;;24804:7;24798:21;24823:1;24798:26;:87;;;;;;;;;;;;;;;;;24851:7;24860:18;24870:7;24860:9;:18::i;:::-;24834:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24798:87;24791:94;24575:318;-1:-1:-1;;;24575:318:0:o;64086:129::-;64151:7;64194:13;65529:1;20214:12;20001:7;20198:13;:28;-1:-1:-1;;20198:46:0;;19940:323;64194:13;64181:26;;63349:5;64181:26;:::i;:::-;64174:33;;64086:129;:::o;62298:201::-;61278:13;:11;:13::i;:::-;-1:-1:-1;;;;;62387:22:0;::::1;62379:73;;;::::0;-1:-1:-1;;;62379:73:0;;10551:2:1;62379:73:0::1;::::0;::::1;10533:21:1::0;10590:2;10570:18;;;10563:30;10629:34;10609:18;;;10602:62;-1:-1:-1;;;10680:18:1;;;10673:36;10726:19;;62379:73:0::1;10349:402:1::0;62379:73:0::1;62463:28;62482:8;62463:18;:28::i;23287:639::-:0;23372:4;-1:-1:-1;;;;;;;;;23696:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;23773:25:0;;;23696:102;:179;;;-1:-1:-1;;;;;;;;23850:25:0;-1:-1:-1;;;23850:25:0;;23287:639::o;32051:282::-;32116:4;32172:7;65529:1;32153:26;;:66;;;;;32206:13;;32196:7;:23;32153:66;:153;;;;-1:-1:-1;;32257:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;32257:44:0;:49;;32051:282::o;34319:2825::-;34461:27;34491;34510:7;34491:18;:27::i;:::-;34461:57;;34576:4;-1:-1:-1;;;;;34535:45:0;34551:19;-1:-1:-1;;;;;34535:45:0;;34531:86;;34589:28;;-1:-1:-1;;;34589:28:0;;;;;;;;;;;34531:86;34631:27;33427:24;;;:15;:24;;;;;33655:26;;54446:10;33052:30;;;-1:-1:-1;;;;;32745:28:0;;33030:20;;;33027:56;34817:180;;34910:43;34927:4;54446:10;31629:164;:::i;34910:43::-;34905:92;;34962:35;;-1:-1:-1;;;34962:35:0;;;;;;;;;;;34905:92;-1:-1:-1;;;;;35014:16:0;;35010:52;;35039:23;;-1:-1:-1;;;35039:23:0;;;;;;;;;;;35010:52;35211:15;35208:160;;;35351:1;35330:19;35323:30;35208:160;-1:-1:-1;;;;;35748:24:0;;;;;;;:18;:24;;;;;;35746:26;;-1:-1:-1;;35746:26:0;;;35817:22;;;;;;;;;35815:24;;-1:-1:-1;35815:24:0;;;28971:11;28946:23;28942:41;28929:63;-1:-1:-1;;;28929:63:0;36110:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;36405:47:0;;:52;;36401:627;;36510:1;36500:11;;36478:19;36633:30;;;:17;:30;;;;;;:35;;36629:384;;36771:13;;36756:11;:28;36752:242;;36918:30;;;;:17;:30;;;;;:52;;;36752:242;36459:569;36401:627;37075:7;37071:2;-1:-1:-1;;;;;37056:27:0;37065:4;-1:-1:-1;;;;;37056:27:0;;;;;;;;;;;34450:2694;;;34319:2825;;;:::o;61557:132::-;61465:6;;-1:-1:-1;;;;;61465:6:0;54446:10;61621:23;61613:68;;;;-1:-1:-1;;;61613:68:0;;10958:2:1;61613:68:0;;;10940:21:1;;;10977:18;;;10970:30;11036:34;11016:18;;;11009:62;11088:18;;61613:68:0;10756:356:1;58743:293:0;58145:1;58877:7;;:19;58869:63;;;;-1:-1:-1;;;58869:63:0;;11319:2:1;58869:63:0;;;11301:21:1;11358:2;11338:18;;;11331:30;11397:33;11377:18;;;11370:61;11448:18;;58869:63:0;11117:355:1;58869:63:0;58145:1;59010:7;:18;58743:293::o;37240:193::-;37386:39;37403:4;37409:2;37413:7;37386:39;;;;;;;;;;;;:16;:39::i;:::-;37240:193;;;:::o;26737:1275::-;26804:7;26839;;65529:1;26888:23;26884:1061;;26941:13;;26934:4;:20;26930:1015;;;26979:14;26996:23;;;:17;:23;;;;;;;-1:-1:-1;;;27085:24:0;;:29;;27081:845;;27750:113;27757:6;27767:1;27757:11;27750:113;;-1:-1:-1;;;27828:6:0;27810:25;;;;:17;:25;;;;;;27750:113;;27081:845;26956:989;26930:1015;27973:31;;-1:-1:-1;;;27973:31:0;;;;;;;;;;;62659:191;62752:6;;;-1:-1:-1;;;;;62769:17:0;;;-1:-1:-1;;;;;;62769:17:0;;;;;;;62802:40;;62752:6;;;62769:17;62752:6;;62802:40;;62733:16;;62802:40;62722:128;62659:191;:::o;21439:178::-;-1:-1:-1;;;;;21528:25:0;21500:7;21528:25;;;:18;:25;;15421:2;21528:25;;;;;:50;;15283:13;21527:82;;21439:178::o;65818:316::-;65917:7;65940:20;65987:1;65963:21;65977:6;65963:13;:21::i;:::-;:25;65940:48;;66017:15;:109;;66095:30;66106:19;66095:8;:30;:::i;:::-;66086:40;;:5;:40;:::i;:::-;66017:109;;;66050:18;66059:8;66050:5;:18;:::i;:::-;65999:127;65818:316;-1:-1:-1;;;;65818:316:0:o;41700:2966::-;41773:20;41796:13;;;41824;;;41820:44;;41846:18;;-1:-1:-1;;;41846:18:0;;;;;;;;;;;41820:44;-1:-1:-1;;;;;42352:22:0;;;;;;:18;:22;;;;15421:2;42352:22;;;:71;;42390:32;42378:45;;42352:71;;;42666:31;;;:17;:31;;;;;-1:-1:-1;29402:15:0;;29376:24;29372:46;28971:11;28946:23;28942:41;28939:52;28929:63;;42666:173;;42901:23;;;;42666:31;;42352:22;;43666:25;42352:22;;43519:335;44180:1;44166:12;44162:20;44120:346;44221:3;44212:7;44209:16;44120:346;;44439:7;44429:8;44426:1;44399:25;44396:1;44393;44388:59;44274:1;44261:15;44120:346;;;44124:77;44499:8;44511:1;44499:13;44495:45;;44521:19;;-1:-1:-1;;;44521:19:0;;;;;;;;;;;44495:45;44557:13;:19;-1:-1:-1;37240:193:0;;;:::o;38031:407::-;38206:31;38219:4;38225:2;38229:7;38206:12;:31::i;:::-;-1:-1:-1;;;;;38252:14:0;;;:19;38248:183;;38291:56;38322:4;38328:2;38332:7;38341:5;38291:30;:56::i;:::-;38286:145;;38375:40;;-1:-1:-1;;;38375:40:0;;;;;;;;;;;64223:139;64311:13;64347:7;64340:14;;;;;:::i;54566:1745::-;54631:17;55065:4;55058;55052:11;55048:22;55157:1;55151:4;55144:15;55232:4;55229:1;55225:12;55218:19;;;55314:1;55309:3;55302:14;55418:3;55657:5;55639:428;55705:1;55700:3;55696:11;55689:18;;55876:2;55870:4;55866:13;55862:2;55858:22;55853:3;55845:36;55970:2;55960:13;;56027:25;55639:428;56027:25;-1:-1:-1;56097:13:0;;;-1:-1:-1;;56212:14:0;;;56274:19;;;56212:14;54566:1745;-1:-1:-1;54566:1745:0:o;40522:716::-;40706:88;;-1:-1:-1;;;40706:88:0;;40685:4;;-1:-1:-1;;;;;40706:45:0;;;;;:88;;54446:10;;40773:4;;40779:7;;40788:5;;40706:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40706:88:0;;;;;;;;-1:-1:-1;;40706:88:0;;;;;;;;;;;;:::i;:::-;;;40702:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40989:6;:13;41006:1;40989:18;40985:235;;41035:40;;-1:-1:-1;;;41035:40:0;;;;;;;;;;;40985:235;41178:6;41172:13;41163:6;41159:2;41155:15;41148:38;40702:529;-1:-1:-1;;;;;;40865:64:0;-1:-1:-1;;;40865:64:0;;-1:-1:-1;40522:716:0;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:275::-;2766:6;2819:2;2807:9;2798:7;2794:23;2790:32;2787:52;;;2835:1;2832;2825:12;2787:52;2874:9;2861:23;2913:1;2906:5;2903:12;2893:40;;2929:1;2926;2919:12;2968:127;3029:10;3024:3;3020:20;3017:1;3010:31;3060:4;3057:1;3050:15;3084:4;3081:1;3074:15;3100:632;3165:5;3195:18;3236:2;3228:6;3225:14;3222:40;;;3242:18;;:::i;:::-;3317:2;3311:9;3285:2;3371:15;;-1:-1:-1;;3367:24:1;;;3393:2;3363:33;3359:42;3347:55;;;3417:18;;;3437:22;;;3414:46;3411:72;;;3463:18;;:::i;:::-;3503:10;3499:2;3492:22;3532:6;3523:15;;3562:6;3554;3547:22;3602:3;3593:6;3588:3;3584:16;3581:25;3578:45;;;3619:1;3616;3609:12;3578:45;3669:6;3664:3;3657:4;3649:6;3645:17;3632:44;3724:1;3717:4;3708:6;3700;3696:19;3692:30;3685:41;;;;3100:632;;;;;:::o;3737:451::-;3806:6;3859:2;3847:9;3838:7;3834:23;3830:32;3827:52;;;3875:1;3872;3865:12;3827:52;3915:9;3902:23;3948:18;3940:6;3937:30;3934:50;;;3980:1;3977;3970:12;3934:50;4003:22;;4056:4;4048:13;;4044:27;-1:-1:-1;4034:55:1;;4085:1;4082;4075:12;4034:55;4108:74;4174:7;4169:2;4156:16;4151:2;4147;4143:11;4108:74;:::i;4193:186::-;4252:6;4305:2;4293:9;4284:7;4280:23;4276:32;4273:52;;;4321:1;4318;4311:12;4273:52;4344:29;4363:9;4344:29;:::i;4384:118::-;4470:5;4463:13;4456:21;4449:5;4446:32;4436:60;;4492:1;4489;4482:12;4507:315;4572:6;4580;4633:2;4621:9;4612:7;4608:23;4604:32;4601:52;;;4649:1;4646;4639:12;4601:52;4672:29;4691:9;4672:29;:::i;:::-;4662:39;;4751:2;4740:9;4736:18;4723:32;4764:28;4786:5;4764:28;:::i;:::-;4811:5;4801:15;;;4507:315;;;;;:::o;4827:667::-;4922:6;4930;4938;4946;4999:3;4987:9;4978:7;4974:23;4970:33;4967:53;;;5016:1;5013;5006:12;4967:53;5039:29;5058:9;5039:29;:::i;:::-;5029:39;;5087:38;5121:2;5110:9;5106:18;5087:38;:::i;:::-;5077:48;;5172:2;5161:9;5157:18;5144:32;5134:42;;5227:2;5216:9;5212:18;5199:32;5254:18;5246:6;5243:30;5240:50;;;5286:1;5283;5276:12;5240:50;5309:22;;5362:4;5354:13;;5350:27;-1:-1:-1;5340:55:1;;5391:1;5388;5381:12;5340:55;5414:74;5480:7;5475:2;5462:16;5457:2;5453;5449:11;5414:74;:::i;:::-;5404:84;;;4827:667;;;;;;;:::o;5499:127::-;5560:10;5555:3;5551:20;5548:1;5541:31;5591:4;5588:1;5581:15;5615:4;5612:1;5605:15;5631:347;5782:2;5767:18;;5815:1;5804:13;;5794:144;;5860:10;5855:3;5851:20;5848:1;5841:31;5895:4;5892:1;5885:15;5923:4;5920:1;5913:15;5794:144;5947:25;;;5631:347;:::o;5983:260::-;6051:6;6059;6112:2;6100:9;6091:7;6087:23;6083:32;6080:52;;;6128:1;6125;6118:12;6080:52;6151:29;6170:9;6151:29;:::i;:::-;6141:39;;6199:38;6233:2;6222:9;6218:18;6199:38;:::i;:::-;6189:48;;5983:260;;;;;:::o;6248:380::-;6327:1;6323:12;;;;6370;;;6391:61;;6445:4;6437:6;6433:17;6423:27;;6391:61;6498:2;6490:6;6487:14;6467:18;6464:38;6461:161;;6544:10;6539:3;6535:20;6532:1;6525:31;6579:4;6576:1;6569:15;6607:4;6604:1;6597:15;6461:161;;6248:380;;;:::o;6942:245::-;7009:6;7062:2;7050:9;7041:7;7037:23;7033:32;7030:52;;;7078:1;7075;7068:12;7030:52;7110:9;7104:16;7129:28;7151:5;7129:28;:::i;7192:336::-;7394:2;7376:21;;;7433:2;7413:18;;;7406:30;-1:-1:-1;;;7467:2:1;7452:18;;7445:42;7519:2;7504:18;;7192:336::o;8088:127::-;8149:10;8144:3;8140:20;8137:1;8130:31;8180:4;8177:1;8170:15;8204:4;8201:1;8194:15;8220:128;8260:3;8291:1;8287:6;8284:1;8281:13;8278:39;;;8297:18;;:::i;:::-;-1:-1:-1;8333:9:1;;8220:128::o;9744:470::-;9923:3;9961:6;9955:13;9977:53;10023:6;10018:3;10011:4;10003:6;9999:17;9977:53;:::i;:::-;10093:13;;10052:16;;;;10115:57;10093:13;10052:16;10149:4;10137:17;;10115:57;:::i;:::-;10188:20;;9744:470;-1:-1:-1;;;;9744:470:1:o;10219:125::-;10259:4;10287:1;10284;10281:8;10278:34;;;10292:18;;:::i;:::-;-1:-1:-1;10329:9:1;;10219:125::o;11477:168::-;11517:7;11583:1;11579;11575:6;11571:14;11568:1;11565:21;11560:1;11553:9;11546:17;11542:45;11539:71;;;11590:18;;:::i;:::-;-1:-1:-1;11630:9:1;;11477:168::o;11650:489::-;-1:-1:-1;;;;;11919:15:1;;;11901:34;;11971:15;;11966:2;11951:18;;11944:43;12018:2;12003:18;;11996:34;;;12066:3;12061:2;12046:18;;12039:31;;;11844:4;;12087:46;;12113:19;;12105:6;12087:46;:::i;:::-;12079:54;11650:489;-1:-1:-1;;;;;;11650:489:1:o;12144:249::-;12213:6;12266:2;12254:9;12245:7;12241:23;12237:32;12234:52;;;12282:1;12279;12272:12;12234:52;12314:9;12308:16;12333:30;12357:5;12333:30;:::i

Swarm Source

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