ETH Price: $2,435.58 (-1.58%)
 

Overview

Max Total Supply

5,626 SBAC

Holders

1,302

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
5 SBAC
0xba230b23c10d6ccabecc79b6eba6d0f60ed37a93
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:
SpaceBoredApeClub

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-14
*/

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


// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

        // 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: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.2
// 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();

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

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

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

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                            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;

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

    /**
     * @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;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](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.2
// 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 {
    // Reference type for token approval.
    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 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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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]`.
        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 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 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 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.
            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`.
                )

                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 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

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

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

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

// File: contracts/SBAC.sol





//Developer : FazelPejmanfar , Twitter :@Pejmanfarfazel







pragma solidity >=0.7.0 <0.9.0;






contract SpaceBoredApeClub is ERC721A, Ownable, ReentrancyGuard {





  string public baseURI;

  string public notRevealedUri;

  uint256 public cost = 0.009 ether;

  uint256 public maxSupply = 5555;

  uint256 public MaxperWallet = 10;

  uint256 public MaxperWalletFree = 3;

  bool public paused = false;

  bool public revealed = false;



  constructor() ERC721A("Space Bored Ape Club", "SBAC") {

    setBaseURI("ipfs://bafybeigeeeqlufdowezvurb6vqsh22n6qxyhuyp3fmjdssk6zunhbor4ra/");

    setNotRevealedURI("ipfs://bafkreiafqgbwzzkcv546y6slihu4fh24mhdm2mjss3rbpasd7ur7uwrg2y");

  }



  // internal

  function _baseURI() internal view virtual override returns (string memory) {

    return baseURI;

  }

      function _startTokenId() internal view virtual override returns (uint256) {

        return 1;

    }



  // public

  /// @dev Public mint 

  function mint(uint256 tokens) public payable nonReentrant {

    require(!paused, "SBAC: oops contract is paused");

    require(tokens <= MaxperWallet, "SBAC: max mint amount per tx exceeded");

    require(totalSupply() + tokens <= maxSupply, "SBAC: We Soldout");

    require(_numberMinted(_msgSenderERC721A()) + tokens <= MaxperWallet, "SBAC: Max NFT Per Wallet exceeded");

    require(msg.value >= cost * tokens, "SBAC: insufficient funds");



      _safeMint(_msgSenderERC721A(), tokens);

    

  }

/// @dev Free mint 

    function Freemint(uint256 tokens) public nonReentrant {

    require(!paused, "SBAC: oops contract is paused");

    require(_numberMinted(_msgSenderERC721A()) + tokens <= MaxperWalletFree, "SBAC: Max NFT Per Wallet exceeded");

    require(tokens <= MaxperWalletFree, "SBAC: max mint per Tx exceeded");

    require(totalSupply() + tokens <= maxSupply, "SBAC: Whitelist MaxSupply exceeded");



      _safeMint(_msgSenderERC721A(), tokens);

    

  }



  /// @dev use it for giveaway and team mint

     function airdrop(uint256 _mintAmount, address destination) public onlyOwner nonReentrant {

    require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded");



      _safeMint(destination, _mintAmount);

  }



/// @notice returns metadata link of tokenid

  function tokenURI(uint256 tokenId)

    public

    view

    virtual

    override

    returns (string memory)

  {

    require(

      _exists(tokenId),

      "ERC721AMetadata: URI query for nonexistent token"

    );

    

    if(revealed == false) {

        return notRevealedUri;

    }



    string memory currentBaseURI = _baseURI();

    return bytes(currentBaseURI).length > 0

        ? string(abi.encodePacked(currentBaseURI, _toString(tokenId)))

        : "";

  }



     /// @notice return the number minted by an address

    function numberMinted(address owner) public view returns (uint256) {

    return _numberMinted(owner);

  }



    /// @notice return the tokens owned by an address

      function tokensOfOwner(address owner) public view returns (uint256[] memory) {

        unchecked {

            uint256 tokenIdsIdx;

            address currOwnershipAddr;

            uint256 tokenIdsLength = balanceOf(owner);

            uint256[] memory tokenIds = new uint256[](tokenIdsLength);

            TokenOwnership memory ownership;

            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {

                ownership = _ownershipAt(i);

                if (ownership.burned) {

                    continue;

                }

                if (ownership.addr != address(0)) {

                    currOwnershipAddr = ownership.addr;

                }

                if (currOwnershipAddr == owner) {

                    tokenIds[tokenIdsIdx++] = i;

                }

            }

            return tokenIds;

        }

    }



  //only owner

  function reveal(bool _state) public onlyOwner {

      revealed = _state;

  }



  /// @dev change the public max per wallet

  function setMaxPerWallet(uint256 _limit) public onlyOwner {

    MaxperWallet = _limit;

  }



  /// @dev change the free max per wallet

    function setFreeMaxPerWallet(uint256 _limit) public onlyOwner {

    MaxperWalletFree = _limit;

  }



   /// @dev change the public price(amount need to be in wei)

  function setCost(uint256 _newCost) public onlyOwner {

    cost = _newCost;

  }



  /// @dev cut the supply if we dont sold out

    function setMaxsupply(uint256 _newsupply) public onlyOwner {

    maxSupply = _newsupply;

  }



 /// @dev set your baseuri

  function setBaseURI(string memory _newBaseURI) public onlyOwner {

    baseURI = _newBaseURI;

  }



   /// @dev set hidden uri

  function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {

    notRevealedUri = _notRevealedURI;

  }



 /// @dev to pause and unpause your contract(use booleans true or false)

  function pause(bool _state) public onlyOwner {

    paused = _state;

  }



  

  /// @dev withdraw funds from contract

  function withdraw() public payable onlyOwner nonReentrant {

      address sh1 = 0xcF8dB9987906A4Db337d12BE3035FB212f874995;

      address sh2 = 0x6E35DdDeBf9451B9AB79f83b4e328d83B5d38577;

      uint256 balance1 = address(this).balance * 50 / 100;

      uint256 balance2 = address(this).balance * 50 / 100;

      payable(sh1).transfer(balance1);

      payable(sh2).transfer(balance2);

  }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Freemint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MaxperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxperWalletFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setFreeMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052661ff973cafa8000600c556115b3600d55600a600e556003600f556010805461ffff191690553480156200003757600080fd5b50604080518082018252601481527f537061636520426f7265642041706520436c75620000000000000000000000006020808301918252835180850190945260048452635342414360e01b90840152815191929162000099916002916200020d565b508051620000af9060039060208401906200020d565b5050600160005550620000c23362000118565b6001600981905550620000ee6040518060800160405280604381526020016200234b604391396200016a565b6200011260405180608001604052806042815260200162002309604291396200018d565b620002f0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000174620001ac565b80516200018990600a9060208401906200020d565b5050565b62000197620001ac565b80516200018990600b9060208401906200020d565b6008546001600160a01b031633146200020b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b8280546200021b90620002b3565b90600052602060002090601f0160209004810192826200023f57600085556200028a565b82601f106200025a57805160ff19168380011785556200028a565b828001600101855582156200028a579182015b828111156200028a5782518255916020019190600101906200026d565b50620002989291506200029c565b5090565b5b808211156200029857600081556001016200029d565b600181811c90821680620002c857607f821691505b60208210811415620002ea57634e487b7160e01b600052602260045260246000fd5b50919050565b61200980620003006000396000f3fe6080604052600436106102305760003560e01c80636c0360eb1161012e578063bc63f02e116100ab578063dc33e6811161006f578063dc33e6811461063d578063e268e4d31461065d578063e985e9c51461067d578063f2c4ce1e146106c6578063f2fde38b146106e657600080fd5b8063bc63f02e146105b1578063bd7a1998146105d1578063c87b56dd146105e7578063d5abeb0114610607578063d984fed81461061d57600080fd5b8063940cd05b116100f2578063940cd05b1461052957806395d89b4114610549578063a0712d681461055e578063a22cb46514610571578063b88d4fde1461059157600080fd5b80636c0360eb1461049457806370a08231146104a9578063715018a6146104c95780638462151c146104de5780638da5cb5b1461050b57600080fd5b806323b872dd116101bc5780635183022711610180578063518302271461040557806355f804b3146104245780635c975abb14610444578063624208ae1461045e5780636352211e1461047457600080fd5b806323b872dd1461037d578063351de26e1461039d5780633ccfd60b146103bd57806342842e0e146103c557806344a0d68a146103e557600080fd5b8063081c8c4411610203578063081c8c44146102e6578063095ea7b3146102fb57806313faede61461031b578063149835a01461033f57806318160ddd1461035f57600080fd5b806301ffc9a71461023557806302329a291461026a57806306fdde031461028c578063081812fc146102ae575b600080fd5b34801561024157600080fd5b50610255610250366004611ca1565b610706565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061028a610285366004611c86565b610758565b005b34801561029857600080fd5b506102a1610773565b6040516102619190611e30565b3480156102ba57600080fd5b506102ce6102c9366004611d24565b610805565b6040516001600160a01b039091168152602001610261565b3480156102f257600080fd5b506102a1610849565b34801561030757600080fd5b5061028a610316366004611c5c565b6108d7565b34801561032757600080fd5b50610331600c5481565b604051908152602001610261565b34801561034b57600080fd5b5061028a61035a366004611d24565b610977565b34801561036b57600080fd5b50610331600154600054036000190190565b34801561038957600080fd5b5061028a610398366004611b7a565b610984565b3480156103a957600080fd5b5061028a6103b8366004611d24565b610b15565b61028a610b22565b3480156103d157600080fd5b5061028a6103e0366004611b7a565b610c35565b3480156103f157600080fd5b5061028a610400366004611d24565b610c55565b34801561041157600080fd5b5060105461025590610100900460ff1681565b34801561043057600080fd5b5061028a61043f366004611cdb565b610c62565b34801561045057600080fd5b506010546102559060ff1681565b34801561046a57600080fd5b50610331600f5481565b34801561048057600080fd5b506102ce61048f366004611d24565b610c81565b3480156104a057600080fd5b506102a1610c8c565b3480156104b557600080fd5b506103316104c4366004611b2c565b610c99565b3480156104d557600080fd5b5061028a610ce8565b3480156104ea57600080fd5b506104fe6104f9366004611b2c565b610cfc565b6040516102619190611df8565b34801561051757600080fd5b506008546001600160a01b03166102ce565b34801561053557600080fd5b5061028a610544366004611c86565b610e0c565b34801561055557600080fd5b506102a1610e2e565b61028a61056c366004611d24565b610e3d565b34801561057d57600080fd5b5061028a61058c366004611c32565b61101c565b34801561059d57600080fd5b5061028a6105ac366004611bb6565b6110b2565b3480156105bd57600080fd5b5061028a6105cc366004611d3d565b6110fc565b3480156105dd57600080fd5b50610331600e5481565b3480156105f357600080fd5b506102a1610602366004611d24565b6111a5565b34801561061357600080fd5b50610331600d5481565b34801561062957600080fd5b5061028a610638366004611d24565b611312565b34801561064957600080fd5b50610331610658366004611b2c565b61148c565b34801561066957600080fd5b5061028a610678366004611d24565b611497565b34801561068957600080fd5b50610255610698366004611b47565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106d257600080fd5b5061028a6106e1366004611cdb565b6114a4565b3480156106f257600080fd5b5061028a610701366004611b2c565b6114bf565b60006301ffc9a760e01b6001600160e01b03198316148061073757506380ac58cd60e01b6001600160e01b03198316145b806107525750635b5e139f60e01b6001600160e01b03198316145b92915050565b610760611538565b6010805460ff1916911515919091179055565b60606002805461078290611f40565b80601f01602080910402602001604051908101604052809291908181526020018280546107ae90611f40565b80156107fb5780601f106107d0576101008083540402835291602001916107fb565b820191906000526020600020905b8154815290600101906020018083116107de57829003601f168201915b5050505050905090565b600061081082611592565b61082d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600b805461085690611f40565b80601f016020809104026020016040519081016040528092919081815260200182805461088290611f40565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b505050505081565b60006108e282610c81565b9050336001600160a01b0382161461091b576108fe8133610698565b61091b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61097f611538565b600d55565b600061098f826115c7565b9050836001600160a01b0316816001600160a01b0316146109c25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a0f576109f28633610698565b610a0f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a3657604051633a954ecd60e21b815260040160405180910390fd5b8015610a4157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610acc5760018401600081815260046020526040902054610aca576000548114610aca5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610b1d611538565b600f55565b610b2a611538565b60026009541415610b565760405162461bcd60e51b8152600401610b4d90611e84565b60405180910390fd5b600260095573cf8db9987906a4db337d12be3035fb212f874995736e35dddebf9451b9ab79f83b4e328d83b5d3857760006064610b94476032611ef5565b610b9e9190611ed3565b905060006064610baf476032611ef5565b610bb99190611ed3565b6040519091506001600160a01b0385169083156108fc029084906000818181858888f19350505050158015610bf2573d6000803e3d6000fd5b506040516001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610c29573d6000803e3d6000fd5b50506001600955505050565b610c50838383604051806020016040528060008152506110b2565b505050565b610c5d611538565b600c55565b610c6a611538565b8051610c7d90600a9060208401906119f1565b5050565b6000610752826115c7565b600a805461085690611f40565b60006001600160a01b038216610cc2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cf0611538565b610cfa6000611630565b565b60606000806000610d0c85610c99565b905060008167ffffffffffffffff811115610d2957610d29611fa7565b604051908082528060200260200182016040528015610d52578160200160208202803683370190505b509050610d7f60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610e0057610d9281611682565b9150816040015115610da357610df8565b81516001600160a01b031615610db857815194505b876001600160a01b0316856001600160a01b03161415610df85780838780600101985081518110610deb57610deb611f91565b6020026020010181815250505b600101610d82565b50909695505050505050565b610e14611538565b601080549115156101000261ff0019909216919091179055565b60606003805461078290611f40565b60026009541415610e605760405162461bcd60e51b8152600401610b4d90611e84565b600260095560105460ff1615610eb85760405162461bcd60e51b815260206004820152601d60248201527f534241433a206f6f707320636f6e7472616374206973207061757365640000006044820152606401610b4d565b600e54811115610f185760405162461bcd60e51b815260206004820152602560248201527f534241433a206d6178206d696e7420616d6f756e742070657220747820657863604482015264195959195960da1b6064820152608401610b4d565b600d5481610f2d600154600054036000190190565b610f379190611ebb565b1115610f785760405162461bcd60e51b815260206004820152601060248201526f14d09050ce8815d94814dbdb191bdd5d60821b6044820152606401610b4d565b600e5481610f8533611701565b610f8f9190611ebb565b1115610fad5760405162461bcd60e51b8152600401610b4d90611e43565b80600c54610fbb9190611ef5565b34101561100a5760405162461bcd60e51b815260206004820152601860248201527f534241433a20696e73756666696369656e742066756e647300000000000000006044820152606401610b4d565b611014338261172a565b506001600955565b6001600160a01b0382163314156110465760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110bd848484610984565b6001600160a01b0383163b156110f6576110d984848484611744565b6110f6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611104611538565b600260095414156111275760405162461bcd60e51b8152600401610b4d90611e84565b6002600955600d5482611141600154600054036000190190565b61114b9190611ebb565b11156111925760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610b4d565b61119c818361172a565b50506001600955565b60606111b082611592565b6112155760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610b4d565b601054610100900460ff166112b657600b805461123190611f40565b80601f016020809104026020016040519081016040528092919081815260200182805461125d90611f40565b80156112aa5780601f1061127f576101008083540402835291602001916112aa565b820191906000526020600020905b81548152906001019060200180831161128d57829003601f168201915b50505050509050919050565b60006112c061183c565b905060008151116112e0576040518060200160405280600081525061130b565b806112ea8461184b565b6040516020016112fb929190611d8c565b6040516020818303038152906040525b9392505050565b600260095414156113355760405162461bcd60e51b8152600401610b4d90611e84565b600260095560105460ff161561138d5760405162461bcd60e51b815260206004820152601d60248201527f534241433a206f6f707320636f6e7472616374206973207061757365640000006044820152606401610b4d565b600f548161139a33611701565b6113a49190611ebb565b11156113c25760405162461bcd60e51b8152600401610b4d90611e43565b600f548111156114145760405162461bcd60e51b815260206004820152601e60248201527f534241433a206d6178206d696e742070657220547820657863656564656400006044820152606401610b4d565b600d5481611429600154600054036000190190565b6114339190611ebb565b111561100a5760405162461bcd60e51b815260206004820152602260248201527f534241433a2057686974656c697374204d6178537570706c7920657863656564604482015261195960f21b6064820152608401610b4d565b600061075282611701565b61149f611538565b600e55565b6114ac611538565b8051610c7d90600b9060208401906119f1565b6114c7611538565b6001600160a01b03811661152c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b4d565b61153581611630565b50565b6008546001600160a01b03163314610cfa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b6000816001111580156115a6575060005482105b8015610752575050600090815260046020526040902054600160e01b161590565b600081806001116116175760005481101561161757600081815260046020526040902054600160e01b8116611615575b8061130b5750600019016000818152600460205260409020546115f7565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461075290604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610c7d82826040518060200160405280600081525061188d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611779903390899088908890600401611dbb565b602060405180830381600087803b15801561179357600080fd5b505af19250505080156117c3575060408051601f3d908101601f191682019092526117c091810190611cbe565b60015b61181e573d8080156117f1576040519150601f19603f3d011682016040523d82523d6000602084013e6117f6565b606091505b508051611816576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461078290611f40565b604080516080019081905280825b600183039250600a81066030018353600a9004806118765761187b565b611859565b50819003601f19909101908152919050565b61189783836118fa565b6001600160a01b0383163b15610c50576000548281035b6118c16000868380600101945086611744565b6118de576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118ae5781600054146118f357600080fd5b5050505050565b6000548161191b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119ca57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611992565b50816119e857604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546119fd90611f40565b90600052602060002090601f016020900481019282611a1f5760008555611a65565b82601f10611a3857805160ff1916838001178555611a65565b82800160010185558215611a65579182015b82811115611a65578251825591602001919060010190611a4a565b50611a71929150611a75565b5090565b5b80821115611a715760008155600101611a76565b600067ffffffffffffffff80841115611aa557611aa5611fa7565b604051601f8501601f19908116603f01168101908282118183101715611acd57611acd611fa7565b81604052809350858152868686011115611ae657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611b1757600080fd5b919050565b80358015158114611b1757600080fd5b600060208284031215611b3e57600080fd5b61130b82611b00565b60008060408385031215611b5a57600080fd5b611b6383611b00565b9150611b7160208401611b00565b90509250929050565b600080600060608486031215611b8f57600080fd5b611b9884611b00565b9250611ba660208501611b00565b9150604084013590509250925092565b60008060008060808587031215611bcc57600080fd5b611bd585611b00565b9350611be360208601611b00565b925060408501359150606085013567ffffffffffffffff811115611c0657600080fd5b8501601f81018713611c1757600080fd5b611c2687823560208401611a8a565b91505092959194509250565b60008060408385031215611c4557600080fd5b611c4e83611b00565b9150611b7160208401611b1c565b60008060408385031215611c6f57600080fd5b611c7883611b00565b946020939093013593505050565b600060208284031215611c9857600080fd5b61130b82611b1c565b600060208284031215611cb357600080fd5b813561130b81611fbd565b600060208284031215611cd057600080fd5b815161130b81611fbd565b600060208284031215611ced57600080fd5b813567ffffffffffffffff811115611d0457600080fd5b8201601f81018413611d1557600080fd5b61183484823560208401611a8a565b600060208284031215611d3657600080fd5b5035919050565b60008060408385031215611d5057600080fd5b82359150611b7160208401611b00565b60008151808452611d78816020860160208601611f14565b601f01601f19169290920160200192915050565b60008351611d9e818460208801611f14565b835190830190611db2818360208801611f14565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611dee90830184611d60565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610e0057835183529284019291840191600101611e14565b60208152600061130b6020830184611d60565b60208082526021908201527f534241433a204d6178204e4654205065722057616c6c657420657863656564656040820152601960fa1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115611ece57611ece611f7b565b500190565b600082611ef057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611f0f57611f0f611f7b565b500290565b60005b83811015611f2f578181015183820152602001611f17565b838111156110f65750506000910152565b600181811c90821680611f5457607f821691505b60208210811415611f7557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461153557600080fdfea2646970667358221220b628ec301b7613a66ddd46e296be5cef3a346a3454368493d76a404bb608d6e564736f6c63430008070033697066733a2f2f6261666b7265696166716762777a7a6b63763534367936736c69687534666832346d68646d326d6a73733372627061736437757237757772673279697066733a2f2f6261667962656967656565716c7566646f77657a76757262367671736832326e367178796875797033666d6a6473736b367a756e68626f723472612f

Deployed Bytecode

0x6080604052600436106102305760003560e01c80636c0360eb1161012e578063bc63f02e116100ab578063dc33e6811161006f578063dc33e6811461063d578063e268e4d31461065d578063e985e9c51461067d578063f2c4ce1e146106c6578063f2fde38b146106e657600080fd5b8063bc63f02e146105b1578063bd7a1998146105d1578063c87b56dd146105e7578063d5abeb0114610607578063d984fed81461061d57600080fd5b8063940cd05b116100f2578063940cd05b1461052957806395d89b4114610549578063a0712d681461055e578063a22cb46514610571578063b88d4fde1461059157600080fd5b80636c0360eb1461049457806370a08231146104a9578063715018a6146104c95780638462151c146104de5780638da5cb5b1461050b57600080fd5b806323b872dd116101bc5780635183022711610180578063518302271461040557806355f804b3146104245780635c975abb14610444578063624208ae1461045e5780636352211e1461047457600080fd5b806323b872dd1461037d578063351de26e1461039d5780633ccfd60b146103bd57806342842e0e146103c557806344a0d68a146103e557600080fd5b8063081c8c4411610203578063081c8c44146102e6578063095ea7b3146102fb57806313faede61461031b578063149835a01461033f57806318160ddd1461035f57600080fd5b806301ffc9a71461023557806302329a291461026a57806306fdde031461028c578063081812fc146102ae575b600080fd5b34801561024157600080fd5b50610255610250366004611ca1565b610706565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061028a610285366004611c86565b610758565b005b34801561029857600080fd5b506102a1610773565b6040516102619190611e30565b3480156102ba57600080fd5b506102ce6102c9366004611d24565b610805565b6040516001600160a01b039091168152602001610261565b3480156102f257600080fd5b506102a1610849565b34801561030757600080fd5b5061028a610316366004611c5c565b6108d7565b34801561032757600080fd5b50610331600c5481565b604051908152602001610261565b34801561034b57600080fd5b5061028a61035a366004611d24565b610977565b34801561036b57600080fd5b50610331600154600054036000190190565b34801561038957600080fd5b5061028a610398366004611b7a565b610984565b3480156103a957600080fd5b5061028a6103b8366004611d24565b610b15565b61028a610b22565b3480156103d157600080fd5b5061028a6103e0366004611b7a565b610c35565b3480156103f157600080fd5b5061028a610400366004611d24565b610c55565b34801561041157600080fd5b5060105461025590610100900460ff1681565b34801561043057600080fd5b5061028a61043f366004611cdb565b610c62565b34801561045057600080fd5b506010546102559060ff1681565b34801561046a57600080fd5b50610331600f5481565b34801561048057600080fd5b506102ce61048f366004611d24565b610c81565b3480156104a057600080fd5b506102a1610c8c565b3480156104b557600080fd5b506103316104c4366004611b2c565b610c99565b3480156104d557600080fd5b5061028a610ce8565b3480156104ea57600080fd5b506104fe6104f9366004611b2c565b610cfc565b6040516102619190611df8565b34801561051757600080fd5b506008546001600160a01b03166102ce565b34801561053557600080fd5b5061028a610544366004611c86565b610e0c565b34801561055557600080fd5b506102a1610e2e565b61028a61056c366004611d24565b610e3d565b34801561057d57600080fd5b5061028a61058c366004611c32565b61101c565b34801561059d57600080fd5b5061028a6105ac366004611bb6565b6110b2565b3480156105bd57600080fd5b5061028a6105cc366004611d3d565b6110fc565b3480156105dd57600080fd5b50610331600e5481565b3480156105f357600080fd5b506102a1610602366004611d24565b6111a5565b34801561061357600080fd5b50610331600d5481565b34801561062957600080fd5b5061028a610638366004611d24565b611312565b34801561064957600080fd5b50610331610658366004611b2c565b61148c565b34801561066957600080fd5b5061028a610678366004611d24565b611497565b34801561068957600080fd5b50610255610698366004611b47565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106d257600080fd5b5061028a6106e1366004611cdb565b6114a4565b3480156106f257600080fd5b5061028a610701366004611b2c565b6114bf565b60006301ffc9a760e01b6001600160e01b03198316148061073757506380ac58cd60e01b6001600160e01b03198316145b806107525750635b5e139f60e01b6001600160e01b03198316145b92915050565b610760611538565b6010805460ff1916911515919091179055565b60606002805461078290611f40565b80601f01602080910402602001604051908101604052809291908181526020018280546107ae90611f40565b80156107fb5780601f106107d0576101008083540402835291602001916107fb565b820191906000526020600020905b8154815290600101906020018083116107de57829003601f168201915b5050505050905090565b600061081082611592565b61082d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600b805461085690611f40565b80601f016020809104026020016040519081016040528092919081815260200182805461088290611f40565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b505050505081565b60006108e282610c81565b9050336001600160a01b0382161461091b576108fe8133610698565b61091b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61097f611538565b600d55565b600061098f826115c7565b9050836001600160a01b0316816001600160a01b0316146109c25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a0f576109f28633610698565b610a0f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a3657604051633a954ecd60e21b815260040160405180910390fd5b8015610a4157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610acc5760018401600081815260046020526040902054610aca576000548114610aca5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610b1d611538565b600f55565b610b2a611538565b60026009541415610b565760405162461bcd60e51b8152600401610b4d90611e84565b60405180910390fd5b600260095573cf8db9987906a4db337d12be3035fb212f874995736e35dddebf9451b9ab79f83b4e328d83b5d3857760006064610b94476032611ef5565b610b9e9190611ed3565b905060006064610baf476032611ef5565b610bb99190611ed3565b6040519091506001600160a01b0385169083156108fc029084906000818181858888f19350505050158015610bf2573d6000803e3d6000fd5b506040516001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610c29573d6000803e3d6000fd5b50506001600955505050565b610c50838383604051806020016040528060008152506110b2565b505050565b610c5d611538565b600c55565b610c6a611538565b8051610c7d90600a9060208401906119f1565b5050565b6000610752826115c7565b600a805461085690611f40565b60006001600160a01b038216610cc2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cf0611538565b610cfa6000611630565b565b60606000806000610d0c85610c99565b905060008167ffffffffffffffff811115610d2957610d29611fa7565b604051908082528060200260200182016040528015610d52578160200160208202803683370190505b509050610d7f60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610e0057610d9281611682565b9150816040015115610da357610df8565b81516001600160a01b031615610db857815194505b876001600160a01b0316856001600160a01b03161415610df85780838780600101985081518110610deb57610deb611f91565b6020026020010181815250505b600101610d82565b50909695505050505050565b610e14611538565b601080549115156101000261ff0019909216919091179055565b60606003805461078290611f40565b60026009541415610e605760405162461bcd60e51b8152600401610b4d90611e84565b600260095560105460ff1615610eb85760405162461bcd60e51b815260206004820152601d60248201527f534241433a206f6f707320636f6e7472616374206973207061757365640000006044820152606401610b4d565b600e54811115610f185760405162461bcd60e51b815260206004820152602560248201527f534241433a206d6178206d696e7420616d6f756e742070657220747820657863604482015264195959195960da1b6064820152608401610b4d565b600d5481610f2d600154600054036000190190565b610f379190611ebb565b1115610f785760405162461bcd60e51b815260206004820152601060248201526f14d09050ce8815d94814dbdb191bdd5d60821b6044820152606401610b4d565b600e5481610f8533611701565b610f8f9190611ebb565b1115610fad5760405162461bcd60e51b8152600401610b4d90611e43565b80600c54610fbb9190611ef5565b34101561100a5760405162461bcd60e51b815260206004820152601860248201527f534241433a20696e73756666696369656e742066756e647300000000000000006044820152606401610b4d565b611014338261172a565b506001600955565b6001600160a01b0382163314156110465760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110bd848484610984565b6001600160a01b0383163b156110f6576110d984848484611744565b6110f6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611104611538565b600260095414156111275760405162461bcd60e51b8152600401610b4d90611e84565b6002600955600d5482611141600154600054036000190190565b61114b9190611ebb565b11156111925760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610b4d565b61119c818361172a565b50506001600955565b60606111b082611592565b6112155760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610b4d565b601054610100900460ff166112b657600b805461123190611f40565b80601f016020809104026020016040519081016040528092919081815260200182805461125d90611f40565b80156112aa5780601f1061127f576101008083540402835291602001916112aa565b820191906000526020600020905b81548152906001019060200180831161128d57829003601f168201915b50505050509050919050565b60006112c061183c565b905060008151116112e0576040518060200160405280600081525061130b565b806112ea8461184b565b6040516020016112fb929190611d8c565b6040516020818303038152906040525b9392505050565b600260095414156113355760405162461bcd60e51b8152600401610b4d90611e84565b600260095560105460ff161561138d5760405162461bcd60e51b815260206004820152601d60248201527f534241433a206f6f707320636f6e7472616374206973207061757365640000006044820152606401610b4d565b600f548161139a33611701565b6113a49190611ebb565b11156113c25760405162461bcd60e51b8152600401610b4d90611e43565b600f548111156114145760405162461bcd60e51b815260206004820152601e60248201527f534241433a206d6178206d696e742070657220547820657863656564656400006044820152606401610b4d565b600d5481611429600154600054036000190190565b6114339190611ebb565b111561100a5760405162461bcd60e51b815260206004820152602260248201527f534241433a2057686974656c697374204d6178537570706c7920657863656564604482015261195960f21b6064820152608401610b4d565b600061075282611701565b61149f611538565b600e55565b6114ac611538565b8051610c7d90600b9060208401906119f1565b6114c7611538565b6001600160a01b03811661152c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b4d565b61153581611630565b50565b6008546001600160a01b03163314610cfa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b6000816001111580156115a6575060005482105b8015610752575050600090815260046020526040902054600160e01b161590565b600081806001116116175760005481101561161757600081815260046020526040902054600160e01b8116611615575b8061130b5750600019016000818152600460205260409020546115f7565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461075290604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610c7d82826040518060200160405280600081525061188d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611779903390899088908890600401611dbb565b602060405180830381600087803b15801561179357600080fd5b505af19250505080156117c3575060408051601f3d908101601f191682019092526117c091810190611cbe565b60015b61181e573d8080156117f1576040519150601f19603f3d011682016040523d82523d6000602084013e6117f6565b606091505b508051611816576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461078290611f40565b604080516080019081905280825b600183039250600a81066030018353600a9004806118765761187b565b611859565b50819003601f19909101908152919050565b61189783836118fa565b6001600160a01b0383163b15610c50576000548281035b6118c16000868380600101945086611744565b6118de576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118ae5781600054146118f357600080fd5b5050505050565b6000548161191b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119ca57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611992565b50816119e857604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546119fd90611f40565b90600052602060002090601f016020900481019282611a1f5760008555611a65565b82601f10611a3857805160ff1916838001178555611a65565b82800160010185558215611a65579182015b82811115611a65578251825591602001919060010190611a4a565b50611a71929150611a75565b5090565b5b80821115611a715760008155600101611a76565b600067ffffffffffffffff80841115611aa557611aa5611fa7565b604051601f8501601f19908116603f01168101908282118183101715611acd57611acd611fa7565b81604052809350858152868686011115611ae657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611b1757600080fd5b919050565b80358015158114611b1757600080fd5b600060208284031215611b3e57600080fd5b61130b82611b00565b60008060408385031215611b5a57600080fd5b611b6383611b00565b9150611b7160208401611b00565b90509250929050565b600080600060608486031215611b8f57600080fd5b611b9884611b00565b9250611ba660208501611b00565b9150604084013590509250925092565b60008060008060808587031215611bcc57600080fd5b611bd585611b00565b9350611be360208601611b00565b925060408501359150606085013567ffffffffffffffff811115611c0657600080fd5b8501601f81018713611c1757600080fd5b611c2687823560208401611a8a565b91505092959194509250565b60008060408385031215611c4557600080fd5b611c4e83611b00565b9150611b7160208401611b1c565b60008060408385031215611c6f57600080fd5b611c7883611b00565b946020939093013593505050565b600060208284031215611c9857600080fd5b61130b82611b1c565b600060208284031215611cb357600080fd5b813561130b81611fbd565b600060208284031215611cd057600080fd5b815161130b81611fbd565b600060208284031215611ced57600080fd5b813567ffffffffffffffff811115611d0457600080fd5b8201601f81018413611d1557600080fd5b61183484823560208401611a8a565b600060208284031215611d3657600080fd5b5035919050565b60008060408385031215611d5057600080fd5b82359150611b7160208401611b00565b60008151808452611d78816020860160208601611f14565b601f01601f19169290920160200192915050565b60008351611d9e818460208801611f14565b835190830190611db2818360208801611f14565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611dee90830184611d60565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610e0057835183529284019291840191600101611e14565b60208152600061130b6020830184611d60565b60208082526021908201527f534241433a204d6178204e4654205065722057616c6c657420657863656564656040820152601960fa1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115611ece57611ece611f7b565b500190565b600082611ef057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611f0f57611f0f611f7b565b500290565b60005b83811015611f2f578181015183820152602001611f17565b838111156110f65750506000910152565b600181811c90821680611f5457607f821691505b60208210811415611f7557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461153557600080fdfea2646970667358221220b628ec301b7613a66ddd46e296be5cef3a346a3454368493d76a404bb608d6e564736f6c63430008070033

Deployed Bytecode Sourcemap

57333:5677:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24787:639;;;;;;;;;;-1:-1:-1;24787:639:0;;;;;:::i;:::-;;:::i;:::-;;;6799:14:1;;6792:22;6774:41;;6762:2;6747:18;24787:639:0;;;;;;;;62461:77;;;;;;;;;;-1:-1:-1;62461:77:0;;;;;:::i;:::-;;:::i;:::-;;25689:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32172:218::-;;;;;;;;;;-1:-1:-1;32172:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5460:32:1;;;5442:51;;5430:2;5415:18;32172:218:0;5296:203:1;57440:28:0;;;;;;;;;;;;;:::i;31613:400::-;;;;;;;;;;-1:-1:-1;31613:400:0;;;;;:::i;:::-;;:::i;57475:33::-;;;;;;;;;;;;;;;;;;;11718:25:1;;;11706:2;11691:18;57475:33:0;11572:177:1;61971:98:0;;;;;;;;;;-1:-1:-1;61971:98:0;;;;;:::i;:::-;;:::i;21440:323::-;;;;;;;;;;;;58191:1;21714:12;21501:7;21698:13;:28;-1:-1:-1;;21698:46:0;;21440:323;35879:2817;;;;;;;;;;-1:-1:-1;35879:2817:0;;;;;:::i;:::-;;:::i;61647:104::-;;;;;;;;;;-1:-1:-1;61647:104:0;;;;;:::i;:::-;;:::i;62597:408::-;;;:::i;38792:185::-;;;;;;;;;;-1:-1:-1;38792:185:0;;;;;:::i;:::-;;:::i;61826:84::-;;;;;;;;;;-1:-1:-1;61826:84:0;;;;;:::i;:::-;;:::i;57667:28::-;;;;;;;;;;-1:-1:-1;57667:28:0;;;;;;;;;;;62109:102;;;;;;;;;;-1:-1:-1;62109:102:0;;;;;:::i;:::-;;:::i;57634:26::-;;;;;;;;;;-1:-1:-1;57634:26:0;;;;;;;;57592:35;;;;;;;;;;;;;;;;27082:152;;;;;;;;;;-1:-1:-1;27082:152:0;;;;;:::i;:::-;;:::i;57412:21::-;;;;;;;;;;;;;:::i;22624:233::-;;;;;;;;;;-1:-1:-1;22624:233:0;;;;;:::i;:::-;;:::i;5535:103::-;;;;;;;;;;;;;:::i;60404:923::-;;;;;;;;;;-1:-1:-1;60404:923:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4887:87::-;;;;;;;;;;-1:-1:-1;4960:6:0;;-1:-1:-1;;;;;4960:6:0;4887:87;;61355:82;;;;;;;;;;-1:-1:-1;61355:82:0;;;;;:::i;:::-;;:::i;25865:104::-;;;;;;;;;;;;;:::i;58254:525::-;;;;;;:::i;:::-;;:::i;32730:308::-;;;;;;;;;;-1:-1:-1;32730:308:0;;;;;:::i;:::-;;:::i;39575:399::-;;;;;;;;;;-1:-1:-1;39575:399:0;;;;;:::i;:::-;;:::i;59339:231::-;;;;;;;;;;-1:-1:-1;59339:231:0;;;;;:::i;:::-;;:::i;57553:32::-;;;;;;;;;;;;;;;;59628:523;;;;;;;;;;-1:-1:-1;59628:523:0;;;;;:::i;:::-;;:::i;57515:31::-;;;;;;;;;;;;;;;;58810:468;;;;;;;;;;-1:-1:-1;58810:468:0;;;;;:::i;:::-;;:::i;60222:111::-;;;;;;;;;;-1:-1:-1;60222:111:0;;;;;:::i;:::-;;:::i;61494:96::-;;;;;;;;;;-1:-1:-1;61494:96:0;;;;;:::i;:::-;;:::i;33195:164::-;;;;;;;;;;-1:-1:-1;33195:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33316:25:0;;;33292:4;33316:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33195:164;62251:124;;;;;;;;;;-1:-1:-1;62251:124:0;;;;;:::i;:::-;;:::i;5793:201::-;;;;;;;;;;-1:-1:-1;5793:201:0;;;;;:::i;:::-;;:::i;24787:639::-;24872:4;-1:-1:-1;;;;;;;;;25196:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25273:25:0;;;25196:102;:179;;;-1:-1:-1;;;;;;;;;;25350:25:0;;;25196:179;25176:199;24787:639;-1:-1:-1;;24787:639:0:o;62461:77::-;4773:13;:11;:13::i;:::-;62515:6:::1;:15:::0;;-1:-1:-1;;62515:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;62461:77::o;25689:100::-;25743:13;25776:5;25769:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25689:100;:::o;32172:218::-;32248:7;32273:16;32281:7;32273;:16::i;:::-;32268:64;;32298:34;;-1:-1:-1;;;32298:34:0;;;;;;;;;;;32268:64;-1:-1:-1;32352:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32352:30:0;;32172:218::o;57440:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31613:400::-;31694:13;31710:16;31718:7;31710;:16::i;:::-;31694:32;-1:-1:-1;55470:10:0;-1:-1:-1;;;;;31743:28:0;;;31739:175;;31791:44;31808:5;55470:10;33195:164;:::i;31791:44::-;31786:128;;31863:35;;-1:-1:-1;;;31863:35:0;;;;;;;;;;;31786:128;31926:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31926:35:0;-1:-1:-1;;;;;31926:35:0;;;;;;;;;31977:28;;31926:24;;31977:28;;;;;;;31683:330;31613:400;;:::o;61971:98::-;4773:13;:11;:13::i;:::-;62039:9:::1;:22:::0;61971:98::o;35879:2817::-;36013:27;36043;36062:7;36043:18;:27::i;:::-;36013:57;;36128:4;-1:-1:-1;;;;;36087:45:0;36103:19;-1:-1:-1;;;;;36087:45:0;;36083:86;;36141:28;;-1:-1:-1;;;36141:28:0;;;;;;;;;;;36083:86;36183:27;34993:24;;;:15;:24;;;;;35215:26;;55470:10;34618:30;;;-1:-1:-1;;;;;34311:28:0;;34596:20;;;34593:56;36369:180;;36462:43;36479:4;55470:10;33195:164;:::i;36462:43::-;36457:92;;36514:35;;-1:-1:-1;;;36514:35:0;;;;;;;;;;;36457:92;-1:-1:-1;;;;;36566:16:0;;36562:52;;36591:23;;-1:-1:-1;;;36591:23:0;;;;;;;;;;;36562:52;36763:15;36760:160;;;36903:1;36882:19;36875:30;36760:160;-1:-1:-1;;;;;37300:24:0;;;;;;;:18;:24;;;;;;37298:26;;-1:-1:-1;;37298:26:0;;;37369:22;;;;;;;;;37367:24;;-1:-1:-1;37367:24:0;;;30471:11;30446:23;30442:41;30429:63;-1:-1:-1;;;30429:63:0;37662:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;37957:47:0;;37953:627;;38062:1;38052:11;;38030:19;38185:30;;;:17;:30;;;;;;38181:384;;38323:13;;38308:11;:28;38304:242;;38470:30;;;;:17;:30;;;;;:52;;;38304:242;38011:569;37953:627;38627:7;38623:2;-1:-1:-1;;;;;38608:27:0;38617:4;-1:-1:-1;;;;;38608:27:0;;;;;;;;;;;36002:2694;;;35879:2817;;;:::o;61647:104::-;4773:13;:11;:13::i;:::-;61718:16:::1;:25:::0;61647:104::o;62597:408::-;4773:13;:11;:13::i;:::-;1812:1:::1;2410:7;;:19;;2402:63;;;;-1:-1:-1::0;;;2402:63:0::1;;;;;;;:::i;:::-;;;;;;;;;1812:1;2543:7;:18:::0;62680:42:::2;62747;62666:11;62848:3;62819:26;:21;62843:2;62819:26;:::i;:::-;:32;;;;:::i;:::-;62800:51:::0;-1:-1:-1;62862:16:0::2;62910:3;62881:26;:21;62905:2;62881:26;:::i;:::-;:32;;;;:::i;:::-;62924:31;::::0;62862:51;;-1:-1:-1;;;;;;62924:21:0;::::2;::::0;:31;::::2;;;::::0;62946:8;;62924:31:::2;::::0;;;62946:8;62924:21;:31;::::2;;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;62966:31:0::2;::::0;-1:-1:-1;;;;;62966:21:0;::::2;::::0;:31;::::2;;;::::0;62988:8;;62966:31:::2;::::0;;;62988:8;62966:21;:31;::::2;;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;1768:1:0::1;2722:7;:22:::0;-1:-1:-1;;;62597:408:0:o;38792:185::-;38930:39;38947:4;38953:2;38957:7;38930:39;;;;;;;;;;;;:16;:39::i;:::-;38792:185;;;:::o;61826:84::-;4773:13;:11;:13::i;:::-;61887:4:::1;:15:::0;61826:84::o;62109:102::-;4773:13;:11;:13::i;:::-;62182:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;62109:102:::0;:::o;27082:152::-;27154:7;27197:27;27216:7;27197:18;:27::i;57412:21::-;;;;;;;:::i;22624:233::-;22696:7;-1:-1:-1;;;;;22720:19:0;;22716:60;;22748:28;;-1:-1:-1;;;22748:28:0;;;;;;;;;;;22716:60;-1:-1:-1;;;;;;22794:25:0;;;;;:18;:25;;;;;;16783:13;22794:55;;22624:233::o;5535:103::-;4773:13;:11;:13::i;:::-;5600:30:::1;5627:1;5600:18;:30::i;:::-;5535:103::o:0;60404:923::-;60463:16;60521:19;60557:25;60599:22;60624:16;60634:5;60624:9;:16::i;:::-;60599:41;;60657:25;60699:14;60685:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60685:29:0;;60657:57;;60731:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60731:31:0;58191:1;60779:494;60828:14;60813:11;:29;60779:494;;60882:15;60895:1;60882:12;:15::i;:::-;60870:27;;60922:9;:16;;;60918:77;;;60965:8;;60918:77;61019:14;;-1:-1:-1;;;;;61019:28:0;;61015:115;;61094:14;;;-1:-1:-1;61015:115:0;61175:5;-1:-1:-1;;;;;61154:26:0;:17;-1:-1:-1;;;;;61154:26:0;;61150:106;;;61233:1;61207:8;61216:13;;;;;;61207:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;61150:106;60844:3;;60779:494;;;-1:-1:-1;61296:8:0;;60404:923;-1:-1:-1;;;;;;60404:923:0:o;61355:82::-;4773:13;:11;:13::i;:::-;61412:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;61412:17:0;;::::1;::::0;;;::::1;::::0;;61355:82::o;25865:104::-;25921:13;25954:7;25947:14;;;;;:::i;58254:525::-;1812:1;2410:7;;:19;;2402:63;;;;-1:-1:-1;;;2402:63:0;;;;;;;:::i;:::-;1812:1;2543:7;:18;58330:6:::1;::::0;::::1;;58329:7;58321:49;;;::::0;-1:-1:-1;;;58321:49:0;;9190:2:1;58321:49:0::1;::::0;::::1;9172:21:1::0;9229:2;9209:18;;;9202:30;9268:31;9248:18;;;9241:59;9317:18;;58321:49:0::1;8988:353:1::0;58321:49:0::1;58397:12;;58387:6;:22;;58379:72;;;::::0;-1:-1:-1;;;58379:72:0;;9548:2:1;58379:72:0::1;::::0;::::1;9530:21:1::0;9587:2;9567:18;;;9560:30;9626:34;9606:18;;;9599:62;-1:-1:-1;;;9677:18:1;;;9670:35;9722:19;;58379:72:0::1;9346:401:1::0;58379:72:0::1;58494:9;;58484:6;58468:13;58191:1:::0;21714:12;21501:7;21698:13;:28;-1:-1:-1;;21698:46:0;;21440:323;58468:13:::1;:22;;;;:::i;:::-;:35;;58460:64;;;::::0;-1:-1:-1;;;58460:64:0;;10305:2:1;58460:64:0::1;::::0;::::1;10287:21:1::0;10344:2;10324:18;;;10317:30;-1:-1:-1;;;10363:18:1;;;10356:46;10419:18;;58460:64:0::1;10103:340:1::0;58460:64:0::1;58588:12;::::0;58578:6;58541:34:::1;55470:10:::0;58541:13:::1;:34::i;:::-;:43;;;;:::i;:::-;:59;;58533:105;;;;-1:-1:-1::0;;;58533:105:0::1;;;;;;;:::i;:::-;58675:6;58668:4;;:13;;;;:::i;:::-;58655:9;:26;;58647:63;;;::::0;-1:-1:-1;;;58647:63:0;;7669:2:1;58647:63:0::1;::::0;::::1;7651:21:1::0;7708:2;7688:18;;;7681:30;7747:26;7727:18;;;7720:54;7791:18;;58647:63:0::1;7467:348:1::0;58647:63:0::1;58725:38;55470:10:::0;58756:6:::1;58725:9;:38::i;:::-;-1:-1:-1::0;1768:1:0;2722:7;:22;58254:525::o;32730:308::-;-1:-1:-1;;;;;32829:31:0;;55470:10;32829:31;32825:61;;;32869:17;;-1:-1:-1;;;32869:17:0;;;;;;;;;;;32825:61;55470:10;32899:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32899:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32899:60:0;;;;;;;;;;32975:55;;6774:41:1;;;32899:49:0;;55470:10;32975:55;;6747:18:1;32975:55:0;;;;;;;32730:308;;:::o;39575:399::-;39742:31;39755:4;39761:2;39765:7;39742:12;:31::i;:::-;-1:-1:-1;;;;;39788:14:0;;;:19;39784:183;;39827:56;39858:4;39864:2;39868:7;39877:5;39827:30;:56::i;:::-;39822:145;;39911:40;;-1:-1:-1;;;39911:40:0;;;;;;;;;;;39822:145;39575:399;;;;:::o;59339:231::-;4773:13;:11;:13::i;:::-;1812:1:::1;2410:7;;:19;;2402:63;;;;-1:-1:-1::0;;;2402:63:0::1;;;;;;;:::i;:::-;1812:1;2543:7;:18:::0;59476:9:::2;::::0;59461:11;59445:13:::2;58191:1:::0;21714:12;21501:7;21698:13;:28;-1:-1:-1;;21698:46:0;;21440:323;59445:13:::2;:27;;;;:::i;:::-;:40;;59437:75;;;::::0;-1:-1:-1;;;59437:75:0;;9954:2:1;59437:75:0::2;::::0;::::2;9936:21:1::0;9993:2;9973:18;;;9966:30;-1:-1:-1;;;10012:18:1;;;10005:52;10074:18;;59437:75:0::2;9752:346:1::0;59437:75:0::2;59527:35;59537:11;59550;59527:9;:35::i;:::-;-1:-1:-1::0;;1768:1:0::1;2722:7;:22:::0;59339:231::o;59628:523::-;59736:13;59783:16;59791:7;59783;:16::i;:::-;59765:104;;;;-1:-1:-1;;;59765:104:0;;7252:2:1;59765:104:0;;;7234:21:1;7291:2;7271:18;;;7264:30;7330:34;7310:18;;;7303:62;-1:-1:-1;;;7381:18:1;;;7374:46;7437:19;;59765:104:0;7050:412:1;59765:104:0;59889:8;;;;;;;59886:66;;59928:14;59921:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59628:523;;;:::o;59886:66::-;59964:28;59995:10;:8;:10::i;:::-;59964:41;;60052:1;60027:14;60021:28;:32;:122;;;;;;;;;;;;;;;;;60091:14;60107:18;60117:7;60107:9;:18::i;:::-;60074:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60021:122;60014:129;59628:523;-1:-1:-1;;;59628:523:0:o;58810:468::-;1812:1;2410:7;;:19;;2402:63;;;;-1:-1:-1;;;2402:63:0;;;;;;;:::i;:::-;1812:1;2543:7;:18;58882:6:::1;::::0;::::1;;58881:7;58873:49;;;::::0;-1:-1:-1;;;58873:49:0;;9190:2:1;58873:49:0::1;::::0;::::1;9172:21:1::0;9229:2;9209:18;;;9202:30;9268:31;9248:18;;;9241:59;9317:18;;58873:49:0::1;8988:353:1::0;58873:49:0::1;58986:16;::::0;58976:6;58939:34:::1;55470:10:::0;58541:13:::1;:34::i;58939:::-;:43;;;;:::i;:::-;:63;;58931:109;;;;-1:-1:-1::0;;;58931:109:0::1;;;;;;;:::i;:::-;59067:16;;59057:6;:26;;59049:69;;;::::0;-1:-1:-1;;;59049:69:0;;8831:2:1;59049:69:0::1;::::0;::::1;8813:21:1::0;8870:2;8850:18;;;8843:30;8909:32;8889:18;;;8882:60;8959:18;;59049:69:0::1;8629:354:1::0;59049:69:0::1;59161:9;;59151:6;59135:13;58191:1:::0;21714:12;21501:7;21698:13;:28;-1:-1:-1;;21698:46:0;;21440:323;59135:13:::1;:22;;;;:::i;:::-;:35;;59127:82;;;::::0;-1:-1:-1;;;59127:82:0;;11011:2:1;59127:82:0::1;::::0;::::1;10993:21:1::0;11050:2;11030:18;;;11023:30;11089:34;11069:18;;;11062:62;-1:-1:-1;;;11140:18:1;;;11133:32;11182:19;;59127:82:0::1;10809:398:1::0;60222:111:0;60280:7;60305:20;60319:5;60305:13;:20::i;61494:96::-;4773:13;:11;:13::i;:::-;61561:12:::1;:21:::0;61494:96::o;62251:124::-;4773:13;:11;:13::i;:::-;62335:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;5793:201::-:0;4773:13;:11;:13::i;:::-;-1:-1:-1;;;;;5882:22:0;::::1;5874:73;;;::::0;-1:-1:-1;;;5874:73:0;;8022:2:1;5874:73:0::1;::::0;::::1;8004:21:1::0;8061:2;8041:18;;;8034:30;8100:34;8080:18;;;8073:62;-1:-1:-1;;;8151:18:1;;;8144:36;8197:19;;5874:73:0::1;7820:402:1::0;5874:73:0::1;5958:28;5977:8;5958:18;:28::i;:::-;5793:201:::0;:::o;5052:132::-;4960:6;;-1:-1:-1;;;;;4960:6:0;55470:10;5116:23;5108:68;;;;-1:-1:-1;;;5108:68:0;;10650:2:1;5108:68:0;;;10632:21:1;;;10669:18;;;10662:30;10728:34;10708:18;;;10701:62;10780:18;;5108:68:0;10448:356:1;33617:282:0;33682:4;33738:7;58191:1;33719:26;;:66;;;;;33772:13;;33762:7;:23;33719:66;:153;;;;-1:-1:-1;;33823:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33823:44:0;:49;;33617:282::o;28237:1275::-;28304:7;28339;;58191:1;28388:23;28384:1061;;28441:13;;28434:4;:20;28430:1015;;;28479:14;28496:23;;;:17;:23;;;;;;-1:-1:-1;;;28585:24:0;;28581:845;;29250:113;29257:11;29250:113;;-1:-1:-1;;;29328:6:0;29310:25;;;;:17;:25;;;;;;29250:113;;28581:845;28456:989;28430:1015;29473:31;;-1:-1:-1;;;29473:31:0;;;;;;;;;;;6154:191;6247:6;;;-1:-1:-1;;;;;6264:17:0;;;-1:-1:-1;;;;;;6264:17:0;;;;;;;6297:40;;6247:6;;;6264:17;6247:6;;6297:40;;6228:16;;6297:40;6217:128;6154:191;:::o;27685:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27813:24:0;;;;:17;:24;;;;;;27794:44;;-1:-1:-1;;;;;;;;;;;;;29721:41:0;;;;17442:3;29807:33;;;29773:68;;-1:-1:-1;;;29773:68:0;-1:-1:-1;;;29871:24:0;;:29;;-1:-1:-1;;;29852:48:0;;;;17963:3;29940:28;;;;-1:-1:-1;;;29911:58:0;-1:-1:-1;29611:366:0;22939:178;-1:-1:-1;;;;;23028:25:0;23000:7;23028:25;;;:18;:25;;16921:2;23028:25;;;;;:50;;16783:13;23027:82;;22939:178::o;49215:112::-;49292:27;49302:2;49306:8;49292:27;;;;;;;;;;;;:9;:27::i;42058:716::-;42242:88;;-1:-1:-1;;;42242:88:0;;42221:4;;-1:-1:-1;;;;;42242:45:0;;;;;:88;;55470:10;;42309:4;;42315:7;;42324:5;;42242:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42242:88:0;;;;;;;;-1:-1:-1;;42242:88:0;;;;;;;;;;;;:::i;:::-;;;42238:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42525:13:0;;42521:235;;42571:40;;-1:-1:-1;;;42571:40:0;;;;;;;;;;;42521:235;42714:6;42708:13;42699:6;42695:2;42691:15;42684:38;42238:529;-1:-1:-1;;;;;;42401:64:0;-1:-1:-1;;;42401:64:0;;-1:-1:-1;42238:529:0;42058:716;;;;;;:::o;57981:106::-;58041:13;58072:7;58065:14;;;;;:::i;55590:1581::-;56073:4;56067:11;;56080:4;56063:22;56159:17;;;;56063:22;56517:5;56499:428;56565:1;56560:3;56556:11;56549:18;;56736:2;56730:4;56726:13;56722:2;56718:22;56713:3;56705:36;56830:2;56820:13;;;56887:25;;56905:5;;56887:25;56499:428;;;-1:-1:-1;56957:13:0;;;-1:-1:-1;;57072:14:0;;;57134:19;;;57072:14;55590:1581;-1:-1:-1;55590:1581:0:o;48442:689::-;48573:19;48579:2;48583:8;48573:5;:19::i;:::-;-1:-1:-1;;;;;48634:14:0;;;:19;48630:483;;48674:11;48688:13;48736:14;;;48769:233;48800:62;48839:1;48843:2;48847:7;;;;;;48856:5;48800:30;:62::i;:::-;48795:167;;48898:40;;-1:-1:-1;;;48898:40:0;;;;;;;;;;;48795:167;48997:3;48989:5;:11;48769:233;;49084:3;49067:13;;:20;49063:34;;49089:8;;;49063:34;48655:458;;48442:689;;;:::o;43236:2454::-;43309:20;43332:13;43360;43356:44;;43382:18;;-1:-1:-1;;;43382:18:0;;;;;;;;;;;43356:44;-1:-1:-1;;;;;43888:22:0;;;;;;:18;:22;;;;16921:2;43888:22;;;:71;;43926:32;43914:45;;43888:71;;;44202:31;;;:17;:31;;;;;-1:-1:-1;30902:15:0;;30876:24;30872:46;30471:11;30446:23;30442:41;30439:52;30429:63;;44202:173;;44437:23;;;;44202:31;;43888:22;;44936:25;43888:22;;44789:335;45204:1;45190:12;45186:20;45144:346;45245:3;45236:7;45233:16;45144:346;;45463:7;45453:8;45450:1;45423:25;45420:1;45417;45412:59;45298:1;45285:15;45144:346;;;-1:-1:-1;45523:13:0;45519:45;;45545:19;;-1:-1:-1;;;45545:19:0;;;;;;;;;;;45519:45;45581:13;:19;-1:-1:-1;38792:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:470::-;5000:3;5038:6;5032:13;5054:53;5100:6;5095:3;5088:4;5080:6;5076:17;5054:53;:::i;:::-;5170:13;;5129:16;;;;5192:57;5170:13;5129:16;5226:4;5214:17;;5192:57;:::i;:::-;5265:20;;4821:470;-1:-1:-1;;;;4821:470:1:o;5504:488::-;-1:-1:-1;;;;;5773:15:1;;;5755:34;;5825:15;;5820:2;5805:18;;5798:43;5872:2;5857:18;;5850:34;;;5920:3;5915:2;5900:18;;5893:31;;;5698:4;;5941:45;;5966:19;;5958:6;5941:45;:::i;:::-;5933:53;5504:488;-1:-1:-1;;;;;;5504:488:1:o;5997:632::-;6168:2;6220:21;;;6290:13;;6193:18;;;6312:22;;;6139:4;;6168:2;6391:15;;;;6365:2;6350:18;;;6139:4;6434:169;6448:6;6445:1;6442:13;6434:169;;;6509:13;;6497:26;;6578:15;;;;6543:12;;;;6470:1;6463:9;6434:169;;6826:219;6975:2;6964:9;6957:21;6938:4;6995:44;7035:2;7024:9;7020:18;7012:6;6995:44;:::i;8227:397::-;8429:2;8411:21;;;8468:2;8448:18;;;8441:30;8507:34;8502:2;8487:18;;8480:62;-1:-1:-1;;;8573:2:1;8558:18;;8551:31;8614:3;8599:19;;8227:397::o;11212:355::-;11414:2;11396:21;;;11453:2;11433:18;;;11426:30;11492:33;11487:2;11472:18;;11465:61;11558:2;11543:18;;11212:355::o;11754:128::-;11794:3;11825:1;11821:6;11818:1;11815:13;11812:39;;;11831:18;;:::i;:::-;-1:-1:-1;11867:9:1;;11754:128::o;11887:217::-;11927:1;11953;11943:132;;11997:10;11992:3;11988:20;11985:1;11978:31;12032:4;12029:1;12022:15;12060:4;12057:1;12050:15;11943:132;-1:-1:-1;12089:9:1;;11887:217::o;12109:168::-;12149:7;12215:1;12211;12207:6;12203:14;12200:1;12197:21;12192:1;12185:9;12178:17;12174:45;12171:71;;;12222:18;;:::i;:::-;-1:-1:-1;12262:9:1;;12109:168::o;12282:258::-;12354:1;12364:113;12378:6;12375:1;12372:13;12364:113;;;12454:11;;;12448:18;12435:11;;;12428:39;12400:2;12393:10;12364:113;;;12495:6;12492:1;12489:13;12486:48;;;-1:-1:-1;;12530:1:1;12512:16;;12505:27;12282:258::o;12545:380::-;12624:1;12620:12;;;;12667;;;12688:61;;12742:4;12734:6;12730:17;12720:27;;12688:61;12795:2;12787:6;12784:14;12764:18;12761:38;12758:161;;;12841:10;12836:3;12832:20;12829:1;12822:31;12876:4;12873:1;12866:15;12904:4;12901:1;12894:15;12758:161;;12545:380;;;:::o;12930:127::-;12991:10;12986:3;12982:20;12979:1;12972:31;13022:4;13019:1;13012:15;13046:4;13043:1;13036:15;13062:127;13123:10;13118:3;13114:20;13111:1;13104:31;13154:4;13151:1;13144:15;13178:4;13175:1;13168:15;13194:127;13255:10;13250:3;13246:20;13243:1;13236:31;13286:4;13283:1;13276:15;13310:4;13307:1;13300:15;13326:131;-1:-1:-1;;;;;;13400:32:1;;13390:43;;13380:71;;13447:1;13444;13437:12

Swarm Source

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